diff --git a/Modulefile b/Modulefile new file mode 100644 index 0000000..6cd70bf --- /dev/null +++ b/Modulefile @@ -0,0 +1,24 @@ +#%Module###################################################################### +## +## Project Module +## +proc ModulesHelp { } { + puts stderr "\tThe TGFS-CG Project Module\n" + puts stderr "\tThis module loads PATHs and variables for accessing Verilator." +} + + +#set distro [exec /bin/lsb_release -i -s] +#if { $distro == "CentOS" && ![info exists ::env(PROJECT)] && ![info exists ::env(PCP_DIR)] } { +# puts stderr "Don't forget to execute 'scl enable devtoolset-7 bash'" +#} + +if {![info exists ::env(PROJECT)] && [file exists $::env(HOME)/.sdkman/candidates/java/11.0.9.hs-adpt/] != 1} { + puts stderr "Please install java via 'sdk install java 11.0.9.hs-adpt'!" + prereq java/11.0.9 +} else { + prepend-path PATH $::env(HOME)/.sdkman/candidates/java/11.0.9.hs-adpt/bin +} + +setenv PROJECT RDL-Editor + diff --git a/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml b/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml index ca5056f..ef6c7f5 100644 --- a/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml +++ b/com.minres.rdl.parent/com.minres.rdl.feature/feature.xml @@ -2,7 +2,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.feature eclipse-feature 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 index 4e91ae2..085eee4 100644 --- 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 @@ -3,7 +3,7 @@ Automatic-Module-Name: com.minres.rdl.ide Bundle-ManifestVersion: 2 Bundle-Name: com.minres.rdl.ide Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 1.4.0 Bundle-SymbolicName: com.minres.rdl.ide; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: com.minres.rdl, diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml b/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml index f76d703..5c2f577 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.ide/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.ide eclipse-plugin diff --git a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* 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..a97e19d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/AbstractRDLIdeModule.java @@ -0,0 +1,60 @@ +/* + * generated by Xtext 2.26.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; +import org.eclipse.xtext.ide.refactoring.IRenameStrategy2; +import org.eclipse.xtext.ide.server.rename.IRenameService2; +import org.eclipse.xtext.ide.server.rename.RenameService2; + +/** + * 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; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameService2() { + return RenameService2.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameStrategy2() { + return IRenameStrategy2.DefaultImpl.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..17254c5 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/PartialRDLContentAssistParser.java @@ -0,0 +1,33 @@ +/* + * generated by Xtext 2.26.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.util.PolymorphicDispatcher; + +public class PartialRDLContentAssistParser extends RDLParser { + + 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..477b671 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ide/src-gen/com/minres/rdl/ide/contentassist/antlr/RDLParser.java @@ -0,0 +1,252 @@ +/* + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.ide.contentassist.antlr; + +import com.google.common.collect.ImmutableMap; +import com.google.inject.Inject; +import com.google.inject.Singleton; +import com.minres.rdl.ide.contentassist.antlr.internal.InternalRDLParser; +import com.minres.rdl.services.RDLGrammarAccess; +import java.util.Map; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; + +public class RDLParser extends AbstractContentAssistParser { + + @Singleton + public static final class NameMappings { + + private final Map mappings; + + @Inject + public NameMappings(RDLGrammarAccess grammarAccess) { + ImmutableMap.Builder builder = ImmutableMap.builder(); + init(builder, grammarAccess); + this.mappings = builder.build(); + } + + public String getRuleName(AbstractElement element) { + return mappings.get(element); + } + + private static void init(ImmutableMap.Builder builder, RDLGrammarAccess grammarAccess) { + builder.put(grammarAccess.getRootAccess().getAlternatives(), "rule__Root__Alternatives"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3(), "rule__PropertyDefinition__Alternatives_3"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4(), "rule__PropertyDefinition__Alternatives_3_0_4"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1(), "rule__PropertyDefinition__Alternatives_3_1_1"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1(), "rule__PropertyDefinition__Alternatives_3_2_1"); + builder.put(grammarAccess.getPropertyDefaultAccess().getAlternatives_2(), "rule__PropertyDefault__Alternatives_2"); + builder.put(grammarAccess.getComponentDefinitionAccess().getAlternatives_3(), "rule__ComponentDefinition__Alternatives_3"); + builder.put(grammarAccess.getInstantiationAccess().getAlternatives_0(), "rule__Instantiation__Alternatives_0"); + builder.put(grammarAccess.getRangeAccess().getAlternatives_1(), "rule__Range__Alternatives_1"); + builder.put(grammarAccess.getPropertyAssignmentAccess().getAlternatives(), "rule__PropertyAssignment__Alternatives"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives(), "rule__ExplicitPropertyAssignment__Alternatives"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0(), "rule__PostPropertyAssignment__Alternatives_0"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2(), "rule__PostPropertyAssignment__Alternatives_0_0_2"); + builder.put(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1(), "rule__InstancePropertyRef__Alternatives_1_1"); + builder.put(grammarAccess.getEntityAccess().getAlternatives(), "rule__Entity__Alternatives"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives(), "rule__PropertyAssignmentRhs__Alternatives"); + builder.put(grammarAccess.getConcatElemAccess().getAlternatives(), "rule__ConcatElem__Alternatives"); + builder.put(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives(), "rule__PropertyRvalueConstant__Alternatives"); + builder.put(grammarAccess.getEnumPropertyAccess().getAlternatives_0(), "rule__EnumProperty__Alternatives_0"); + builder.put(grammarAccess.getEnumInstanceTypeAccess().getAlternatives(), "rule__EnumInstanceType__Alternatives"); + builder.put(grammarAccess.getPropertyTypeNameAccess().getAlternatives(), "rule__PropertyTypeName__Alternatives"); + builder.put(grammarAccess.getPropertyComponentAccess().getAlternatives(), "rule__PropertyComponent__Alternatives"); + builder.put(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives(), "rule__ComponentDefinitionType__Alternatives"); + builder.put(grammarAccess.getPropertyEnumAccess().getAlternatives(), "rule__PropertyEnum__Alternatives"); + builder.put(grammarAccess.getPropertyAccess().getAlternatives(), "rule__Property__Alternatives"); + builder.put(grammarAccess.getRValueConstantAccess().getAlternatives(), "rule__RValueConstant__Alternatives"); + builder.put(grammarAccess.getPropertyModifierAccess().getAlternatives(), "rule__PropertyModifier__Alternatives"); + builder.put(grammarAccess.getRootAccess().getGroup_1(), "rule__Root__Group_1__0"); + builder.put(grammarAccess.getRootAccess().getGroup_2(), "rule__Root__Group_2__0"); + builder.put(grammarAccess.getRootAccess().getGroup_3(), "rule__Root__Group_3__0"); + builder.put(grammarAccess.getRootAccess().getGroup_4(), "rule__Root__Group_4__0"); + builder.put(grammarAccess.getRootAccess().getGroup_5(), "rule__Root__Group_5__0"); + builder.put(grammarAccess.getIncludeAccess().getGroup(), "rule__Include__Group__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup(), "rule__PropertyDefinition__Group__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0(), "rule__PropertyDefinition__Group_3_0__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0(), "rule__PropertyDefinition__Group_3_0_4_0__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1(), "rule__PropertyDefinition__Group_3_0_4_1__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1(), "rule__PropertyDefinition__Group_3_1__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0(), "rule__PropertyDefinition__Group_3_1_1_0__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1(), "rule__PropertyDefinition__Group_3_1_1_1__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2(), "rule__PropertyDefinition__Group_3_2__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0(), "rule__PropertyDefinition__Group_3_2_1_0__0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1(), "rule__PropertyDefinition__Group_3_2_1_1__0"); + builder.put(grammarAccess.getPropertyDefaultAccess().getGroup(), "rule__PropertyDefault__Group__0"); + builder.put(grammarAccess.getPropertyUsageAccess().getGroup(), "rule__PropertyUsage__Group__0"); + builder.put(grammarAccess.getPropertyUsageAccess().getGroup_3(), "rule__PropertyUsage__Group_3__0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getGroup(), "rule__ComponentDefinition__Group__0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_0(), "rule__ComponentDefinition__Group_3_0__0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_1(), "rule__ComponentDefinition__Group_3_1__0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_2(), "rule__ComponentDefinition__Group_3_2__0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_3(), "rule__ComponentDefinition__Group_3_3__0"); + builder.put(grammarAccess.getInstantiationAccess().getGroup(), "rule__Instantiation__Group__0"); + builder.put(grammarAccess.getInstantiationAccess().getGroup_0_0(), "rule__Instantiation__Group_0_0__0"); + builder.put(grammarAccess.getInstantiationAccess().getGroup_0_0_1(), "rule__Instantiation__Group_0_0_1__0"); + builder.put(grammarAccess.getInstantiationAccess().getGroup_0_1(), "rule__Instantiation__Group_0_1__0"); + builder.put(grammarAccess.getInstantiationAccess().getGroup_2(), "rule__Instantiation__Group_2__0"); + builder.put(grammarAccess.getComponentInstanceAccess().getGroup(), "rule__ComponentInstance__Group__0"); + builder.put(grammarAccess.getComponentInstanceAccess().getGroup_2(), "rule__ComponentInstance__Group_2__0"); + builder.put(grammarAccess.getComponentInstanceAccess().getGroup_3(), "rule__ComponentInstance__Group_3__0"); + builder.put(grammarAccess.getComponentInstanceAccess().getGroup_4(), "rule__ComponentInstance__Group_4__0"); + builder.put(grammarAccess.getComponentInstanceAccess().getGroup_5(), "rule__ComponentInstance__Group_5__0"); + builder.put(grammarAccess.getRangeAccess().getGroup(), "rule__Range__Group__0"); + builder.put(grammarAccess.getRangeAccess().getGroup_1_0(), "rule__Range__Group_1_0__0"); + builder.put(grammarAccess.getDefaultProperyAssignmentAccess().getGroup(), "rule__DefaultProperyAssignment__Group__0"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0(), "rule__ExplicitPropertyAssignment__Group_0__0"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1(), "rule__ExplicitPropertyAssignment__Group_1__0"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1(), "rule__ExplicitPropertyAssignment__Group_1_1__0"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getGroup(), "rule__PostPropertyAssignment__Group__0"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0(), "rule__PostPropertyAssignment__Group_0_0__0"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1(), "rule__PostPropertyAssignment__Group_1__0"); + builder.put(grammarAccess.getInstancePropertyRefAccess().getGroup(), "rule__InstancePropertyRef__Group__0"); + builder.put(grammarAccess.getInstancePropertyRefAccess().getGroup_1(), "rule__InstancePropertyRef__Group_1__0"); + builder.put(grammarAccess.getInstanceRefAccess().getGroup(), "rule__InstanceRef__Group__0"); + builder.put(grammarAccess.getInstanceRefAccess().getGroup_1(), "rule__InstanceRef__Group_1__0"); + builder.put(grammarAccess.getHierInstanceRefAccess().getGroup(), "rule__HierInstanceRef__Group__0"); + builder.put(grammarAccess.getHierInstanceRefAccess().getGroup_1(), "rule__HierInstanceRef__Group_1__0"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2(), "rule__PropertyAssignmentRhs__Group_2__0"); + builder.put(grammarAccess.getConcatAccess().getGroup(), "rule__Concat__Group__0"); + builder.put(grammarAccess.getConcatAccess().getGroup_2(), "rule__Concat__Group_2__0"); + builder.put(grammarAccess.getEnumDefinitionAccess().getGroup(), "rule__EnumDefinition__Group__0"); + builder.put(grammarAccess.getEnumBodyAccess().getGroup(), "rule__EnumBody__Group__0"); + builder.put(grammarAccess.getEnumEntryAccess().getGroup(), "rule__EnumEntry__Group__0"); + builder.put(grammarAccess.getEnumEntryAccess().getGroup_3(), "rule__EnumEntry__Group_3__0"); + builder.put(grammarAccess.getEnumPropertyAccess().getGroup(), "rule__EnumProperty__Group__0"); + builder.put(grammarAccess.getEnumPropertyAccess().getGroup_0_0(), "rule__EnumProperty__Group_0_0__0"); + builder.put(grammarAccess.getEnumPropertyAccess().getGroup_0_1(), "rule__EnumProperty__Group_0_1__0"); + builder.put(grammarAccess.getRootAccess().getIncludesAssignment_0(), "rule__Root__IncludesAssignment_0"); + builder.put(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0(), "rule__Root__ComponentDefinitionsAssignment_1_0"); + builder.put(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0(), "rule__Root__EnumDefinitionsAssignment_2_0"); + builder.put(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0(), "rule__Root__InstantiationsAssignment_3_0"); + builder.put(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0(), "rule__Root__PropertyAssignmentsAssignment_4_0"); + builder.put(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0(), "rule__Root__PropertyDefinitionsAssignment_5_0"); + builder.put(grammarAccess.getIncludeAccess().getImportURIAssignment_1(), "rule__Include__ImportURIAssignment_1"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1(), "rule__PropertyDefinition__NameAssignment_1"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2(), "rule__PropertyDefinition__TypeAssignment_3_0_2"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0(), "rule__PropertyDefinition__UsageAssignment_3_0_4_0_0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1(), "rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0(), "rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1(), "rule__PropertyDefinition__UsageAssignment_3_0_4_1_1"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0(), "rule__PropertyDefinition__UsageAssignment_3_1_0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2(), "rule__PropertyDefinition__TypeAssignment_3_1_1_0_2"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4(), "rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0(), "rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3(), "rule__PropertyDefinition__TypeAssignment_3_1_1_1_3"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0(), "rule__PropertyDefinition__DefaultAssignment_3_2_0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2(), "rule__PropertyDefinition__TypeAssignment_3_2_1_0_2"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4(), "rule__PropertyDefinition__UsageAssignment_3_2_1_0_4"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0(), "rule__PropertyDefinition__UsageAssignment_3_2_1_1_0"); + builder.put(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3(), "rule__PropertyDefinition__TypeAssignment_3_2_1_1_3"); + builder.put(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0(), "rule__PropertyDefault__StringAssignment_2_0"); + builder.put(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1(), "rule__PropertyDefault__ValueAssignment_2_1"); + builder.put(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2(), "rule__PropertyDefault__StringAssignment_2_2"); + builder.put(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3(), "rule__PropertyDefault__StringAssignment_2_3"); + builder.put(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2(), "rule__PropertyUsage__ComponentsAssignment_2"); + builder.put(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1(), "rule__PropertyUsage__ComponentsAssignment_3_1"); + builder.put(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0(), "rule__ComponentDefinition__TypeAssignment_0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1(), "rule__ComponentDefinition__NameAssignment_1"); + builder.put(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0(), "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0(), "rule__ComponentDefinition__InstantiationsAssignment_3_1_0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0(), "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0"); + builder.put(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0(), "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0"); + builder.put(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0(), "rule__Instantiation__InstanceTypeAssignment_0_0_0"); + builder.put(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1(), "rule__Instantiation__AliasAssignment_0_0_1_1"); + builder.put(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2(), "rule__Instantiation__ComponentRefAssignment_0_0_2"); + builder.put(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0(), "rule__Instantiation__ComponentAssignment_0_1_0"); + builder.put(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1(), "rule__Instantiation__InstanceTypeAssignment_0_1_1"); + builder.put(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1(), "rule__Instantiation__ComponentInstancesAssignment_1"); + builder.put(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1(), "rule__Instantiation__ComponentInstancesAssignment_2_1"); + builder.put(grammarAccess.getComponentInstanceAccess().getNameAssignment_0(), "rule__ComponentInstance__NameAssignment_0"); + builder.put(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1(), "rule__ComponentInstance__RangeAssignment_1"); + builder.put(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1(), "rule__ComponentInstance__ResetAssignment_2_1"); + builder.put(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1(), "rule__ComponentInstance__AddressAssignment_3_1"); + builder.put(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1(), "rule__ComponentInstance__AddrIncAssignment_4_1"); + builder.put(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1(), "rule__ComponentInstance__AddrModAssignment_5_1"); + builder.put(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0(), "rule__Range__LeftAssignment_1_0_0"); + builder.put(grammarAccess.getRangeAccess().getRightAssignment_1_0_2(), "rule__Range__RightAssignment_1_0_2"); + builder.put(grammarAccess.getRangeAccess().getSizeAssignment_1_1(), "rule__Range__SizeAssignment_1_1"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0(), "rule__ExplicitPropertyAssignment__ModifierAssignment_0_0"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1(), "rule__ExplicitPropertyAssignment__NameAssignment_0_1"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0(), "rule__ExplicitPropertyAssignment__NameAssignment_1_0"); + builder.put(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1(), "rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0(), "rule__PostPropertyAssignment__InstanceAssignment_0_0_0"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0(), "rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1(), "rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1(), "rule__PostPropertyAssignment__PropertyAssignment_0_1"); + builder.put(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1(), "rule__PostPropertyAssignment__RhsAssignment_1_1"); + builder.put(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0(), "rule__InstancePropertyRef__InstanceAssignment_0"); + builder.put(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0(), "rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0"); + builder.put(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1(), "rule__InstancePropertyRef__PropertyAssignment_1_1_1"); + builder.put(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0(), "rule__InstanceRef__InstanceAssignment_0"); + builder.put(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1(), "rule__InstanceRef__TailAssignment_1_1"); + builder.put(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0(), "rule__HierInstanceRef__InstanceAssignment_0"); + builder.put(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1(), "rule__HierInstanceRef__TailAssignment_1_1"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0(), "rule__PropertyAssignmentRhs__ValueAssignment_0"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1(), "rule__PropertyAssignmentRhs__InstPropRefAssignment_1"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0(), "rule__PropertyAssignmentRhs__EnumRefAssignment_2_0"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2(), "rule__PropertyAssignmentRhs__EnumsAssignment_2_2"); + builder.put(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3(), "rule__PropertyAssignmentRhs__ElementsAssignment_3"); + builder.put(grammarAccess.getConcatAccess().getElementsAssignment_1(), "rule__Concat__ElementsAssignment_1"); + builder.put(grammarAccess.getConcatAccess().getElementsAssignment_2_1(), "rule__Concat__ElementsAssignment_2_1"); + builder.put(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0(), "rule__ConcatElem__InstPropRefAssignment_0"); + builder.put(grammarAccess.getConcatElemAccess().getValueAssignment_1(), "rule__ConcatElem__ValueAssignment_1"); + builder.put(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0(), "rule__PropertyRvalueConstant__ValAssignment_0"); + builder.put(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1(), "rule__PropertyRvalueConstant__NumAssignment_1"); + builder.put(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2(), "rule__PropertyRvalueConstant__StrAssignment_2"); + builder.put(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1(), "rule__EnumDefinition__NameAssignment_1"); + builder.put(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2(), "rule__EnumDefinition__BodyAssignment_2"); + builder.put(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2(), "rule__EnumBody__EntriesAssignment_2"); + builder.put(grammarAccess.getEnumEntryAccess().getNameAssignment_0(), "rule__EnumEntry__NameAssignment_0"); + builder.put(grammarAccess.getEnumEntryAccess().getIndexAssignment_2(), "rule__EnumEntry__IndexAssignment_2"); + builder.put(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1(), "rule__EnumEntry__PropertiesAssignment_3_1"); + builder.put(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0(), "rule__EnumProperty__NameAssignment_0_0_0"); + builder.put(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2(), "rule__EnumProperty__ValueAssignment_0_0_2"); + builder.put(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0(), "rule__EnumProperty__NameAssignment_0_1_0"); + builder.put(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2(), "rule__EnumProperty__ValueAssignment_0_1_2"); + builder.put(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0(), "rule__EnumInstanceType__EXTERNALAssignment_0"); + builder.put(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1(), "rule__EnumInstanceType__INTERNALAssignment_1"); + } + } + + @Inject + private NameMappings nameMappings; + + @Inject + private RDLGrammarAccess grammarAccess; + + @Override + protected InternalRDLParser createParser() { + InternalRDLParser result = new InternalRDLParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + return nameMappings.getRuleName(element); + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL" }; + } + + public RDLGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(RDLGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + public NameMappings getNameMappings() { + return nameMappings; + } + + public void setNameMappings(NameMappings nameMappings) { + this.nameMappings = nameMappings; + } +} 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..8a9873c --- /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,7896 @@ +/* + * generated by Xtext 2.26.0 + */ +grammar InternalRDL; + +options { + superClass=AbstractInternalContentAssistParser; + backtrack=true; +} + +@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 entryRuleInstantiation +entryRuleInstantiation +: +{ before(grammarAccess.getInstantiationRule()); } + ruleInstantiation +{ after(grammarAccess.getInstantiationRule()); } + EOF +; + +// Rule Instantiation +ruleInstantiation + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getInstantiationAccess().getGroup()); } + (rule__Instantiation__Group__0) + { after(grammarAccess.getInstantiationAccess().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); +} + +// Entry rule entryRuleEnumInstanceType +entryRuleEnumInstanceType +: +{ before(grammarAccess.getEnumInstanceTypeRule()); } + ruleEnumInstanceType +{ after(grammarAccess.getEnumInstanceTypeRule()); } + EOF +; + +// Rule EnumInstanceType +ruleEnumInstanceType + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getAlternatives()); } + (rule__EnumInstanceType__Alternatives) + { after(grammarAccess.getEnumInstanceTypeAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule PropertyTypeName +rulePropertyTypeName + @init { + 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().getGroup_1()); } + (rule__Root__Group_1__0) + { after(grammarAccess.getRootAccess().getGroup_1()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getGroup_2()); } + (rule__Root__Group_2__0) + { after(grammarAccess.getRootAccess().getGroup_2()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getGroup_3()); } + (rule__Root__Group_3__0) + { after(grammarAccess.getRootAccess().getGroup_3()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getGroup_4()); } + (rule__Root__Group_4__0) + { after(grammarAccess.getRootAccess().getGroup_4()); } + ) + | + ( + { before(grammarAccess.getRootAccess().getGroup_5()); } + (rule__Root__Group_5__0) + { after(grammarAccess.getRootAccess().getGroup_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().getGroup_3_0()); } + (rule__ComponentDefinition__Group_3_0__0) + { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); } + (rule__ComponentDefinition__Group_3_1__0) + { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); } + (rule__ComponentDefinition__Group_3_2__0) + { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); } + ) + | + ( + { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_3()); } + (rule__ComponentDefinition__Group_3_3__0) + { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getGroup_0_0()); } + (rule__Instantiation__Group_0_0__0) + { after(grammarAccess.getInstantiationAccess().getGroup_0_0()); } + ) + | + ( + { before(grammarAccess.getInstantiationAccess().getGroup_0_1()); } + (rule__Instantiation__Group_0_1__0) + { after(grammarAccess.getInstantiationAccess().getGroup_0_1()); } + ) +; +finally { + 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__EnumInstanceType__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0()); } + (rule__EnumInstanceType__EXTERNALAssignment_0) + { after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0()); } + ) + | + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1()); } + (rule__EnumInstanceType__INTERNALAssignment_1) + { after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PropertyTypeName__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { 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__Root__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_1__0__Impl + rule__Root__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0()); } + (rule__Root__ComponentDefinitionsAssignment_1_0) + { after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); } + ';' + { after(grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Root__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_2__0__Impl + rule__Root__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0()); } + (rule__Root__EnumDefinitionsAssignment_2_0) + { after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); } + ';' + { after(grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Root__Group_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_3__0__Impl + rule__Root__Group_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0()); } + (rule__Root__InstantiationsAssignment_3_0) + { after(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); } + ';' + { after(grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Root__Group_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_4__0__Impl + rule__Root__Group_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0()); } + (rule__Root__PropertyAssignmentsAssignment_4_0) + { after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_4__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); } + ';' + { after(grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Root__Group_5__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_5__0__Impl + rule__Root__Group_5__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_5__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0()); } + (rule__Root__PropertyDefinitionsAssignment_5_0) + { after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_5__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Root__Group_5__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__Group_5__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); } + ';' + { after(grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Include__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + 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 +; +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_3_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_0__0__Impl + rule__ComponentDefinition__Group_3_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0()); } + (rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0) + { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); } + ';' + { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentDefinition__Group_3_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_1__0__Impl + rule__ComponentDefinition__Group_3_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0()); } + (rule__ComponentDefinition__InstantiationsAssignment_3_1_0) + { after(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); } + ';' + { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentDefinition__Group_3_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_2__0__Impl + rule__ComponentDefinition__Group_3_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0()); } + (rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0) + { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); } + ';' + { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComponentDefinition__Group_3_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_3__0__Impl + rule__ComponentDefinition__Group_3_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0()); } + (rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0) + { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComponentDefinition__Group_3_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__Group_3_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); } + ';' + { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Instantiation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group__0__Impl + rule__Instantiation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getAlternatives_0()); } + (rule__Instantiation__Alternatives_0) + { after(grammarAccess.getInstantiationAccess().getAlternatives_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group__1__Impl + rule__Instantiation__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1()); } + (rule__Instantiation__ComponentInstancesAssignment_1) + { after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getGroup_2()); } + (rule__Instantiation__Group_2__0)* + { after(grammarAccess.getInstantiationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Instantiation__Group_0_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_0__0__Impl + rule__Instantiation__Group_0_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0()); } + (rule__Instantiation__InstanceTypeAssignment_0_0_0)? + { after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_0__1__Impl + rule__Instantiation__Group_0_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getGroup_0_0_1()); } + (rule__Instantiation__Group_0_0_1__0)? + { after(grammarAccess.getInstantiationAccess().getGroup_0_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2()); } + (rule__Instantiation__ComponentRefAssignment_0_0_2) + { after(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Instantiation__Group_0_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_0_1__0__Impl + rule__Instantiation__Group_0_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); } + 'alias' + { after(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1()); } + (rule__Instantiation__AliasAssignment_0_0_1_1) + { after(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Instantiation__Group_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_1__0__Impl + rule__Instantiation__Group_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0()); } + (rule__Instantiation__ComponentAssignment_0_1_0) + { after(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1()); } + (rule__Instantiation__InstanceTypeAssignment_0_1_1)? + { after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Instantiation__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_2__0__Impl + rule__Instantiation__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Instantiation__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1()); } + (rule__Instantiation__ComponentInstancesAssignment_2_1) + { after(grammarAccess.getInstantiationAccess().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().getLeftAssignment_1_0_0()); } + (rule__Range__LeftAssignment_1_0_0) + { after(grammarAccess.getRangeAccess().getLeftAssignment_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().getRightAssignment_1_0_2()); } + (rule__Range__RightAssignment_1_0_2) + { after(grammarAccess.getRangeAccess().getRightAssignment_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 +; +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_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 +; +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_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 +; +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_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 +; +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__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_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); } + ruleComponentDefinition + { after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__EnumDefinitionsAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); } + ruleEnumDefinition + { after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__InstantiationsAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); } + ruleInstantiation + { after(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__PropertyAssignmentsAssignment_4_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); } + rulePropertyAssignment + { after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Root__PropertyDefinitionsAssignment_5_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); } + rulePropertyDefinition + { after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_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_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); } + ruleComponentDefinition + { after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__InstantiationsAssignment_3_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); } + ruleInstantiation + { after(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); } + rulePropertyAssignment + { after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); } + ruleEnumDefinition + { after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__InstanceTypeAssignment_0_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); } + ruleEnumInstanceType + { after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__AliasAssignment_0_0_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); } + RULE_ID + { after(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__ComponentRefAssignment_0_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); } + ( + { before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1()); } + RULE_ID + { after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1()); } + ) + { after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__ComponentAssignment_0_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); } + ruleComponentDefinition + { after(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__InstanceTypeAssignment_0_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); } + ruleEnumInstanceType + { after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__ComponentInstancesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); } + ruleComponentInstance + { after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Instantiation__ComponentInstancesAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); } + ruleComponentInstance + { after(grammarAccess.getInstantiationAccess().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__LeftAssignment_1_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); } + RULE_NUM + { after(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Range__RightAssignment_1_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); } + RULE_NUM + { after(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_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__EnumInstanceType__EXTERNALAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); } + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); } + 'external' + { after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); } + ) + { after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumInstanceType__INTERNALAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); } + ( + { before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); } + 'internal' + { after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); } + ) + { after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +RULE_ID : '\\'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_ESCAPE_JSP : '<%' ( options {greedy=false;} : . )*'%>'; + +RULE_ESCAPE_ORDL : '(' ( options {greedy=false;} : . )*')'; + +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..d6fdea9 --- /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,254 @@ +'%='=127 +'+='=126 +','=124 +'->'=131 +'.'=132 +':'=130 +';'=113 +'='=119 +'@'=125 +'UNDEFINED'=97 +'['=128 +']'=129 +'`include'=114 +'accesswidth'=81 +'activehigh'=60 +'activelow'=61 +'addressing'=84 +'addrmap'=15 +'alias'=123 +'alignment'=77 +'all'=21 +'anded'=40 +'arbiter'=24 +'async'=57 +'bigendian'=49 +'boolean'=14 +'bothedge'=110 +'bridge'=52 +'clock'=88 +'compact'=105 +'component'=121 +'counter'=43 +'cpuif_reset'=58 +'decr'=65 +'decrsaturate'=71 +'decrthreshold'=73 +'decrvalue'=69 +'decrwidth'=67 +'default'=120 +'desc'=23 +'dontcompare'=74 +'donttest'=75 +'enable'=90 +'encode'=86 +'enum'=133 +'errextbus'=46 +'external'=134 +'false'=99 +'field'=18 +'field_reset'=59 +'fieldwidth'=79 +'fullalign'=107 +'halt'=95 +'haltenable'=94 +'haltmask'=93 +'hw'=83 +'hwclr'=34 +'hwenable'=91 +'hwmask'=92 +'hwset'=33 +'incr'=64 +'incrvalue'=68 +'incrwidth'=66 +'internal'=76 +'intr'=39 +'level'=111 +'littleendian'=48 +'lsb0'=55 +'mask'=89 +'msb0'=54 +'na'=104 +'name'=22 +'negedge'=109 +'next'=96 +'nonsticky'=112 +'number'=13 +'ored'=41 +'overflow'=44 +'posedge'=108 +'precedence'=85 +'property'=115 +'r'=102 +'rclr'=26 +'ref'=19 +'reg'=16 +'regalign'=106 +'regfile'=17 +'regwidth'=78 +'reset'=47 +'resetsignal'=87 +'rset'=25 +'rsvdset'=50 +'rsvdsetX'=51 +'rw'=100 +'saturate'=70 +'shared'=53 +'sharedextbus'=45 +'signal'=20 +'signalwidth'=80 +'singlepulse'=62 +'sticky'=37 +'stickybit'=38 +'string'=12 +'sw'=82 +'swacc'=36 +'swmod'=35 +'swwe'=31 +'swwel'=32 +'sync'=56 +'threshold'=72 +'true'=98 +'type'=118 +'underflow'=63 +'w'=103 +'we'=29 +'wel'=30 +'woclr'=27 +'woset'=28 +'wr'=101 +'xored'=42 +'{'=116 +'|'=122 +'}'=117 +RULE_ESCAPE_JSP=10 +RULE_ESCAPE_ORDL=11 +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__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__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__133=133 +T__134=134 +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..8f4ab6e --- /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,5293 @@ +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__133=133; + 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 T__134=134; + 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__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__98=98; + public static final int RULE_ESCAPE_ORDL=11; + 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 RULE_ESCAPE_JSP=10; + 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__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + 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__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + 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__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + 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__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + 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__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + 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__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + 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__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + 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__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + 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__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + 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__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + 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__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + 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__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + 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__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + 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__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + 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__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + 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__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + 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__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + 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__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + 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__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + 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__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + 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__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + 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__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + 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__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + 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__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + 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__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + 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__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + 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__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + 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__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + 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__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + 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__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + 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__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + 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__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + 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__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + 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__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + 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__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + 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__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + 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__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + 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__48" + + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + 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__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + 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__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + 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__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + 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__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + 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__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + 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__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + 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__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + 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__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + 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__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + 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__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + 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__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + 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__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + 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__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + 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__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + 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__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + 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__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + 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__65" + + // $ANTLR start "T__66" + public final void mT__66() throws RecognitionException { + try { + int _type = T__66; + 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__66" + + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + 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__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + 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__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + 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__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + 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__70" + + // $ANTLR start "T__71" + public final void mT__71() throws RecognitionException { + try { + int _type = T__71; + 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__71" + + // $ANTLR start "T__72" + public final void mT__72() throws RecognitionException { + try { + int _type = T__72; + 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__72" + + // $ANTLR start "T__73" + public final void mT__73() throws RecognitionException { + try { + int _type = T__73; + 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__73" + + // $ANTLR start "T__74" + public final void mT__74() throws RecognitionException { + try { + int _type = T__74; + 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__74" + + // $ANTLR start "T__75" + public final void mT__75() throws RecognitionException { + try { + int _type = T__75; + 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__75" + + // $ANTLR start "T__76" + public final void mT__76() throws RecognitionException { + try { + int _type = T__76; + 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__76" + + // $ANTLR start "T__77" + public final void mT__77() throws RecognitionException { + try { + int _type = T__77; + 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__77" + + // $ANTLR start "T__78" + public final void mT__78() throws RecognitionException { + try { + int _type = T__78; + 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__78" + + // $ANTLR start "T__79" + public final void mT__79() throws RecognitionException { + try { + int _type = T__79; + 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__79" + + // $ANTLR start "T__80" + public final void mT__80() throws RecognitionException { + try { + int _type = T__80; + 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__80" + + // $ANTLR start "T__81" + public final void mT__81() throws RecognitionException { + try { + int _type = T__81; + 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__81" + + // $ANTLR start "T__82" + public final void mT__82() throws RecognitionException { + try { + int _type = T__82; + 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__82" + + // $ANTLR start "T__83" + public final void mT__83() throws RecognitionException { + try { + int _type = T__83; + 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__83" + + // $ANTLR start "T__84" + public final void mT__84() throws RecognitionException { + try { + int _type = T__84; + 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__84" + + // $ANTLR start "T__85" + public final void mT__85() throws RecognitionException { + try { + int _type = T__85; + 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__85" + + // $ANTLR start "T__86" + public final void mT__86() throws RecognitionException { + try { + int _type = T__86; + 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__86" + + // $ANTLR start "T__87" + public final void mT__87() throws RecognitionException { + try { + int _type = T__87; + 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__87" + + // $ANTLR start "T__88" + public final void mT__88() throws RecognitionException { + try { + int _type = T__88; + 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__88" + + // $ANTLR start "T__89" + public final void mT__89() throws RecognitionException { + try { + int _type = T__89; + 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__89" + + // $ANTLR start "T__90" + public final void mT__90() throws RecognitionException { + try { + int _type = T__90; + 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__90" + + // $ANTLR start "T__91" + public final void mT__91() throws RecognitionException { + try { + int _type = T__91; + 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__91" + + // $ANTLR start "T__92" + public final void mT__92() throws RecognitionException { + try { + int _type = T__92; + 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__92" + + // $ANTLR start "T__93" + public final void mT__93() throws RecognitionException { + try { + int _type = T__93; + 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__93" + + // $ANTLR start "T__94" + public final void mT__94() throws RecognitionException { + try { + int _type = T__94; + 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__94" + + // $ANTLR start "T__95" + public final void mT__95() throws RecognitionException { + try { + int _type = T__95; + 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__95" + + // $ANTLR start "T__96" + public final void mT__96() throws RecognitionException { + try { + int _type = T__96; + 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__96" + + // $ANTLR start "T__97" + public final void mT__97() throws RecognitionException { + try { + int _type = T__97; + 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__97" + + // $ANTLR start "T__98" + public final void mT__98() throws RecognitionException { + try { + int _type = T__98; + 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__98" + + // $ANTLR start "T__99" + public final void mT__99() throws RecognitionException { + try { + int _type = T__99; + 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__99" + + // $ANTLR start "T__100" + public final void mT__100() throws RecognitionException { + try { + int _type = T__100; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:99:8: ( 'rw' ) + // InternalRDL.g:99:10: 'rw' + { + match("rw"); + + + } + + 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:100:8: ( 'wr' ) + // InternalRDL.g:100:10: 'wr' + { + match("wr"); + + + } + + 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:101:8: ( 'r' ) + // InternalRDL.g:101:10: 'r' + { + match('r'); + + } + + 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:102:8: ( 'w' ) + // InternalRDL.g:102:10: 'w' + { + match('w'); + + } + + 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:103:8: ( 'na' ) + // InternalRDL.g:103:10: 'na' + { + match("na"); + + + } + + 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:104:8: ( 'compact' ) + // InternalRDL.g:104:10: 'compact' + { + match("compact"); + + + } + + 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:105:8: ( 'regalign' ) + // InternalRDL.g:105:10: 'regalign' + { + match("regalign"); + + + } + + 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:106:8: ( 'fullalign' ) + // InternalRDL.g:106:10: 'fullalign' + { + match("fullalign"); + + + } + + 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:107:8: ( 'posedge' ) + // InternalRDL.g:107:10: 'posedge' + { + match("posedge"); + + + } + + 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:108:8: ( 'negedge' ) + // InternalRDL.g:108:10: 'negedge' + { + match("negedge"); + + + } + + 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:109:8: ( 'bothedge' ) + // InternalRDL.g:109:10: 'bothedge' + { + match("bothedge"); + + + } + + 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:110:8: ( 'level' ) + // InternalRDL.g:110:10: 'level' + { + match("level"); + + + } + + 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:111:8: ( 'nonsticky' ) + // InternalRDL.g:111:10: 'nonsticky' + { + match("nonsticky"); + + + } + + 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:112:8: ( ';' ) + // InternalRDL.g:112: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:113:8: ( '`include' ) + // InternalRDL.g:113:10: '`include' + { + match("`include"); + + + } + + 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:114:8: ( 'property' ) + // InternalRDL.g:114:10: 'property' + { + match("property"); + + + } + + 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:115:8: ( '{' ) + // InternalRDL.g:115:10: '{' + { + match('{'); + + } + + 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:116:8: ( '}' ) + // InternalRDL.g:116: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:117:8: ( 'type' ) + // InternalRDL.g:117:10: 'type' + { + match("type"); + + + } + + 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:118:8: ( '=' ) + // InternalRDL.g:118:10: '=' + { + match('='); + + } + + 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:119:8: ( 'default' ) + // InternalRDL.g:119:10: 'default' + { + match("default"); + + + } + + 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:120:8: ( 'component' ) + // InternalRDL.g:120:10: 'component' + { + match("component"); + + + } + + 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:121:8: ( '|' ) + // InternalRDL.g:121: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:122:8: ( 'alias' ) + // InternalRDL.g:122:10: 'alias' + { + match("alias"); + + + } + + 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:123:8: ( ',' ) + // InternalRDL.g:123: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:124:8: ( '@' ) + // InternalRDL.g:124: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:125:8: ( '+=' ) + // InternalRDL.g:125: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:126:8: ( '%=' ) + // InternalRDL.g:126: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:127:8: ( '[' ) + // InternalRDL.g:127: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:128:8: ( ']' ) + // InternalRDL.g:128: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:129:8: ( ':' ) + // InternalRDL.g:129: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:130:8: ( '->' ) + // InternalRDL.g:130:10: '->' + { + match("->"); + + + } + + 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:131:8: ( '.' ) + // InternalRDL.g:131:10: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__132" + + // $ANTLR start "T__133" + public final void mT__133() throws RecognitionException { + try { + int _type = T__133; + 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__133" + + // $ANTLR start "T__134" + public final void mT__134() throws RecognitionException { + try { + int _type = T__134; + 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__134" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7882:9: ( ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalRDL.g:7882:11: ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalRDL.g:7882:11: ( '\\\\' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='\\') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalRDL.g:7882: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:7882: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:7884:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalRDL.g:7884:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalRDL.g:7884: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:7886:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalRDL.g:7886:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalRDL.g:7886:24: ( 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:7886:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + 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:7888:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalRDL.g:7888:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalRDL.g:7888:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\u0000' && LA5_0<='\t')||(LA5_0>='\u000B' && LA5_0<='\f')||(LA5_0>='\u000E' && LA5_0<='\uFFFF')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalRDL.g:7888:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + // InternalRDL.g:7888:40: ( ( '\\r' )? '\\n' )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='\n'||LA7_0=='\r') ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalRDL.g:7888:41: ( '\\r' )? '\\n' + { + // InternalRDL.g:7888:41: ( '\\r' )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\r') ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalRDL.g:7888:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_ESCAPE_JSP" + public final void mRULE_ESCAPE_JSP() throws RecognitionException { + try { + int _type = RULE_ESCAPE_JSP; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7890:17: ( '<%' ( options {greedy=false; } : . )* '%>' ) + // InternalRDL.g:7890:19: '<%' ( options {greedy=false; } : . )* '%>' + { + match("<%"); + + // InternalRDL.g:7890:24: ( options {greedy=false; } : . )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0=='%') ) { + int LA8_1 = input.LA(2); + + if ( (LA8_1=='>') ) { + alt8=2; + } + else if ( ((LA8_1>='\u0000' && LA8_1<='=')||(LA8_1>='?' && LA8_1<='\uFFFF')) ) { + alt8=1; + } + + + } + else if ( ((LA8_0>='\u0000' && LA8_0<='$')||(LA8_0>='&' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalRDL.g:7890:52: . + { + matchAny(); + + } + break; + + default : + break loop8; + } + } while (true); + + match("%>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ESCAPE_JSP" + + // $ANTLR start "RULE_ESCAPE_ORDL" + public final void mRULE_ESCAPE_ORDL() throws RecognitionException { + try { + int _type = RULE_ESCAPE_ORDL; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7892:18: ( '(' ( options {greedy=false; } : . )* ')' ) + // InternalRDL.g:7892:20: '(' ( options {greedy=false; } : . )* ')' + { + match('('); + // InternalRDL.g:7892:24: ( options {greedy=false; } : . )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==')') ) { + alt9=2; + } + else if ( ((LA9_0>='\u0000' && LA9_0<='(')||(LA9_0>='*' && LA9_0<='\uFFFF')) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalRDL.g:7892:52: . + { + matchAny(); + + } + break; + + default : + break loop9; + } + } while (true); + + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ESCAPE_ORDL" + + // $ANTLR start "RULE_NUM" + public final void mRULE_NUM() throws RecognitionException { + try { + int _type = RULE_NUM; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:7894:10: ( ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) ) + // InternalRDL.g:7894:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) + { + // InternalRDL.g:7894:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) + int alt20=6; + alt20 = dfa20.predict(input); + switch (alt20) { + case 1 : + // InternalRDL.g:7894:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ + { + // InternalRDL.g:7894:13: ( '0' .. '9' )+ + int cnt10=0; + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( ((LA10_0>='0' && LA10_0<='9')) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalRDL.g:7894:14: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt10 >= 1 ) break loop10; + EarlyExitException eee = + new EarlyExitException(10, input); + throw eee; + } + cnt10++; + } while (true); + + match("'b"); + + // InternalRDL.g:7894:31: ( '0' | '1' | '_' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='0' && LA11_0<='1')||LA11_0=='_') ) { + alt11=1; + } + + + switch (alt11) { + 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 ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + + } + break; + case 2 : + // InternalRDL.g:7894:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ + { + // InternalRDL.g:7894:46: ( '0' .. '9' )+ + int cnt12=0; + loop12: + do { + int alt12=2; + int LA12_0 = input.LA(1); + + if ( ((LA12_0>='0' && LA12_0<='9')) ) { + alt12=1; + } + + + switch (alt12) { + case 1 : + // InternalRDL.g:7894:47: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt12 >= 1 ) break loop12; + EarlyExitException eee = + new EarlyExitException(12, input); + throw eee; + } + cnt12++; + } while (true); + + match("'o"); + + // InternalRDL.g:7894:64: ( '0' .. '7' | '_' )+ + int cnt13=0; + loop13: + do { + int alt13=2; + int LA13_0 = input.LA(1); + + if ( ((LA13_0>='0' && LA13_0<='7')||LA13_0=='_') ) { + alt13=1; + } + + + switch (alt13) { + 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 ( cnt13 >= 1 ) break loop13; + EarlyExitException eee = + new EarlyExitException(13, input); + throw eee; + } + cnt13++; + } while (true); + + + } + break; + case 3 : + // InternalRDL.g:7894:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + { + // InternalRDL.g:7894:80: ( '0' .. '9' )+ + int cnt14=0; + loop14: + do { + int alt14=2; + int LA14_0 = input.LA(1); + + if ( ((LA14_0>='0' && LA14_0<='9')) ) { + alt14=1; + } + + + switch (alt14) { + case 1 : + // InternalRDL.g:7894:81: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt14 >= 1 ) break loop14; + EarlyExitException eee = + new EarlyExitException(14, input); + throw eee; + } + cnt14++; + } while (true); + + match("'h"); + + // InternalRDL.g:7894:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + int cnt15=0; + loop15: + do { + int alt15=2; + int LA15_0 = input.LA(1); + + if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='F')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='f')) ) { + alt15=1; + } + + + switch (alt15) { + 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 ( cnt15 >= 1 ) break loop15; + EarlyExitException eee = + new EarlyExitException(15, input); + throw eee; + } + cnt15++; + } while (true); + + + } + break; + case 4 : + // InternalRDL.g:7894:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ + { + // InternalRDL.g:7894:132: ( '0' .. '9' )+ + int cnt16=0; + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( ((LA16_0>='0' && LA16_0<='9')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // InternalRDL.g:7894:133: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt16 >= 1 ) break loop16; + EarlyExitException eee = + new EarlyExitException(16, input); + throw eee; + } + cnt16++; + } while (true); + + match("'d"); + + // InternalRDL.g:7894:150: ( '0' .. '9' | '_' )+ + int cnt17=0; + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='0' && LA17_0<='9')||LA17_0=='_') ) { + alt17=1; + } + + + switch (alt17) { + 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 ( cnt17 >= 1 ) break loop17; + EarlyExitException eee = + new EarlyExitException(17, input); + throw eee; + } + cnt17++; + } while (true); + + + } + break; + case 5 : + // InternalRDL.g:7894:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + { + match("0x"); + + // InternalRDL.g:7894:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + int cnt18=0; + loop18: + do { + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>='0' && LA18_0<='9')||(LA18_0>='A' && LA18_0<='F')||(LA18_0>='a' && LA18_0<='f')) ) { + alt18=1; + } + + + switch (alt18) { + 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 ( cnt18 >= 1 ) break loop18; + EarlyExitException eee = + new EarlyExitException(18, input); + throw eee; + } + cnt18++; + } while (true); + + + } + break; + case 6 : + // InternalRDL.g:7894:201: ( '0' .. '9' )+ + { + // InternalRDL.g:7894:201: ( '0' .. '9' )+ + int cnt19=0; + loop19: + do { + int alt19=2; + int LA19_0 = input.LA(1); + + if ( ((LA19_0>='0' && LA19_0<='9')) ) { + alt19=1; + } + + + switch (alt19) { + case 1 : + // InternalRDL.g:7894:202: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt19 >= 1 ) break loop19; + EarlyExitException eee = + new EarlyExitException(19, input); + throw eee; + } + cnt19++; + } 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:7896:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalRDL.g:7896:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalRDL.g:7896:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop21: + do { + int alt21=3; + int LA21_0 = input.LA(1); + + if ( (LA21_0=='\\') ) { + alt21=1; + } + else if ( ((LA21_0>='\u0000' && LA21_0<='!')||(LA21_0>='#' && LA21_0<='[')||(LA21_0>=']' && LA21_0<='\uFFFF')) ) { + alt21=2; + } + + + switch (alt21) { + case 1 : + // InternalRDL.g:7896:17: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + { + match('\\'); + if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // InternalRDL.g:7896:62: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop21; + } + } while (true); + + match('\"'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STR" + + public void mTokens() throws RecognitionException { + // InternalRDL.g:1:8: ( 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 | T__133 | T__134 | RULE_ID | RULE_WS | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_ESCAPE_JSP | RULE_ESCAPE_ORDL | RULE_NUM | RULE_STR ) + int alt22=131; + alt22 = dfa22.predict(input); + switch (alt22) { + case 1 : + // InternalRDL.g:1:10: T__12 + { + mT__12(); + + } + break; + case 2 : + // InternalRDL.g:1:16: T__13 + { + mT__13(); + + } + break; + case 3 : + // InternalRDL.g:1:22: T__14 + { + mT__14(); + + } + break; + case 4 : + // InternalRDL.g:1:28: T__15 + { + mT__15(); + + } + break; + case 5 : + // InternalRDL.g:1:34: T__16 + { + mT__16(); + + } + break; + case 6 : + // InternalRDL.g:1:40: T__17 + { + mT__17(); + + } + break; + case 7 : + // InternalRDL.g:1:46: T__18 + { + mT__18(); + + } + break; + case 8 : + // InternalRDL.g:1:52: T__19 + { + mT__19(); + + } + break; + case 9 : + // InternalRDL.g:1:58: T__20 + { + mT__20(); + + } + break; + case 10 : + // InternalRDL.g:1:64: T__21 + { + mT__21(); + + } + break; + case 11 : + // InternalRDL.g:1:70: T__22 + { + mT__22(); + + } + break; + case 12 : + // InternalRDL.g:1:76: T__23 + { + mT__23(); + + } + break; + case 13 : + // InternalRDL.g:1:82: T__24 + { + mT__24(); + + } + break; + case 14 : + // InternalRDL.g:1:88: T__25 + { + mT__25(); + + } + break; + case 15 : + // InternalRDL.g:1:94: T__26 + { + mT__26(); + + } + break; + case 16 : + // InternalRDL.g:1:100: T__27 + { + mT__27(); + + } + break; + case 17 : + // InternalRDL.g:1:106: T__28 + { + mT__28(); + + } + break; + case 18 : + // InternalRDL.g:1:112: T__29 + { + mT__29(); + + } + break; + case 19 : + // InternalRDL.g:1:118: T__30 + { + mT__30(); + + } + break; + case 20 : + // InternalRDL.g:1:124: T__31 + { + mT__31(); + + } + break; + case 21 : + // InternalRDL.g:1:130: T__32 + { + mT__32(); + + } + break; + case 22 : + // InternalRDL.g:1:136: T__33 + { + mT__33(); + + } + break; + case 23 : + // InternalRDL.g:1:142: T__34 + { + mT__34(); + + } + break; + case 24 : + // InternalRDL.g:1:148: T__35 + { + mT__35(); + + } + break; + case 25 : + // InternalRDL.g:1:154: T__36 + { + mT__36(); + + } + break; + case 26 : + // InternalRDL.g:1:160: T__37 + { + mT__37(); + + } + break; + case 27 : + // InternalRDL.g:1:166: T__38 + { + mT__38(); + + } + break; + case 28 : + // InternalRDL.g:1:172: T__39 + { + mT__39(); + + } + break; + case 29 : + // InternalRDL.g:1:178: T__40 + { + mT__40(); + + } + break; + case 30 : + // InternalRDL.g:1:184: T__41 + { + mT__41(); + + } + break; + case 31 : + // InternalRDL.g:1:190: T__42 + { + mT__42(); + + } + break; + case 32 : + // InternalRDL.g:1:196: T__43 + { + mT__43(); + + } + break; + case 33 : + // InternalRDL.g:1:202: T__44 + { + mT__44(); + + } + break; + case 34 : + // InternalRDL.g:1:208: T__45 + { + mT__45(); + + } + break; + case 35 : + // InternalRDL.g:1:214: T__46 + { + mT__46(); + + } + break; + case 36 : + // InternalRDL.g:1:220: T__47 + { + mT__47(); + + } + break; + case 37 : + // InternalRDL.g:1:226: T__48 + { + mT__48(); + + } + break; + case 38 : + // InternalRDL.g:1:232: T__49 + { + mT__49(); + + } + break; + case 39 : + // InternalRDL.g:1:238: T__50 + { + mT__50(); + + } + break; + case 40 : + // InternalRDL.g:1:244: T__51 + { + mT__51(); + + } + break; + case 41 : + // InternalRDL.g:1:250: T__52 + { + mT__52(); + + } + break; + case 42 : + // InternalRDL.g:1:256: T__53 + { + mT__53(); + + } + break; + case 43 : + // InternalRDL.g:1:262: T__54 + { + mT__54(); + + } + break; + case 44 : + // InternalRDL.g:1:268: T__55 + { + mT__55(); + + } + break; + case 45 : + // InternalRDL.g:1:274: T__56 + { + mT__56(); + + } + break; + case 46 : + // InternalRDL.g:1:280: T__57 + { + mT__57(); + + } + break; + case 47 : + // InternalRDL.g:1:286: T__58 + { + mT__58(); + + } + break; + case 48 : + // InternalRDL.g:1:292: T__59 + { + mT__59(); + + } + break; + case 49 : + // InternalRDL.g:1:298: T__60 + { + mT__60(); + + } + break; + case 50 : + // InternalRDL.g:1:304: T__61 + { + mT__61(); + + } + break; + case 51 : + // InternalRDL.g:1:310: T__62 + { + mT__62(); + + } + break; + case 52 : + // InternalRDL.g:1:316: T__63 + { + mT__63(); + + } + break; + case 53 : + // InternalRDL.g:1:322: T__64 + { + mT__64(); + + } + break; + case 54 : + // InternalRDL.g:1:328: T__65 + { + mT__65(); + + } + break; + case 55 : + // InternalRDL.g:1:334: T__66 + { + mT__66(); + + } + break; + case 56 : + // InternalRDL.g:1:340: T__67 + { + mT__67(); + + } + break; + case 57 : + // InternalRDL.g:1:346: T__68 + { + mT__68(); + + } + break; + case 58 : + // InternalRDL.g:1:352: T__69 + { + mT__69(); + + } + break; + case 59 : + // InternalRDL.g:1:358: T__70 + { + mT__70(); + + } + break; + case 60 : + // InternalRDL.g:1:364: T__71 + { + mT__71(); + + } + break; + case 61 : + // InternalRDL.g:1:370: T__72 + { + mT__72(); + + } + break; + case 62 : + // InternalRDL.g:1:376: T__73 + { + mT__73(); + + } + break; + case 63 : + // InternalRDL.g:1:382: T__74 + { + mT__74(); + + } + break; + case 64 : + // InternalRDL.g:1:388: T__75 + { + mT__75(); + + } + break; + case 65 : + // InternalRDL.g:1:394: T__76 + { + mT__76(); + + } + break; + case 66 : + // InternalRDL.g:1:400: T__77 + { + mT__77(); + + } + break; + case 67 : + // InternalRDL.g:1:406: T__78 + { + mT__78(); + + } + break; + case 68 : + // InternalRDL.g:1:412: T__79 + { + mT__79(); + + } + break; + case 69 : + // InternalRDL.g:1:418: T__80 + { + mT__80(); + + } + break; + case 70 : + // InternalRDL.g:1:424: T__81 + { + mT__81(); + + } + break; + case 71 : + // InternalRDL.g:1:430: T__82 + { + mT__82(); + + } + break; + case 72 : + // InternalRDL.g:1:436: T__83 + { + mT__83(); + + } + break; + case 73 : + // InternalRDL.g:1:442: T__84 + { + mT__84(); + + } + break; + case 74 : + // InternalRDL.g:1:448: T__85 + { + mT__85(); + + } + break; + case 75 : + // InternalRDL.g:1:454: T__86 + { + mT__86(); + + } + break; + case 76 : + // InternalRDL.g:1:460: T__87 + { + mT__87(); + + } + break; + case 77 : + // InternalRDL.g:1:466: T__88 + { + mT__88(); + + } + break; + case 78 : + // InternalRDL.g:1:472: T__89 + { + mT__89(); + + } + break; + case 79 : + // InternalRDL.g:1:478: T__90 + { + mT__90(); + + } + break; + case 80 : + // InternalRDL.g:1:484: T__91 + { + mT__91(); + + } + break; + case 81 : + // InternalRDL.g:1:490: T__92 + { + mT__92(); + + } + break; + case 82 : + // InternalRDL.g:1:496: T__93 + { + mT__93(); + + } + break; + case 83 : + // InternalRDL.g:1:502: T__94 + { + mT__94(); + + } + break; + case 84 : + // InternalRDL.g:1:508: T__95 + { + mT__95(); + + } + break; + case 85 : + // InternalRDL.g:1:514: T__96 + { + mT__96(); + + } + break; + case 86 : + // InternalRDL.g:1:520: T__97 + { + mT__97(); + + } + break; + case 87 : + // InternalRDL.g:1:526: T__98 + { + mT__98(); + + } + break; + case 88 : + // InternalRDL.g:1:532: T__99 + { + mT__99(); + + } + break; + case 89 : + // InternalRDL.g:1:538: T__100 + { + mT__100(); + + } + break; + case 90 : + // InternalRDL.g:1:545: T__101 + { + mT__101(); + + } + break; + case 91 : + // InternalRDL.g:1:552: T__102 + { + mT__102(); + + } + break; + case 92 : + // InternalRDL.g:1:559: T__103 + { + mT__103(); + + } + break; + case 93 : + // InternalRDL.g:1:566: T__104 + { + mT__104(); + + } + break; + case 94 : + // InternalRDL.g:1:573: T__105 + { + mT__105(); + + } + break; + case 95 : + // InternalRDL.g:1:580: T__106 + { + mT__106(); + + } + break; + case 96 : + // InternalRDL.g:1:587: T__107 + { + mT__107(); + + } + break; + case 97 : + // InternalRDL.g:1:594: T__108 + { + mT__108(); + + } + break; + case 98 : + // InternalRDL.g:1:601: T__109 + { + mT__109(); + + } + break; + case 99 : + // InternalRDL.g:1:608: T__110 + { + mT__110(); + + } + break; + case 100 : + // InternalRDL.g:1:615: T__111 + { + mT__111(); + + } + break; + case 101 : + // InternalRDL.g:1:622: T__112 + { + mT__112(); + + } + break; + case 102 : + // InternalRDL.g:1:629: T__113 + { + mT__113(); + + } + break; + case 103 : + // InternalRDL.g:1:636: T__114 + { + mT__114(); + + } + break; + case 104 : + // InternalRDL.g:1:643: T__115 + { + mT__115(); + + } + break; + case 105 : + // InternalRDL.g:1:650: T__116 + { + mT__116(); + + } + break; + case 106 : + // InternalRDL.g:1:657: T__117 + { + mT__117(); + + } + break; + case 107 : + // InternalRDL.g:1:664: T__118 + { + mT__118(); + + } + break; + case 108 : + // InternalRDL.g:1:671: T__119 + { + mT__119(); + + } + break; + case 109 : + // InternalRDL.g:1:678: T__120 + { + mT__120(); + + } + break; + case 110 : + // InternalRDL.g:1:685: T__121 + { + mT__121(); + + } + break; + case 111 : + // InternalRDL.g:1:692: T__122 + { + mT__122(); + + } + break; + case 112 : + // InternalRDL.g:1:699: T__123 + { + mT__123(); + + } + break; + case 113 : + // InternalRDL.g:1:706: T__124 + { + mT__124(); + + } + break; + case 114 : + // InternalRDL.g:1:713: T__125 + { + mT__125(); + + } + break; + case 115 : + // InternalRDL.g:1:720: T__126 + { + mT__126(); + + } + break; + case 116 : + // InternalRDL.g:1:727: T__127 + { + mT__127(); + + } + break; + case 117 : + // InternalRDL.g:1:734: T__128 + { + mT__128(); + + } + break; + case 118 : + // InternalRDL.g:1:741: T__129 + { + mT__129(); + + } + break; + case 119 : + // InternalRDL.g:1:748: T__130 + { + mT__130(); + + } + break; + case 120 : + // InternalRDL.g:1:755: T__131 + { + mT__131(); + + } + break; + case 121 : + // InternalRDL.g:1:762: T__132 + { + mT__132(); + + } + break; + case 122 : + // InternalRDL.g:1:769: T__133 + { + mT__133(); + + } + break; + case 123 : + // InternalRDL.g:1:776: T__134 + { + mT__134(); + + } + break; + case 124 : + // InternalRDL.g:1:783: RULE_ID + { + mRULE_ID(); + + } + break; + case 125 : + // InternalRDL.g:1:791: RULE_WS + { + mRULE_WS(); + + } + break; + case 126 : + // InternalRDL.g:1:799: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 127 : + // InternalRDL.g:1:815: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 128 : + // InternalRDL.g:1:831: RULE_ESCAPE_JSP + { + mRULE_ESCAPE_JSP(); + + } + break; + case 129 : + // InternalRDL.g:1:847: RULE_ESCAPE_ORDL + { + mRULE_ESCAPE_ORDL(); + + } + break; + case 130 : + // InternalRDL.g:1:864: RULE_NUM + { + mRULE_NUM(); + + } + break; + case 131 : + // InternalRDL.g:1:873: RULE_STR + { + mRULE_STR(); + + } + break; + + } + + } + + + protected DFA20 dfa20 = new DFA20(this); + protected DFA22 dfa22 = new DFA22(this); + static final String DFA20_eotS = + "\1\uffff\2\4\7\uffff"; + static final String DFA20_eofS = + "\12\uffff"; + static final String DFA20_minS = + "\1\60\2\47\2\uffff\1\142\4\uffff"; + static final String DFA20_maxS = + "\1\71\1\170\1\71\2\uffff\1\157\4\uffff"; + static final String DFA20_acceptS = + "\3\uffff\1\5\1\6\1\uffff\1\4\1\3\1\2\1\1"; + static final String DFA20_specialS = + "\12\uffff}>"; + static final String[] DFA20_transitionS = { + "\1\1\11\2", + "\1\5\10\uffff\12\2\76\uffff\1\3", + "\1\5\10\uffff\12\2", + "", + "", + "\1\11\1\uffff\1\6\3\uffff\1\7\6\uffff\1\10", + "", + "", + "", + "" + }; + + static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); + static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); + static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); + static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); + static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); + static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); + static final short[][] DFA20_transition; + + static { + int numStates = DFA20_transitionS.length; + DFA20_transition = new short[numStates][]; + for (int i=0; i"; + static final String[] DFA22_transitionS = { + "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\52\2\uffff\1\36\2\uffff\1\50\2\uffff\1\35\1\33\1\42\1\43\1\46\12\51\1\41\1\25\1\47\1\31\2\uffff\1\34\24\44\1\24\5\44\1\37\1\44\1\40\1\uffff\1\44\1\26\1\4\1\3\1\15\1\7\1\16\1\6\1\44\1\11\1\12\2\44\1\17\1\20\1\2\1\13\1\23\1\44\1\5\1\1\1\22\1\21\1\44\1\10\1\14\2\44\1\27\1\32\1\30", + "\1\60\6\uffff\1\56\1\54\12\uffff\1\53\2\uffff\1\55\1\uffff\1\57", + "\1\62\3\uffff\1\63\11\uffff\1\64\5\uffff\1\61", + "\1\66\5\uffff\1\65\2\uffff\1\67", + "\1\75\1\70\7\uffff\1\71\1\uffff\1\73\3\uffff\1\72\1\74", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\2\44\1\100\1\44\1\76\15\44\1\77\3\44\1\101\3\44", + "\1\104\7\uffff\1\103\13\uffff\1\105", + "\1\106\11\uffff\1\107", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\111\11\44\1\110\2\44\1\112\10\44", + "\1\115\25\uffff\1\114", + "\1\116", + "\1\117\3\uffff\1\120", + "\1\121", + "\1\124\2\uffff\1\122\1\123", + "\1\126\3\uffff\1\125\5\uffff\1\127", + "\1\132\3\uffff\1\130\11\uffff\1\131", + "\1\134\21\uffff\1\133", + "\1\135", + "\1\136\11\uffff\1\137\6\uffff\1\140", + "\1\142\2\uffff\1\141", + "\1\143", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\144\4\uffff\1\145", + "", + "", + "", + "", + "\1\147\10\uffff\1\146", + "\1\150\6\uffff\1\151", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\154\13\44\1\153\11\44\1\152\3\44", + "\1\156", + "\1\157", + "\1\160", + "\1\161", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\14\44\1\162\15\44", + "\1\165\20\uffff\1\164", + "\1\166", + "\1\167\4\uffff\1\170", + "\1\171", + "\1\172", + "\1\173", + "\1\175\2\uffff\1\174", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0082\20\uffff\1\u0081", + "\1\u0084\1\u0083\13\uffff\1\u0085", + "\1\u0086\20\uffff\1\u0087", + "\1\u0088", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u008a", + "\1\u008b", + "\1\u008c", + "\1\u008e\2\uffff\1\u008f\14\uffff\1\u008d", + "\1\u0090", + "\1\u0091\17\uffff\1\u0092", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u0093\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\u0097\1\44\1\u0098\7\44\1\u0099\5\44\1\u0096\7\44", + "\1\u009b", + "\1\u009d\20\uffff\1\u009c", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "\1\u00a2\7\uffff\1\u00a1", + "\1\u00a3", + "\1\u00a4", + "\1\u00a5", + "\1\u00a7\1\uffff\1\u00a6\21\uffff\1\u00a8", + "\1\u00a9", + "\1\u00aa", + "\1\u00ab", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3\11\uffff\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", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u00cd\5\uffff\1\u00cc", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u00d5\4\44\1\u00d3\20\44\1\u00d4\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\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", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u00e6", + "\1\u00e7", + "\1\u00e8", + "\1\u00e9", + "", + "\1\u00ea", + "\1\u00ec\14\uffff\1\u00eb", + "\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", + "\1\u0109", + "\1\u010a", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u010b\16\44", + "\1\u010d", + "\1\u010e", + "\1\u010f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0111", + "\1\u0112", + "\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\u0115", + "\1\u0116", + "\1\u0117", + "\1\u0118", + "\1\u0119", + "\1\u011a", + "\1\u011c\7\uffff\1\u011b", + "", + "\1\u011d", + "\1\u011e", + "\1\u011f", + "\1\u0120", + "\1\u0121", + "\1\u0122", + "\1\u0123", + "\1\u0124", + "\1\u0125", + "\1\u0126", + "", + "", + "\1\u0127", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0129", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u012b", + "\1\u012c", + "\1\u012d", + "\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\u0131\1\u0132\1\44\1\u0130\1\u012f\3\44", + "\1\u0134", + "\1\u0135\20\uffff\1\u0136", + "\1\u0137", + "\1\u0138", + "", + "\1\u0139", + "\1\u013a", + "\1\u013b", + "\1\u013c", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u013e\7\44\1\u013d\15\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0141", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\25\44\1\u0143\1\u0142\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0146", + "\1\u0147", + "\1\u0148", + "\1\u0149\15\uffff\1\u014a", + "\1\u014b", + "\1\u014c", + "\1\u014d", + "\1\u014e", + "\1\u014f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0151", + "\1\u0152", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0154", + "\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\u0157", + "\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", + "\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\u0166", + "", + "\1\u0167", + "\1\u0168", + "", + "", + "\1\u0169", + "\1\u016a", + "\1\u016b", + "\1\u016c", + "\1\u016d", + "\1\u016e", + "\1\u016f", + "\1\u0170", + "\1\u0171", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0173", + "\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\u0176", + "\1\u0177", + "\1\u0178", + "\1\u0179", + "\1\u017a", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\22\44\1\u017b\7\44", + "", + "\1\u017d", + "", + "\12\44\7\uffff\32\44\4\uffff\1\u017e\1\uffff\26\44\1\u017f\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0182", + "", + "\1\u0183", + "\1\u0184", + "\1\u0185", + "\1\u0186", + "", + "\1\u0187", + "\1\u0188", + "\1\u0189", + "\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\u018e", + "\1\u018f", + "\1\u0190", + "\1\u0191", + "", + "", + "\1\u0192", + "\1\u0193", + "\1\u0194", + "", + "", + "\1\u0195", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0197", + "\1\u0198", + "\1\u0199", + "\1\u019a", + "\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", + "\1\u01a3", + "", + "", + "\1\u01a4", + "\1\u01a5", + "\1\u01a6", + "\1\u01a7", + "\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\u01a9\30\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\26\44\1\u01ab\3\44", + "\1\u01ad", + "", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u01ae\25\44", + "\1\u01b0", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01b2", + "\1\u01b3", + "\1\u01b4", + "\1\u01b5", + "\1\u01b6", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01b8", + "\1\u01b9", + "\1\u01ba", + "", + "\1\u01bb", + "", + "", + "\1\u01bc\3\uffff\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", + "\1\u01cd", + "", + "", + "", + "", + "\1\u01ce", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01d0", + "\1\u01d1", + "\1\u01d2", + "\1\u01d3", + "\1\u01d4", + "\1\u01d5", + "", + "\1\u01d6", + "\1\u01d7", + "\1\u01d8", + "\1\u01d9", + "", + "\1\u01da", + "\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\u01dd", + "\1\u01de", + "", + "\1\u01df", + "\1\u01e0", + "\1\u01e1", + "\1\u01e2", + "\1\u01e3", + "\1\u01e4", + "", + "\1\u01e5", + "", + "\1\u01e6", + "", + "\1\u01e7", + "\1\u01e8", + "", + "\1\u01e9", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01eb", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01ed", + "\1\u01ee", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01f0", + "\1\u01f1", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01f3", + "\1\u01f4", + "\1\u01f5", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01f7", + "\1\u01f8", + "\1\u01f9", + "\12\44\7\uffff\27\44\1\u01fa\2\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01fc", + "\1\u01fd", + "\1\u01fe", + "\1\u01ff", + "\1\u0200", + "\1\u0201", + "\1\u0202", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0204", + "\1\u0205", + "\1\u0206", + "", + "\1\u0207", + "\1\u0208", + "\1\u0209", + "\1\u020a", + "\1\u020b", + "\1\u020c", + "\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\u020f", + "\1\u0210", + "\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", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\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", + "\1\u0226", + "", + "\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\u0229", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u022b", + "\1\u022c", + "\1\u022d", + "\1\u022e", + "\1\u022f", + "\1\u0230", + "\1\u0231", + "", + "\1\u0232", + "\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\u0236", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0238", + "\1\u0239", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u023b", + "\1\u023c", + "\1\u023d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u023f", + "\1\u0240", + "\1\u0241", + "\1\u0242", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u0244", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0246", + "\1\u0247", + "\1\u0248", + "", + "\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\u024b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u024d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u024f", + "", + "", + "\1\u0250", + "", + "\1\u0251", + "\1\u0252", + "\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\u0256", + "\1\u0257", + "\1\u0258", + "", + "", + "", + "\1\u0259", + "", + "\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\u025d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\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", + "\1\u0262", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u0264", + "\1\u0265", + "\1\u0266", + "", + "", + "\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\u0269", + "\1\u026a", + "\1\u026b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "", + "\1\u026d", + "\1\u026e", + "\1\u026f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "", + "\1\u0271", + "", + "\1\u0272", + "", + "", + "\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\u0276", + "", + "", + "\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", + "\1\u027b", + "\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\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", + "\1\u0281", + "", + "", + "\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[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS); + static final short[] DFA22_eof = DFA.unpackEncodedString(DFA22_eofS); + static final char[] DFA22_min = DFA.unpackEncodedStringToUnsignedChars(DFA22_minS); + static final char[] DFA22_max = DFA.unpackEncodedStringToUnsignedChars(DFA22_maxS); + static final short[] DFA22_accept = DFA.unpackEncodedString(DFA22_acceptS); + static final short[] DFA22_special = DFA.unpackEncodedString(DFA22_specialS); + static final short[][] DFA22_transition; + + static { + int numStates = DFA22_transitionS.length; + DFA22_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL", "'string'", "'number'", "'boolean'", "'addrmap'", "'reg'", "'regfile'", "'field'", "'ref'", "'signal'", "'all'", "'name'", "'desc'", "'arbiter'", "'rset'", "'rclr'", "'woclr'", "'woset'", "'we'", "'wel'", "'swwe'", "'swwel'", "'hwset'", "'hwclr'", "'swmod'", "'swacc'", "'sticky'", "'stickybit'", "'intr'", "'anded'", "'ored'", "'xored'", "'counter'", "'overflow'", "'sharedextbus'", "'errextbus'", "'reset'", "'littleendian'", "'bigendian'", "'rsvdset'", "'rsvdsetX'", "'bridge'", "'shared'", "'msb0'", "'lsb0'", "'sync'", "'async'", "'cpuif_reset'", "'field_reset'", "'activehigh'", "'activelow'", "'singlepulse'", "'underflow'", "'incr'", "'decr'", "'incrwidth'", "'decrwidth'", "'incrvalue'", "'decrvalue'", "'saturate'", "'decrsaturate'", "'threshold'", "'decrthreshold'", "'dontcompare'", "'donttest'", "'internal'", "'alignment'", "'regwidth'", "'fieldwidth'", "'signalwidth'", "'accesswidth'", "'sw'", "'hw'", "'addressing'", "'precedence'", "'encode'", "'resetsignal'", "'clock'", "'mask'", "'enable'", "'hwenable'", "'hwmask'", "'haltmask'", "'haltenable'", "'halt'", "'next'", "'UNDEFINED'", "'true'", "'false'", "'rw'", "'wr'", "'r'", "'w'", "'na'", "'compact'", "'regalign'", "'fullalign'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'", "';'", "'`include'", "'property'", "'{'", "'}'", "'type'", "'='", "'default'", "'component'", "'|'", "'alias'", "','", "'@'", "'+='", "'%='", "'['", "']'", "':'", "'->'", "'.'", "'enum'", "'external'" + }; + public static final int T__50=50; + public static final int T__59=59; + 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__133=133; + 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 T__134=134; + 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__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__98=98; + public static final int RULE_ESCAPE_ORDL=11; + 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 RULE_ESCAPE_JSP=10; + 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:54:1: entryRuleRoot : ruleRoot EOF ; + public final void entryRuleRoot() throws RecognitionException { + try { + // InternalRDL.g:55:1: ( ruleRoot EOF ) + // InternalRDL.g:56:1: ruleRoot EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootRule()); + } + pushFollow(FOLLOW_1); + ruleRoot(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRoot" + + + // $ANTLR start "ruleRoot" + // InternalRDL.g:63:1: ruleRoot : ( ( rule__Root__Alternatives )* ) ; + public final void ruleRoot() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:67:2: ( ( ( rule__Root__Alternatives )* ) ) + // InternalRDL.g:68:2: ( ( rule__Root__Alternatives )* ) + { + // InternalRDL.g:68:2: ( ( rule__Root__Alternatives )* ) + // InternalRDL.g:69:3: ( rule__Root__Alternatives )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getAlternatives()); + } + // InternalRDL.g:70:3: ( rule__Root__Alternatives )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==RULE_ID||(LA1_0>=15 && LA1_0<=18)||LA1_0==20||(LA1_0>=22 && LA1_0<=97)||(LA1_0>=108 && LA1_0<=112)||(LA1_0>=114 && LA1_0<=115)||LA1_0==120||LA1_0==123||(LA1_0>=133 && LA1_0<=134)) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalRDL.g:70:4: rule__Root__Alternatives + { + pushFollow(FOLLOW_3); + rule__Root__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop1; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRoot" + + + // $ANTLR start "entryRuleInclude" + // InternalRDL.g:79:1: entryRuleInclude : ruleInclude EOF ; + public final void entryRuleInclude() throws RecognitionException { + try { + // InternalRDL.g:80:1: ( ruleInclude EOF ) + // InternalRDL.g:81:1: ruleInclude EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIncludeRule()); + } + pushFollow(FOLLOW_1); + ruleInclude(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIncludeRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInclude" + + + // $ANTLR start "ruleInclude" + // InternalRDL.g:88:1: ruleInclude : ( ( rule__Include__Group__0 ) ) ; + public final void ruleInclude() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:92:2: ( ( ( rule__Include__Group__0 ) ) ) + // InternalRDL.g:93:2: ( ( rule__Include__Group__0 ) ) + { + // InternalRDL.g:93:2: ( ( rule__Include__Group__0 ) ) + // InternalRDL.g:94:3: ( rule__Include__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIncludeAccess().getGroup()); + } + // InternalRDL.g:95:3: ( rule__Include__Group__0 ) + // InternalRDL.g:95:4: rule__Include__Group__0 + { + pushFollow(FOLLOW_2); + rule__Include__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getIncludeAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInclude" + + + // $ANTLR start "entryRulePropertyDefinition" + // InternalRDL.g:104:1: entryRulePropertyDefinition : rulePropertyDefinition EOF ; + public final void entryRulePropertyDefinition() throws RecognitionException { + try { + // InternalRDL.g:105:1: ( rulePropertyDefinition EOF ) + // InternalRDL.g:106:1: rulePropertyDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionRule()); + } + pushFollow(FOLLOW_1); + rulePropertyDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyDefinition" + + + // $ANTLR start "rulePropertyDefinition" + // InternalRDL.g:113:1: rulePropertyDefinition : ( ( rule__PropertyDefinition__Group__0 ) ) ; + public final void rulePropertyDefinition() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:117:2: ( ( ( rule__PropertyDefinition__Group__0 ) ) ) + // InternalRDL.g:118:2: ( ( rule__PropertyDefinition__Group__0 ) ) + { + // InternalRDL.g:118:2: ( ( rule__PropertyDefinition__Group__0 ) ) + // InternalRDL.g:119:3: ( rule__PropertyDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup()); + } + // InternalRDL.g:120:3: ( rule__PropertyDefinition__Group__0 ) + // InternalRDL.g:120:4: rule__PropertyDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyDefinition" + + + // $ANTLR start "entryRulePropertyDefault" + // InternalRDL.g:129:1: entryRulePropertyDefault : rulePropertyDefault EOF ; + public final void entryRulePropertyDefault() throws RecognitionException { + try { + // InternalRDL.g:130:1: ( rulePropertyDefault EOF ) + // InternalRDL.g:131:1: rulePropertyDefault EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultRule()); + } + pushFollow(FOLLOW_1); + rulePropertyDefault(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyDefault" + + + // $ANTLR start "rulePropertyDefault" + // InternalRDL.g:138:1: rulePropertyDefault : ( ( rule__PropertyDefault__Group__0 ) ) ; + public final void rulePropertyDefault() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:142:2: ( ( ( rule__PropertyDefault__Group__0 ) ) ) + // InternalRDL.g:143:2: ( ( rule__PropertyDefault__Group__0 ) ) + { + // InternalRDL.g:143:2: ( ( rule__PropertyDefault__Group__0 ) ) + // InternalRDL.g:144:3: ( rule__PropertyDefault__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getGroup()); + } + // InternalRDL.g:145:3: ( rule__PropertyDefault__Group__0 ) + // InternalRDL.g:145:4: rule__PropertyDefault__Group__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyDefault" + + + // $ANTLR start "entryRulePropertyUsage" + // InternalRDL.g:154:1: entryRulePropertyUsage : rulePropertyUsage EOF ; + public final void entryRulePropertyUsage() throws RecognitionException { + try { + // InternalRDL.g:155:1: ( rulePropertyUsage EOF ) + // InternalRDL.g:156:1: rulePropertyUsage EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageRule()); + } + pushFollow(FOLLOW_1); + rulePropertyUsage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyUsageRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyUsage" + + + // $ANTLR start "rulePropertyUsage" + // InternalRDL.g:163:1: rulePropertyUsage : ( ( rule__PropertyUsage__Group__0 ) ) ; + public final void rulePropertyUsage() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:167:2: ( ( ( rule__PropertyUsage__Group__0 ) ) ) + // InternalRDL.g:168:2: ( ( rule__PropertyUsage__Group__0 ) ) + { + // InternalRDL.g:168:2: ( ( rule__PropertyUsage__Group__0 ) ) + // InternalRDL.g:169:3: ( rule__PropertyUsage__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getGroup()); + } + // InternalRDL.g:170:3: ( rule__PropertyUsage__Group__0 ) + // InternalRDL.g:170:4: rule__PropertyUsage__Group__0 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyUsageAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyUsage" + + + // $ANTLR start "entryRuleComponentDefinition" + // InternalRDL.g:179:1: entryRuleComponentDefinition : ruleComponentDefinition EOF ; + public final void entryRuleComponentDefinition() throws RecognitionException { + try { + // InternalRDL.g:180:1: ( ruleComponentDefinition EOF ) + // InternalRDL.g:181:1: ruleComponentDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionRule()); + } + pushFollow(FOLLOW_1); + ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleComponentDefinition" + + + // $ANTLR start "ruleComponentDefinition" + // InternalRDL.g:188:1: ruleComponentDefinition : ( ( rule__ComponentDefinition__Group__0 ) ) ; + public final void ruleComponentDefinition() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:192:2: ( ( ( rule__ComponentDefinition__Group__0 ) ) ) + // InternalRDL.g:193:2: ( ( rule__ComponentDefinition__Group__0 ) ) + { + // InternalRDL.g:193:2: ( ( rule__ComponentDefinition__Group__0 ) ) + // InternalRDL.g:194:3: ( rule__ComponentDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup()); + } + // InternalRDL.g:195:3: ( rule__ComponentDefinition__Group__0 ) + // InternalRDL.g:195:4: rule__ComponentDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComponentDefinition" + + + // $ANTLR start "entryRuleInstantiation" + // InternalRDL.g:204:1: entryRuleInstantiation : ruleInstantiation EOF ; + public final void entryRuleInstantiation() throws RecognitionException { + try { + // InternalRDL.g:205:1: ( ruleInstantiation EOF ) + // InternalRDL.g:206:1: ruleInstantiation EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationRule()); + } + pushFollow(FOLLOW_1); + ruleInstantiation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInstantiation" + + + // $ANTLR start "ruleInstantiation" + // InternalRDL.g:213:1: ruleInstantiation : ( ( rule__Instantiation__Group__0 ) ) ; + public final void ruleInstantiation() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:217:2: ( ( ( rule__Instantiation__Group__0 ) ) ) + // InternalRDL.g:218:2: ( ( rule__Instantiation__Group__0 ) ) + { + // InternalRDL.g:218:2: ( ( rule__Instantiation__Group__0 ) ) + // InternalRDL.g:219:3: ( rule__Instantiation__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getGroup()); + } + // InternalRDL.g:220:3: ( rule__Instantiation__Group__0 ) + // InternalRDL.g:220:4: rule__Instantiation__Group__0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInstantiation" + + + // $ANTLR start "entryRuleComponentInstance" + // InternalRDL.g:229:1: entryRuleComponentInstance : ruleComponentInstance EOF ; + public final void entryRuleComponentInstance() throws RecognitionException { + try { + // InternalRDL.g:230:1: ( ruleComponentInstance EOF ) + // InternalRDL.g:231:1: ruleComponentInstance EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceRule()); + } + pushFollow(FOLLOW_1); + ruleComponentInstance(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleComponentInstance" + + + // $ANTLR start "ruleComponentInstance" + // InternalRDL.g:238:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ; + public final void ruleComponentInstance() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:242:2: ( ( ( rule__ComponentInstance__Group__0 ) ) ) + // InternalRDL.g:243:2: ( ( rule__ComponentInstance__Group__0 ) ) + { + // InternalRDL.g:243:2: ( ( rule__ComponentInstance__Group__0 ) ) + // InternalRDL.g:244:3: ( rule__ComponentInstance__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getGroup()); + } + // InternalRDL.g:245:3: ( rule__ComponentInstance__Group__0 ) + // InternalRDL.g:245:4: rule__ComponentInstance__Group__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComponentInstance" + + + // $ANTLR start "entryRuleRange" + // InternalRDL.g:254:1: entryRuleRange : ruleRange EOF ; + public final void entryRuleRange() throws RecognitionException { + try { + // InternalRDL.g:255:1: ( ruleRange EOF ) + // InternalRDL.g:256:1: ruleRange EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeRule()); + } + pushFollow(FOLLOW_1); + ruleRange(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRange" + + + // $ANTLR start "ruleRange" + // InternalRDL.g:263:1: ruleRange : ( ( rule__Range__Group__0 ) ) ; + public final void ruleRange() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:267:2: ( ( ( rule__Range__Group__0 ) ) ) + // InternalRDL.g:268:2: ( ( rule__Range__Group__0 ) ) + { + // InternalRDL.g:268:2: ( ( rule__Range__Group__0 ) ) + // InternalRDL.g:269:3: ( rule__Range__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getGroup()); + } + // InternalRDL.g:270:3: ( rule__Range__Group__0 ) + // InternalRDL.g:270:4: rule__Range__Group__0 + { + pushFollow(FOLLOW_2); + rule__Range__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRange" + + + // $ANTLR start "entryRulePropertyAssignment" + // InternalRDL.g:279:1: entryRulePropertyAssignment : rulePropertyAssignment EOF ; + public final void entryRulePropertyAssignment() throws RecognitionException { + try { + // InternalRDL.g:280:1: ( rulePropertyAssignment EOF ) + // InternalRDL.g:281:1: rulePropertyAssignment EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRule()); + } + pushFollow(FOLLOW_1); + rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyAssignment" + + + // $ANTLR start "rulePropertyAssignment" + // InternalRDL.g:288:1: rulePropertyAssignment : ( ( rule__PropertyAssignment__Alternatives ) ) ; + public final void rulePropertyAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:292:2: ( ( ( rule__PropertyAssignment__Alternatives ) ) ) + // InternalRDL.g:293:2: ( ( rule__PropertyAssignment__Alternatives ) ) + { + // InternalRDL.g:293:2: ( ( rule__PropertyAssignment__Alternatives ) ) + // InternalRDL.g:294:3: ( rule__PropertyAssignment__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentAccess().getAlternatives()); + } + // InternalRDL.g:295:3: ( rule__PropertyAssignment__Alternatives ) + // InternalRDL.g:295:4: rule__PropertyAssignment__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyAssignment__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyAssignment" + + + // $ANTLR start "entryRuleDefaultProperyAssignment" + // InternalRDL.g:304:1: entryRuleDefaultProperyAssignment : ruleDefaultProperyAssignment EOF ; + public final void entryRuleDefaultProperyAssignment() throws RecognitionException { + try { + // InternalRDL.g:305:1: ( ruleDefaultProperyAssignment EOF ) + // InternalRDL.g:306:1: ruleDefaultProperyAssignment EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultProperyAssignmentRule()); + } + pushFollow(FOLLOW_1); + ruleDefaultProperyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultProperyAssignmentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDefaultProperyAssignment" + + + // $ANTLR start "ruleDefaultProperyAssignment" + // InternalRDL.g:313:1: ruleDefaultProperyAssignment : ( ( rule__DefaultProperyAssignment__Group__0 ) ) ; + public final void ruleDefaultProperyAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:317:2: ( ( ( rule__DefaultProperyAssignment__Group__0 ) ) ) + // InternalRDL.g:318:2: ( ( rule__DefaultProperyAssignment__Group__0 ) ) + { + // InternalRDL.g:318:2: ( ( rule__DefaultProperyAssignment__Group__0 ) ) + // InternalRDL.g:319:3: ( rule__DefaultProperyAssignment__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultProperyAssignmentAccess().getGroup()); + } + // InternalRDL.g:320:3: ( rule__DefaultProperyAssignment__Group__0 ) + // InternalRDL.g:320:4: rule__DefaultProperyAssignment__Group__0 + { + pushFollow(FOLLOW_2); + rule__DefaultProperyAssignment__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultProperyAssignmentAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDefaultProperyAssignment" + + + // $ANTLR start "entryRuleExplicitPropertyAssignment" + // InternalRDL.g:329:1: entryRuleExplicitPropertyAssignment : ruleExplicitPropertyAssignment EOF ; + public final void entryRuleExplicitPropertyAssignment() throws RecognitionException { + try { + // InternalRDL.g:330:1: ( ruleExplicitPropertyAssignment EOF ) + // InternalRDL.g:331:1: ruleExplicitPropertyAssignment EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentRule()); + } + pushFollow(FOLLOW_1); + ruleExplicitPropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExplicitPropertyAssignmentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleExplicitPropertyAssignment" + + + // $ANTLR start "ruleExplicitPropertyAssignment" + // InternalRDL.g:338:1: ruleExplicitPropertyAssignment : ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) ; + public final void ruleExplicitPropertyAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:342:2: ( ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) ) + // InternalRDL.g:343:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) + { + // InternalRDL.g:343:2: ( ( rule__ExplicitPropertyAssignment__Alternatives ) ) + // InternalRDL.g:344:3: ( rule__ExplicitPropertyAssignment__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives()); + } + // InternalRDL.g:345:3: ( rule__ExplicitPropertyAssignment__Alternatives ) + // InternalRDL.g:345:4: rule__ExplicitPropertyAssignment__Alternatives + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExplicitPropertyAssignmentAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleExplicitPropertyAssignment" + + + // $ANTLR start "entryRulePostPropertyAssignment" + // InternalRDL.g:354:1: entryRulePostPropertyAssignment : rulePostPropertyAssignment EOF ; + public final void entryRulePostPropertyAssignment() throws RecognitionException { + try { + // InternalRDL.g:355:1: ( rulePostPropertyAssignment EOF ) + // InternalRDL.g:356:1: rulePostPropertyAssignment EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentRule()); + } + pushFollow(FOLLOW_1); + rulePostPropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePostPropertyAssignment" + + + // $ANTLR start "rulePostPropertyAssignment" + // InternalRDL.g:363:1: rulePostPropertyAssignment : ( ( rule__PostPropertyAssignment__Group__0 ) ) ; + public final void rulePostPropertyAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:367:2: ( ( ( rule__PostPropertyAssignment__Group__0 ) ) ) + // InternalRDL.g:368:2: ( ( rule__PostPropertyAssignment__Group__0 ) ) + { + // InternalRDL.g:368:2: ( ( rule__PostPropertyAssignment__Group__0 ) ) + // InternalRDL.g:369:3: ( rule__PostPropertyAssignment__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getGroup()); + } + // InternalRDL.g:370:3: ( rule__PostPropertyAssignment__Group__0 ) + // InternalRDL.g:370:4: rule__PostPropertyAssignment__Group__0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePostPropertyAssignment" + + + // $ANTLR start "entryRuleInstancePropertyRef" + // InternalRDL.g:379:1: entryRuleInstancePropertyRef : ruleInstancePropertyRef EOF ; + public final void entryRuleInstancePropertyRef() throws RecognitionException { + try { + // InternalRDL.g:380:1: ( ruleInstancePropertyRef EOF ) + // InternalRDL.g:381:1: ruleInstancePropertyRef EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefRule()); + } + pushFollow(FOLLOW_1); + ruleInstancePropertyRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstancePropertyRefRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInstancePropertyRef" + + + // $ANTLR start "ruleInstancePropertyRef" + // InternalRDL.g:388:1: ruleInstancePropertyRef : ( ( rule__InstancePropertyRef__Group__0 ) ) ; + public final void ruleInstancePropertyRef() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:392:2: ( ( ( rule__InstancePropertyRef__Group__0 ) ) ) + // InternalRDL.g:393:2: ( ( rule__InstancePropertyRef__Group__0 ) ) + { + // InternalRDL.g:393:2: ( ( rule__InstancePropertyRef__Group__0 ) ) + // InternalRDL.g:394:3: ( rule__InstancePropertyRef__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getGroup()); + } + // InternalRDL.g:395:3: ( rule__InstancePropertyRef__Group__0 ) + // InternalRDL.g:395:4: rule__InstancePropertyRef__Group__0 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstancePropertyRefAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInstancePropertyRef" + + + // $ANTLR start "entryRuleInstanceRef" + // InternalRDL.g:404:1: entryRuleInstanceRef : ruleInstanceRef EOF ; + public final void entryRuleInstanceRef() throws RecognitionException { + try { + // InternalRDL.g:405:1: ( ruleInstanceRef EOF ) + // InternalRDL.g:406:1: ruleInstanceRef EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefRule()); + } + pushFollow(FOLLOW_1); + ruleInstanceRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstanceRefRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInstanceRef" + + + // $ANTLR start "ruleInstanceRef" + // InternalRDL.g:413:1: ruleInstanceRef : ( ( rule__InstanceRef__Group__0 ) ) ; + public final void ruleInstanceRef() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:417:2: ( ( ( rule__InstanceRef__Group__0 ) ) ) + // InternalRDL.g:418:2: ( ( rule__InstanceRef__Group__0 ) ) + { + // InternalRDL.g:418:2: ( ( rule__InstanceRef__Group__0 ) ) + // InternalRDL.g:419:3: ( rule__InstanceRef__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getGroup()); + } + // InternalRDL.g:420:3: ( rule__InstanceRef__Group__0 ) + // InternalRDL.g:420:4: rule__InstanceRef__Group__0 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstanceRefAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInstanceRef" + + + // $ANTLR start "entryRuleHierInstanceRef" + // InternalRDL.g:429:1: entryRuleHierInstanceRef : ruleHierInstanceRef EOF ; + public final void entryRuleHierInstanceRef() throws RecognitionException { + try { + // InternalRDL.g:430:1: ( ruleHierInstanceRef EOF ) + // InternalRDL.g:431:1: ruleHierInstanceRef EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefRule()); + } + pushFollow(FOLLOW_1); + ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getHierInstanceRefRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleHierInstanceRef" + + + // $ANTLR start "ruleHierInstanceRef" + // InternalRDL.g:438:1: ruleHierInstanceRef : ( ( rule__HierInstanceRef__Group__0 ) ) ; + public final void ruleHierInstanceRef() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:442:2: ( ( ( rule__HierInstanceRef__Group__0 ) ) ) + // InternalRDL.g:443:2: ( ( rule__HierInstanceRef__Group__0 ) ) + { + // InternalRDL.g:443:2: ( ( rule__HierInstanceRef__Group__0 ) ) + // InternalRDL.g:444:3: ( rule__HierInstanceRef__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getGroup()); + } + // InternalRDL.g:445:3: ( rule__HierInstanceRef__Group__0 ) + // InternalRDL.g:445:4: rule__HierInstanceRef__Group__0 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getHierInstanceRefAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleHierInstanceRef" + + + // $ANTLR start "entryRulePropertyAssignmentRhs" + // InternalRDL.g:454:1: entryRulePropertyAssignmentRhs : rulePropertyAssignmentRhs EOF ; + public final void entryRulePropertyAssignmentRhs() throws RecognitionException { + try { + // InternalRDL.g:455:1: ( rulePropertyAssignmentRhs EOF ) + // InternalRDL.g:456:1: rulePropertyAssignmentRhs EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsRule()); + } + pushFollow(FOLLOW_1); + rulePropertyAssignmentRhs(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyAssignmentRhs" + + + // $ANTLR start "rulePropertyAssignmentRhs" + // InternalRDL.g:463:1: rulePropertyAssignmentRhs : ( ( rule__PropertyAssignmentRhs__Alternatives ) ) ; + public final void rulePropertyAssignmentRhs() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:467:2: ( ( ( rule__PropertyAssignmentRhs__Alternatives ) ) ) + // InternalRDL.g:468:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) ) + { + // InternalRDL.g:468:2: ( ( rule__PropertyAssignmentRhs__Alternatives ) ) + // InternalRDL.g:469:3: ( rule__PropertyAssignmentRhs__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives()); + } + // InternalRDL.g:470:3: ( rule__PropertyAssignmentRhs__Alternatives ) + // InternalRDL.g:470:4: rule__PropertyAssignmentRhs__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyAssignmentRhs" + + + // $ANTLR start "entryRuleConcat" + // InternalRDL.g:479:1: entryRuleConcat : ruleConcat EOF ; + public final void entryRuleConcat() throws RecognitionException { + try { + // InternalRDL.g:480:1: ( ruleConcat EOF ) + // InternalRDL.g:481:1: ruleConcat EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatRule()); + } + pushFollow(FOLLOW_1); + ruleConcat(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConcat" + + + // $ANTLR start "ruleConcat" + // InternalRDL.g:488:1: ruleConcat : ( ( rule__Concat__Group__0 ) ) ; + public final void ruleConcat() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:492:2: ( ( ( rule__Concat__Group__0 ) ) ) + // InternalRDL.g:493:2: ( ( rule__Concat__Group__0 ) ) + { + // InternalRDL.g:493:2: ( ( rule__Concat__Group__0 ) ) + // InternalRDL.g:494:3: ( rule__Concat__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getGroup()); + } + // InternalRDL.g:495:3: ( rule__Concat__Group__0 ) + // InternalRDL.g:495:4: rule__Concat__Group__0 + { + pushFollow(FOLLOW_2); + rule__Concat__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConcat" + + + // $ANTLR start "entryRuleConcatElem" + // InternalRDL.g:504:1: entryRuleConcatElem : ruleConcatElem EOF ; + public final void entryRuleConcatElem() throws RecognitionException { + try { + // InternalRDL.g:505:1: ( ruleConcatElem EOF ) + // InternalRDL.g:506:1: ruleConcatElem EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatElemRule()); + } + pushFollow(FOLLOW_1); + ruleConcatElem(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatElemRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConcatElem" + + + // $ANTLR start "ruleConcatElem" + // InternalRDL.g:513:1: ruleConcatElem : ( ( rule__ConcatElem__Alternatives ) ) ; + public final void ruleConcatElem() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:517:2: ( ( ( rule__ConcatElem__Alternatives ) ) ) + // InternalRDL.g:518:2: ( ( rule__ConcatElem__Alternatives ) ) + { + // InternalRDL.g:518:2: ( ( rule__ConcatElem__Alternatives ) ) + // InternalRDL.g:519:3: ( rule__ConcatElem__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatElemAccess().getAlternatives()); + } + // InternalRDL.g:520:3: ( rule__ConcatElem__Alternatives ) + // InternalRDL.g:520:4: rule__ConcatElem__Alternatives + { + pushFollow(FOLLOW_2); + rule__ConcatElem__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatElemAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConcatElem" + + + // $ANTLR start "entryRulePropertyRvalueConstant" + // InternalRDL.g:529:1: entryRulePropertyRvalueConstant : rulePropertyRvalueConstant EOF ; + public final void entryRulePropertyRvalueConstant() throws RecognitionException { + try { + // InternalRDL.g:530:1: ( rulePropertyRvalueConstant EOF ) + // InternalRDL.g:531:1: rulePropertyRvalueConstant EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantRule()); + } + pushFollow(FOLLOW_1); + rulePropertyRvalueConstant(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyRvalueConstantRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePropertyRvalueConstant" + + + // $ANTLR start "rulePropertyRvalueConstant" + // InternalRDL.g:538:1: rulePropertyRvalueConstant : ( ( rule__PropertyRvalueConstant__Alternatives ) ) ; + public final void rulePropertyRvalueConstant() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:542:2: ( ( ( rule__PropertyRvalueConstant__Alternatives ) ) ) + // InternalRDL.g:543:2: ( ( rule__PropertyRvalueConstant__Alternatives ) ) + { + // InternalRDL.g:543:2: ( ( rule__PropertyRvalueConstant__Alternatives ) ) + // InternalRDL.g:544:3: ( rule__PropertyRvalueConstant__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives()); + } + // InternalRDL.g:545:3: ( rule__PropertyRvalueConstant__Alternatives ) + // InternalRDL.g:545:4: rule__PropertyRvalueConstant__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyRvalueConstantAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyRvalueConstant" + + + // $ANTLR start "entryRuleEnumDefinition" + // InternalRDL.g:554:1: entryRuleEnumDefinition : ruleEnumDefinition EOF ; + public final void entryRuleEnumDefinition() throws RecognitionException { + try { + // InternalRDL.g:555:1: ( ruleEnumDefinition EOF ) + // InternalRDL.g:556:1: ruleEnumDefinition EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionRule()); + } + pushFollow(FOLLOW_1); + ruleEnumDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumDefinitionRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumDefinition" + + + // $ANTLR start "ruleEnumDefinition" + // InternalRDL.g:563:1: ruleEnumDefinition : ( ( rule__EnumDefinition__Group__0 ) ) ; + public final void ruleEnumDefinition() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:567:2: ( ( ( rule__EnumDefinition__Group__0 ) ) ) + // InternalRDL.g:568:2: ( ( rule__EnumDefinition__Group__0 ) ) + { + // InternalRDL.g:568:2: ( ( rule__EnumDefinition__Group__0 ) ) + // InternalRDL.g:569:3: ( rule__EnumDefinition__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionAccess().getGroup()); + } + // InternalRDL.g:570:3: ( rule__EnumDefinition__Group__0 ) + // InternalRDL.g:570:4: rule__EnumDefinition__Group__0 + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumDefinitionAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumDefinition" + + + // $ANTLR start "entryRuleEnumBody" + // InternalRDL.g:579:1: entryRuleEnumBody : ruleEnumBody EOF ; + public final void entryRuleEnumBody() throws RecognitionException { + try { + // InternalRDL.g:580:1: ( ruleEnumBody EOF ) + // InternalRDL.g:581:1: ruleEnumBody EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyRule()); + } + pushFollow(FOLLOW_1); + ruleEnumBody(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumBodyRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumBody" + + + // $ANTLR start "ruleEnumBody" + // InternalRDL.g:588:1: ruleEnumBody : ( ( rule__EnumBody__Group__0 ) ) ; + public final void ruleEnumBody() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:592:2: ( ( ( rule__EnumBody__Group__0 ) ) ) + // InternalRDL.g:593:2: ( ( rule__EnumBody__Group__0 ) ) + { + // InternalRDL.g:593:2: ( ( rule__EnumBody__Group__0 ) ) + // InternalRDL.g:594:3: ( rule__EnumBody__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyAccess().getGroup()); + } + // InternalRDL.g:595:3: ( rule__EnumBody__Group__0 ) + // InternalRDL.g:595:4: rule__EnumBody__Group__0 + { + pushFollow(FOLLOW_2); + rule__EnumBody__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumBodyAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumBody" + + + // $ANTLR start "entryRuleEnumEntry" + // InternalRDL.g:604:1: entryRuleEnumEntry : ruleEnumEntry EOF ; + public final void entryRuleEnumEntry() throws RecognitionException { + try { + // InternalRDL.g:605:1: ( ruleEnumEntry EOF ) + // InternalRDL.g:606:1: ruleEnumEntry EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryRule()); + } + pushFollow(FOLLOW_1); + ruleEnumEntry(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumEntry" + + + // $ANTLR start "ruleEnumEntry" + // InternalRDL.g:613:1: ruleEnumEntry : ( ( rule__EnumEntry__Group__0 ) ) ; + public final void ruleEnumEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:617:2: ( ( ( rule__EnumEntry__Group__0 ) ) ) + // InternalRDL.g:618:2: ( ( rule__EnumEntry__Group__0 ) ) + { + // InternalRDL.g:618:2: ( ( rule__EnumEntry__Group__0 ) ) + // InternalRDL.g:619:3: ( rule__EnumEntry__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getGroup()); + } + // InternalRDL.g:620:3: ( rule__EnumEntry__Group__0 ) + // InternalRDL.g:620:4: rule__EnumEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumEntry" + + + // $ANTLR start "entryRuleEnumProperty" + // InternalRDL.g:629:1: entryRuleEnumProperty : ruleEnumProperty EOF ; + public final void entryRuleEnumProperty() throws RecognitionException { + try { + // InternalRDL.g:630:1: ( ruleEnumProperty EOF ) + // InternalRDL.g:631:1: ruleEnumProperty EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyRule()); + } + pushFollow(FOLLOW_1); + ruleEnumProperty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumProperty" + + + // $ANTLR start "ruleEnumProperty" + // InternalRDL.g:638:1: ruleEnumProperty : ( ( rule__EnumProperty__Group__0 ) ) ; + public final void ruleEnumProperty() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:642:2: ( ( ( rule__EnumProperty__Group__0 ) ) ) + // InternalRDL.g:643:2: ( ( rule__EnumProperty__Group__0 ) ) + { + // InternalRDL.g:643:2: ( ( rule__EnumProperty__Group__0 ) ) + // InternalRDL.g:644:3: ( rule__EnumProperty__Group__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getGroup()); + } + // InternalRDL.g:645:3: ( rule__EnumProperty__Group__0 ) + // InternalRDL.g:645:4: rule__EnumProperty__Group__0 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getGroup()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumProperty" + + + // $ANTLR start "entryRuleEnumInstanceType" + // InternalRDL.g:654:1: entryRuleEnumInstanceType : ruleEnumInstanceType EOF ; + public final void entryRuleEnumInstanceType() throws RecognitionException { + try { + // InternalRDL.g:655:1: ( ruleEnumInstanceType EOF ) + // InternalRDL.g:656:1: ruleEnumInstanceType EOF + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeRule()); + } + pushFollow(FOLLOW_1); + ruleEnumInstanceType(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeRule()); + } + match(input,EOF,FOLLOW_2); if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEnumInstanceType" + + + // $ANTLR start "ruleEnumInstanceType" + // InternalRDL.g:663:1: ruleEnumInstanceType : ( ( rule__EnumInstanceType__Alternatives ) ) ; + public final void ruleEnumInstanceType() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:667:2: ( ( ( rule__EnumInstanceType__Alternatives ) ) ) + // InternalRDL.g:668:2: ( ( rule__EnumInstanceType__Alternatives ) ) + { + // InternalRDL.g:668:2: ( ( rule__EnumInstanceType__Alternatives ) ) + // InternalRDL.g:669:3: ( rule__EnumInstanceType__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getAlternatives()); + } + // InternalRDL.g:670:3: ( rule__EnumInstanceType__Alternatives ) + // InternalRDL.g:670:4: rule__EnumInstanceType__Alternatives + { + pushFollow(FOLLOW_2); + rule__EnumInstanceType__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEnumInstanceType" + + + // $ANTLR start "rulePropertyTypeName" + // InternalRDL.g:679:1: rulePropertyTypeName : ( ( rule__PropertyTypeName__Alternatives ) ) ; + public final void rulePropertyTypeName() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:683:1: ( ( ( rule__PropertyTypeName__Alternatives ) ) ) + // InternalRDL.g:684:2: ( ( rule__PropertyTypeName__Alternatives ) ) + { + // InternalRDL.g:684:2: ( ( rule__PropertyTypeName__Alternatives ) ) + // InternalRDL.g:685:3: ( rule__PropertyTypeName__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getAlternatives()); + } + // InternalRDL.g:686:3: ( rule__PropertyTypeName__Alternatives ) + // InternalRDL.g:686:4: rule__PropertyTypeName__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyTypeName__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyTypeName" + + + // $ANTLR start "rulePropertyComponent" + // InternalRDL.g:695:1: rulePropertyComponent : ( ( rule__PropertyComponent__Alternatives ) ) ; + public final void rulePropertyComponent() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:699:1: ( ( ( rule__PropertyComponent__Alternatives ) ) ) + // InternalRDL.g:700:2: ( ( rule__PropertyComponent__Alternatives ) ) + { + // InternalRDL.g:700:2: ( ( rule__PropertyComponent__Alternatives ) ) + // InternalRDL.g:701:3: ( rule__PropertyComponent__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getAlternatives()); + } + // InternalRDL.g:702:3: ( rule__PropertyComponent__Alternatives ) + // InternalRDL.g:702:4: rule__PropertyComponent__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyComponent__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyComponentAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePropertyComponent" + + + // $ANTLR start "ruleComponentDefinitionType" + // InternalRDL.g:711:1: ruleComponentDefinitionType : ( ( rule__ComponentDefinitionType__Alternatives ) ) ; + public final void ruleComponentDefinitionType() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:715:1: ( ( ( rule__ComponentDefinitionType__Alternatives ) ) ) + // InternalRDL.g:716:2: ( ( rule__ComponentDefinitionType__Alternatives ) ) + { + // InternalRDL.g:716:2: ( ( rule__ComponentDefinitionType__Alternatives ) ) + // InternalRDL.g:717:3: ( rule__ComponentDefinitionType__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives()); + } + // InternalRDL.g:718:3: ( rule__ComponentDefinitionType__Alternatives ) + // InternalRDL.g:718:4: rule__ComponentDefinitionType__Alternatives + { + pushFollow(FOLLOW_2); + rule__ComponentDefinitionType__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionTypeAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComponentDefinitionType" + + + // $ANTLR start "ruleProperty" + // InternalRDL.g:727:1: ruleProperty : ( ( rule__Property__Alternatives ) ) ; + public final void ruleProperty() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:731:1: ( ( ( rule__Property__Alternatives ) ) ) + // InternalRDL.g:732:2: ( ( rule__Property__Alternatives ) ) + { + // InternalRDL.g:732:2: ( ( rule__Property__Alternatives ) ) + // InternalRDL.g:733:3: ( rule__Property__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getAlternatives()); + } + // InternalRDL.g:734:3: ( rule__Property__Alternatives ) + // InternalRDL.g:734:4: rule__Property__Alternatives + { + pushFollow(FOLLOW_2); + rule__Property__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleProperty" + + + // $ANTLR start "ruleRValueConstant" + // InternalRDL.g:743:1: ruleRValueConstant : ( ( rule__RValueConstant__Alternatives ) ) ; + public final void ruleRValueConstant() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:747:1: ( ( ( rule__RValueConstant__Alternatives ) ) ) + // InternalRDL.g:748:2: ( ( rule__RValueConstant__Alternatives ) ) + { + // InternalRDL.g:748:2: ( ( rule__RValueConstant__Alternatives ) ) + // InternalRDL.g:749:3: ( rule__RValueConstant__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getAlternatives()); + } + // InternalRDL.g:750:3: ( rule__RValueConstant__Alternatives ) + // InternalRDL.g:750:4: rule__RValueConstant__Alternatives + { + pushFollow(FOLLOW_2); + rule__RValueConstant__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getAlternatives()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRValueConstant" + + + // $ANTLR start "rulePropertyModifier" + // InternalRDL.g:759:1: rulePropertyModifier : ( ( rule__PropertyModifier__Alternatives ) ) ; + public final void rulePropertyModifier() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:763:1: ( ( ( rule__PropertyModifier__Alternatives ) ) ) + // InternalRDL.g:764:2: ( ( rule__PropertyModifier__Alternatives ) ) + { + // InternalRDL.g:764:2: ( ( rule__PropertyModifier__Alternatives ) ) + // InternalRDL.g:765:3: ( rule__PropertyModifier__Alternatives ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getAlternatives()); + } + // InternalRDL.g:766:3: ( rule__PropertyModifier__Alternatives ) + // InternalRDL.g:766:4: rule__PropertyModifier__Alternatives + { + pushFollow(FOLLOW_2); + rule__PropertyModifier__Alternatives(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:774:1: rule__Root__Alternatives : ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__Group_1__0 ) ) | ( ( rule__Root__Group_2__0 ) ) | ( ( rule__Root__Group_3__0 ) ) | ( ( rule__Root__Group_4__0 ) ) | ( ( rule__Root__Group_5__0 ) ) ); + public final void rule__Root__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:778:1: ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__Group_1__0 ) ) | ( ( rule__Root__Group_2__0 ) ) | ( ( rule__Root__Group_3__0 ) ) | ( ( rule__Root__Group_4__0 ) ) | ( ( rule__Root__Group_5__0 ) ) ) + int alt2=6; + alt2 = dfa2.predict(input); + switch (alt2) { + case 1 : + // InternalRDL.g:779:2: ( ( rule__Root__IncludesAssignment_0 ) ) + { + // InternalRDL.g:779:2: ( ( rule__Root__IncludesAssignment_0 ) ) + // InternalRDL.g:780:3: ( rule__Root__IncludesAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getIncludesAssignment_0()); + } + // InternalRDL.g:781:3: ( rule__Root__IncludesAssignment_0 ) + // InternalRDL.g:781:4: rule__Root__IncludesAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Root__IncludesAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getIncludesAssignment_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) ) + { + // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) ) + // InternalRDL.g:786:3: ( rule__Root__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_1()); + } + // InternalRDL.g:787:3: ( rule__Root__Group_1__0 ) + // InternalRDL.g:787:4: rule__Root__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getGroup_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:791:2: ( ( rule__Root__Group_2__0 ) ) + { + // InternalRDL.g:791:2: ( ( rule__Root__Group_2__0 ) ) + // InternalRDL.g:792:3: ( rule__Root__Group_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_2()); + } + // InternalRDL.g:793:3: ( rule__Root__Group_2__0 ) + // InternalRDL.g:793:4: rule__Root__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getGroup_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) ) + { + // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) ) + // InternalRDL.g:798:3: ( rule__Root__Group_3__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_3()); + } + // InternalRDL.g:799:3: ( rule__Root__Group_3__0 ) + // InternalRDL.g:799:4: rule__Root__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getGroup_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) ) + { + // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) ) + // InternalRDL.g:804:3: ( rule__Root__Group_4__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_4()); + } + // InternalRDL.g:805:3: ( rule__Root__Group_4__0 ) + // InternalRDL.g:805:4: rule__Root__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_4__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getGroup_4()); + } + + } + + + } + break; + case 6 : + // InternalRDL.g:809:2: ( ( rule__Root__Group_5__0 ) ) + { + // InternalRDL.g:809:2: ( ( rule__Root__Group_5__0 ) ) + // InternalRDL.g:810:3: ( rule__Root__Group_5__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_5()); + } + // InternalRDL.g:811:3: ( rule__Root__Group_5__0 ) + // InternalRDL.g:811:4: rule__Root__Group_5__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_5__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getGroup_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:819:1: rule__PropertyDefinition__Alternatives_3 : ( ( ( rule__PropertyDefinition__Group_3_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2__0 ) ) ); + public final void rule__PropertyDefinition__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:823:1: ( ( ( rule__PropertyDefinition__Group_3_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2__0 ) ) ) + int alt3=3; + switch ( input.LA(1) ) { + case 118: + { + alt3=1; + } + break; + case 121: + { + alt3=2; + } + break; + case 120: + { + alt3=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + + switch (alt3) { + case 1 : + // InternalRDL.g:824:2: ( ( rule__PropertyDefinition__Group_3_0__0 ) ) + { + // InternalRDL.g:824:2: ( ( rule__PropertyDefinition__Group_3_0__0 ) ) + // InternalRDL.g:825:3: ( rule__PropertyDefinition__Group_3_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0()); + } + // InternalRDL.g:826:3: ( rule__PropertyDefinition__Group_3_0__0 ) + // InternalRDL.g:826:4: rule__PropertyDefinition__Group_3_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:830:2: ( ( rule__PropertyDefinition__Group_3_1__0 ) ) + { + // InternalRDL.g:830:2: ( ( rule__PropertyDefinition__Group_3_1__0 ) ) + // InternalRDL.g:831:3: ( rule__PropertyDefinition__Group_3_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1()); + } + // InternalRDL.g:832:3: ( rule__PropertyDefinition__Group_3_1__0 ) + // InternalRDL.g:832:4: rule__PropertyDefinition__Group_3_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:836:2: ( ( rule__PropertyDefinition__Group_3_2__0 ) ) + { + // InternalRDL.g:836:2: ( ( rule__PropertyDefinition__Group_3_2__0 ) ) + // InternalRDL.g:837:3: ( rule__PropertyDefinition__Group_3_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2()); + } + // InternalRDL.g:838:3: ( rule__PropertyDefinition__Group_3_2__0 ) + // InternalRDL.g:838:4: rule__PropertyDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:846:1: rule__PropertyDefinition__Alternatives_3_0_4 : ( ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) ); + public final void rule__PropertyDefinition__Alternatives_3_0_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:850:1: ( ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) ) + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==121) ) { + alt4=1; + } + else if ( (LA4_0==120) ) { + alt4=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + + throw nvae; + } + switch (alt4) { + case 1 : + // InternalRDL.g:851:2: ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) + { + // InternalRDL.g:851:2: ( ( rule__PropertyDefinition__Group_3_0_4_0__0 ) ) + // InternalRDL.g:852:3: ( rule__PropertyDefinition__Group_3_0_4_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0()); + } + // InternalRDL.g:853:3: ( rule__PropertyDefinition__Group_3_0_4_0__0 ) + // InternalRDL.g:853:4: rule__PropertyDefinition__Group_3_0_4_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:857:2: ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) + { + // InternalRDL.g:857:2: ( ( rule__PropertyDefinition__Group_3_0_4_1__0 ) ) + // InternalRDL.g:858:3: ( rule__PropertyDefinition__Group_3_0_4_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_0_4_1()); + } + // InternalRDL.g:859:3: ( rule__PropertyDefinition__Group_3_0_4_1__0 ) + // InternalRDL.g:859:4: rule__PropertyDefinition__Group_3_0_4_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:867:1: rule__PropertyDefinition__Alternatives_3_1_1 : ( ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) ); + public final void rule__PropertyDefinition__Alternatives_3_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:871:1: ( ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==118) ) { + alt5=1; + } + else if ( (LA5_0==120) ) { + alt5=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1 : + // InternalRDL.g:872:2: ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) + { + // InternalRDL.g:872:2: ( ( rule__PropertyDefinition__Group_3_1_1_0__0 ) ) + // InternalRDL.g:873:3: ( rule__PropertyDefinition__Group_3_1_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0()); + } + // InternalRDL.g:874:3: ( rule__PropertyDefinition__Group_3_1_1_0__0 ) + // InternalRDL.g:874:4: rule__PropertyDefinition__Group_3_1_1_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:878:2: ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) + { + // InternalRDL.g:878:2: ( ( rule__PropertyDefinition__Group_3_1_1_1__0 ) ) + // InternalRDL.g:879:3: ( rule__PropertyDefinition__Group_3_1_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_1_1_1()); + } + // InternalRDL.g:880:3: ( rule__PropertyDefinition__Group_3_1_1_1__0 ) + // InternalRDL.g:880:4: rule__PropertyDefinition__Group_3_1_1_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:888:1: rule__PropertyDefinition__Alternatives_3_2_1 : ( ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) ); + public final void rule__PropertyDefinition__Alternatives_3_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:892:1: ( ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) | ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==118) ) { + alt6=1; + } + else if ( (LA6_0==121) ) { + alt6=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalRDL.g:893:2: ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) + { + // InternalRDL.g:893:2: ( ( rule__PropertyDefinition__Group_3_2_1_0__0 ) ) + // InternalRDL.g:894:3: ( rule__PropertyDefinition__Group_3_2_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0()); + } + // InternalRDL.g:895:3: ( rule__PropertyDefinition__Group_3_2_1_0__0 ) + // InternalRDL.g:895:4: rule__PropertyDefinition__Group_3_2_1_0__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:899:2: ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) + { + // InternalRDL.g:899:2: ( ( rule__PropertyDefinition__Group_3_2_1_1__0 ) ) + // InternalRDL.g:900:3: ( rule__PropertyDefinition__Group_3_2_1_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getGroup_3_2_1_1()); + } + // InternalRDL.g:901:3: ( rule__PropertyDefinition__Group_3_2_1_1__0 ) + // InternalRDL.g:901:4: rule__PropertyDefinition__Group_3_2_1_1__0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:909:1: rule__PropertyDefault__Alternatives_2 : ( ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) | ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) ); + public final void rule__PropertyDefault__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:913:1: ( ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) | ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) | ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) ) + int alt7=4; + switch ( input.LA(1) ) { + case RULE_STR: + { + alt7=1; + } + break; + case RULE_NUM: + { + alt7=2; + } + break; + case 98: + { + alt7=3; + } + break; + case 99: + { + alt7=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + switch (alt7) { + case 1 : + // InternalRDL.g:914:2: ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) + { + // InternalRDL.g:914:2: ( ( rule__PropertyDefault__StringAssignment_2_0 ) ) + // InternalRDL.g:915:3: ( rule__PropertyDefault__StringAssignment_2_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0()); + } + // InternalRDL.g:916:3: ( rule__PropertyDefault__StringAssignment_2_0 ) + // InternalRDL.g:916:4: rule__PropertyDefault__StringAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__StringAssignment_2_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:920:2: ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) + { + // InternalRDL.g:920:2: ( ( rule__PropertyDefault__ValueAssignment_2_1 ) ) + // InternalRDL.g:921:3: ( rule__PropertyDefault__ValueAssignment_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1()); + } + // InternalRDL.g:922:3: ( rule__PropertyDefault__ValueAssignment_2_1 ) + // InternalRDL.g:922:4: rule__PropertyDefault__ValueAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__ValueAssignment_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getValueAssignment_2_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:926:2: ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) + { + // InternalRDL.g:926:2: ( ( rule__PropertyDefault__StringAssignment_2_2 ) ) + // InternalRDL.g:927:3: ( rule__PropertyDefault__StringAssignment_2_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2()); + } + // InternalRDL.g:928:3: ( rule__PropertyDefault__StringAssignment_2_2 ) + // InternalRDL.g:928:4: rule__PropertyDefault__StringAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__StringAssignment_2_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:932:2: ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) + { + // InternalRDL.g:932:2: ( ( rule__PropertyDefault__StringAssignment_2_3 ) ) + // InternalRDL.g:933:3: ( rule__PropertyDefault__StringAssignment_2_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringAssignment_2_3()); + } + // InternalRDL.g:934:3: ( rule__PropertyDefault__StringAssignment_2_3 ) + // InternalRDL.g:934:4: rule__PropertyDefault__StringAssignment_2_3 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__StringAssignment_2_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:942:1: rule__ComponentDefinition__Alternatives_3 : ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | ( ( rule__ComponentDefinition__Group_3_2__0 ) ) | ( ( rule__ComponentDefinition__Group_3_3__0 ) ) ); + public final void rule__ComponentDefinition__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:946:1: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | ( ( rule__ComponentDefinition__Group_3_2__0 ) ) | ( ( rule__ComponentDefinition__Group_3_3__0 ) ) ) + int alt8=4; + alt8 = dfa8.predict(input); + switch (alt8) { + case 1 : + // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) + { + // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) + // InternalRDL.g:948:3: ( rule__ComponentDefinition__Group_3_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); + } + // InternalRDL.g:949:3: ( rule__ComponentDefinition__Group_3_0__0 ) + // InternalRDL.g:949:4: rule__ComponentDefinition__Group_3_0__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) + { + // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) + // InternalRDL.g:954:3: ( rule__ComponentDefinition__Group_3_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); + } + // InternalRDL.g:955:3: ( rule__ComponentDefinition__Group_3_1__0 ) + // InternalRDL.g:955:4: rule__ComponentDefinition__Group_3_1__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) ) + { + // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) ) + // InternalRDL.g:960:3: ( rule__ComponentDefinition__Group_3_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); + } + // InternalRDL.g:961:3: ( rule__ComponentDefinition__Group_3_2__0 ) + // InternalRDL.g:961:4: rule__ComponentDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:965:2: ( ( rule__ComponentDefinition__Group_3_3__0 ) ) + { + // InternalRDL.g:965:2: ( ( rule__ComponentDefinition__Group_3_3__0 ) ) + // InternalRDL.g:966:3: ( rule__ComponentDefinition__Group_3_3__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_3()); + } + // InternalRDL.g:967:3: ( rule__ComponentDefinition__Group_3_3__0 ) + // InternalRDL.g:967:4: rule__ComponentDefinition__Group_3_3__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getGroup_3_3()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Alternatives_3" + + + // $ANTLR start "rule__Instantiation__Alternatives_0" + // InternalRDL.g:975:1: rule__Instantiation__Alternatives_0 : ( ( ( rule__Instantiation__Group_0_0__0 ) ) | ( ( rule__Instantiation__Group_0_1__0 ) ) ); + public final void rule__Instantiation__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:979:1: ( ( ( rule__Instantiation__Group_0_0__0 ) ) | ( ( rule__Instantiation__Group_0_1__0 ) ) ) + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_ID||LA9_0==76||LA9_0==123||LA9_0==134) ) { + alt9=1; + } + else if ( ((LA9_0>=15 && LA9_0<=18)||LA9_0==20) ) { + alt9=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + switch (alt9) { + case 1 : + // InternalRDL.g:980:2: ( ( rule__Instantiation__Group_0_0__0 ) ) + { + // InternalRDL.g:980:2: ( ( rule__Instantiation__Group_0_0__0 ) ) + // InternalRDL.g:981:3: ( rule__Instantiation__Group_0_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getGroup_0_0()); + } + // InternalRDL.g:982:3: ( rule__Instantiation__Group_0_0__0 ) + // InternalRDL.g:982:4: rule__Instantiation__Group_0_0__0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getGroup_0_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:986:2: ( ( rule__Instantiation__Group_0_1__0 ) ) + { + // InternalRDL.g:986:2: ( ( rule__Instantiation__Group_0_1__0 ) ) + // InternalRDL.g:987:3: ( rule__Instantiation__Group_0_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getGroup_0_1()); + } + // InternalRDL.g:988:3: ( rule__Instantiation__Group_0_1__0 ) + // InternalRDL.g:988:4: rule__Instantiation__Group_0_1__0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getGroup_0_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Alternatives_0" + + + // $ANTLR start "rule__Range__Alternatives_1" + // InternalRDL.g:996:1: rule__Range__Alternatives_1 : ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) ); + public final void rule__Range__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1000:1: ( ( ( rule__Range__Group_1_0__0 ) ) | ( ( rule__Range__SizeAssignment_1_1 ) ) ) + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==RULE_NUM) ) { + int LA10_1 = input.LA(2); + + if ( (LA10_1==130) ) { + alt10=1; + } + else if ( (LA10_1==129) ) { + alt10=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 10, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); + + throw nvae; + } + switch (alt10) { + case 1 : + // InternalRDL.g:1001:2: ( ( rule__Range__Group_1_0__0 ) ) + { + // InternalRDL.g:1001:2: ( ( rule__Range__Group_1_0__0 ) ) + // InternalRDL.g:1002:3: ( rule__Range__Group_1_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getGroup_1_0()); + } + // InternalRDL.g:1003:3: ( rule__Range__Group_1_0__0 ) + // InternalRDL.g:1003:4: rule__Range__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getGroup_1_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1007:2: ( ( rule__Range__SizeAssignment_1_1 ) ) + { + // InternalRDL.g:1007:2: ( ( rule__Range__SizeAssignment_1_1 ) ) + // InternalRDL.g:1008:3: ( rule__Range__SizeAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getSizeAssignment_1_1()); + } + // InternalRDL.g:1009:3: ( rule__Range__SizeAssignment_1_1 ) + // InternalRDL.g:1009:4: rule__Range__SizeAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__Range__SizeAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1017:1: rule__PropertyAssignment__Alternatives : ( ( ruleDefaultProperyAssignment ) | ( ruleExplicitPropertyAssignment ) | ( rulePostPropertyAssignment ) ); + public final void rule__PropertyAssignment__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1021:1: ( ( ruleDefaultProperyAssignment ) | ( ruleExplicitPropertyAssignment ) | ( rulePostPropertyAssignment ) ) + int alt11=3; + switch ( input.LA(1) ) { + case 120: + { + alt11=1; + } + break; + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 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 108: + case 109: + case 110: + case 111: + case 112: + { + alt11=2; + } + break; + case RULE_ID: + { + alt11=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 11, 0, input); + + throw nvae; + } + + switch (alt11) { + case 1 : + // InternalRDL.g:1022:2: ( ruleDefaultProperyAssignment ) + { + // InternalRDL.g:1022:2: ( ruleDefaultProperyAssignment ) + // InternalRDL.g:1023:3: ruleDefaultProperyAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + ruleDefaultProperyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1028:2: ( ruleExplicitPropertyAssignment ) + { + // InternalRDL.g:1028:2: ( ruleExplicitPropertyAssignment ) + // InternalRDL.g:1029:3: ruleExplicitPropertyAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleExplicitPropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1034:2: ( rulePostPropertyAssignment ) + { + // InternalRDL.g:1034:2: ( rulePostPropertyAssignment ) + // InternalRDL.g:1035:3: rulePostPropertyAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); + } + pushFollow(FOLLOW_2); + rulePostPropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:1044:1: rule__ExplicitPropertyAssignment__Alternatives : ( ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) | ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) ); + public final void rule__ExplicitPropertyAssignment__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1048:1: ( ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) | ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) ) + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==97||(LA12_0>=108 && LA12_0<=112)) ) { + alt12=1; + } + else if ( ((LA12_0>=22 && LA12_0<=96)) ) { + alt12=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + switch (alt12) { + case 1 : + // InternalRDL.g:1049:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) + { + // InternalRDL.g:1049:2: ( ( rule__ExplicitPropertyAssignment__Group_0__0 ) ) + // InternalRDL.g:1050:3: ( rule__ExplicitPropertyAssignment__Group_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0()); + } + // InternalRDL.g:1051:3: ( rule__ExplicitPropertyAssignment__Group_0__0 ) + // InternalRDL.g:1051:4: rule__ExplicitPropertyAssignment__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1055:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) + { + // InternalRDL.g:1055:2: ( ( rule__ExplicitPropertyAssignment__Group_1__0 ) ) + // InternalRDL.g:1056:3: ( rule__ExplicitPropertyAssignment__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1()); + } + // InternalRDL.g:1057:3: ( rule__ExplicitPropertyAssignment__Group_1__0 ) + // InternalRDL.g:1057:4: rule__ExplicitPropertyAssignment__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1065:1: rule__PostPropertyAssignment__Alternatives_0 : ( ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) ); + public final void rule__PostPropertyAssignment__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1069:1: ( ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) ) + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==RULE_ID) ) { + int LA13_1 = input.LA(2); + + if ( (LA13_1==EOF||LA13_1==113||LA13_1==119) ) { + alt13=2; + } + else if ( ((LA13_1>=131 && LA13_1<=132)) ) { + alt13=1; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 13, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } + switch (alt13) { + case 1 : + // InternalRDL.g:1070:2: ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) + { + // InternalRDL.g:1070:2: ( ( rule__PostPropertyAssignment__Group_0_0__0 ) ) + // InternalRDL.g:1071:3: ( rule__PostPropertyAssignment__Group_0_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0()); + } + // InternalRDL.g:1072:3: ( rule__PostPropertyAssignment__Group_0_0__0 ) + // InternalRDL.g:1072:4: rule__PostPropertyAssignment__Group_0_0__0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getGroup_0_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1076:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) + { + // InternalRDL.g:1076:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) ) + // InternalRDL.g:1077:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_1()); + } + // InternalRDL.g:1078:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_1 ) + // InternalRDL.g:1078:4: rule__PostPropertyAssignment__PropertyAssignment_0_1 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__PropertyAssignment_0_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1086:1: rule__PostPropertyAssignment__Alternatives_0_0_2 : ( ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) ); + public final void rule__PostPropertyAssignment__Alternatives_0_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1090:1: ( ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) | ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) ) + int alt14=2; + int LA14_0 = input.LA(1); + + if ( ((LA14_0>=22 && LA14_0<=96)) ) { + alt14=1; + } + else if ( (LA14_0==RULE_ID) ) { + alt14=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); + + throw nvae; + } + switch (alt14) { + case 1 : + // InternalRDL.g:1091:2: ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) + { + // InternalRDL.g:1091:2: ( ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) ) + // InternalRDL.g:1092:3: ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0()); + } + // InternalRDL.g:1093:3: ( rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 ) + // InternalRDL.g:1093:4: rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumAssignment_0_0_2_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1097:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) + { + // InternalRDL.g:1097:2: ( ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) ) + // InternalRDL.g:1098:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyAssignment_0_0_2_1()); + } + // InternalRDL.g:1099:3: ( rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 ) + // InternalRDL.g:1099:4: rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1107:1: rule__InstancePropertyRef__Alternatives_1_1 : ( ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) | ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) ); + public final void rule__InstancePropertyRef__Alternatives_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1111:1: ( ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) | ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( ((LA15_0>=22 && LA15_0<=96)) ) { + alt15=1; + } + else if ( (LA15_0==RULE_ID) ) { + alt15=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // InternalRDL.g:1112:2: ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) + { + // InternalRDL.g:1112:2: ( ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) ) + // InternalRDL.g:1113:3: ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0()); + } + // InternalRDL.g:1114:3: ( rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 ) + // InternalRDL.g:1114:4: rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumAssignment_1_1_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1118:2: ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) + { + // InternalRDL.g:1118:2: ( ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) ) + // InternalRDL.g:1119:3: ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyAssignment_1_1_1()); + } + // InternalRDL.g:1120:3: ( rule__InstancePropertyRef__PropertyAssignment_1_1_1 ) + // InternalRDL.g:1120:4: rule__InstancePropertyRef__PropertyAssignment_1_1_1 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__PropertyAssignment_1_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1128:1: rule__PropertyAssignmentRhs__Alternatives : ( ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) | ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) | ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) | ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) ); + public final void rule__PropertyAssignmentRhs__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1132:1: ( ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) | ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) | ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) | ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) ) + int alt16=4; + switch ( input.LA(1) ) { + case RULE_STR: + case RULE_NUM: + case 82: + case 83: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + { + alt16=1; + } + break; + case RULE_ID: + { + int LA16_2 = input.LA(2); + + if ( (LA16_2==EOF||LA16_2==113||(LA16_2>=131 && LA16_2<=132)) ) { + alt16=2; + } + else if ( (LA16_2==133) ) { + alt16=3; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 16, 2, input); + + throw nvae; + } + } + break; + case 116: + { + alt16=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + + switch (alt16) { + case 1 : + // InternalRDL.g:1133:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) + { + // InternalRDL.g:1133:2: ( ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) ) + // InternalRDL.g:1134:3: ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0()); + } + // InternalRDL.g:1135:3: ( rule__PropertyAssignmentRhs__ValueAssignment_0 ) + // InternalRDL.g:1135:4: rule__PropertyAssignmentRhs__ValueAssignment_0 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__ValueAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsAccess().getValueAssignment_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1139:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) + { + // InternalRDL.g:1139:2: ( ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) ) + // InternalRDL.g:1140:3: ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1()); + } + // InternalRDL.g:1141:3: ( rule__PropertyAssignmentRhs__InstPropRefAssignment_1 ) + // InternalRDL.g:1141:4: rule__PropertyAssignmentRhs__InstPropRefAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__InstPropRefAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefAssignment_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1145:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) + { + // InternalRDL.g:1145:2: ( ( rule__PropertyAssignmentRhs__Group_2__0 ) ) + // InternalRDL.g:1146:3: ( rule__PropertyAssignmentRhs__Group_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2()); + } + // InternalRDL.g:1147:3: ( rule__PropertyAssignmentRhs__Group_2__0 ) + // InternalRDL.g:1147:4: rule__PropertyAssignmentRhs__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsAccess().getGroup_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1151:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) + { + // InternalRDL.g:1151:2: ( ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) ) + // InternalRDL.g:1152:3: ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsAssignment_3()); + } + // InternalRDL.g:1153:3: ( rule__PropertyAssignmentRhs__ElementsAssignment_3 ) + // InternalRDL.g:1153:4: rule__PropertyAssignmentRhs__ElementsAssignment_3 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__ElementsAssignment_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1161:1: rule__ConcatElem__Alternatives : ( ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) | ( ( rule__ConcatElem__ValueAssignment_1 ) ) ); + public final void rule__ConcatElem__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1165:1: ( ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) | ( ( rule__ConcatElem__ValueAssignment_1 ) ) ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==RULE_ID) ) { + alt17=1; + } + else if ( (LA17_0==RULE_NUM) ) { + alt17=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + switch (alt17) { + case 1 : + // InternalRDL.g:1166:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) + { + // InternalRDL.g:1166:2: ( ( rule__ConcatElem__InstPropRefAssignment_0 ) ) + // InternalRDL.g:1167:3: ( rule__ConcatElem__InstPropRefAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0()); + } + // InternalRDL.g:1168:3: ( rule__ConcatElem__InstPropRefAssignment_0 ) + // InternalRDL.g:1168:4: rule__ConcatElem__InstPropRefAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ConcatElem__InstPropRefAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatElemAccess().getInstPropRefAssignment_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1172:2: ( ( rule__ConcatElem__ValueAssignment_1 ) ) + { + // InternalRDL.g:1172:2: ( ( rule__ConcatElem__ValueAssignment_1 ) ) + // InternalRDL.g:1173:3: ( rule__ConcatElem__ValueAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatElemAccess().getValueAssignment_1()); + } + // InternalRDL.g:1174:3: ( rule__ConcatElem__ValueAssignment_1 ) + // InternalRDL.g:1174:4: rule__ConcatElem__ValueAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ConcatElem__ValueAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1182:1: rule__PropertyRvalueConstant__Alternatives : ( ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) | ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) | ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) ); + public final void rule__PropertyRvalueConstant__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1186:1: ( ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) | ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) | ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) ) + int alt18=3; + switch ( input.LA(1) ) { + case 82: + case 83: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + { + alt18=1; + } + break; + case RULE_NUM: + { + alt18=2; + } + break; + case RULE_STR: + { + alt18=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + + switch (alt18) { + case 1 : + // InternalRDL.g:1187:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) + { + // InternalRDL.g:1187:2: ( ( rule__PropertyRvalueConstant__ValAssignment_0 ) ) + // InternalRDL.g:1188:3: ( rule__PropertyRvalueConstant__ValAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0()); + } + // InternalRDL.g:1189:3: ( rule__PropertyRvalueConstant__ValAssignment_0 ) + // InternalRDL.g:1189:4: rule__PropertyRvalueConstant__ValAssignment_0 + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__ValAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyRvalueConstantAccess().getValAssignment_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1193:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) + { + // InternalRDL.g:1193:2: ( ( rule__PropertyRvalueConstant__NumAssignment_1 ) ) + // InternalRDL.g:1194:3: ( rule__PropertyRvalueConstant__NumAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1()); + } + // InternalRDL.g:1195:3: ( rule__PropertyRvalueConstant__NumAssignment_1 ) + // InternalRDL.g:1195:4: rule__PropertyRvalueConstant__NumAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__NumAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyRvalueConstantAccess().getNumAssignment_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1199:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) + { + // InternalRDL.g:1199:2: ( ( rule__PropertyRvalueConstant__StrAssignment_2 ) ) + // InternalRDL.g:1200:3: ( rule__PropertyRvalueConstant__StrAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getStrAssignment_2()); + } + // InternalRDL.g:1201:3: ( rule__PropertyRvalueConstant__StrAssignment_2 ) + // InternalRDL.g:1201:4: rule__PropertyRvalueConstant__StrAssignment_2 + { + pushFollow(FOLLOW_2); + rule__PropertyRvalueConstant__StrAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1209:1: rule__EnumProperty__Alternatives_0 : ( ( ( rule__EnumProperty__Group_0_0__0 ) ) | ( ( rule__EnumProperty__Group_0_1__0 ) ) ); + public final void rule__EnumProperty__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1213:1: ( ( ( rule__EnumProperty__Group_0_0__0 ) ) | ( ( rule__EnumProperty__Group_0_1__0 ) ) ) + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==22) ) { + alt19=1; + } + else if ( (LA19_0==23) ) { + alt19=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + switch (alt19) { + case 1 : + // InternalRDL.g:1214:2: ( ( rule__EnumProperty__Group_0_0__0 ) ) + { + // InternalRDL.g:1214:2: ( ( rule__EnumProperty__Group_0_0__0 ) ) + // InternalRDL.g:1215:3: ( rule__EnumProperty__Group_0_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getGroup_0_0()); + } + // InternalRDL.g:1216:3: ( rule__EnumProperty__Group_0_0__0 ) + // InternalRDL.g:1216:4: rule__EnumProperty__Group_0_0__0 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getGroup_0_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1220:2: ( ( rule__EnumProperty__Group_0_1__0 ) ) + { + // InternalRDL.g:1220:2: ( ( rule__EnumProperty__Group_0_1__0 ) ) + // InternalRDL.g:1221:3: ( rule__EnumProperty__Group_0_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getGroup_0_1()); + } + // InternalRDL.g:1222:3: ( rule__EnumProperty__Group_0_1__0 ) + // InternalRDL.g:1222:4: rule__EnumProperty__Group_0_1__0 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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__EnumInstanceType__Alternatives" + // InternalRDL.g:1230:1: rule__EnumInstanceType__Alternatives : ( ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) ) | ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) ) ); + public final void rule__EnumInstanceType__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1234:1: ( ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) ) | ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) ) ) + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==134) ) { + alt20=1; + } + else if ( (LA20_0==76) ) { + alt20=2; + } + else { + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + switch (alt20) { + case 1 : + // InternalRDL.g:1235:2: ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) ) + { + // InternalRDL.g:1235:2: ( ( rule__EnumInstanceType__EXTERNALAssignment_0 ) ) + // InternalRDL.g:1236:3: ( rule__EnumInstanceType__EXTERNALAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0()); + } + // InternalRDL.g:1237:3: ( rule__EnumInstanceType__EXTERNALAssignment_0 ) + // InternalRDL.g:1237:4: rule__EnumInstanceType__EXTERNALAssignment_0 + { + pushFollow(FOLLOW_2); + rule__EnumInstanceType__EXTERNALAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALAssignment_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1241:2: ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) ) + { + // InternalRDL.g:1241:2: ( ( rule__EnumInstanceType__INTERNALAssignment_1 ) ) + // InternalRDL.g:1242:3: ( rule__EnumInstanceType__INTERNALAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1()); + } + // InternalRDL.g:1243:3: ( rule__EnumInstanceType__INTERNALAssignment_1 ) + // InternalRDL.g:1243:4: rule__EnumInstanceType__INTERNALAssignment_1 + { + pushFollow(FOLLOW_2); + rule__EnumInstanceType__INTERNALAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALAssignment_1()); + } + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumInstanceType__Alternatives" + + + // $ANTLR start "rule__PropertyTypeName__Alternatives" + // InternalRDL.g:1251:1: rule__PropertyTypeName__Alternatives : ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) ); + public final void rule__PropertyTypeName__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1255:1: ( ( ( 'string' ) ) | ( ( 'number' ) ) | ( ( 'boolean' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'ref' ) ) ) + int alt21=8; + switch ( input.LA(1) ) { + case 12: + { + alt21=1; + } + break; + case 13: + { + alt21=2; + } + break; + case 14: + { + alt21=3; + } + break; + case 15: + { + alt21=4; + } + break; + case 16: + { + alt21=5; + } + break; + case 17: + { + alt21=6; + } + break; + case 18: + { + alt21=7; + } + break; + case 19: + { + alt21=8; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + + switch (alt21) { + case 1 : + // InternalRDL.g:1256:2: ( ( 'string' ) ) + { + // InternalRDL.g:1256:2: ( ( 'string' ) ) + // InternalRDL.g:1257:3: ( 'string' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + } + // InternalRDL.g:1258:3: ( 'string' ) + // InternalRDL.g:1258:4: 'string' + { + match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1262:2: ( ( 'number' ) ) + { + // InternalRDL.g:1262:2: ( ( 'number' ) ) + // InternalRDL.g:1263:3: ( 'number' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + } + // InternalRDL.g:1264:3: ( 'number' ) + // InternalRDL.g:1264:4: 'number' + { + match(input,13,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1268:2: ( ( 'boolean' ) ) + { + // InternalRDL.g:1268:2: ( ( 'boolean' ) ) + // InternalRDL.g:1269:3: ( 'boolean' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + } + // InternalRDL.g:1270:3: ( 'boolean' ) + // InternalRDL.g:1270:4: 'boolean' + { + match(input,14,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1274:2: ( ( 'addrmap' ) ) + { + // InternalRDL.g:1274:2: ( ( 'addrmap' ) ) + // InternalRDL.g:1275:3: ( 'addrmap' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + } + // InternalRDL.g:1276:3: ( 'addrmap' ) + // InternalRDL.g:1276:4: 'addrmap' + { + match(input,15,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:1280:2: ( ( 'reg' ) ) + { + // InternalRDL.g:1280:2: ( ( 'reg' ) ) + // InternalRDL.g:1281:3: ( 'reg' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + } + // InternalRDL.g:1282:3: ( 'reg' ) + // InternalRDL.g:1282:4: 'reg' + { + match(input,16,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalRDL.g:1286:2: ( ( 'regfile' ) ) + { + // InternalRDL.g:1286:2: ( ( 'regfile' ) ) + // InternalRDL.g:1287:3: ( 'regfile' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + } + // InternalRDL.g:1288:3: ( 'regfile' ) + // InternalRDL.g:1288:4: 'regfile' + { + match(input,17,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + } + + } + + + } + break; + case 7 : + // InternalRDL.g:1292:2: ( ( 'field' ) ) + { + // InternalRDL.g:1292:2: ( ( 'field' ) ) + // InternalRDL.g:1293:3: ( 'field' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + } + // InternalRDL.g:1294:3: ( 'field' ) + // InternalRDL.g:1294:4: 'field' + { + match(input,18,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + } + + } + + + } + break; + case 8 : + // InternalRDL.g:1298:2: ( ( 'ref' ) ) + { + // InternalRDL.g:1298:2: ( ( 'ref' ) ) + // InternalRDL.g:1299:3: ( 'ref' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); + } + // InternalRDL.g:1300:3: ( 'ref' ) + // InternalRDL.g:1300:4: 'ref' + { + match(input,19,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1308:1: rule__PropertyComponent__Alternatives : ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'all' ) ) ); + public final void rule__PropertyComponent__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1312:1: ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'reg' ) ) | ( ( 'regfile' ) ) | ( ( 'field' ) ) | ( ( 'all' ) ) ) + int alt22=6; + switch ( input.LA(1) ) { + case 20: + { + alt22=1; + } + break; + case 15: + { + alt22=2; + } + break; + case 16: + { + alt22=3; + } + break; + case 17: + { + alt22=4; + } + break; + case 18: + { + alt22=5; + } + break; + case 21: + { + alt22=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + + switch (alt22) { + case 1 : + // InternalRDL.g:1313:2: ( ( 'signal' ) ) + { + // InternalRDL.g:1313:2: ( ( 'signal' ) ) + // InternalRDL.g:1314:3: ( 'signal' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + } + // InternalRDL.g:1315:3: ( 'signal' ) + // InternalRDL.g:1315:4: 'signal' + { + match(input,20,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1319:2: ( ( 'addrmap' ) ) + { + // InternalRDL.g:1319:2: ( ( 'addrmap' ) ) + // InternalRDL.g:1320:3: ( 'addrmap' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + } + // InternalRDL.g:1321:3: ( 'addrmap' ) + // InternalRDL.g:1321:4: 'addrmap' + { + match(input,15,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1325:2: ( ( 'reg' ) ) + { + // InternalRDL.g:1325:2: ( ( 'reg' ) ) + // InternalRDL.g:1326:3: ( 'reg' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + } + // InternalRDL.g:1327:3: ( 'reg' ) + // InternalRDL.g:1327:4: 'reg' + { + match(input,16,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1331:2: ( ( 'regfile' ) ) + { + // InternalRDL.g:1331:2: ( ( 'regfile' ) ) + // InternalRDL.g:1332:3: ( 'regfile' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + } + // InternalRDL.g:1333:3: ( 'regfile' ) + // InternalRDL.g:1333:4: 'regfile' + { + match(input,17,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:1337:2: ( ( 'field' ) ) + { + // InternalRDL.g:1337:2: ( ( 'field' ) ) + // InternalRDL.g:1338:3: ( 'field' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + } + // InternalRDL.g:1339:3: ( 'field' ) + // InternalRDL.g:1339:4: 'field' + { + match(input,18,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalRDL.g:1343:2: ( ( 'all' ) ) + { + // InternalRDL.g:1343:2: ( ( 'all' ) ) + // InternalRDL.g:1344:3: ( 'all' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); + } + // InternalRDL.g:1345:3: ( 'all' ) + // InternalRDL.g:1345:4: 'all' + { + match(input,21,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1353:1: rule__ComponentDefinitionType__Alternatives : ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'regfile' ) ) | ( ( 'reg' ) ) | ( ( 'field' ) ) ); + public final void rule__ComponentDefinitionType__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1357:1: ( ( ( 'signal' ) ) | ( ( 'addrmap' ) ) | ( ( 'regfile' ) ) | ( ( 'reg' ) ) | ( ( 'field' ) ) ) + int alt23=5; + switch ( input.LA(1) ) { + case 20: + { + alt23=1; + } + break; + case 15: + { + alt23=2; + } + break; + case 17: + { + alt23=3; + } + break; + case 16: + { + alt23=4; + } + break; + case 18: + { + alt23=5; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalRDL.g:1358:2: ( ( 'signal' ) ) + { + // InternalRDL.g:1358:2: ( ( 'signal' ) ) + // InternalRDL.g:1359:3: ( 'signal' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + } + // InternalRDL.g:1360:3: ( 'signal' ) + // InternalRDL.g:1360:4: 'signal' + { + match(input,20,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1364:2: ( ( 'addrmap' ) ) + { + // InternalRDL.g:1364:2: ( ( 'addrmap' ) ) + // InternalRDL.g:1365:3: ( 'addrmap' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + } + // InternalRDL.g:1366:3: ( 'addrmap' ) + // InternalRDL.g:1366:4: 'addrmap' + { + match(input,15,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1370:2: ( ( 'regfile' ) ) + { + // InternalRDL.g:1370:2: ( ( 'regfile' ) ) + // InternalRDL.g:1371:3: ( 'regfile' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + } + // InternalRDL.g:1372:3: ( 'regfile' ) + // InternalRDL.g:1372:4: 'regfile' + { + match(input,17,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1376:2: ( ( 'reg' ) ) + { + // InternalRDL.g:1376:2: ( ( 'reg' ) ) + // InternalRDL.g:1377:3: ( 'reg' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + } + // InternalRDL.g:1378:3: ( 'reg' ) + // InternalRDL.g:1378:4: 'reg' + { + match(input,16,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:1382:2: ( ( 'field' ) ) + { + // InternalRDL.g:1382:2: ( ( 'field' ) ) + // InternalRDL.g:1383:3: ( 'field' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); + } + // InternalRDL.g:1384:3: ( 'field' ) + // InternalRDL.g:1384:4: 'field' + { + match(input,18,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1392:1: rule__Property__Alternatives : ( ( ( 'name' ) ) | ( ( 'desc' ) ) | ( ( 'arbiter' ) ) | ( ( 'rset' ) ) | ( ( 'rclr' ) ) | ( ( 'woclr' ) ) | ( ( 'woset' ) ) | ( ( 'we' ) ) | ( ( 'wel' ) ) | ( ( 'swwe' ) ) | ( ( 'swwel' ) ) | ( ( 'hwset' ) ) | ( ( 'hwclr' ) ) | ( ( 'swmod' ) ) | ( ( 'swacc' ) ) | ( ( 'sticky' ) ) | ( ( 'stickybit' ) ) | ( ( 'intr' ) ) | ( ( 'anded' ) ) | ( ( 'ored' ) ) | ( ( 'xored' ) ) | ( ( 'counter' ) ) | ( ( 'overflow' ) ) | ( ( 'sharedextbus' ) ) | ( ( 'errextbus' ) ) | ( ( 'reset' ) ) | ( ( 'littleendian' ) ) | ( ( 'bigendian' ) ) | ( ( 'rsvdset' ) ) | ( ( 'rsvdsetX' ) ) | ( ( 'bridge' ) ) | ( ( 'shared' ) ) | ( ( 'msb0' ) ) | ( ( 'lsb0' ) ) | ( ( 'sync' ) ) | ( ( 'async' ) ) | ( ( 'cpuif_reset' ) ) | ( ( 'field_reset' ) ) | ( ( 'activehigh' ) ) | ( ( 'activelow' ) ) | ( ( 'singlepulse' ) ) | ( ( 'underflow' ) ) | ( ( 'incr' ) ) | ( ( 'decr' ) ) | ( ( 'incrwidth' ) ) | ( ( 'decrwidth' ) ) | ( ( 'incrvalue' ) ) | ( ( 'decrvalue' ) ) | ( ( 'saturate' ) ) | ( ( 'decrsaturate' ) ) | ( ( 'threshold' ) ) | ( ( 'decrthreshold' ) ) | ( ( 'dontcompare' ) ) | ( ( 'donttest' ) ) | ( ( 'internal' ) ) | ( ( 'alignment' ) ) | ( ( 'regwidth' ) ) | ( ( 'fieldwidth' ) ) | ( ( 'signalwidth' ) ) | ( ( 'accesswidth' ) ) | ( ( 'sw' ) ) | ( ( 'hw' ) ) | ( ( 'addressing' ) ) | ( ( 'precedence' ) ) | ( ( 'encode' ) ) | ( ( 'resetsignal' ) ) | ( ( 'clock' ) ) | ( ( 'mask' ) ) | ( ( 'enable' ) ) | ( ( 'hwenable' ) ) | ( ( 'hwmask' ) ) | ( ( 'haltmask' ) ) | ( ( 'haltenable' ) ) | ( ( 'halt' ) ) | ( ( 'next' ) ) ); + public final void rule__Property__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1396:1: ( ( ( 'name' ) ) | ( ( 'desc' ) ) | ( ( 'arbiter' ) ) | ( ( 'rset' ) ) | ( ( 'rclr' ) ) | ( ( 'woclr' ) ) | ( ( 'woset' ) ) | ( ( 'we' ) ) | ( ( 'wel' ) ) | ( ( 'swwe' ) ) | ( ( 'swwel' ) ) | ( ( 'hwset' ) ) | ( ( 'hwclr' ) ) | ( ( 'swmod' ) ) | ( ( 'swacc' ) ) | ( ( 'sticky' ) ) | ( ( 'stickybit' ) ) | ( ( 'intr' ) ) | ( ( 'anded' ) ) | ( ( 'ored' ) ) | ( ( 'xored' ) ) | ( ( 'counter' ) ) | ( ( 'overflow' ) ) | ( ( 'sharedextbus' ) ) | ( ( 'errextbus' ) ) | ( ( 'reset' ) ) | ( ( 'littleendian' ) ) | ( ( 'bigendian' ) ) | ( ( 'rsvdset' ) ) | ( ( 'rsvdsetX' ) ) | ( ( 'bridge' ) ) | ( ( 'shared' ) ) | ( ( 'msb0' ) ) | ( ( 'lsb0' ) ) | ( ( 'sync' ) ) | ( ( 'async' ) ) | ( ( 'cpuif_reset' ) ) | ( ( 'field_reset' ) ) | ( ( 'activehigh' ) ) | ( ( 'activelow' ) ) | ( ( 'singlepulse' ) ) | ( ( 'underflow' ) ) | ( ( 'incr' ) ) | ( ( 'decr' ) ) | ( ( 'incrwidth' ) ) | ( ( 'decrwidth' ) ) | ( ( 'incrvalue' ) ) | ( ( 'decrvalue' ) ) | ( ( 'saturate' ) ) | ( ( 'decrsaturate' ) ) | ( ( 'threshold' ) ) | ( ( 'decrthreshold' ) ) | ( ( 'dontcompare' ) ) | ( ( 'donttest' ) ) | ( ( 'internal' ) ) | ( ( 'alignment' ) ) | ( ( 'regwidth' ) ) | ( ( 'fieldwidth' ) ) | ( ( 'signalwidth' ) ) | ( ( 'accesswidth' ) ) | ( ( 'sw' ) ) | ( ( 'hw' ) ) | ( ( 'addressing' ) ) | ( ( 'precedence' ) ) | ( ( 'encode' ) ) | ( ( 'resetsignal' ) ) | ( ( 'clock' ) ) | ( ( 'mask' ) ) | ( ( 'enable' ) ) | ( ( 'hwenable' ) ) | ( ( 'hwmask' ) ) | ( ( 'haltmask' ) ) | ( ( 'haltenable' ) ) | ( ( 'halt' ) ) | ( ( 'next' ) ) ) + int alt24=75; + switch ( input.LA(1) ) { + case 22: + { + alt24=1; + } + break; + case 23: + { + alt24=2; + } + break; + case 24: + { + alt24=3; + } + break; + case 25: + { + alt24=4; + } + break; + case 26: + { + alt24=5; + } + break; + case 27: + { + alt24=6; + } + break; + case 28: + { + alt24=7; + } + break; + case 29: + { + alt24=8; + } + break; + case 30: + { + alt24=9; + } + break; + case 31: + { + alt24=10; + } + break; + case 32: + { + alt24=11; + } + break; + case 33: + { + alt24=12; + } + break; + case 34: + { + alt24=13; + } + break; + case 35: + { + alt24=14; + } + break; + case 36: + { + alt24=15; + } + break; + case 37: + { + alt24=16; + } + break; + case 38: + { + alt24=17; + } + break; + case 39: + { + alt24=18; + } + break; + case 40: + { + alt24=19; + } + break; + case 41: + { + alt24=20; + } + break; + case 42: + { + alt24=21; + } + break; + case 43: + { + alt24=22; + } + break; + case 44: + { + alt24=23; + } + break; + case 45: + { + alt24=24; + } + break; + case 46: + { + alt24=25; + } + break; + case 47: + { + alt24=26; + } + break; + case 48: + { + alt24=27; + } + break; + case 49: + { + alt24=28; + } + break; + case 50: + { + alt24=29; + } + break; + case 51: + { + alt24=30; + } + break; + case 52: + { + alt24=31; + } + break; + case 53: + { + alt24=32; + } + break; + case 54: + { + alt24=33; + } + break; + case 55: + { + alt24=34; + } + break; + case 56: + { + alt24=35; + } + break; + case 57: + { + alt24=36; + } + break; + case 58: + { + alt24=37; + } + break; + case 59: + { + alt24=38; + } + break; + case 60: + { + alt24=39; + } + break; + case 61: + { + alt24=40; + } + break; + case 62: + { + alt24=41; + } + break; + case 63: + { + alt24=42; + } + break; + case 64: + { + alt24=43; + } + break; + case 65: + { + alt24=44; + } + break; + case 66: + { + alt24=45; + } + break; + case 67: + { + alt24=46; + } + break; + case 68: + { + alt24=47; + } + break; + case 69: + { + alt24=48; + } + break; + case 70: + { + alt24=49; + } + break; + case 71: + { + alt24=50; + } + break; + case 72: + { + alt24=51; + } + break; + case 73: + { + alt24=52; + } + break; + case 74: + { + alt24=53; + } + break; + case 75: + { + alt24=54; + } + break; + case 76: + { + alt24=55; + } + break; + case 77: + { + alt24=56; + } + break; + case 78: + { + alt24=57; + } + break; + case 79: + { + alt24=58; + } + break; + case 80: + { + alt24=59; + } + break; + case 81: + { + alt24=60; + } + break; + case 82: + { + alt24=61; + } + break; + case 83: + { + alt24=62; + } + break; + case 84: + { + alt24=63; + } + break; + case 85: + { + alt24=64; + } + break; + case 86: + { + alt24=65; + } + break; + case 87: + { + alt24=66; + } + break; + case 88: + { + alt24=67; + } + break; + case 89: + { + alt24=68; + } + break; + case 90: + { + alt24=69; + } + break; + case 91: + { + alt24=70; + } + break; + case 92: + { + alt24=71; + } + break; + case 93: + { + alt24=72; + } + break; + case 94: + { + alt24=73; + } + break; + case 95: + { + alt24=74; + } + break; + case 96: + { + alt24=75; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + + switch (alt24) { + case 1 : + // InternalRDL.g:1397:2: ( ( 'name' ) ) + { + // InternalRDL.g:1397:2: ( ( 'name' ) ) + // InternalRDL.g:1398:3: ( 'name' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + } + // InternalRDL.g:1399:3: ( 'name' ) + // InternalRDL.g:1399:4: 'name' + { + match(input,22,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1403:2: ( ( 'desc' ) ) + { + // InternalRDL.g:1403:2: ( ( 'desc' ) ) + // InternalRDL.g:1404:3: ( 'desc' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + } + // InternalRDL.g:1405:3: ( 'desc' ) + // InternalRDL.g:1405:4: 'desc' + { + match(input,23,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1409:2: ( ( 'arbiter' ) ) + { + // InternalRDL.g:1409:2: ( ( 'arbiter' ) ) + // InternalRDL.g:1410:3: ( 'arbiter' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + } + // InternalRDL.g:1411:3: ( 'arbiter' ) + // InternalRDL.g:1411:4: 'arbiter' + { + match(input,24,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1415:2: ( ( 'rset' ) ) + { + // InternalRDL.g:1415:2: ( ( 'rset' ) ) + // InternalRDL.g:1416:3: ( 'rset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + } + // InternalRDL.g:1417:3: ( 'rset' ) + // InternalRDL.g:1417:4: 'rset' + { + match(input,25,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:1421:2: ( ( 'rclr' ) ) + { + // InternalRDL.g:1421:2: ( ( 'rclr' ) ) + // InternalRDL.g:1422:3: ( 'rclr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + } + // InternalRDL.g:1423:3: ( 'rclr' ) + // InternalRDL.g:1423:4: 'rclr' + { + match(input,26,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalRDL.g:1427:2: ( ( 'woclr' ) ) + { + // InternalRDL.g:1427:2: ( ( 'woclr' ) ) + // InternalRDL.g:1428:3: ( 'woclr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + } + // InternalRDL.g:1429:3: ( 'woclr' ) + // InternalRDL.g:1429:4: 'woclr' + { + match(input,27,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + } + + } + + + } + break; + case 7 : + // InternalRDL.g:1433:2: ( ( 'woset' ) ) + { + // InternalRDL.g:1433:2: ( ( 'woset' ) ) + // InternalRDL.g:1434:3: ( 'woset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + } + // InternalRDL.g:1435:3: ( 'woset' ) + // InternalRDL.g:1435:4: 'woset' + { + match(input,28,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + } + + } + + + } + break; + case 8 : + // InternalRDL.g:1439:2: ( ( 'we' ) ) + { + // InternalRDL.g:1439:2: ( ( 'we' ) ) + // InternalRDL.g:1440:3: ( 'we' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + } + // InternalRDL.g:1441:3: ( 'we' ) + // InternalRDL.g:1441:4: 'we' + { + match(input,29,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + } + + } + + + } + break; + case 9 : + // InternalRDL.g:1445:2: ( ( 'wel' ) ) + { + // InternalRDL.g:1445:2: ( ( 'wel' ) ) + // InternalRDL.g:1446:3: ( 'wel' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + } + // InternalRDL.g:1447:3: ( 'wel' ) + // InternalRDL.g:1447:4: 'wel' + { + match(input,30,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + } + + } + + + } + break; + case 10 : + // InternalRDL.g:1451:2: ( ( 'swwe' ) ) + { + // InternalRDL.g:1451:2: ( ( 'swwe' ) ) + // InternalRDL.g:1452:3: ( 'swwe' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + } + // InternalRDL.g:1453:3: ( 'swwe' ) + // InternalRDL.g:1453:4: 'swwe' + { + match(input,31,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + } + + } + + + } + break; + case 11 : + // InternalRDL.g:1457:2: ( ( 'swwel' ) ) + { + // InternalRDL.g:1457:2: ( ( 'swwel' ) ) + // InternalRDL.g:1458:3: ( 'swwel' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + } + // InternalRDL.g:1459:3: ( 'swwel' ) + // InternalRDL.g:1459:4: 'swwel' + { + match(input,32,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + } + + } + + + } + break; + case 12 : + // InternalRDL.g:1463:2: ( ( 'hwset' ) ) + { + // InternalRDL.g:1463:2: ( ( 'hwset' ) ) + // InternalRDL.g:1464:3: ( 'hwset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + } + // InternalRDL.g:1465:3: ( 'hwset' ) + // InternalRDL.g:1465:4: 'hwset' + { + match(input,33,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + } + + } + + + } + break; + case 13 : + // InternalRDL.g:1469:2: ( ( 'hwclr' ) ) + { + // InternalRDL.g:1469:2: ( ( 'hwclr' ) ) + // InternalRDL.g:1470:3: ( 'hwclr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + } + // InternalRDL.g:1471:3: ( 'hwclr' ) + // InternalRDL.g:1471:4: 'hwclr' + { + match(input,34,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + } + + } + + + } + break; + case 14 : + // InternalRDL.g:1475:2: ( ( 'swmod' ) ) + { + // InternalRDL.g:1475:2: ( ( 'swmod' ) ) + // InternalRDL.g:1476:3: ( 'swmod' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + } + // InternalRDL.g:1477:3: ( 'swmod' ) + // InternalRDL.g:1477:4: 'swmod' + { + match(input,35,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + } + + } + + + } + break; + case 15 : + // InternalRDL.g:1481:2: ( ( 'swacc' ) ) + { + // InternalRDL.g:1481:2: ( ( 'swacc' ) ) + // InternalRDL.g:1482:3: ( 'swacc' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + } + // InternalRDL.g:1483:3: ( 'swacc' ) + // InternalRDL.g:1483:4: 'swacc' + { + match(input,36,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + } + + } + + + } + break; + case 16 : + // InternalRDL.g:1487:2: ( ( 'sticky' ) ) + { + // InternalRDL.g:1487:2: ( ( 'sticky' ) ) + // InternalRDL.g:1488:3: ( 'sticky' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + } + // InternalRDL.g:1489:3: ( 'sticky' ) + // InternalRDL.g:1489:4: 'sticky' + { + match(input,37,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + } + + } + + + } + break; + case 17 : + // InternalRDL.g:1493:2: ( ( 'stickybit' ) ) + { + // InternalRDL.g:1493:2: ( ( 'stickybit' ) ) + // InternalRDL.g:1494:3: ( 'stickybit' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + } + // InternalRDL.g:1495:3: ( 'stickybit' ) + // InternalRDL.g:1495:4: 'stickybit' + { + match(input,38,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + } + + } + + + } + break; + case 18 : + // InternalRDL.g:1499:2: ( ( 'intr' ) ) + { + // InternalRDL.g:1499:2: ( ( 'intr' ) ) + // InternalRDL.g:1500:3: ( 'intr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + } + // InternalRDL.g:1501:3: ( 'intr' ) + // InternalRDL.g:1501:4: 'intr' + { + match(input,39,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + } + + } + + + } + break; + case 19 : + // InternalRDL.g:1505:2: ( ( 'anded' ) ) + { + // InternalRDL.g:1505:2: ( ( 'anded' ) ) + // InternalRDL.g:1506:3: ( 'anded' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + } + // InternalRDL.g:1507:3: ( 'anded' ) + // InternalRDL.g:1507:4: 'anded' + { + match(input,40,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + } + + } + + + } + break; + case 20 : + // InternalRDL.g:1511:2: ( ( 'ored' ) ) + { + // InternalRDL.g:1511:2: ( ( 'ored' ) ) + // InternalRDL.g:1512:3: ( 'ored' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + } + // InternalRDL.g:1513:3: ( 'ored' ) + // InternalRDL.g:1513:4: 'ored' + { + match(input,41,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + } + + } + + + } + break; + case 21 : + // InternalRDL.g:1517:2: ( ( 'xored' ) ) + { + // InternalRDL.g:1517:2: ( ( 'xored' ) ) + // InternalRDL.g:1518:3: ( 'xored' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + } + // InternalRDL.g:1519:3: ( 'xored' ) + // InternalRDL.g:1519:4: 'xored' + { + match(input,42,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + } + + } + + + } + break; + case 22 : + // InternalRDL.g:1523:2: ( ( 'counter' ) ) + { + // InternalRDL.g:1523:2: ( ( 'counter' ) ) + // InternalRDL.g:1524:3: ( 'counter' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + } + // InternalRDL.g:1525:3: ( 'counter' ) + // InternalRDL.g:1525:4: 'counter' + { + match(input,43,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + } + + } + + + } + break; + case 23 : + // InternalRDL.g:1529:2: ( ( 'overflow' ) ) + { + // InternalRDL.g:1529:2: ( ( 'overflow' ) ) + // InternalRDL.g:1530:3: ( 'overflow' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + } + // InternalRDL.g:1531:3: ( 'overflow' ) + // InternalRDL.g:1531:4: 'overflow' + { + match(input,44,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + } + + } + + + } + break; + case 24 : + // InternalRDL.g:1535:2: ( ( 'sharedextbus' ) ) + { + // InternalRDL.g:1535:2: ( ( 'sharedextbus' ) ) + // InternalRDL.g:1536:3: ( 'sharedextbus' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + } + // InternalRDL.g:1537:3: ( 'sharedextbus' ) + // InternalRDL.g:1537:4: 'sharedextbus' + { + match(input,45,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + } + + } + + + } + break; + case 25 : + // InternalRDL.g:1541:2: ( ( 'errextbus' ) ) + { + // InternalRDL.g:1541:2: ( ( 'errextbus' ) ) + // InternalRDL.g:1542:3: ( 'errextbus' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + } + // InternalRDL.g:1543:3: ( 'errextbus' ) + // InternalRDL.g:1543:4: 'errextbus' + { + match(input,46,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + } + + } + + + } + break; + case 26 : + // InternalRDL.g:1547:2: ( ( 'reset' ) ) + { + // InternalRDL.g:1547:2: ( ( 'reset' ) ) + // InternalRDL.g:1548:3: ( 'reset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + } + // InternalRDL.g:1549:3: ( 'reset' ) + // InternalRDL.g:1549:4: 'reset' + { + match(input,47,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + } + + } + + + } + break; + case 27 : + // InternalRDL.g:1553:2: ( ( 'littleendian' ) ) + { + // InternalRDL.g:1553:2: ( ( 'littleendian' ) ) + // InternalRDL.g:1554:3: ( 'littleendian' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + } + // InternalRDL.g:1555:3: ( 'littleendian' ) + // InternalRDL.g:1555:4: 'littleendian' + { + match(input,48,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + } + + } + + + } + break; + case 28 : + // InternalRDL.g:1559:2: ( ( 'bigendian' ) ) + { + // InternalRDL.g:1559:2: ( ( 'bigendian' ) ) + // InternalRDL.g:1560:3: ( 'bigendian' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + } + // InternalRDL.g:1561:3: ( 'bigendian' ) + // InternalRDL.g:1561:4: 'bigendian' + { + match(input,49,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + } + + } + + + } + break; + case 29 : + // InternalRDL.g:1565:2: ( ( 'rsvdset' ) ) + { + // InternalRDL.g:1565:2: ( ( 'rsvdset' ) ) + // InternalRDL.g:1566:3: ( 'rsvdset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + } + // InternalRDL.g:1567:3: ( 'rsvdset' ) + // InternalRDL.g:1567:4: 'rsvdset' + { + match(input,50,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + } + + } + + + } + break; + case 30 : + // InternalRDL.g:1571:2: ( ( 'rsvdsetX' ) ) + { + // InternalRDL.g:1571:2: ( ( 'rsvdsetX' ) ) + // InternalRDL.g:1572:3: ( 'rsvdsetX' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + } + // InternalRDL.g:1573:3: ( 'rsvdsetX' ) + // InternalRDL.g:1573:4: 'rsvdsetX' + { + match(input,51,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + } + + } + + + } + break; + case 31 : + // InternalRDL.g:1577:2: ( ( 'bridge' ) ) + { + // InternalRDL.g:1577:2: ( ( 'bridge' ) ) + // InternalRDL.g:1578:3: ( 'bridge' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + } + // InternalRDL.g:1579:3: ( 'bridge' ) + // InternalRDL.g:1579:4: 'bridge' + { + match(input,52,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + } + + } + + + } + break; + case 32 : + // InternalRDL.g:1583:2: ( ( 'shared' ) ) + { + // InternalRDL.g:1583:2: ( ( 'shared' ) ) + // InternalRDL.g:1584:3: ( 'shared' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + } + // InternalRDL.g:1585:3: ( 'shared' ) + // InternalRDL.g:1585:4: 'shared' + { + match(input,53,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + } + + } + + + } + break; + case 33 : + // InternalRDL.g:1589:2: ( ( 'msb0' ) ) + { + // InternalRDL.g:1589:2: ( ( 'msb0' ) ) + // InternalRDL.g:1590:3: ( 'msb0' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + } + // InternalRDL.g:1591:3: ( 'msb0' ) + // InternalRDL.g:1591:4: 'msb0' + { + match(input,54,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + } + + } + + + } + break; + case 34 : + // InternalRDL.g:1595:2: ( ( 'lsb0' ) ) + { + // InternalRDL.g:1595:2: ( ( 'lsb0' ) ) + // InternalRDL.g:1596:3: ( 'lsb0' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + } + // InternalRDL.g:1597:3: ( 'lsb0' ) + // InternalRDL.g:1597:4: 'lsb0' + { + match(input,55,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + } + + } + + + } + break; + case 35 : + // InternalRDL.g:1601:2: ( ( 'sync' ) ) + { + // InternalRDL.g:1601:2: ( ( 'sync' ) ) + // InternalRDL.g:1602:3: ( 'sync' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + } + // InternalRDL.g:1603:3: ( 'sync' ) + // InternalRDL.g:1603:4: 'sync' + { + match(input,56,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + } + + } + + + } + break; + case 36 : + // InternalRDL.g:1607:2: ( ( 'async' ) ) + { + // InternalRDL.g:1607:2: ( ( 'async' ) ) + // InternalRDL.g:1608:3: ( 'async' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + } + // InternalRDL.g:1609:3: ( 'async' ) + // InternalRDL.g:1609:4: 'async' + { + match(input,57,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + } + + } + + + } + break; + case 37 : + // InternalRDL.g:1613:2: ( ( 'cpuif_reset' ) ) + { + // InternalRDL.g:1613:2: ( ( 'cpuif_reset' ) ) + // InternalRDL.g:1614:3: ( 'cpuif_reset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + } + // InternalRDL.g:1615:3: ( 'cpuif_reset' ) + // InternalRDL.g:1615:4: 'cpuif_reset' + { + match(input,58,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + } + + } + + + } + break; + case 38 : + // InternalRDL.g:1619:2: ( ( 'field_reset' ) ) + { + // InternalRDL.g:1619:2: ( ( 'field_reset' ) ) + // InternalRDL.g:1620:3: ( 'field_reset' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + } + // InternalRDL.g:1621:3: ( 'field_reset' ) + // InternalRDL.g:1621:4: 'field_reset' + { + match(input,59,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + } + + } + + + } + break; + case 39 : + // InternalRDL.g:1625:2: ( ( 'activehigh' ) ) + { + // InternalRDL.g:1625:2: ( ( 'activehigh' ) ) + // InternalRDL.g:1626:3: ( 'activehigh' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + } + // InternalRDL.g:1627:3: ( 'activehigh' ) + // InternalRDL.g:1627:4: 'activehigh' + { + match(input,60,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + } + + } + + + } + break; + case 40 : + // InternalRDL.g:1631:2: ( ( 'activelow' ) ) + { + // InternalRDL.g:1631:2: ( ( 'activelow' ) ) + // InternalRDL.g:1632:3: ( 'activelow' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + } + // InternalRDL.g:1633:3: ( 'activelow' ) + // InternalRDL.g:1633:4: 'activelow' + { + match(input,61,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + } + + } + + + } + break; + case 41 : + // InternalRDL.g:1637:2: ( ( 'singlepulse' ) ) + { + // InternalRDL.g:1637:2: ( ( 'singlepulse' ) ) + // InternalRDL.g:1638:3: ( 'singlepulse' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + } + // InternalRDL.g:1639:3: ( 'singlepulse' ) + // InternalRDL.g:1639:4: 'singlepulse' + { + match(input,62,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + } + + } + + + } + break; + case 42 : + // InternalRDL.g:1643:2: ( ( 'underflow' ) ) + { + // InternalRDL.g:1643:2: ( ( 'underflow' ) ) + // InternalRDL.g:1644:3: ( 'underflow' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + } + // InternalRDL.g:1645:3: ( 'underflow' ) + // InternalRDL.g:1645:4: 'underflow' + { + match(input,63,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + } + + } + + + } + break; + case 43 : + // InternalRDL.g:1649:2: ( ( 'incr' ) ) + { + // InternalRDL.g:1649:2: ( ( 'incr' ) ) + // InternalRDL.g:1650:3: ( 'incr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + } + // InternalRDL.g:1651:3: ( 'incr' ) + // InternalRDL.g:1651:4: 'incr' + { + match(input,64,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + } + + } + + + } + break; + case 44 : + // InternalRDL.g:1655:2: ( ( 'decr' ) ) + { + // InternalRDL.g:1655:2: ( ( 'decr' ) ) + // InternalRDL.g:1656:3: ( 'decr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + } + // InternalRDL.g:1657:3: ( 'decr' ) + // InternalRDL.g:1657:4: 'decr' + { + match(input,65,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + } + + } + + + } + break; + case 45 : + // InternalRDL.g:1661:2: ( ( 'incrwidth' ) ) + { + // InternalRDL.g:1661:2: ( ( 'incrwidth' ) ) + // InternalRDL.g:1662:3: ( 'incrwidth' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + } + // InternalRDL.g:1663:3: ( 'incrwidth' ) + // InternalRDL.g:1663:4: 'incrwidth' + { + match(input,66,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + } + + } + + + } + break; + case 46 : + // InternalRDL.g:1667:2: ( ( 'decrwidth' ) ) + { + // InternalRDL.g:1667:2: ( ( 'decrwidth' ) ) + // InternalRDL.g:1668:3: ( 'decrwidth' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + } + // InternalRDL.g:1669:3: ( 'decrwidth' ) + // InternalRDL.g:1669:4: 'decrwidth' + { + match(input,67,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + } + + } + + + } + break; + case 47 : + // InternalRDL.g:1673:2: ( ( 'incrvalue' ) ) + { + // InternalRDL.g:1673:2: ( ( 'incrvalue' ) ) + // InternalRDL.g:1674:3: ( 'incrvalue' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + } + // InternalRDL.g:1675:3: ( 'incrvalue' ) + // InternalRDL.g:1675:4: 'incrvalue' + { + match(input,68,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + } + + } + + + } + break; + case 48 : + // InternalRDL.g:1679:2: ( ( 'decrvalue' ) ) + { + // InternalRDL.g:1679:2: ( ( 'decrvalue' ) ) + // InternalRDL.g:1680:3: ( 'decrvalue' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + } + // InternalRDL.g:1681:3: ( 'decrvalue' ) + // InternalRDL.g:1681:4: 'decrvalue' + { + match(input,69,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + } + + } + + + } + break; + case 49 : + // InternalRDL.g:1685:2: ( ( 'saturate' ) ) + { + // InternalRDL.g:1685:2: ( ( 'saturate' ) ) + // InternalRDL.g:1686:3: ( 'saturate' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + } + // InternalRDL.g:1687:3: ( 'saturate' ) + // InternalRDL.g:1687:4: 'saturate' + { + match(input,70,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + } + + } + + + } + break; + case 50 : + // InternalRDL.g:1691:2: ( ( 'decrsaturate' ) ) + { + // InternalRDL.g:1691:2: ( ( 'decrsaturate' ) ) + // InternalRDL.g:1692:3: ( 'decrsaturate' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + } + // InternalRDL.g:1693:3: ( 'decrsaturate' ) + // InternalRDL.g:1693:4: 'decrsaturate' + { + match(input,71,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + } + + } + + + } + break; + case 51 : + // InternalRDL.g:1697:2: ( ( 'threshold' ) ) + { + // InternalRDL.g:1697:2: ( ( 'threshold' ) ) + // InternalRDL.g:1698:3: ( 'threshold' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + } + // InternalRDL.g:1699:3: ( 'threshold' ) + // InternalRDL.g:1699:4: 'threshold' + { + match(input,72,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + } + + } + + + } + break; + case 52 : + // InternalRDL.g:1703:2: ( ( 'decrthreshold' ) ) + { + // InternalRDL.g:1703:2: ( ( 'decrthreshold' ) ) + // InternalRDL.g:1704:3: ( 'decrthreshold' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + } + // InternalRDL.g:1705:3: ( 'decrthreshold' ) + // InternalRDL.g:1705:4: 'decrthreshold' + { + match(input,73,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + } + + } + + + } + break; + case 53 : + // InternalRDL.g:1709:2: ( ( 'dontcompare' ) ) + { + // InternalRDL.g:1709:2: ( ( 'dontcompare' ) ) + // InternalRDL.g:1710:3: ( 'dontcompare' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + } + // InternalRDL.g:1711:3: ( 'dontcompare' ) + // InternalRDL.g:1711:4: 'dontcompare' + { + match(input,74,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + } + + } + + + } + break; + case 54 : + // InternalRDL.g:1715:2: ( ( 'donttest' ) ) + { + // InternalRDL.g:1715:2: ( ( 'donttest' ) ) + // InternalRDL.g:1716:3: ( 'donttest' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + } + // InternalRDL.g:1717:3: ( 'donttest' ) + // InternalRDL.g:1717:4: 'donttest' + { + match(input,75,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + } + + } + + + } + break; + case 55 : + // InternalRDL.g:1721:2: ( ( 'internal' ) ) + { + // InternalRDL.g:1721:2: ( ( 'internal' ) ) + // InternalRDL.g:1722:3: ( 'internal' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + } + // InternalRDL.g:1723:3: ( 'internal' ) + // InternalRDL.g:1723:4: 'internal' + { + match(input,76,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + } + + } + + + } + break; + case 56 : + // InternalRDL.g:1727:2: ( ( 'alignment' ) ) + { + // InternalRDL.g:1727:2: ( ( 'alignment' ) ) + // InternalRDL.g:1728:3: ( 'alignment' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + } + // InternalRDL.g:1729:3: ( 'alignment' ) + // InternalRDL.g:1729:4: 'alignment' + { + match(input,77,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + } + + } + + + } + break; + case 57 : + // InternalRDL.g:1733:2: ( ( 'regwidth' ) ) + { + // InternalRDL.g:1733:2: ( ( 'regwidth' ) ) + // InternalRDL.g:1734:3: ( 'regwidth' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + } + // InternalRDL.g:1735:3: ( 'regwidth' ) + // InternalRDL.g:1735:4: 'regwidth' + { + match(input,78,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + } + + } + + + } + break; + case 58 : + // InternalRDL.g:1739:2: ( ( 'fieldwidth' ) ) + { + // InternalRDL.g:1739:2: ( ( 'fieldwidth' ) ) + // InternalRDL.g:1740:3: ( 'fieldwidth' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + } + // InternalRDL.g:1741:3: ( 'fieldwidth' ) + // InternalRDL.g:1741:4: 'fieldwidth' + { + match(input,79,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + } + + } + + + } + break; + case 59 : + // InternalRDL.g:1745:2: ( ( 'signalwidth' ) ) + { + // InternalRDL.g:1745:2: ( ( 'signalwidth' ) ) + // InternalRDL.g:1746:3: ( 'signalwidth' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + } + // InternalRDL.g:1747:3: ( 'signalwidth' ) + // InternalRDL.g:1747:4: 'signalwidth' + { + match(input,80,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + } + + } + + + } + break; + case 60 : + // InternalRDL.g:1751:2: ( ( 'accesswidth' ) ) + { + // InternalRDL.g:1751:2: ( ( 'accesswidth' ) ) + // InternalRDL.g:1752:3: ( 'accesswidth' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + } + // InternalRDL.g:1753:3: ( 'accesswidth' ) + // InternalRDL.g:1753:4: 'accesswidth' + { + match(input,81,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + } + + } + + + } + break; + case 61 : + // InternalRDL.g:1757:2: ( ( 'sw' ) ) + { + // InternalRDL.g:1757:2: ( ( 'sw' ) ) + // InternalRDL.g:1758:3: ( 'sw' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + } + // InternalRDL.g:1759:3: ( 'sw' ) + // InternalRDL.g:1759:4: 'sw' + { + match(input,82,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + } + + } + + + } + break; + case 62 : + // InternalRDL.g:1763:2: ( ( 'hw' ) ) + { + // InternalRDL.g:1763:2: ( ( 'hw' ) ) + // InternalRDL.g:1764:3: ( 'hw' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + } + // InternalRDL.g:1765:3: ( 'hw' ) + // InternalRDL.g:1765:4: 'hw' + { + match(input,83,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + } + + } + + + } + break; + case 63 : + // InternalRDL.g:1769:2: ( ( 'addressing' ) ) + { + // InternalRDL.g:1769:2: ( ( 'addressing' ) ) + // InternalRDL.g:1770:3: ( 'addressing' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + } + // InternalRDL.g:1771:3: ( 'addressing' ) + // InternalRDL.g:1771:4: 'addressing' + { + match(input,84,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + } + + } + + + } + break; + case 64 : + // InternalRDL.g:1775:2: ( ( 'precedence' ) ) + { + // InternalRDL.g:1775:2: ( ( 'precedence' ) ) + // InternalRDL.g:1776:3: ( 'precedence' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + } + // InternalRDL.g:1777:3: ( 'precedence' ) + // InternalRDL.g:1777:4: 'precedence' + { + match(input,85,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + } + + } + + + } + break; + case 65 : + // InternalRDL.g:1781:2: ( ( 'encode' ) ) + { + // InternalRDL.g:1781:2: ( ( 'encode' ) ) + // InternalRDL.g:1782:3: ( 'encode' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + } + // InternalRDL.g:1783:3: ( 'encode' ) + // InternalRDL.g:1783:4: 'encode' + { + match(input,86,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + } + + } + + + } + break; + case 66 : + // InternalRDL.g:1787:2: ( ( 'resetsignal' ) ) + { + // InternalRDL.g:1787:2: ( ( 'resetsignal' ) ) + // InternalRDL.g:1788:3: ( 'resetsignal' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + } + // InternalRDL.g:1789:3: ( 'resetsignal' ) + // InternalRDL.g:1789:4: 'resetsignal' + { + match(input,87,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + } + + } + + + } + break; + case 67 : + // InternalRDL.g:1793:2: ( ( 'clock' ) ) + { + // InternalRDL.g:1793:2: ( ( 'clock' ) ) + // InternalRDL.g:1794:3: ( 'clock' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + } + // InternalRDL.g:1795:3: ( 'clock' ) + // InternalRDL.g:1795:4: 'clock' + { + match(input,88,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + } + + } + + + } + break; + case 68 : + // InternalRDL.g:1799:2: ( ( 'mask' ) ) + { + // InternalRDL.g:1799:2: ( ( 'mask' ) ) + // InternalRDL.g:1800:3: ( 'mask' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + } + // InternalRDL.g:1801:3: ( 'mask' ) + // InternalRDL.g:1801:4: 'mask' + { + match(input,89,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + } + + } + + + } + break; + case 69 : + // InternalRDL.g:1805:2: ( ( 'enable' ) ) + { + // InternalRDL.g:1805:2: ( ( 'enable' ) ) + // InternalRDL.g:1806:3: ( 'enable' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + } + // InternalRDL.g:1807:3: ( 'enable' ) + // InternalRDL.g:1807:4: 'enable' + { + match(input,90,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + } + + } + + + } + break; + case 70 : + // InternalRDL.g:1811:2: ( ( 'hwenable' ) ) + { + // InternalRDL.g:1811:2: ( ( 'hwenable' ) ) + // InternalRDL.g:1812:3: ( 'hwenable' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + } + // InternalRDL.g:1813:3: ( 'hwenable' ) + // InternalRDL.g:1813:4: 'hwenable' + { + match(input,91,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + } + + } + + + } + break; + case 71 : + // InternalRDL.g:1817:2: ( ( 'hwmask' ) ) + { + // InternalRDL.g:1817:2: ( ( 'hwmask' ) ) + // InternalRDL.g:1818:3: ( 'hwmask' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + } + // InternalRDL.g:1819:3: ( 'hwmask' ) + // InternalRDL.g:1819:4: 'hwmask' + { + match(input,92,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + } + + } + + + } + break; + case 72 : + // InternalRDL.g:1823:2: ( ( 'haltmask' ) ) + { + // InternalRDL.g:1823:2: ( ( 'haltmask' ) ) + // InternalRDL.g:1824:3: ( 'haltmask' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + } + // InternalRDL.g:1825:3: ( 'haltmask' ) + // InternalRDL.g:1825:4: 'haltmask' + { + match(input,93,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + } + + } + + + } + break; + case 73 : + // InternalRDL.g:1829:2: ( ( 'haltenable' ) ) + { + // InternalRDL.g:1829:2: ( ( 'haltenable' ) ) + // InternalRDL.g:1830:3: ( 'haltenable' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + } + // InternalRDL.g:1831:3: ( 'haltenable' ) + // InternalRDL.g:1831:4: 'haltenable' + { + match(input,94,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + } + + } + + + } + break; + case 74 : + // InternalRDL.g:1835:2: ( ( 'halt' ) ) + { + // InternalRDL.g:1835:2: ( ( 'halt' ) ) + // InternalRDL.g:1836:3: ( 'halt' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + } + // InternalRDL.g:1837:3: ( 'halt' ) + // InternalRDL.g:1837:4: 'halt' + { + match(input,95,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + } + + } + + + } + break; + case 75 : + // InternalRDL.g:1841:2: ( ( 'next' ) ) + { + // InternalRDL.g:1841:2: ( ( 'next' ) ) + // InternalRDL.g:1842:3: ( 'next' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); + } + // InternalRDL.g:1843:3: ( 'next' ) + // InternalRDL.g:1843:4: 'next' + { + match(input,96,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1851:1: rule__RValueConstant__Alternatives : ( ( ( 'UNDEFINED' ) ) | ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'rw' ) ) | ( ( 'wr' ) ) | ( ( 'r' ) ) | ( ( 'w' ) ) | ( ( 'na' ) ) | ( ( 'compact' ) ) | ( ( 'regalign' ) ) | ( ( 'fullalign' ) ) | ( ( 'hw' ) ) | ( ( 'sw' ) ) ); + public final void rule__RValueConstant__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1855:1: ( ( ( 'UNDEFINED' ) ) | ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'rw' ) ) | ( ( 'wr' ) ) | ( ( 'r' ) ) | ( ( 'w' ) ) | ( ( 'na' ) ) | ( ( 'compact' ) ) | ( ( 'regalign' ) ) | ( ( 'fullalign' ) ) | ( ( 'hw' ) ) | ( ( 'sw' ) ) ) + int alt25=13; + switch ( input.LA(1) ) { + case 97: + { + alt25=1; + } + break; + case 98: + { + alt25=2; + } + break; + case 99: + { + alt25=3; + } + break; + case 100: + { + alt25=4; + } + break; + case 101: + { + alt25=5; + } + break; + case 102: + { + alt25=6; + } + break; + case 103: + { + alt25=7; + } + break; + case 104: + { + alt25=8; + } + break; + case 105: + { + alt25=9; + } + break; + case 106: + { + alt25=10; + } + break; + case 107: + { + alt25=11; + } + break; + case 83: + { + alt25=12; + } + break; + case 82: + { + alt25=13; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + + switch (alt25) { + case 1 : + // InternalRDL.g:1856:2: ( ( 'UNDEFINED' ) ) + { + // InternalRDL.g:1856:2: ( ( 'UNDEFINED' ) ) + // InternalRDL.g:1857:3: ( 'UNDEFINED' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + } + // InternalRDL.g:1858:3: ( 'UNDEFINED' ) + // InternalRDL.g:1858:4: 'UNDEFINED' + { + match(input,97,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1862:2: ( ( 'true' ) ) + { + // InternalRDL.g:1862:2: ( ( 'true' ) ) + // InternalRDL.g:1863:3: ( 'true' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + } + // InternalRDL.g:1864:3: ( 'true' ) + // InternalRDL.g:1864:4: 'true' + { + match(input,98,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1868:2: ( ( 'false' ) ) + { + // InternalRDL.g:1868:2: ( ( 'false' ) ) + // InternalRDL.g:1869:3: ( 'false' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + } + // InternalRDL.g:1870:3: ( 'false' ) + // InternalRDL.g:1870:4: 'false' + { + match(input,99,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1874:2: ( ( 'rw' ) ) + { + // InternalRDL.g:1874:2: ( ( 'rw' ) ) + // InternalRDL.g:1875:3: ( 'rw' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + } + // InternalRDL.g:1876:3: ( 'rw' ) + // InternalRDL.g:1876:4: 'rw' + { + match(input,100,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:1880:2: ( ( 'wr' ) ) + { + // InternalRDL.g:1880:2: ( ( 'wr' ) ) + // InternalRDL.g:1881:3: ( 'wr' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + } + // InternalRDL.g:1882:3: ( 'wr' ) + // InternalRDL.g:1882:4: 'wr' + { + match(input,101,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalRDL.g:1886:2: ( ( 'r' ) ) + { + // InternalRDL.g:1886:2: ( ( 'r' ) ) + // InternalRDL.g:1887:3: ( 'r' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + } + // InternalRDL.g:1888:3: ( 'r' ) + // InternalRDL.g:1888:4: 'r' + { + match(input,102,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + } + + } + + + } + break; + case 7 : + // InternalRDL.g:1892:2: ( ( 'w' ) ) + { + // InternalRDL.g:1892:2: ( ( 'w' ) ) + // InternalRDL.g:1893:3: ( 'w' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + } + // InternalRDL.g:1894:3: ( 'w' ) + // InternalRDL.g:1894:4: 'w' + { + match(input,103,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + } + + } + + + } + break; + case 8 : + // InternalRDL.g:1898:2: ( ( 'na' ) ) + { + // InternalRDL.g:1898:2: ( ( 'na' ) ) + // InternalRDL.g:1899:3: ( 'na' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + } + // InternalRDL.g:1900:3: ( 'na' ) + // InternalRDL.g:1900:4: 'na' + { + match(input,104,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + } + + } + + + } + break; + case 9 : + // InternalRDL.g:1904:2: ( ( 'compact' ) ) + { + // InternalRDL.g:1904:2: ( ( 'compact' ) ) + // InternalRDL.g:1905:3: ( 'compact' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + } + // InternalRDL.g:1906:3: ( 'compact' ) + // InternalRDL.g:1906:4: 'compact' + { + match(input,105,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + } + + } + + + } + break; + case 10 : + // InternalRDL.g:1910:2: ( ( 'regalign' ) ) + { + // InternalRDL.g:1910:2: ( ( 'regalign' ) ) + // InternalRDL.g:1911:3: ( 'regalign' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + } + // InternalRDL.g:1912:3: ( 'regalign' ) + // InternalRDL.g:1912:4: 'regalign' + { + match(input,106,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + } + + } + + + } + break; + case 11 : + // InternalRDL.g:1916:2: ( ( 'fullalign' ) ) + { + // InternalRDL.g:1916:2: ( ( 'fullalign' ) ) + // InternalRDL.g:1917:3: ( 'fullalign' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + } + // InternalRDL.g:1918:3: ( 'fullalign' ) + // InternalRDL.g:1918:4: 'fullalign' + { + match(input,107,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + } + + } + + + } + break; + case 12 : + // InternalRDL.g:1922:2: ( ( 'hw' ) ) + { + // InternalRDL.g:1922:2: ( ( 'hw' ) ) + // InternalRDL.g:1923:3: ( 'hw' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + } + // InternalRDL.g:1924:3: ( 'hw' ) + // InternalRDL.g:1924:4: 'hw' + { + match(input,83,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + } + + } + + + } + break; + case 13 : + // InternalRDL.g:1928:2: ( ( 'sw' ) ) + { + // InternalRDL.g:1928:2: ( ( 'sw' ) ) + // InternalRDL.g:1929:3: ( 'sw' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); + } + // InternalRDL.g:1930:3: ( 'sw' ) + // InternalRDL.g:1930:4: 'sw' + { + match(input,82,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:1938:1: rule__PropertyModifier__Alternatives : ( ( ( 'UNDEFINED' ) ) | ( ( 'posedge' ) ) | ( ( 'negedge' ) ) | ( ( 'bothedge' ) ) | ( ( 'level' ) ) | ( ( 'nonsticky' ) ) ); + public final void rule__PropertyModifier__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1942:1: ( ( ( 'UNDEFINED' ) ) | ( ( 'posedge' ) ) | ( ( 'negedge' ) ) | ( ( 'bothedge' ) ) | ( ( 'level' ) ) | ( ( 'nonsticky' ) ) ) + int alt26=6; + switch ( input.LA(1) ) { + case 97: + { + alt26=1; + } + break; + case 108: + { + alt26=2; + } + break; + case 109: + { + alt26=3; + } + break; + case 110: + { + alt26=4; + } + break; + case 111: + { + alt26=5; + } + break; + case 112: + { + alt26=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return ;} + NoViableAltException nvae = + new NoViableAltException("", 26, 0, input); + + throw nvae; + } + + switch (alt26) { + case 1 : + // InternalRDL.g:1943:2: ( ( 'UNDEFINED' ) ) + { + // InternalRDL.g:1943:2: ( ( 'UNDEFINED' ) ) + // InternalRDL.g:1944:3: ( 'UNDEFINED' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + } + // InternalRDL.g:1945:3: ( 'UNDEFINED' ) + // InternalRDL.g:1945:4: 'UNDEFINED' + { + match(input,97,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + } + + } + + + } + break; + case 2 : + // InternalRDL.g:1949:2: ( ( 'posedge' ) ) + { + // InternalRDL.g:1949:2: ( ( 'posedge' ) ) + // InternalRDL.g:1950:3: ( 'posedge' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + } + // InternalRDL.g:1951:3: ( 'posedge' ) + // InternalRDL.g:1951:4: 'posedge' + { + match(input,108,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + } + + } + + + } + break; + case 3 : + // InternalRDL.g:1955:2: ( ( 'negedge' ) ) + { + // InternalRDL.g:1955:2: ( ( 'negedge' ) ) + // InternalRDL.g:1956:3: ( 'negedge' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + } + // InternalRDL.g:1957:3: ( 'negedge' ) + // InternalRDL.g:1957:4: 'negedge' + { + match(input,109,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1961:2: ( ( 'bothedge' ) ) + { + // InternalRDL.g:1961:2: ( ( 'bothedge' ) ) + // InternalRDL.g:1962:3: ( 'bothedge' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + } + // InternalRDL.g:1963:3: ( 'bothedge' ) + // InternalRDL.g:1963:4: 'bothedge' + { + match(input,110,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + } + + } + + + } + break; + case 5 : + // InternalRDL.g:1967:2: ( ( 'level' ) ) + { + // InternalRDL.g:1967:2: ( ( 'level' ) ) + // InternalRDL.g:1968:3: ( 'level' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + } + // InternalRDL.g:1969:3: ( 'level' ) + // InternalRDL.g:1969:4: 'level' + { + match(input,111,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + } + + } + + + } + break; + case 6 : + // InternalRDL.g:1973:2: ( ( 'nonsticky' ) ) + { + // InternalRDL.g:1973:2: ( ( 'nonsticky' ) ) + // InternalRDL.g:1974:3: ( 'nonsticky' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); + } + // InternalRDL.g:1975:3: ( 'nonsticky' ) + // InternalRDL.g:1975:4: 'nonsticky' + { + match(input,112,FOLLOW_2); if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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__Root__Group_1__0" + // InternalRDL.g:1983:1: rule__Root__Group_1__0 : rule__Root__Group_1__0__Impl rule__Root__Group_1__1 ; + public final void rule__Root__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1987:1: ( rule__Root__Group_1__0__Impl rule__Root__Group_1__1 ) + // InternalRDL.g:1988:2: rule__Root__Group_1__0__Impl rule__Root__Group_1__1 + { + pushFollow(FOLLOW_4); + rule__Root__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Root__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_1__0" + + + // $ANTLR start "rule__Root__Group_1__0__Impl" + // InternalRDL.g:1995:1: rule__Root__Group_1__0__Impl : ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) ) ; + public final void rule__Root__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:1999:1: ( ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) ) ) + // InternalRDL.g:2000:1: ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) ) + { + // InternalRDL.g:2000:1: ( ( rule__Root__ComponentDefinitionsAssignment_1_0 ) ) + // InternalRDL.g:2001:2: ( rule__Root__ComponentDefinitionsAssignment_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0()); + } + // InternalRDL.g:2002:2: ( rule__Root__ComponentDefinitionsAssignment_1_0 ) + // InternalRDL.g:2002:3: rule__Root__ComponentDefinitionsAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__Root__ComponentDefinitionsAssignment_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getComponentDefinitionsAssignment_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_1__0__Impl" + + + // $ANTLR start "rule__Root__Group_1__1" + // InternalRDL.g:2010:1: rule__Root__Group_1__1 : rule__Root__Group_1__1__Impl ; + public final void rule__Root__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2014:1: ( rule__Root__Group_1__1__Impl ) + // InternalRDL.g:2015:2: rule__Root__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__Root__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_1__1" + + + // $ANTLR start "rule__Root__Group_1__1__Impl" + // InternalRDL.g:2021:1: rule__Root__Group_1__1__Impl : ( ';' ) ; + public final void rule__Root__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2025:1: ( ( ';' ) ) + // InternalRDL.g:2026:1: ( ';' ) + { + // InternalRDL.g:2026:1: ( ';' ) + // InternalRDL.g:2027:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_1__1__Impl" + + + // $ANTLR start "rule__Root__Group_2__0" + // InternalRDL.g:2037:1: rule__Root__Group_2__0 : rule__Root__Group_2__0__Impl rule__Root__Group_2__1 ; + public final void rule__Root__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2041:1: ( rule__Root__Group_2__0__Impl rule__Root__Group_2__1 ) + // InternalRDL.g:2042:2: rule__Root__Group_2__0__Impl rule__Root__Group_2__1 + { + pushFollow(FOLLOW_4); + rule__Root__Group_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Root__Group_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_2__0" + + + // $ANTLR start "rule__Root__Group_2__0__Impl" + // InternalRDL.g:2049:1: rule__Root__Group_2__0__Impl : ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) ) ; + public final void rule__Root__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2053:1: ( ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) ) ) + // InternalRDL.g:2054:1: ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) ) + { + // InternalRDL.g:2054:1: ( ( rule__Root__EnumDefinitionsAssignment_2_0 ) ) + // InternalRDL.g:2055:2: ( rule__Root__EnumDefinitionsAssignment_2_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0()); + } + // InternalRDL.g:2056:2: ( rule__Root__EnumDefinitionsAssignment_2_0 ) + // InternalRDL.g:2056:3: rule__Root__EnumDefinitionsAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__Root__EnumDefinitionsAssignment_2_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getEnumDefinitionsAssignment_2_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_2__0__Impl" + + + // $ANTLR start "rule__Root__Group_2__1" + // InternalRDL.g:2064:1: rule__Root__Group_2__1 : rule__Root__Group_2__1__Impl ; + public final void rule__Root__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2068:1: ( rule__Root__Group_2__1__Impl ) + // InternalRDL.g:2069:2: rule__Root__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__Root__Group_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_2__1" + + + // $ANTLR start "rule__Root__Group_2__1__Impl" + // InternalRDL.g:2075:1: rule__Root__Group_2__1__Impl : ( ';' ) ; + public final void rule__Root__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2079:1: ( ( ';' ) ) + // InternalRDL.g:2080:1: ( ';' ) + { + // InternalRDL.g:2080:1: ( ';' ) + // InternalRDL.g:2081:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_2__1__Impl" + + + // $ANTLR start "rule__Root__Group_3__0" + // InternalRDL.g:2091:1: rule__Root__Group_3__0 : rule__Root__Group_3__0__Impl rule__Root__Group_3__1 ; + public final void rule__Root__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2095:1: ( rule__Root__Group_3__0__Impl rule__Root__Group_3__1 ) + // InternalRDL.g:2096:2: rule__Root__Group_3__0__Impl rule__Root__Group_3__1 + { + pushFollow(FOLLOW_4); + rule__Root__Group_3__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Root__Group_3__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_3__0" + + + // $ANTLR start "rule__Root__Group_3__0__Impl" + // InternalRDL.g:2103:1: rule__Root__Group_3__0__Impl : ( ( rule__Root__InstantiationsAssignment_3_0 ) ) ; + public final void rule__Root__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2107:1: ( ( ( rule__Root__InstantiationsAssignment_3_0 ) ) ) + // InternalRDL.g:2108:1: ( ( rule__Root__InstantiationsAssignment_3_0 ) ) + { + // InternalRDL.g:2108:1: ( ( rule__Root__InstantiationsAssignment_3_0 ) ) + // InternalRDL.g:2109:2: ( rule__Root__InstantiationsAssignment_3_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0()); + } + // InternalRDL.g:2110:2: ( rule__Root__InstantiationsAssignment_3_0 ) + // InternalRDL.g:2110:3: rule__Root__InstantiationsAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__Root__InstantiationsAssignment_3_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getInstantiationsAssignment_3_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_3__0__Impl" + + + // $ANTLR start "rule__Root__Group_3__1" + // InternalRDL.g:2118:1: rule__Root__Group_3__1 : rule__Root__Group_3__1__Impl ; + public final void rule__Root__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2122:1: ( rule__Root__Group_3__1__Impl ) + // InternalRDL.g:2123:2: rule__Root__Group_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__Root__Group_3__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_3__1" + + + // $ANTLR start "rule__Root__Group_3__1__Impl" + // InternalRDL.g:2129:1: rule__Root__Group_3__1__Impl : ( ';' ) ; + public final void rule__Root__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2133:1: ( ( ';' ) ) + // InternalRDL.g:2134:1: ( ';' ) + { + // InternalRDL.g:2134:1: ( ';' ) + // InternalRDL.g:2135:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_3__1__Impl" + + + // $ANTLR start "rule__Root__Group_4__0" + // InternalRDL.g:2145:1: rule__Root__Group_4__0 : rule__Root__Group_4__0__Impl rule__Root__Group_4__1 ; + public final void rule__Root__Group_4__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2149:1: ( rule__Root__Group_4__0__Impl rule__Root__Group_4__1 ) + // InternalRDL.g:2150:2: rule__Root__Group_4__0__Impl rule__Root__Group_4__1 + { + pushFollow(FOLLOW_4); + rule__Root__Group_4__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Root__Group_4__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_4__0" + + + // $ANTLR start "rule__Root__Group_4__0__Impl" + // InternalRDL.g:2157:1: rule__Root__Group_4__0__Impl : ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) ) ; + public final void rule__Root__Group_4__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2161:1: ( ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) ) ) + // InternalRDL.g:2162:1: ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) ) + { + // InternalRDL.g:2162:1: ( ( rule__Root__PropertyAssignmentsAssignment_4_0 ) ) + // InternalRDL.g:2163:2: ( rule__Root__PropertyAssignmentsAssignment_4_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0()); + } + // InternalRDL.g:2164:2: ( rule__Root__PropertyAssignmentsAssignment_4_0 ) + // InternalRDL.g:2164:3: rule__Root__PropertyAssignmentsAssignment_4_0 + { + pushFollow(FOLLOW_2); + rule__Root__PropertyAssignmentsAssignment_4_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getPropertyAssignmentsAssignment_4_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_4__0__Impl" + + + // $ANTLR start "rule__Root__Group_4__1" + // InternalRDL.g:2172:1: rule__Root__Group_4__1 : rule__Root__Group_4__1__Impl ; + public final void rule__Root__Group_4__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2176:1: ( rule__Root__Group_4__1__Impl ) + // InternalRDL.g:2177:2: rule__Root__Group_4__1__Impl + { + pushFollow(FOLLOW_2); + rule__Root__Group_4__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_4__1" + + + // $ANTLR start "rule__Root__Group_4__1__Impl" + // InternalRDL.g:2183:1: rule__Root__Group_4__1__Impl : ( ';' ) ; + public final void rule__Root__Group_4__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2187:1: ( ( ';' ) ) + // InternalRDL.g:2188:1: ( ';' ) + { + // InternalRDL.g:2188:1: ( ';' ) + // InternalRDL.g:2189:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_4__1__Impl" + + + // $ANTLR start "rule__Root__Group_5__0" + // InternalRDL.g:2199:1: rule__Root__Group_5__0 : rule__Root__Group_5__0__Impl rule__Root__Group_5__1 ; + public final void rule__Root__Group_5__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2203:1: ( rule__Root__Group_5__0__Impl rule__Root__Group_5__1 ) + // InternalRDL.g:2204:2: rule__Root__Group_5__0__Impl rule__Root__Group_5__1 + { + pushFollow(FOLLOW_4); + rule__Root__Group_5__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Root__Group_5__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_5__0" + + + // $ANTLR start "rule__Root__Group_5__0__Impl" + // InternalRDL.g:2211:1: rule__Root__Group_5__0__Impl : ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) ) ; + public final void rule__Root__Group_5__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2215:1: ( ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) ) ) + // InternalRDL.g:2216:1: ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) ) + { + // InternalRDL.g:2216:1: ( ( rule__Root__PropertyDefinitionsAssignment_5_0 ) ) + // InternalRDL.g:2217:2: ( rule__Root__PropertyDefinitionsAssignment_5_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0()); + } + // InternalRDL.g:2218:2: ( rule__Root__PropertyDefinitionsAssignment_5_0 ) + // InternalRDL.g:2218:3: rule__Root__PropertyDefinitionsAssignment_5_0 + { + pushFollow(FOLLOW_2); + rule__Root__PropertyDefinitionsAssignment_5_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getPropertyDefinitionsAssignment_5_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_5__0__Impl" + + + // $ANTLR start "rule__Root__Group_5__1" + // InternalRDL.g:2226:1: rule__Root__Group_5__1 : rule__Root__Group_5__1__Impl ; + public final void rule__Root__Group_5__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2230:1: ( rule__Root__Group_5__1__Impl ) + // InternalRDL.g:2231:2: rule__Root__Group_5__1__Impl + { + pushFollow(FOLLOW_2); + rule__Root__Group_5__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_5__1" + + + // $ANTLR start "rule__Root__Group_5__1__Impl" + // InternalRDL.g:2237:1: rule__Root__Group_5__1__Impl : ( ';' ) ; + public final void rule__Root__Group_5__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2241:1: ( ( ';' ) ) + // InternalRDL.g:2242:1: ( ';' ) + { + // InternalRDL.g:2242:1: ( ';' ) + // InternalRDL.g:2243:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__Group_5__1__Impl" + + + // $ANTLR start "rule__Include__Group__0" + // InternalRDL.g:2253:1: rule__Include__Group__0 : rule__Include__Group__0__Impl rule__Include__Group__1 ; + public final void rule__Include__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2257:1: ( rule__Include__Group__0__Impl rule__Include__Group__1 ) + // InternalRDL.g:2258:2: rule__Include__Group__0__Impl rule__Include__Group__1 + { + pushFollow(FOLLOW_5); + rule__Include__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Include__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2265:1: rule__Include__Group__0__Impl : ( '`include' ) ; + public final void rule__Include__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2269:1: ( ( '`include' ) ) + // InternalRDL.g:2270:1: ( '`include' ) + { + // InternalRDL.g:2270:1: ( '`include' ) + // InternalRDL.g:2271:2: '`include' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + } + match(input,114,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + } + + } + + + } + + } + 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:2280:1: rule__Include__Group__1 : rule__Include__Group__1__Impl ; + public final void rule__Include__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2284:1: ( rule__Include__Group__1__Impl ) + // InternalRDL.g:2285:2: rule__Include__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Include__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2291:1: rule__Include__Group__1__Impl : ( ( rule__Include__ImportURIAssignment_1 ) ) ; + public final void rule__Include__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2295:1: ( ( ( rule__Include__ImportURIAssignment_1 ) ) ) + // InternalRDL.g:2296:1: ( ( rule__Include__ImportURIAssignment_1 ) ) + { + // InternalRDL.g:2296:1: ( ( rule__Include__ImportURIAssignment_1 ) ) + // InternalRDL.g:2297:2: ( rule__Include__ImportURIAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIncludeAccess().getImportURIAssignment_1()); + } + // InternalRDL.g:2298:2: ( rule__Include__ImportURIAssignment_1 ) + // InternalRDL.g:2298:3: rule__Include__ImportURIAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Include__ImportURIAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2307:1: rule__PropertyDefinition__Group__0 : rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 ; + public final void rule__PropertyDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2311:1: ( rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 ) + // InternalRDL.g:2312:2: rule__PropertyDefinition__Group__0__Impl rule__PropertyDefinition__Group__1 + { + pushFollow(FOLLOW_6); + rule__PropertyDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2319:1: rule__PropertyDefinition__Group__0__Impl : ( 'property' ) ; + public final void rule__PropertyDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2323:1: ( ( 'property' ) ) + // InternalRDL.g:2324:1: ( 'property' ) + { + // InternalRDL.g:2324:1: ( 'property' ) + // InternalRDL.g:2325:2: 'property' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); + } + match(input,115,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); + } + + } + + + } + + } + 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:2334:1: rule__PropertyDefinition__Group__1 : rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 ; + public final void rule__PropertyDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2338:1: ( rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 ) + // InternalRDL.g:2339:2: rule__PropertyDefinition__Group__1__Impl rule__PropertyDefinition__Group__2 + { + pushFollow(FOLLOW_7); + rule__PropertyDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2346:1: rule__PropertyDefinition__Group__1__Impl : ( ( rule__PropertyDefinition__NameAssignment_1 ) ) ; + public final void rule__PropertyDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2350:1: ( ( ( rule__PropertyDefinition__NameAssignment_1 ) ) ) + // InternalRDL.g:2351:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) ) + { + // InternalRDL.g:2351:1: ( ( rule__PropertyDefinition__NameAssignment_1 ) ) + // InternalRDL.g:2352:2: ( rule__PropertyDefinition__NameAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getNameAssignment_1()); + } + // InternalRDL.g:2353:2: ( rule__PropertyDefinition__NameAssignment_1 ) + // InternalRDL.g:2353:3: rule__PropertyDefinition__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__NameAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2361:1: rule__PropertyDefinition__Group__2 : rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 ; + public final void rule__PropertyDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2365:1: ( rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 ) + // InternalRDL.g:2366:2: rule__PropertyDefinition__Group__2__Impl rule__PropertyDefinition__Group__3 + { + pushFollow(FOLLOW_8); + rule__PropertyDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2373:1: rule__PropertyDefinition__Group__2__Impl : ( '{' ) ; + public final void rule__PropertyDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2377:1: ( ( '{' ) ) + // InternalRDL.g:2378:1: ( '{' ) + { + // InternalRDL.g:2378:1: ( '{' ) + // InternalRDL.g:2379:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); + } + match(input,116,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); + } + + } + + + } + + } + 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:2388:1: rule__PropertyDefinition__Group__3 : rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 ; + public final void rule__PropertyDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2392:1: ( rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 ) + // InternalRDL.g:2393:2: rule__PropertyDefinition__Group__3__Impl rule__PropertyDefinition__Group__4 + { + pushFollow(FOLLOW_9); + rule__PropertyDefinition__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2400:1: rule__PropertyDefinition__Group__3__Impl : ( ( rule__PropertyDefinition__Alternatives_3 ) ) ; + public final void rule__PropertyDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2404:1: ( ( ( rule__PropertyDefinition__Alternatives_3 ) ) ) + // InternalRDL.g:2405:1: ( ( rule__PropertyDefinition__Alternatives_3 ) ) + { + // InternalRDL.g:2405:1: ( ( rule__PropertyDefinition__Alternatives_3 ) ) + // InternalRDL.g:2406:2: ( rule__PropertyDefinition__Alternatives_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3()); + } + // InternalRDL.g:2407:2: ( rule__PropertyDefinition__Alternatives_3 ) + // InternalRDL.g:2407:3: rule__PropertyDefinition__Alternatives_3 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2415:1: rule__PropertyDefinition__Group__4 : rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 ; + public final void rule__PropertyDefinition__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2419:1: ( rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 ) + // InternalRDL.g:2420:2: rule__PropertyDefinition__Group__4__Impl rule__PropertyDefinition__Group__5 + { + pushFollow(FOLLOW_4); + rule__PropertyDefinition__Group__4__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__5(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2427:1: rule__PropertyDefinition__Group__4__Impl : ( '}' ) ; + public final void rule__PropertyDefinition__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2431:1: ( ( '}' ) ) + // InternalRDL.g:2432:1: ( '}' ) + { + // InternalRDL.g:2432:1: ( '}' ) + // InternalRDL.g:2433:2: '}' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + } + match(input,117,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + } + + } + + + } + + } + 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:2442:1: rule__PropertyDefinition__Group__5 : rule__PropertyDefinition__Group__5__Impl ; + public final void rule__PropertyDefinition__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2446:1: ( rule__PropertyDefinition__Group__5__Impl ) + // InternalRDL.g:2447:2: rule__PropertyDefinition__Group__5__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group__5__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2453:1: rule__PropertyDefinition__Group__5__Impl : ( ';' ) ; + public final void rule__PropertyDefinition__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2457:1: ( ( ';' ) ) + // InternalRDL.g:2458:1: ( ';' ) + { + // InternalRDL.g:2458:1: ( ';' ) + // InternalRDL.g:2459:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + } + + } + + + } + + } + 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:2469:1: rule__PropertyDefinition__Group_3_0__0 : rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 ; + public final void rule__PropertyDefinition__Group_3_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2473:1: ( rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 ) + // InternalRDL.g:2474:2: rule__PropertyDefinition__Group_3_0__0__Impl rule__PropertyDefinition__Group_3_0__1 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2481:1: rule__PropertyDefinition__Group_3_0__0__Impl : ( 'type' ) ; + public final void rule__PropertyDefinition__Group_3_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2485:1: ( ( 'type' ) ) + // InternalRDL.g:2486:1: ( 'type' ) + { + // InternalRDL.g:2486:1: ( 'type' ) + // InternalRDL.g:2487:2: 'type' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + } + match(input,118,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + } + + } + + + } + + } + 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:2496:1: rule__PropertyDefinition__Group_3_0__1 : rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 ; + public final void rule__PropertyDefinition__Group_3_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2500:1: ( rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 ) + // InternalRDL.g:2501:2: rule__PropertyDefinition__Group_3_0__1__Impl rule__PropertyDefinition__Group_3_0__2 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2508:1: rule__PropertyDefinition__Group_3_0__1__Impl : ( '=' ) ; + public final void rule__PropertyDefinition__Group_3_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2512:1: ( ( '=' ) ) + // InternalRDL.g:2513:1: ( '=' ) + { + // InternalRDL.g:2513:1: ( '=' ) + // InternalRDL.g:2514:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); + } + + } + + + } + + } + 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:2523:1: rule__PropertyDefinition__Group_3_0__2 : rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 ; + public final void rule__PropertyDefinition__Group_3_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2527:1: ( rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 ) + // InternalRDL.g:2528:2: rule__PropertyDefinition__Group_3_0__2__Impl rule__PropertyDefinition__Group_3_0__3 + { + pushFollow(FOLLOW_4); + rule__PropertyDefinition__Group_3_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2535:1: rule__PropertyDefinition__Group_3_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) ; + public final void rule__PropertyDefinition__Group_3_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2539:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) ) + // InternalRDL.g:2540:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) + { + // InternalRDL.g:2540:1: ( ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) ) + // InternalRDL.g:2541:2: ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_0_2()); + } + // InternalRDL.g:2542:2: ( rule__PropertyDefinition__TypeAssignment_3_0_2 ) + // InternalRDL.g:2542:3: rule__PropertyDefinition__TypeAssignment_3_0_2 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2550:1: rule__PropertyDefinition__Group_3_0__3 : rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 ; + public final void rule__PropertyDefinition__Group_3_0__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2554:1: ( rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 ) + // InternalRDL.g:2555:2: rule__PropertyDefinition__Group_3_0__3__Impl rule__PropertyDefinition__Group_3_0__4 + { + pushFollow(FOLLOW_8); + rule__PropertyDefinition__Group_3_0__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2562:1: rule__PropertyDefinition__Group_3_0__3__Impl : ( ';' ) ; + public final void rule__PropertyDefinition__Group_3_0__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2566:1: ( ( ';' ) ) + // InternalRDL.g:2567:1: ( ';' ) + { + // InternalRDL.g:2567:1: ( ';' ) + // InternalRDL.g:2568:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); + } + + } + + + } + + } + 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:2577:1: rule__PropertyDefinition__Group_3_0__4 : rule__PropertyDefinition__Group_3_0__4__Impl ; + public final void rule__PropertyDefinition__Group_3_0__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2581:1: ( rule__PropertyDefinition__Group_3_0__4__Impl ) + // InternalRDL.g:2582:2: rule__PropertyDefinition__Group_3_0__4__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2588:1: rule__PropertyDefinition__Group_3_0__4__Impl : ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) ; + public final void rule__PropertyDefinition__Group_3_0__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2592:1: ( ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) ) + // InternalRDL.g:2593:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) + { + // InternalRDL.g:2593:1: ( ( rule__PropertyDefinition__Alternatives_3_0_4 ) ) + // InternalRDL.g:2594:2: ( rule__PropertyDefinition__Alternatives_3_0_4 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_0_4()); + } + // InternalRDL.g:2595:2: ( rule__PropertyDefinition__Alternatives_3_0_4 ) + // InternalRDL.g:2595:3: rule__PropertyDefinition__Alternatives_3_0_4 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3_0_4(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2604:1: rule__PropertyDefinition__Group_3_0_4_0__0 : rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 ; + public final void rule__PropertyDefinition__Group_3_0_4_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2608:1: ( rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 ) + // InternalRDL.g:2609:2: rule__PropertyDefinition__Group_3_0_4_0__0__Impl rule__PropertyDefinition__Group_3_0_4_0__1 + { + pushFollow(FOLLOW_8); + rule__PropertyDefinition__Group_3_0_4_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2616:1: rule__PropertyDefinition__Group_3_0_4_0__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) ; + public final void rule__PropertyDefinition__Group_3_0_4_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2620:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) ) + // InternalRDL.g:2621:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) + { + // InternalRDL.g:2621:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) ) + // InternalRDL.g:2622:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_0_0()); + } + // InternalRDL.g:2623:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 ) + // InternalRDL.g:2623:3: rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_0_4_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2631:1: rule__PropertyDefinition__Group_3_0_4_0__1 : rule__PropertyDefinition__Group_3_0_4_0__1__Impl ; + public final void rule__PropertyDefinition__Group_3_0_4_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2635:1: ( rule__PropertyDefinition__Group_3_0_4_0__1__Impl ) + // InternalRDL.g:2636:2: rule__PropertyDefinition__Group_3_0_4_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2642:1: rule__PropertyDefinition__Group_3_0_4_0__1__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) ; + public final void rule__PropertyDefinition__Group_3_0_4_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2646:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) ) + // InternalRDL.g:2647:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) + { + // InternalRDL.g:2647:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? ) + // InternalRDL.g:2648:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_0_1()); + } + // InternalRDL.g:2649:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 )? + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==120) ) { + alt27=1; + } + switch (alt27) { + case 1 : + // InternalRDL.g:2649:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:2658:1: rule__PropertyDefinition__Group_3_0_4_1__0 : rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 ; + public final void rule__PropertyDefinition__Group_3_0_4_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2662:1: ( rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 ) + // InternalRDL.g:2663:2: rule__PropertyDefinition__Group_3_0_4_1__0__Impl rule__PropertyDefinition__Group_3_0_4_1__1 + { + pushFollow(FOLLOW_12); + rule__PropertyDefinition__Group_3_0_4_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2670:1: rule__PropertyDefinition__Group_3_0_4_1__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) ; + public final void rule__PropertyDefinition__Group_3_0_4_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2674:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) ) + // InternalRDL.g:2675:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) + { + // InternalRDL.g:2675:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) ) + // InternalRDL.g:2676:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_0_4_1_0()); + } + // InternalRDL.g:2677:2: ( rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 ) + // InternalRDL.g:2677:3: rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2685:1: rule__PropertyDefinition__Group_3_0_4_1__1 : rule__PropertyDefinition__Group_3_0_4_1__1__Impl ; + public final void rule__PropertyDefinition__Group_3_0_4_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2689:1: ( rule__PropertyDefinition__Group_3_0_4_1__1__Impl ) + // InternalRDL.g:2690:2: rule__PropertyDefinition__Group_3_0_4_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_0_4_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2696:1: rule__PropertyDefinition__Group_3_0_4_1__1__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) ; + public final void rule__PropertyDefinition__Group_3_0_4_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2700:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) ) + // InternalRDL.g:2701:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) + { + // InternalRDL.g:2701:1: ( ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) ) + // InternalRDL.g:2702:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_0_4_1_1()); + } + // InternalRDL.g:2703:2: ( rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 ) + // InternalRDL.g:2703:3: rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_0_4_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2712:1: rule__PropertyDefinition__Group_3_1__0 : rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 ; + public final void rule__PropertyDefinition__Group_3_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2716:1: ( rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 ) + // InternalRDL.g:2717:2: rule__PropertyDefinition__Group_3_1__0__Impl rule__PropertyDefinition__Group_3_1__1 + { + pushFollow(FOLLOW_8); + rule__PropertyDefinition__Group_3_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2724:1: rule__PropertyDefinition__Group_3_1__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) ; + public final void rule__PropertyDefinition__Group_3_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2728:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) ) + // InternalRDL.g:2729:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) + { + // InternalRDL.g:2729:1: ( ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) ) + // InternalRDL.g:2730:2: ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_1_0()); + } + // InternalRDL.g:2731:2: ( rule__PropertyDefinition__UsageAssignment_3_1_0 ) + // InternalRDL.g:2731:3: rule__PropertyDefinition__UsageAssignment_3_1_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2739:1: rule__PropertyDefinition__Group_3_1__1 : rule__PropertyDefinition__Group_3_1__1__Impl ; + public final void rule__PropertyDefinition__Group_3_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2743:1: ( rule__PropertyDefinition__Group_3_1__1__Impl ) + // InternalRDL.g:2744:2: rule__PropertyDefinition__Group_3_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2750:1: rule__PropertyDefinition__Group_3_1__1__Impl : ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) ; + public final void rule__PropertyDefinition__Group_3_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2754:1: ( ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) ) + // InternalRDL.g:2755:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) + { + // InternalRDL.g:2755:1: ( ( rule__PropertyDefinition__Alternatives_3_1_1 ) ) + // InternalRDL.g:2756:2: ( rule__PropertyDefinition__Alternatives_3_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_1_1()); + } + // InternalRDL.g:2757:2: ( rule__PropertyDefinition__Alternatives_3_1_1 ) + // InternalRDL.g:2757:3: rule__PropertyDefinition__Alternatives_3_1_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2766:1: rule__PropertyDefinition__Group_3_1_1_0__0 : rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 ; + public final void rule__PropertyDefinition__Group_3_1_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2770:1: ( rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 ) + // InternalRDL.g:2771:2: rule__PropertyDefinition__Group_3_1_1_0__0__Impl rule__PropertyDefinition__Group_3_1_1_0__1 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_1_1_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2778:1: rule__PropertyDefinition__Group_3_1_1_0__0__Impl : ( 'type' ) ; + public final void rule__PropertyDefinition__Group_3_1_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2782:1: ( ( 'type' ) ) + // InternalRDL.g:2783:1: ( 'type' ) + { + // InternalRDL.g:2783:1: ( 'type' ) + // InternalRDL.g:2784:2: 'type' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + } + match(input,118,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + } + + } + + + } + + } + 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:2793:1: rule__PropertyDefinition__Group_3_1_1_0__1 : rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 ; + public final void rule__PropertyDefinition__Group_3_1_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2797:1: ( rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 ) + // InternalRDL.g:2798:2: rule__PropertyDefinition__Group_3_1_1_0__1__Impl rule__PropertyDefinition__Group_3_1_1_0__2 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_1_1_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2805:1: rule__PropertyDefinition__Group_3_1_1_0__1__Impl : ( '=' ) ; + public final void rule__PropertyDefinition__Group_3_1_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2809:1: ( ( '=' ) ) + // InternalRDL.g:2810:1: ( '=' ) + { + // InternalRDL.g:2810:1: ( '=' ) + // InternalRDL.g:2811:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); + } + + } + + + } + + } + 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:2820:1: rule__PropertyDefinition__Group_3_1_1_0__2 : rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 ; + public final void rule__PropertyDefinition__Group_3_1_1_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2824:1: ( rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 ) + // InternalRDL.g:2825:2: rule__PropertyDefinition__Group_3_1_1_0__2__Impl rule__PropertyDefinition__Group_3_1_1_0__3 + { + pushFollow(FOLLOW_4); + rule__PropertyDefinition__Group_3_1_1_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2832:1: rule__PropertyDefinition__Group_3_1_1_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) ; + public final void rule__PropertyDefinition__Group_3_1_1_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2836:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) ) + // InternalRDL.g:2837:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) + { + // InternalRDL.g:2837:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) ) + // InternalRDL.g:2838:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_0_2()); + } + // InternalRDL.g:2839:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 ) + // InternalRDL.g:2839:3: rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_1_1_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2847:1: rule__PropertyDefinition__Group_3_1_1_0__3 : rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 ; + public final void rule__PropertyDefinition__Group_3_1_1_0__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2851:1: ( rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 ) + // InternalRDL.g:2852:2: rule__PropertyDefinition__Group_3_1_1_0__3__Impl rule__PropertyDefinition__Group_3_1_1_0__4 + { + pushFollow(FOLLOW_8); + rule__PropertyDefinition__Group_3_1_1_0__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2859:1: rule__PropertyDefinition__Group_3_1_1_0__3__Impl : ( ';' ) ; + public final void rule__PropertyDefinition__Group_3_1_1_0__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2863:1: ( ( ';' ) ) + // InternalRDL.g:2864:1: ( ';' ) + { + // InternalRDL.g:2864:1: ( ';' ) + // InternalRDL.g:2865:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + } + + } + + + } + + } + 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:2874:1: rule__PropertyDefinition__Group_3_1_1_0__4 : rule__PropertyDefinition__Group_3_1_1_0__4__Impl ; + public final void rule__PropertyDefinition__Group_3_1_1_0__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2878:1: ( rule__PropertyDefinition__Group_3_1_1_0__4__Impl ) + // InternalRDL.g:2879:2: rule__PropertyDefinition__Group_3_1_1_0__4__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_0__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2885:1: rule__PropertyDefinition__Group_3_1_1_0__4__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) ; + public final void rule__PropertyDefinition__Group_3_1_1_0__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2889:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) ) + // InternalRDL.g:2890:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) + { + // InternalRDL.g:2890:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? ) + // InternalRDL.g:2891:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_0_4()); + } + // InternalRDL.g:2892:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 )? + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==120) ) { + alt28=1; + } + switch (alt28) { + case 1 : + // InternalRDL.g:2892:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:2901:1: rule__PropertyDefinition__Group_3_1_1_1__0 : rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 ; + public final void rule__PropertyDefinition__Group_3_1_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2905:1: ( rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 ) + // InternalRDL.g:2906:2: rule__PropertyDefinition__Group_3_1_1_1__0__Impl rule__PropertyDefinition__Group_3_1_1_1__1 + { + pushFollow(FOLLOW_13); + rule__PropertyDefinition__Group_3_1_1_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2913:1: rule__PropertyDefinition__Group_3_1_1_1__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) ; + public final void rule__PropertyDefinition__Group_3_1_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2917:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) ) + // InternalRDL.g:2918:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) + { + // InternalRDL.g:2918:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) ) + // InternalRDL.g:2919:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_1_1_1_0()); + } + // InternalRDL.g:2920:2: ( rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 ) + // InternalRDL.g:2920:3: rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:2928:1: rule__PropertyDefinition__Group_3_1_1_1__1 : rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 ; + public final void rule__PropertyDefinition__Group_3_1_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2932:1: ( rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 ) + // InternalRDL.g:2933:2: rule__PropertyDefinition__Group_3_1_1_1__1__Impl rule__PropertyDefinition__Group_3_1_1_1__2 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_1_1_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2940:1: rule__PropertyDefinition__Group_3_1_1_1__1__Impl : ( 'type' ) ; + public final void rule__PropertyDefinition__Group_3_1_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2944:1: ( ( 'type' ) ) + // InternalRDL.g:2945:1: ( 'type' ) + { + // InternalRDL.g:2945:1: ( 'type' ) + // InternalRDL.g:2946:2: 'type' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + } + match(input,118,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + } + + } + + + } + + } + 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:2955:1: rule__PropertyDefinition__Group_3_1_1_1__2 : rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 ; + public final void rule__PropertyDefinition__Group_3_1_1_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2959:1: ( rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 ) + // InternalRDL.g:2960:2: rule__PropertyDefinition__Group_3_1_1_1__2__Impl rule__PropertyDefinition__Group_3_1_1_1__3 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_1_1_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2967:1: rule__PropertyDefinition__Group_3_1_1_1__2__Impl : ( '=' ) ; + public final void rule__PropertyDefinition__Group_3_1_1_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2971:1: ( ( '=' ) ) + // InternalRDL.g:2972:1: ( '=' ) + { + // InternalRDL.g:2972:1: ( '=' ) + // InternalRDL.g:2973:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); + } + + } + + + } + + } + 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:2982:1: rule__PropertyDefinition__Group_3_1_1_1__3 : rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 ; + public final void rule__PropertyDefinition__Group_3_1_1_1__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2986:1: ( rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 ) + // InternalRDL.g:2987:2: rule__PropertyDefinition__Group_3_1_1_1__3__Impl rule__PropertyDefinition__Group_3_1_1_1__4 + { + pushFollow(FOLLOW_4); + rule__PropertyDefinition__Group_3_1_1_1__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:2994:1: rule__PropertyDefinition__Group_3_1_1_1__3__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) ; + public final void rule__PropertyDefinition__Group_3_1_1_1__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:2998:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) ) + // InternalRDL.g:2999:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) + { + // InternalRDL.g:2999:1: ( ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) ) + // InternalRDL.g:3000:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_1_1_1_3()); + } + // InternalRDL.g:3001:2: ( rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 ) + // InternalRDL.g:3001:3: rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_1_1_1_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3009:1: rule__PropertyDefinition__Group_3_1_1_1__4 : rule__PropertyDefinition__Group_3_1_1_1__4__Impl ; + public final void rule__PropertyDefinition__Group_3_1_1_1__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3013:1: ( rule__PropertyDefinition__Group_3_1_1_1__4__Impl ) + // InternalRDL.g:3014:2: rule__PropertyDefinition__Group_3_1_1_1__4__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_1_1_1__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3020:1: rule__PropertyDefinition__Group_3_1_1_1__4__Impl : ( ';' ) ; + public final void rule__PropertyDefinition__Group_3_1_1_1__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3024:1: ( ( ';' ) ) + // InternalRDL.g:3025:1: ( ';' ) + { + // InternalRDL.g:3025:1: ( ';' ) + // InternalRDL.g:3026:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + } + + } + + + } + + } + 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:3036:1: rule__PropertyDefinition__Group_3_2__0 : rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 ; + public final void rule__PropertyDefinition__Group_3_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3040:1: ( rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 ) + // InternalRDL.g:3041:2: rule__PropertyDefinition__Group_3_2__0__Impl rule__PropertyDefinition__Group_3_2__1 + { + pushFollow(FOLLOW_14); + rule__PropertyDefinition__Group_3_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3048:1: rule__PropertyDefinition__Group_3_2__0__Impl : ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) ; + public final void rule__PropertyDefinition__Group_3_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3052:1: ( ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) ) + // InternalRDL.g:3053:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) + { + // InternalRDL.g:3053:1: ( ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) ) + // InternalRDL.g:3054:2: ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultAssignment_3_2_0()); + } + // InternalRDL.g:3055:2: ( rule__PropertyDefinition__DefaultAssignment_3_2_0 ) + // InternalRDL.g:3055:3: rule__PropertyDefinition__DefaultAssignment_3_2_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__DefaultAssignment_3_2_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3063:1: rule__PropertyDefinition__Group_3_2__1 : rule__PropertyDefinition__Group_3_2__1__Impl ; + public final void rule__PropertyDefinition__Group_3_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3067:1: ( rule__PropertyDefinition__Group_3_2__1__Impl ) + // InternalRDL.g:3068:2: rule__PropertyDefinition__Group_3_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3074:1: rule__PropertyDefinition__Group_3_2__1__Impl : ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) ; + public final void rule__PropertyDefinition__Group_3_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3078:1: ( ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) ) + // InternalRDL.g:3079:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) + { + // InternalRDL.g:3079:1: ( ( rule__PropertyDefinition__Alternatives_3_2_1 ) ) + // InternalRDL.g:3080:2: ( rule__PropertyDefinition__Alternatives_3_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getAlternatives_3_2_1()); + } + // InternalRDL.g:3081:2: ( rule__PropertyDefinition__Alternatives_3_2_1 ) + // InternalRDL.g:3081:3: rule__PropertyDefinition__Alternatives_3_2_1 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Alternatives_3_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3090:1: rule__PropertyDefinition__Group_3_2_1_0__0 : rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 ; + public final void rule__PropertyDefinition__Group_3_2_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3094:1: ( rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 ) + // InternalRDL.g:3095:2: rule__PropertyDefinition__Group_3_2_1_0__0__Impl rule__PropertyDefinition__Group_3_2_1_0__1 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_2_1_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3102:1: rule__PropertyDefinition__Group_3_2_1_0__0__Impl : ( 'type' ) ; + public final void rule__PropertyDefinition__Group_3_2_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3106:1: ( ( 'type' ) ) + // InternalRDL.g:3107:1: ( 'type' ) + { + // InternalRDL.g:3107:1: ( 'type' ) + // InternalRDL.g:3108:2: 'type' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + } + match(input,118,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + } + + } + + + } + + } + 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:3117:1: rule__PropertyDefinition__Group_3_2_1_0__1 : rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 ; + public final void rule__PropertyDefinition__Group_3_2_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3121:1: ( rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 ) + // InternalRDL.g:3122:2: rule__PropertyDefinition__Group_3_2_1_0__1__Impl rule__PropertyDefinition__Group_3_2_1_0__2 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_2_1_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3129:1: rule__PropertyDefinition__Group_3_2_1_0__1__Impl : ( '=' ) ; + public final void rule__PropertyDefinition__Group_3_2_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3133:1: ( ( '=' ) ) + // InternalRDL.g:3134:1: ( '=' ) + { + // InternalRDL.g:3134:1: ( '=' ) + // InternalRDL.g:3135:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); + } + + } + + + } + + } + 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:3144:1: rule__PropertyDefinition__Group_3_2_1_0__2 : rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 ; + public final void rule__PropertyDefinition__Group_3_2_1_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3148:1: ( rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 ) + // InternalRDL.g:3149:2: rule__PropertyDefinition__Group_3_2_1_0__2__Impl rule__PropertyDefinition__Group_3_2_1_0__3 + { + pushFollow(FOLLOW_4); + rule__PropertyDefinition__Group_3_2_1_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3156:1: rule__PropertyDefinition__Group_3_2_1_0__2__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) ; + public final void rule__PropertyDefinition__Group_3_2_1_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3160:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) ) + // InternalRDL.g:3161:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) + { + // InternalRDL.g:3161:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) ) + // InternalRDL.g:3162:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_0_2()); + } + // InternalRDL.g:3163:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 ) + // InternalRDL.g:3163:3: rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_2_1_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3171:1: rule__PropertyDefinition__Group_3_2_1_0__3 : rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 ; + public final void rule__PropertyDefinition__Group_3_2_1_0__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3175:1: ( rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 ) + // InternalRDL.g:3176:2: rule__PropertyDefinition__Group_3_2_1_0__3__Impl rule__PropertyDefinition__Group_3_2_1_0__4 + { + pushFollow(FOLLOW_12); + rule__PropertyDefinition__Group_3_2_1_0__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3183:1: rule__PropertyDefinition__Group_3_2_1_0__3__Impl : ( ';' ) ; + public final void rule__PropertyDefinition__Group_3_2_1_0__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3187:1: ( ( ';' ) ) + // InternalRDL.g:3188:1: ( ';' ) + { + // InternalRDL.g:3188:1: ( ';' ) + // InternalRDL.g:3189:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); + } + + } + + + } + + } + 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:3198:1: rule__PropertyDefinition__Group_3_2_1_0__4 : rule__PropertyDefinition__Group_3_2_1_0__4__Impl ; + public final void rule__PropertyDefinition__Group_3_2_1_0__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3202:1: ( rule__PropertyDefinition__Group_3_2_1_0__4__Impl ) + // InternalRDL.g:3203:2: rule__PropertyDefinition__Group_3_2_1_0__4__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_0__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3209:1: rule__PropertyDefinition__Group_3_2_1_0__4__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) ; + public final void rule__PropertyDefinition__Group_3_2_1_0__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3213:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) ) + // InternalRDL.g:3214:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) + { + // InternalRDL.g:3214:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) ) + // InternalRDL.g:3215:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_0_4()); + } + // InternalRDL.g:3216:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 ) + // InternalRDL.g:3216:3: rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_2_1_0_4(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3225:1: rule__PropertyDefinition__Group_3_2_1_1__0 : rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 ; + public final void rule__PropertyDefinition__Group_3_2_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3229:1: ( rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 ) + // InternalRDL.g:3230:2: rule__PropertyDefinition__Group_3_2_1_1__0__Impl rule__PropertyDefinition__Group_3_2_1_1__1 + { + pushFollow(FOLLOW_13); + rule__PropertyDefinition__Group_3_2_1_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3237:1: rule__PropertyDefinition__Group_3_2_1_1__0__Impl : ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) ; + public final void rule__PropertyDefinition__Group_3_2_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3241:1: ( ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) ) + // InternalRDL.g:3242:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) + { + // InternalRDL.g:3242:1: ( ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) ) + // InternalRDL.g:3243:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsageAssignment_3_2_1_1_0()); + } + // InternalRDL.g:3244:2: ( rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 ) + // InternalRDL.g:3244:3: rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__UsageAssignment_3_2_1_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3252:1: rule__PropertyDefinition__Group_3_2_1_1__1 : rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 ; + public final void rule__PropertyDefinition__Group_3_2_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3256:1: ( rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 ) + // InternalRDL.g:3257:2: rule__PropertyDefinition__Group_3_2_1_1__1__Impl rule__PropertyDefinition__Group_3_2_1_1__2 + { + pushFollow(FOLLOW_10); + rule__PropertyDefinition__Group_3_2_1_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3264:1: rule__PropertyDefinition__Group_3_2_1_1__1__Impl : ( 'type' ) ; + public final void rule__PropertyDefinition__Group_3_2_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3268:1: ( ( 'type' ) ) + // InternalRDL.g:3269:1: ( 'type' ) + { + // InternalRDL.g:3269:1: ( 'type' ) + // InternalRDL.g:3270:2: 'type' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + } + match(input,118,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + } + + } + + + } + + } + 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:3279:1: rule__PropertyDefinition__Group_3_2_1_1__2 : rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 ; + public final void rule__PropertyDefinition__Group_3_2_1_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3283:1: ( rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 ) + // InternalRDL.g:3284:2: rule__PropertyDefinition__Group_3_2_1_1__2__Impl rule__PropertyDefinition__Group_3_2_1_1__3 + { + pushFollow(FOLLOW_11); + rule__PropertyDefinition__Group_3_2_1_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3291:1: rule__PropertyDefinition__Group_3_2_1_1__2__Impl : ( '=' ) ; + public final void rule__PropertyDefinition__Group_3_2_1_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3295:1: ( ( '=' ) ) + // InternalRDL.g:3296:1: ( '=' ) + { + // InternalRDL.g:3296:1: ( '=' ) + // InternalRDL.g:3297:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); + } + + } + + + } + + } + 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:3306:1: rule__PropertyDefinition__Group_3_2_1_1__3 : rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 ; + public final void rule__PropertyDefinition__Group_3_2_1_1__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3310:1: ( rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 ) + // InternalRDL.g:3311:2: rule__PropertyDefinition__Group_3_2_1_1__3__Impl rule__PropertyDefinition__Group_3_2_1_1__4 + { + pushFollow(FOLLOW_4); + rule__PropertyDefinition__Group_3_2_1_1__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3318:1: rule__PropertyDefinition__Group_3_2_1_1__3__Impl : ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) ; + public final void rule__PropertyDefinition__Group_3_2_1_1__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3322:1: ( ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) ) + // InternalRDL.g:3323:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) + { + // InternalRDL.g:3323:1: ( ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) ) + // InternalRDL.g:3324:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypeAssignment_3_2_1_1_3()); + } + // InternalRDL.g:3325:2: ( rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 ) + // InternalRDL.g:3325:3: rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__TypeAssignment_3_2_1_1_3(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3333:1: rule__PropertyDefinition__Group_3_2_1_1__4 : rule__PropertyDefinition__Group_3_2_1_1__4__Impl ; + public final void rule__PropertyDefinition__Group_3_2_1_1__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3337:1: ( rule__PropertyDefinition__Group_3_2_1_1__4__Impl ) + // InternalRDL.g:3338:2: rule__PropertyDefinition__Group_3_2_1_1__4__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefinition__Group_3_2_1_1__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3344:1: rule__PropertyDefinition__Group_3_2_1_1__4__Impl : ( ';' ) ; + public final void rule__PropertyDefinition__Group_3_2_1_1__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3348:1: ( ( ';' ) ) + // InternalRDL.g:3349:1: ( ';' ) + { + // InternalRDL.g:3349:1: ( ';' ) + // InternalRDL.g:3350:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + } + + } + + + } + + } + 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:3360:1: rule__PropertyDefault__Group__0 : rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 ; + public final void rule__PropertyDefault__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3364:1: ( rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 ) + // InternalRDL.g:3365:2: rule__PropertyDefault__Group__0__Impl rule__PropertyDefault__Group__1 + { + pushFollow(FOLLOW_10); + rule__PropertyDefault__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3372:1: rule__PropertyDefault__Group__0__Impl : ( 'default' ) ; + public final void rule__PropertyDefault__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3376:1: ( ( 'default' ) ) + // InternalRDL.g:3377:1: ( 'default' ) + { + // InternalRDL.g:3377:1: ( 'default' ) + // InternalRDL.g:3378:2: 'default' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + } + match(input,120,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + } + + } + + + } + + } + 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:3387:1: rule__PropertyDefault__Group__1 : rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 ; + public final void rule__PropertyDefault__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3391:1: ( rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 ) + // InternalRDL.g:3392:2: rule__PropertyDefault__Group__1__Impl rule__PropertyDefault__Group__2 + { + pushFollow(FOLLOW_15); + rule__PropertyDefault__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3399:1: rule__PropertyDefault__Group__1__Impl : ( '=' ) ; + public final void rule__PropertyDefault__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3403:1: ( ( '=' ) ) + // InternalRDL.g:3404:1: ( '=' ) + { + // InternalRDL.g:3404:1: ( '=' ) + // InternalRDL.g:3405:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); + } + + } + + + } + + } + 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:3414:1: rule__PropertyDefault__Group__2 : rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 ; + public final void rule__PropertyDefault__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3418:1: ( rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 ) + // InternalRDL.g:3419:2: rule__PropertyDefault__Group__2__Impl rule__PropertyDefault__Group__3 + { + pushFollow(FOLLOW_4); + rule__PropertyDefault__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3426:1: rule__PropertyDefault__Group__2__Impl : ( ( rule__PropertyDefault__Alternatives_2 ) ) ; + public final void rule__PropertyDefault__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3430:1: ( ( ( rule__PropertyDefault__Alternatives_2 ) ) ) + // InternalRDL.g:3431:1: ( ( rule__PropertyDefault__Alternatives_2 ) ) + { + // InternalRDL.g:3431:1: ( ( rule__PropertyDefault__Alternatives_2 ) ) + // InternalRDL.g:3432:2: ( rule__PropertyDefault__Alternatives_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getAlternatives_2()); + } + // InternalRDL.g:3433:2: ( rule__PropertyDefault__Alternatives_2 ) + // InternalRDL.g:3433:3: rule__PropertyDefault__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__Alternatives_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3441:1: rule__PropertyDefault__Group__3 : rule__PropertyDefault__Group__3__Impl ; + public final void rule__PropertyDefault__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3445:1: ( rule__PropertyDefault__Group__3__Impl ) + // InternalRDL.g:3446:2: rule__PropertyDefault__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyDefault__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3452:1: rule__PropertyDefault__Group__3__Impl : ( ';' ) ; + public final void rule__PropertyDefault__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3456:1: ( ( ';' ) ) + // InternalRDL.g:3457:1: ( ';' ) + { + // InternalRDL.g:3457:1: ( ';' ) + // InternalRDL.g:3458:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + } + + } + + + } + + } + 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:3468:1: rule__PropertyUsage__Group__0 : rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 ; + public final void rule__PropertyUsage__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3472:1: ( rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 ) + // InternalRDL.g:3473:2: rule__PropertyUsage__Group__0__Impl rule__PropertyUsage__Group__1 + { + pushFollow(FOLLOW_10); + rule__PropertyUsage__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3480:1: rule__PropertyUsage__Group__0__Impl : ( 'component' ) ; + public final void rule__PropertyUsage__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3484:1: ( ( 'component' ) ) + // InternalRDL.g:3485:1: ( 'component' ) + { + // InternalRDL.g:3485:1: ( 'component' ) + // InternalRDL.g:3486:2: 'component' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + } + match(input,121,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + } + + } + + + } + + } + 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:3495:1: rule__PropertyUsage__Group__1 : rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 ; + public final void rule__PropertyUsage__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3499:1: ( rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 ) + // InternalRDL.g:3500:2: rule__PropertyUsage__Group__1__Impl rule__PropertyUsage__Group__2 + { + pushFollow(FOLLOW_16); + rule__PropertyUsage__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3507:1: rule__PropertyUsage__Group__1__Impl : ( '=' ) ; + public final void rule__PropertyUsage__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3511:1: ( ( '=' ) ) + // InternalRDL.g:3512:1: ( '=' ) + { + // InternalRDL.g:3512:1: ( '=' ) + // InternalRDL.g:3513:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); + } + + } + + + } + + } + 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:3522:1: rule__PropertyUsage__Group__2 : rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 ; + public final void rule__PropertyUsage__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3526:1: ( rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 ) + // InternalRDL.g:3527:2: rule__PropertyUsage__Group__2__Impl rule__PropertyUsage__Group__3 + { + pushFollow(FOLLOW_17); + rule__PropertyUsage__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3534:1: rule__PropertyUsage__Group__2__Impl : ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) ; + public final void rule__PropertyUsage__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3538:1: ( ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) ) + // InternalRDL.g:3539:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) + { + // InternalRDL.g:3539:1: ( ( rule__PropertyUsage__ComponentsAssignment_2 ) ) + // InternalRDL.g:3540:2: ( rule__PropertyUsage__ComponentsAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_2()); + } + // InternalRDL.g:3541:2: ( rule__PropertyUsage__ComponentsAssignment_2 ) + // InternalRDL.g:3541:3: rule__PropertyUsage__ComponentsAssignment_2 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__ComponentsAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3549:1: rule__PropertyUsage__Group__3 : rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 ; + public final void rule__PropertyUsage__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3553:1: ( rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 ) + // InternalRDL.g:3554:2: rule__PropertyUsage__Group__3__Impl rule__PropertyUsage__Group__4 + { + pushFollow(FOLLOW_17); + rule__PropertyUsage__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3561:1: rule__PropertyUsage__Group__3__Impl : ( ( rule__PropertyUsage__Group_3__0 )* ) ; + public final void rule__PropertyUsage__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3565:1: ( ( ( rule__PropertyUsage__Group_3__0 )* ) ) + // InternalRDL.g:3566:1: ( ( rule__PropertyUsage__Group_3__0 )* ) + { + // InternalRDL.g:3566:1: ( ( rule__PropertyUsage__Group_3__0 )* ) + // InternalRDL.g:3567:2: ( rule__PropertyUsage__Group_3__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getGroup_3()); + } + // InternalRDL.g:3568:2: ( rule__PropertyUsage__Group_3__0 )* + loop29: + do { + int alt29=2; + int LA29_0 = input.LA(1); + + if ( (LA29_0==122) ) { + alt29=1; + } + + + switch (alt29) { + case 1 : + // InternalRDL.g:3568:3: rule__PropertyUsage__Group_3__0 + { + pushFollow(FOLLOW_18); + rule__PropertyUsage__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop29; + } + } while (true); + + if ( state.backtracking==0 ) { + 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:3576:1: rule__PropertyUsage__Group__4 : rule__PropertyUsage__Group__4__Impl ; + public final void rule__PropertyUsage__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3580:1: ( rule__PropertyUsage__Group__4__Impl ) + // InternalRDL.g:3581:2: rule__PropertyUsage__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3587:1: rule__PropertyUsage__Group__4__Impl : ( ';' ) ; + public final void rule__PropertyUsage__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3591:1: ( ( ';' ) ) + // InternalRDL.g:3592:1: ( ';' ) + { + // InternalRDL.g:3592:1: ( ';' ) + // InternalRDL.g:3593:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + } + + } + + + } + + } + 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:3603:1: rule__PropertyUsage__Group_3__0 : rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 ; + public final void rule__PropertyUsage__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3607:1: ( rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 ) + // InternalRDL.g:3608:2: rule__PropertyUsage__Group_3__0__Impl rule__PropertyUsage__Group_3__1 + { + pushFollow(FOLLOW_16); + rule__PropertyUsage__Group_3__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group_3__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3615:1: rule__PropertyUsage__Group_3__0__Impl : ( '|' ) ; + public final void rule__PropertyUsage__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3619:1: ( ( '|' ) ) + // InternalRDL.g:3620:1: ( '|' ) + { + // InternalRDL.g:3620:1: ( '|' ) + // InternalRDL.g:3621:2: '|' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); + } + match(input,122,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); + } + + } + + + } + + } + 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:3630:1: rule__PropertyUsage__Group_3__1 : rule__PropertyUsage__Group_3__1__Impl ; + public final void rule__PropertyUsage__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3634:1: ( rule__PropertyUsage__Group_3__1__Impl ) + // InternalRDL.g:3635:2: rule__PropertyUsage__Group_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__Group_3__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3641:1: rule__PropertyUsage__Group_3__1__Impl : ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) ; + public final void rule__PropertyUsage__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3645:1: ( ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) ) + // InternalRDL.g:3646:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) + { + // InternalRDL.g:3646:1: ( ( rule__PropertyUsage__ComponentsAssignment_3_1 ) ) + // InternalRDL.g:3647:2: ( rule__PropertyUsage__ComponentsAssignment_3_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getComponentsAssignment_3_1()); + } + // InternalRDL.g:3648:2: ( rule__PropertyUsage__ComponentsAssignment_3_1 ) + // InternalRDL.g:3648:3: rule__PropertyUsage__ComponentsAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__PropertyUsage__ComponentsAssignment_3_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3657:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ; + public final void rule__ComponentDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3661:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ) + // InternalRDL.g:3662:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 + { + pushFollow(FOLLOW_19); + rule__ComponentDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3669:1: rule__ComponentDefinition__Group__0__Impl : ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) ; + public final void rule__ComponentDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3673:1: ( ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) ) + // InternalRDL.g:3674:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) + { + // InternalRDL.g:3674:1: ( ( rule__ComponentDefinition__TypeAssignment_0 ) ) + // InternalRDL.g:3675:2: ( rule__ComponentDefinition__TypeAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getTypeAssignment_0()); + } + // InternalRDL.g:3676:2: ( rule__ComponentDefinition__TypeAssignment_0 ) + // InternalRDL.g:3676:3: rule__ComponentDefinition__TypeAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__TypeAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:3684:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ; + public final void rule__ComponentDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3688:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ) + // InternalRDL.g:3689:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 + { + pushFollow(FOLLOW_19); + rule__ComponentDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3696:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 )? ) ; + public final void rule__ComponentDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3700:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 )? ) ) + // InternalRDL.g:3701:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? ) + { + // InternalRDL.g:3701:1: ( ( rule__ComponentDefinition__NameAssignment_1 )? ) + // InternalRDL.g:3702:2: ( rule__ComponentDefinition__NameAssignment_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); + } + // InternalRDL.g:3703:2: ( rule__ComponentDefinition__NameAssignment_1 )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==RULE_ID) ) { + alt30=1; + } + switch (alt30) { + case 1 : + // InternalRDL.g:3703:3: rule__ComponentDefinition__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__NameAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:3711:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ; + public final void rule__ComponentDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3715:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ) + // InternalRDL.g:3716:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 + { + pushFollow(FOLLOW_20); + rule__ComponentDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3723:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ; + public final void rule__ComponentDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3727:1: ( ( '{' ) ) + // InternalRDL.g:3728:1: ( '{' ) + { + // InternalRDL.g:3728:1: ( '{' ) + // InternalRDL.g:3729:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); + } + match(input,116,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); + } + + } + + + } + + } + 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:3738:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ; + public final void rule__ComponentDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3742:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ) + // InternalRDL.g:3743:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 + { + pushFollow(FOLLOW_20); + rule__ComponentDefinition__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3750:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__Alternatives_3 )* ) ; + public final void rule__ComponentDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3754:1: ( ( ( rule__ComponentDefinition__Alternatives_3 )* ) ) + // InternalRDL.g:3755:1: ( ( rule__ComponentDefinition__Alternatives_3 )* ) + { + // InternalRDL.g:3755:1: ( ( rule__ComponentDefinition__Alternatives_3 )* ) + // InternalRDL.g:3756:2: ( rule__ComponentDefinition__Alternatives_3 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getAlternatives_3()); + } + // InternalRDL.g:3757:2: ( rule__ComponentDefinition__Alternatives_3 )* + loop31: + do { + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==RULE_ID||(LA31_0>=15 && LA31_0<=18)||LA31_0==20||(LA31_0>=22 && LA31_0<=97)||(LA31_0>=108 && LA31_0<=112)||LA31_0==120||LA31_0==123||(LA31_0>=133 && LA31_0<=134)) ) { + alt31=1; + } + + + switch (alt31) { + case 1 : + // InternalRDL.g:3757:3: rule__ComponentDefinition__Alternatives_3 + { + pushFollow(FOLLOW_21); + rule__ComponentDefinition__Alternatives_3(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop31; + } + } while (true); + + if ( state.backtracking==0 ) { + 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:3765:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl ; + public final void rule__ComponentDefinition__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3769:1: ( rule__ComponentDefinition__Group__4__Impl ) + // InternalRDL.g:3770:2: rule__ComponentDefinition__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:3776:1: rule__ComponentDefinition__Group__4__Impl : ( '}' ) ; + public final void rule__ComponentDefinition__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3780:1: ( ( '}' ) ) + // InternalRDL.g:3781:1: ( '}' ) + { + // InternalRDL.g:3781:1: ( '}' ) + // InternalRDL.g:3782:2: '}' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); + } + match(input,117,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group__4__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_0__0" + // InternalRDL.g:3792:1: rule__ComponentDefinition__Group_3_0__0 : rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ; + public final void rule__ComponentDefinition__Group_3_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3796:1: ( rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ) + // InternalRDL.g:3797:2: rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 + { + pushFollow(FOLLOW_4); + rule__ComponentDefinition__Group_3_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_0__0" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_0__0__Impl" + // InternalRDL.g:3804:1: rule__ComponentDefinition__Group_3_0__0__Impl : ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) ) ; + public final void rule__ComponentDefinition__Group_3_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3808:1: ( ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) ) ) + // InternalRDL.g:3809:1: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) ) + { + // InternalRDL.g:3809:1: ( ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) ) + // InternalRDL.g:3810:2: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0()); + } + // InternalRDL.g:3811:2: ( rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 ) + // InternalRDL.g:3811:3: rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsAssignment_3_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_0__0__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_0__1" + // InternalRDL.g:3819:1: rule__ComponentDefinition__Group_3_0__1 : rule__ComponentDefinition__Group_3_0__1__Impl ; + public final void rule__ComponentDefinition__Group_3_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3823:1: ( rule__ComponentDefinition__Group_3_0__1__Impl ) + // InternalRDL.g:3824:2: rule__ComponentDefinition__Group_3_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_0__1" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_0__1__Impl" + // InternalRDL.g:3830:1: rule__ComponentDefinition__Group_3_0__1__Impl : ( ';' ) ; + public final void rule__ComponentDefinition__Group_3_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3834:1: ( ( ';' ) ) + // InternalRDL.g:3835:1: ( ';' ) + { + // InternalRDL.g:3835:1: ( ';' ) + // InternalRDL.g:3836:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_0__1__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_1__0" + // InternalRDL.g:3846:1: rule__ComponentDefinition__Group_3_1__0 : rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ; + public final void rule__ComponentDefinition__Group_3_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3850:1: ( rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ) + // InternalRDL.g:3851:2: rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 + { + pushFollow(FOLLOW_4); + rule__ComponentDefinition__Group_3_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_1__0" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_1__0__Impl" + // InternalRDL.g:3858:1: rule__ComponentDefinition__Group_3_1__0__Impl : ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) ) ; + public final void rule__ComponentDefinition__Group_3_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3862:1: ( ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) ) ) + // InternalRDL.g:3863:1: ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) ) + { + // InternalRDL.g:3863:1: ( ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) ) + // InternalRDL.g:3864:2: ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0()); + } + // InternalRDL.g:3865:2: ( rule__ComponentDefinition__InstantiationsAssignment_3_1_0 ) + // InternalRDL.g:3865:3: rule__ComponentDefinition__InstantiationsAssignment_3_1_0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__InstantiationsAssignment_3_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getInstantiationsAssignment_3_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_1__0__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_1__1" + // InternalRDL.g:3873:1: rule__ComponentDefinition__Group_3_1__1 : rule__ComponentDefinition__Group_3_1__1__Impl ; + public final void rule__ComponentDefinition__Group_3_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3877:1: ( rule__ComponentDefinition__Group_3_1__1__Impl ) + // InternalRDL.g:3878:2: rule__ComponentDefinition__Group_3_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_1__1" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_1__1__Impl" + // InternalRDL.g:3884:1: rule__ComponentDefinition__Group_3_1__1__Impl : ( ';' ) ; + public final void rule__ComponentDefinition__Group_3_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3888:1: ( ( ';' ) ) + // InternalRDL.g:3889:1: ( ';' ) + { + // InternalRDL.g:3889:1: ( ';' ) + // InternalRDL.g:3890:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_1__1__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_2__0" + // InternalRDL.g:3900:1: rule__ComponentDefinition__Group_3_2__0 : rule__ComponentDefinition__Group_3_2__0__Impl rule__ComponentDefinition__Group_3_2__1 ; + public final void rule__ComponentDefinition__Group_3_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3904:1: ( rule__ComponentDefinition__Group_3_2__0__Impl rule__ComponentDefinition__Group_3_2__1 ) + // InternalRDL.g:3905:2: rule__ComponentDefinition__Group_3_2__0__Impl rule__ComponentDefinition__Group_3_2__1 + { + pushFollow(FOLLOW_4); + rule__ComponentDefinition__Group_3_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_2__0" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_2__0__Impl" + // InternalRDL.g:3912:1: rule__ComponentDefinition__Group_3_2__0__Impl : ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) ) ; + public final void rule__ComponentDefinition__Group_3_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3916:1: ( ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) ) ) + // InternalRDL.g:3917:1: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) ) + { + // InternalRDL.g:3917:1: ( ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) ) + // InternalRDL.g:3918:2: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0()); + } + // InternalRDL.g:3919:2: ( rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 ) + // InternalRDL.g:3919:3: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsAssignment_3_2_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_2__0__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_2__1" + // InternalRDL.g:3927:1: rule__ComponentDefinition__Group_3_2__1 : rule__ComponentDefinition__Group_3_2__1__Impl ; + public final void rule__ComponentDefinition__Group_3_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3931:1: ( rule__ComponentDefinition__Group_3_2__1__Impl ) + // InternalRDL.g:3932:2: rule__ComponentDefinition__Group_3_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_2__1" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_2__1__Impl" + // InternalRDL.g:3938:1: rule__ComponentDefinition__Group_3_2__1__Impl : ( ';' ) ; + public final void rule__ComponentDefinition__Group_3_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3942:1: ( ( ';' ) ) + // InternalRDL.g:3943:1: ( ';' ) + { + // InternalRDL.g:3943:1: ( ';' ) + // InternalRDL.g:3944:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_2__1__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_3__0" + // InternalRDL.g:3954:1: rule__ComponentDefinition__Group_3_3__0 : rule__ComponentDefinition__Group_3_3__0__Impl rule__ComponentDefinition__Group_3_3__1 ; + public final void rule__ComponentDefinition__Group_3_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3958:1: ( rule__ComponentDefinition__Group_3_3__0__Impl rule__ComponentDefinition__Group_3_3__1 ) + // InternalRDL.g:3959:2: rule__ComponentDefinition__Group_3_3__0__Impl rule__ComponentDefinition__Group_3_3__1 + { + pushFollow(FOLLOW_4); + rule__ComponentDefinition__Group_3_3__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_3__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_3__0" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_3__0__Impl" + // InternalRDL.g:3966:1: rule__ComponentDefinition__Group_3_3__0__Impl : ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) ) ; + public final void rule__ComponentDefinition__Group_3_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3970:1: ( ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) ) ) + // InternalRDL.g:3971:1: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) ) + { + // InternalRDL.g:3971:1: ( ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) ) + // InternalRDL.g:3972:2: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0()); + } + // InternalRDL.g:3973:2: ( rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 ) + // InternalRDL.g:3973:3: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsAssignment_3_3_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_3__0__Impl" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_3__1" + // InternalRDL.g:3981:1: rule__ComponentDefinition__Group_3_3__1 : rule__ComponentDefinition__Group_3_3__1__Impl ; + public final void rule__ComponentDefinition__Group_3_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3985:1: ( rule__ComponentDefinition__Group_3_3__1__Impl ) + // InternalRDL.g:3986:2: rule__ComponentDefinition__Group_3_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_3__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_3__1" + + + // $ANTLR start "rule__ComponentDefinition__Group_3_3__1__Impl" + // InternalRDL.g:3992:1: rule__ComponentDefinition__Group_3_3__1__Impl : ( ';' ) ; + public final void rule__ComponentDefinition__Group_3_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:3996:1: ( ( ';' ) ) + // InternalRDL.g:3997:1: ( ';' ) + { + // InternalRDL.g:3997:1: ( ';' ) + // InternalRDL.g:3998:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__Group_3_3__1__Impl" + + + // $ANTLR start "rule__Instantiation__Group__0" + // InternalRDL.g:4008:1: rule__Instantiation__Group__0 : rule__Instantiation__Group__0__Impl rule__Instantiation__Group__1 ; + public final void rule__Instantiation__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4012:1: ( rule__Instantiation__Group__0__Impl rule__Instantiation__Group__1 ) + // InternalRDL.g:4013:2: rule__Instantiation__Group__0__Impl rule__Instantiation__Group__1 + { + pushFollow(FOLLOW_6); + rule__Instantiation__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group__0" + + + // $ANTLR start "rule__Instantiation__Group__0__Impl" + // InternalRDL.g:4020:1: rule__Instantiation__Group__0__Impl : ( ( rule__Instantiation__Alternatives_0 ) ) ; + public final void rule__Instantiation__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4024:1: ( ( ( rule__Instantiation__Alternatives_0 ) ) ) + // InternalRDL.g:4025:1: ( ( rule__Instantiation__Alternatives_0 ) ) + { + // InternalRDL.g:4025:1: ( ( rule__Instantiation__Alternatives_0 ) ) + // InternalRDL.g:4026:2: ( rule__Instantiation__Alternatives_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getAlternatives_0()); + } + // InternalRDL.g:4027:2: ( rule__Instantiation__Alternatives_0 ) + // InternalRDL.g:4027:3: rule__Instantiation__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__Alternatives_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getAlternatives_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group__0__Impl" + + + // $ANTLR start "rule__Instantiation__Group__1" + // InternalRDL.g:4035:1: rule__Instantiation__Group__1 : rule__Instantiation__Group__1__Impl rule__Instantiation__Group__2 ; + public final void rule__Instantiation__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4039:1: ( rule__Instantiation__Group__1__Impl rule__Instantiation__Group__2 ) + // InternalRDL.g:4040:2: rule__Instantiation__Group__1__Impl rule__Instantiation__Group__2 + { + pushFollow(FOLLOW_22); + rule__Instantiation__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group__1" + + + // $ANTLR start "rule__Instantiation__Group__1__Impl" + // InternalRDL.g:4047:1: rule__Instantiation__Group__1__Impl : ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) ) ; + public final void rule__Instantiation__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4051:1: ( ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) ) ) + // InternalRDL.g:4052:1: ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) ) + { + // InternalRDL.g:4052:1: ( ( rule__Instantiation__ComponentInstancesAssignment_1 ) ) + // InternalRDL.g:4053:2: ( rule__Instantiation__ComponentInstancesAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1()); + } + // InternalRDL.g:4054:2: ( rule__Instantiation__ComponentInstancesAssignment_1 ) + // InternalRDL.g:4054:3: rule__Instantiation__ComponentInstancesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Instantiation__ComponentInstancesAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group__1__Impl" + + + // $ANTLR start "rule__Instantiation__Group__2" + // InternalRDL.g:4062:1: rule__Instantiation__Group__2 : rule__Instantiation__Group__2__Impl ; + public final void rule__Instantiation__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4066:1: ( rule__Instantiation__Group__2__Impl ) + // InternalRDL.g:4067:2: rule__Instantiation__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group__2" + + + // $ANTLR start "rule__Instantiation__Group__2__Impl" + // InternalRDL.g:4073:1: rule__Instantiation__Group__2__Impl : ( ( rule__Instantiation__Group_2__0 )* ) ; + public final void rule__Instantiation__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4077:1: ( ( ( rule__Instantiation__Group_2__0 )* ) ) + // InternalRDL.g:4078:1: ( ( rule__Instantiation__Group_2__0 )* ) + { + // InternalRDL.g:4078:1: ( ( rule__Instantiation__Group_2__0 )* ) + // InternalRDL.g:4079:2: ( rule__Instantiation__Group_2__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getGroup_2()); + } + // InternalRDL.g:4080:2: ( rule__Instantiation__Group_2__0 )* + loop32: + do { + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==124) ) { + alt32=1; + } + + + switch (alt32) { + case 1 : + // InternalRDL.g:4080:3: rule__Instantiation__Group_2__0 + { + pushFollow(FOLLOW_23); + rule__Instantiation__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop32; + } + } while (true); + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getGroup_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group__2__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_0__0" + // InternalRDL.g:4089:1: rule__Instantiation__Group_0_0__0 : rule__Instantiation__Group_0_0__0__Impl rule__Instantiation__Group_0_0__1 ; + public final void rule__Instantiation__Group_0_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4093:1: ( rule__Instantiation__Group_0_0__0__Impl rule__Instantiation__Group_0_0__1 ) + // InternalRDL.g:4094:2: rule__Instantiation__Group_0_0__0__Impl rule__Instantiation__Group_0_0__1 + { + pushFollow(FOLLOW_24); + rule__Instantiation__Group_0_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0__0" + + + // $ANTLR start "rule__Instantiation__Group_0_0__0__Impl" + // InternalRDL.g:4101:1: rule__Instantiation__Group_0_0__0__Impl : ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? ) ; + public final void rule__Instantiation__Group_0_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4105:1: ( ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? ) ) + // InternalRDL.g:4106:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? ) + { + // InternalRDL.g:4106:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? ) + // InternalRDL.g:4107:2: ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0()); + } + // InternalRDL.g:4108:2: ( rule__Instantiation__InstanceTypeAssignment_0_0_0 )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==76||LA33_0==134) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalRDL.g:4108:3: rule__Instantiation__InstanceTypeAssignment_0_0_0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__InstanceTypeAssignment_0_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0__0__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_0__1" + // InternalRDL.g:4116:1: rule__Instantiation__Group_0_0__1 : rule__Instantiation__Group_0_0__1__Impl rule__Instantiation__Group_0_0__2 ; + public final void rule__Instantiation__Group_0_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4120:1: ( rule__Instantiation__Group_0_0__1__Impl rule__Instantiation__Group_0_0__2 ) + // InternalRDL.g:4121:2: rule__Instantiation__Group_0_0__1__Impl rule__Instantiation__Group_0_0__2 + { + pushFollow(FOLLOW_24); + rule__Instantiation__Group_0_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0__1" + + + // $ANTLR start "rule__Instantiation__Group_0_0__1__Impl" + // InternalRDL.g:4128:1: rule__Instantiation__Group_0_0__1__Impl : ( ( rule__Instantiation__Group_0_0_1__0 )? ) ; + public final void rule__Instantiation__Group_0_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4132:1: ( ( ( rule__Instantiation__Group_0_0_1__0 )? ) ) + // InternalRDL.g:4133:1: ( ( rule__Instantiation__Group_0_0_1__0 )? ) + { + // InternalRDL.g:4133:1: ( ( rule__Instantiation__Group_0_0_1__0 )? ) + // InternalRDL.g:4134:2: ( rule__Instantiation__Group_0_0_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getGroup_0_0_1()); + } + // InternalRDL.g:4135:2: ( rule__Instantiation__Group_0_0_1__0 )? + int alt34=2; + int LA34_0 = input.LA(1); + + if ( (LA34_0==123) ) { + alt34=1; + } + switch (alt34) { + case 1 : + // InternalRDL.g:4135:3: rule__Instantiation__Group_0_0_1__0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getGroup_0_0_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0__1__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_0__2" + // InternalRDL.g:4143:1: rule__Instantiation__Group_0_0__2 : rule__Instantiation__Group_0_0__2__Impl ; + public final void rule__Instantiation__Group_0_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4147:1: ( rule__Instantiation__Group_0_0__2__Impl ) + // InternalRDL.g:4148:2: rule__Instantiation__Group_0_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0__2" + + + // $ANTLR start "rule__Instantiation__Group_0_0__2__Impl" + // InternalRDL.g:4154:1: rule__Instantiation__Group_0_0__2__Impl : ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) ) ; + public final void rule__Instantiation__Group_0_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4158:1: ( ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) ) ) + // InternalRDL.g:4159:1: ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) ) + { + // InternalRDL.g:4159:1: ( ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) ) + // InternalRDL.g:4160:2: ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2()); + } + // InternalRDL.g:4161:2: ( rule__Instantiation__ComponentRefAssignment_0_0_2 ) + // InternalRDL.g:4161:3: rule__Instantiation__ComponentRefAssignment_0_0_2 + { + pushFollow(FOLLOW_2); + rule__Instantiation__ComponentRefAssignment_0_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentRefAssignment_0_0_2()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0__2__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_0_1__0" + // InternalRDL.g:4170:1: rule__Instantiation__Group_0_0_1__0 : rule__Instantiation__Group_0_0_1__0__Impl rule__Instantiation__Group_0_0_1__1 ; + public final void rule__Instantiation__Group_0_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4174:1: ( rule__Instantiation__Group_0_0_1__0__Impl rule__Instantiation__Group_0_0_1__1 ) + // InternalRDL.g:4175:2: rule__Instantiation__Group_0_0_1__0__Impl rule__Instantiation__Group_0_0_1__1 + { + pushFollow(FOLLOW_6); + rule__Instantiation__Group_0_0_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0_1__0" + + + // $ANTLR start "rule__Instantiation__Group_0_0_1__0__Impl" + // InternalRDL.g:4182:1: rule__Instantiation__Group_0_0_1__0__Impl : ( 'alias' ) ; + public final void rule__Instantiation__Group_0_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4186:1: ( ( 'alias' ) ) + // InternalRDL.g:4187:1: ( 'alias' ) + { + // InternalRDL.g:4187:1: ( 'alias' ) + // InternalRDL.g:4188:2: 'alias' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); + } + match(input,123,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0_1__0__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_0_1__1" + // InternalRDL.g:4197:1: rule__Instantiation__Group_0_0_1__1 : rule__Instantiation__Group_0_0_1__1__Impl ; + public final void rule__Instantiation__Group_0_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4201:1: ( rule__Instantiation__Group_0_0_1__1__Impl ) + // InternalRDL.g:4202:2: rule__Instantiation__Group_0_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_0_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0_1__1" + + + // $ANTLR start "rule__Instantiation__Group_0_0_1__1__Impl" + // InternalRDL.g:4208:1: rule__Instantiation__Group_0_0_1__1__Impl : ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) ) ; + public final void rule__Instantiation__Group_0_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4212:1: ( ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) ) ) + // InternalRDL.g:4213:1: ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) ) + { + // InternalRDL.g:4213:1: ( ( rule__Instantiation__AliasAssignment_0_0_1_1 ) ) + // InternalRDL.g:4214:2: ( rule__Instantiation__AliasAssignment_0_0_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1()); + } + // InternalRDL.g:4215:2: ( rule__Instantiation__AliasAssignment_0_0_1_1 ) + // InternalRDL.g:4215:3: rule__Instantiation__AliasAssignment_0_0_1_1 + { + pushFollow(FOLLOW_2); + rule__Instantiation__AliasAssignment_0_0_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getAliasAssignment_0_0_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_0_1__1__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_1__0" + // InternalRDL.g:4224:1: rule__Instantiation__Group_0_1__0 : rule__Instantiation__Group_0_1__0__Impl rule__Instantiation__Group_0_1__1 ; + public final void rule__Instantiation__Group_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4228:1: ( rule__Instantiation__Group_0_1__0__Impl rule__Instantiation__Group_0_1__1 ) + // InternalRDL.g:4229:2: rule__Instantiation__Group_0_1__0__Impl rule__Instantiation__Group_0_1__1 + { + pushFollow(FOLLOW_25); + rule__Instantiation__Group_0_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_1__0" + + + // $ANTLR start "rule__Instantiation__Group_0_1__0__Impl" + // InternalRDL.g:4236:1: rule__Instantiation__Group_0_1__0__Impl : ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) ) ; + public final void rule__Instantiation__Group_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4240:1: ( ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) ) ) + // InternalRDL.g:4241:1: ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) ) + { + // InternalRDL.g:4241:1: ( ( rule__Instantiation__ComponentAssignment_0_1_0 ) ) + // InternalRDL.g:4242:2: ( rule__Instantiation__ComponentAssignment_0_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0()); + } + // InternalRDL.g:4243:2: ( rule__Instantiation__ComponentAssignment_0_1_0 ) + // InternalRDL.g:4243:3: rule__Instantiation__ComponentAssignment_0_1_0 + { + pushFollow(FOLLOW_2); + rule__Instantiation__ComponentAssignment_0_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentAssignment_0_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_1__0__Impl" + + + // $ANTLR start "rule__Instantiation__Group_0_1__1" + // InternalRDL.g:4251:1: rule__Instantiation__Group_0_1__1 : rule__Instantiation__Group_0_1__1__Impl ; + public final void rule__Instantiation__Group_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4255:1: ( rule__Instantiation__Group_0_1__1__Impl ) + // InternalRDL.g:4256:2: rule__Instantiation__Group_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_0_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_1__1" + + + // $ANTLR start "rule__Instantiation__Group_0_1__1__Impl" + // InternalRDL.g:4262:1: rule__Instantiation__Group_0_1__1__Impl : ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? ) ; + public final void rule__Instantiation__Group_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4266:1: ( ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? ) ) + // InternalRDL.g:4267:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? ) + { + // InternalRDL.g:4267:1: ( ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? ) + // InternalRDL.g:4268:2: ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1()); + } + // InternalRDL.g:4269:2: ( rule__Instantiation__InstanceTypeAssignment_0_1_1 )? + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==76||LA35_0==134) ) { + alt35=1; + } + switch (alt35) { + case 1 : + // InternalRDL.g:4269:3: rule__Instantiation__InstanceTypeAssignment_0_1_1 + { + pushFollow(FOLLOW_2); + rule__Instantiation__InstanceTypeAssignment_0_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getInstanceTypeAssignment_0_1_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_0_1__1__Impl" + + + // $ANTLR start "rule__Instantiation__Group_2__0" + // InternalRDL.g:4278:1: rule__Instantiation__Group_2__0 : rule__Instantiation__Group_2__0__Impl rule__Instantiation__Group_2__1 ; + public final void rule__Instantiation__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4282:1: ( rule__Instantiation__Group_2__0__Impl rule__Instantiation__Group_2__1 ) + // InternalRDL.g:4283:2: rule__Instantiation__Group_2__0__Impl rule__Instantiation__Group_2__1 + { + pushFollow(FOLLOW_6); + rule__Instantiation__Group_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Instantiation__Group_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_2__0" + + + // $ANTLR start "rule__Instantiation__Group_2__0__Impl" + // InternalRDL.g:4290:1: rule__Instantiation__Group_2__0__Impl : ( ',' ) ; + public final void rule__Instantiation__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4294:1: ( ( ',' ) ) + // InternalRDL.g:4295:1: ( ',' ) + { + // InternalRDL.g:4295:1: ( ',' ) + // InternalRDL.g:4296:2: ',' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); + } + match(input,124,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_2__0__Impl" + + + // $ANTLR start "rule__Instantiation__Group_2__1" + // InternalRDL.g:4305:1: rule__Instantiation__Group_2__1 : rule__Instantiation__Group_2__1__Impl ; + public final void rule__Instantiation__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4309:1: ( rule__Instantiation__Group_2__1__Impl ) + // InternalRDL.g:4310:2: rule__Instantiation__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__Instantiation__Group_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_2__1" + + + // $ANTLR start "rule__Instantiation__Group_2__1__Impl" + // InternalRDL.g:4316:1: rule__Instantiation__Group_2__1__Impl : ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) ) ; + public final void rule__Instantiation__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4320:1: ( ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) ) ) + // InternalRDL.g:4321:1: ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) ) + { + // InternalRDL.g:4321:1: ( ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) ) + // InternalRDL.g:4322:2: ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1()); + } + // InternalRDL.g:4323:2: ( rule__Instantiation__ComponentInstancesAssignment_2_1 ) + // InternalRDL.g:4323:3: rule__Instantiation__ComponentInstancesAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__Instantiation__ComponentInstancesAssignment_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentInstancesAssignment_2_1()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__Group_2__1__Impl" + + + // $ANTLR start "rule__ComponentInstance__Group__0" + // InternalRDL.g:4332:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ; + public final void rule__ComponentInstance__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4336:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ) + // InternalRDL.g:4337:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 + { + pushFollow(FOLLOW_26); + rule__ComponentInstance__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4344:1: rule__ComponentInstance__Group__0__Impl : ( ( rule__ComponentInstance__NameAssignment_0 ) ) ; + public final void rule__ComponentInstance__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4348:1: ( ( ( rule__ComponentInstance__NameAssignment_0 ) ) ) + // InternalRDL.g:4349:1: ( ( rule__ComponentInstance__NameAssignment_0 ) ) + { + // InternalRDL.g:4349:1: ( ( rule__ComponentInstance__NameAssignment_0 ) ) + // InternalRDL.g:4350:2: ( rule__ComponentInstance__NameAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getNameAssignment_0()); + } + // InternalRDL.g:4351:2: ( rule__ComponentInstance__NameAssignment_0 ) + // InternalRDL.g:4351:3: rule__ComponentInstance__NameAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__NameAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4359:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ; + public final void rule__ComponentInstance__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4363:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) + // InternalRDL.g:4364:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 + { + pushFollow(FOLLOW_26); + rule__ComponentInstance__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4371:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__RangeAssignment_1 )? ) ; + public final void rule__ComponentInstance__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4375:1: ( ( ( rule__ComponentInstance__RangeAssignment_1 )? ) ) + // InternalRDL.g:4376:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? ) + { + // InternalRDL.g:4376:1: ( ( rule__ComponentInstance__RangeAssignment_1 )? ) + // InternalRDL.g:4377:2: ( rule__ComponentInstance__RangeAssignment_1 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getRangeAssignment_1()); + } + // InternalRDL.g:4378:2: ( rule__ComponentInstance__RangeAssignment_1 )? + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==128) ) { + alt36=1; + } + switch (alt36) { + case 1 : + // InternalRDL.g:4378:3: rule__ComponentInstance__RangeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__RangeAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:4386:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 ; + public final void rule__ComponentInstance__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4390:1: ( rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 ) + // InternalRDL.g:4391:2: rule__ComponentInstance__Group__2__Impl rule__ComponentInstance__Group__3 + { + pushFollow(FOLLOW_26); + rule__ComponentInstance__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4398:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__Group_2__0 )? ) ; + public final void rule__ComponentInstance__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4402:1: ( ( ( rule__ComponentInstance__Group_2__0 )? ) ) + // InternalRDL.g:4403:1: ( ( rule__ComponentInstance__Group_2__0 )? ) + { + // InternalRDL.g:4403:1: ( ( rule__ComponentInstance__Group_2__0 )? ) + // InternalRDL.g:4404:2: ( rule__ComponentInstance__Group_2__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getGroup_2()); + } + // InternalRDL.g:4405:2: ( rule__ComponentInstance__Group_2__0 )? + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==119) ) { + alt37=1; + } + switch (alt37) { + case 1 : + // InternalRDL.g:4405:3: rule__ComponentInstance__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:4413:1: rule__ComponentInstance__Group__3 : rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 ; + public final void rule__ComponentInstance__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4417:1: ( rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 ) + // InternalRDL.g:4418:2: rule__ComponentInstance__Group__3__Impl rule__ComponentInstance__Group__4 + { + pushFollow(FOLLOW_26); + rule__ComponentInstance__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4425:1: rule__ComponentInstance__Group__3__Impl : ( ( rule__ComponentInstance__Group_3__0 )? ) ; + public final void rule__ComponentInstance__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4429:1: ( ( ( rule__ComponentInstance__Group_3__0 )? ) ) + // InternalRDL.g:4430:1: ( ( rule__ComponentInstance__Group_3__0 )? ) + { + // InternalRDL.g:4430:1: ( ( rule__ComponentInstance__Group_3__0 )? ) + // InternalRDL.g:4431:2: ( rule__ComponentInstance__Group_3__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getGroup_3()); + } + // InternalRDL.g:4432:2: ( rule__ComponentInstance__Group_3__0 )? + int alt38=2; + int LA38_0 = input.LA(1); + + if ( (LA38_0==125) ) { + alt38=1; + } + switch (alt38) { + case 1 : + // InternalRDL.g:4432:3: rule__ComponentInstance__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:4440:1: rule__ComponentInstance__Group__4 : rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 ; + public final void rule__ComponentInstance__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4444:1: ( rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 ) + // InternalRDL.g:4445:2: rule__ComponentInstance__Group__4__Impl rule__ComponentInstance__Group__5 + { + pushFollow(FOLLOW_26); + rule__ComponentInstance__Group__4__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__5(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4452:1: rule__ComponentInstance__Group__4__Impl : ( ( rule__ComponentInstance__Group_4__0 )? ) ; + public final void rule__ComponentInstance__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4456:1: ( ( ( rule__ComponentInstance__Group_4__0 )? ) ) + // InternalRDL.g:4457:1: ( ( rule__ComponentInstance__Group_4__0 )? ) + { + // InternalRDL.g:4457:1: ( ( rule__ComponentInstance__Group_4__0 )? ) + // InternalRDL.g:4458:2: ( rule__ComponentInstance__Group_4__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getGroup_4()); + } + // InternalRDL.g:4459:2: ( rule__ComponentInstance__Group_4__0 )? + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==126) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // InternalRDL.g:4459:3: rule__ComponentInstance__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_4__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:4467:1: rule__ComponentInstance__Group__5 : rule__ComponentInstance__Group__5__Impl ; + public final void rule__ComponentInstance__Group__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4471:1: ( rule__ComponentInstance__Group__5__Impl ) + // InternalRDL.g:4472:2: rule__ComponentInstance__Group__5__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group__5__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4478:1: rule__ComponentInstance__Group__5__Impl : ( ( rule__ComponentInstance__Group_5__0 )? ) ; + public final void rule__ComponentInstance__Group__5__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4482:1: ( ( ( rule__ComponentInstance__Group_5__0 )? ) ) + // InternalRDL.g:4483:1: ( ( rule__ComponentInstance__Group_5__0 )? ) + { + // InternalRDL.g:4483:1: ( ( rule__ComponentInstance__Group_5__0 )? ) + // InternalRDL.g:4484:2: ( rule__ComponentInstance__Group_5__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getGroup_5()); + } + // InternalRDL.g:4485:2: ( rule__ComponentInstance__Group_5__0 )? + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==127) ) { + alt40=1; + } + switch (alt40) { + case 1 : + // InternalRDL.g:4485:3: rule__ComponentInstance__Group_5__0 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_5__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:4494:1: rule__ComponentInstance__Group_2__0 : rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 ; + public final void rule__ComponentInstance__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4498:1: ( rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 ) + // InternalRDL.g:4499:2: rule__ComponentInstance__Group_2__0__Impl rule__ComponentInstance__Group_2__1 + { + pushFollow(FOLLOW_27); + rule__ComponentInstance__Group_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4506:1: rule__ComponentInstance__Group_2__0__Impl : ( '=' ) ; + public final void rule__ComponentInstance__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4510:1: ( ( '=' ) ) + // InternalRDL.g:4511:1: ( '=' ) + { + // InternalRDL.g:4511:1: ( '=' ) + // InternalRDL.g:4512:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); + } + + } + + + } + + } + 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:4521:1: rule__ComponentInstance__Group_2__1 : rule__ComponentInstance__Group_2__1__Impl ; + public final void rule__ComponentInstance__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4525:1: ( rule__ComponentInstance__Group_2__1__Impl ) + // InternalRDL.g:4526:2: rule__ComponentInstance__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4532:1: rule__ComponentInstance__Group_2__1__Impl : ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) ; + public final void rule__ComponentInstance__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4536:1: ( ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) ) + // InternalRDL.g:4537:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) + { + // InternalRDL.g:4537:1: ( ( rule__ComponentInstance__ResetAssignment_2_1 ) ) + // InternalRDL.g:4538:2: ( rule__ComponentInstance__ResetAssignment_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getResetAssignment_2_1()); + } + // InternalRDL.g:4539:2: ( rule__ComponentInstance__ResetAssignment_2_1 ) + // InternalRDL.g:4539:3: rule__ComponentInstance__ResetAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__ResetAssignment_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4548:1: rule__ComponentInstance__Group_3__0 : rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 ; + public final void rule__ComponentInstance__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4552:1: ( rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 ) + // InternalRDL.g:4553:2: rule__ComponentInstance__Group_3__0__Impl rule__ComponentInstance__Group_3__1 + { + pushFollow(FOLLOW_27); + rule__ComponentInstance__Group_3__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_3__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4560:1: rule__ComponentInstance__Group_3__0__Impl : ( '@' ) ; + public final void rule__ComponentInstance__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4564:1: ( ( '@' ) ) + // InternalRDL.g:4565:1: ( '@' ) + { + // InternalRDL.g:4565:1: ( '@' ) + // InternalRDL.g:4566:2: '@' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); + } + match(input,125,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); + } + + } + + + } + + } + 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:4575:1: rule__ComponentInstance__Group_3__1 : rule__ComponentInstance__Group_3__1__Impl ; + public final void rule__ComponentInstance__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4579:1: ( rule__ComponentInstance__Group_3__1__Impl ) + // InternalRDL.g:4580:2: rule__ComponentInstance__Group_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_3__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4586:1: rule__ComponentInstance__Group_3__1__Impl : ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) ; + public final void rule__ComponentInstance__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4590:1: ( ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) ) + // InternalRDL.g:4591:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) + { + // InternalRDL.g:4591:1: ( ( rule__ComponentInstance__AddressAssignment_3_1 ) ) + // InternalRDL.g:4592:2: ( rule__ComponentInstance__AddressAssignment_3_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getAddressAssignment_3_1()); + } + // InternalRDL.g:4593:2: ( rule__ComponentInstance__AddressAssignment_3_1 ) + // InternalRDL.g:4593:3: rule__ComponentInstance__AddressAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__AddressAssignment_3_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4602:1: rule__ComponentInstance__Group_4__0 : rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 ; + public final void rule__ComponentInstance__Group_4__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4606:1: ( rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 ) + // InternalRDL.g:4607:2: rule__ComponentInstance__Group_4__0__Impl rule__ComponentInstance__Group_4__1 + { + pushFollow(FOLLOW_27); + rule__ComponentInstance__Group_4__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_4__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4614:1: rule__ComponentInstance__Group_4__0__Impl : ( '+=' ) ; + public final void rule__ComponentInstance__Group_4__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4618:1: ( ( '+=' ) ) + // InternalRDL.g:4619:1: ( '+=' ) + { + // InternalRDL.g:4619:1: ( '+=' ) + // InternalRDL.g:4620:2: '+=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); + } + match(input,126,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); + } + + } + + + } + + } + 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:4629:1: rule__ComponentInstance__Group_4__1 : rule__ComponentInstance__Group_4__1__Impl ; + public final void rule__ComponentInstance__Group_4__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4633:1: ( rule__ComponentInstance__Group_4__1__Impl ) + // InternalRDL.g:4634:2: rule__ComponentInstance__Group_4__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_4__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4640:1: rule__ComponentInstance__Group_4__1__Impl : ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) ; + public final void rule__ComponentInstance__Group_4__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4644:1: ( ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) ) + // InternalRDL.g:4645:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) + { + // InternalRDL.g:4645:1: ( ( rule__ComponentInstance__AddrIncAssignment_4_1 ) ) + // InternalRDL.g:4646:2: ( rule__ComponentInstance__AddrIncAssignment_4_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getAddrIncAssignment_4_1()); + } + // InternalRDL.g:4647:2: ( rule__ComponentInstance__AddrIncAssignment_4_1 ) + // InternalRDL.g:4647:3: rule__ComponentInstance__AddrIncAssignment_4_1 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__AddrIncAssignment_4_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4656:1: rule__ComponentInstance__Group_5__0 : rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 ; + public final void rule__ComponentInstance__Group_5__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4660:1: ( rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 ) + // InternalRDL.g:4661:2: rule__ComponentInstance__Group_5__0__Impl rule__ComponentInstance__Group_5__1 + { + pushFollow(FOLLOW_27); + rule__ComponentInstance__Group_5__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_5__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4668:1: rule__ComponentInstance__Group_5__0__Impl : ( '%=' ) ; + public final void rule__ComponentInstance__Group_5__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4672:1: ( ( '%=' ) ) + // InternalRDL.g:4673:1: ( '%=' ) + { + // InternalRDL.g:4673:1: ( '%=' ) + // InternalRDL.g:4674:2: '%=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); + } + match(input,127,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); + } + + } + + + } + + } + 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:4683:1: rule__ComponentInstance__Group_5__1 : rule__ComponentInstance__Group_5__1__Impl ; + public final void rule__ComponentInstance__Group_5__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4687:1: ( rule__ComponentInstance__Group_5__1__Impl ) + // InternalRDL.g:4688:2: rule__ComponentInstance__Group_5__1__Impl + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__Group_5__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4694:1: rule__ComponentInstance__Group_5__1__Impl : ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) ; + public final void rule__ComponentInstance__Group_5__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4698:1: ( ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) ) + // InternalRDL.g:4699:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) + { + // InternalRDL.g:4699:1: ( ( rule__ComponentInstance__AddrModAssignment_5_1 ) ) + // InternalRDL.g:4700:2: ( rule__ComponentInstance__AddrModAssignment_5_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getAddrModAssignment_5_1()); + } + // InternalRDL.g:4701:2: ( rule__ComponentInstance__AddrModAssignment_5_1 ) + // InternalRDL.g:4701:3: rule__ComponentInstance__AddrModAssignment_5_1 + { + pushFollow(FOLLOW_2); + rule__ComponentInstance__AddrModAssignment_5_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4710:1: rule__Range__Group__0 : rule__Range__Group__0__Impl rule__Range__Group__1 ; + public final void rule__Range__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4714:1: ( rule__Range__Group__0__Impl rule__Range__Group__1 ) + // InternalRDL.g:4715:2: rule__Range__Group__0__Impl rule__Range__Group__1 + { + pushFollow(FOLLOW_27); + rule__Range__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Range__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4722:1: rule__Range__Group__0__Impl : ( '[' ) ; + public final void rule__Range__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4726:1: ( ( '[' ) ) + // InternalRDL.g:4727:1: ( '[' ) + { + // InternalRDL.g:4727:1: ( '[' ) + // InternalRDL.g:4728:2: '[' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); + } + match(input,128,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); + } + + } + + + } + + } + 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:4737:1: rule__Range__Group__1 : rule__Range__Group__1__Impl rule__Range__Group__2 ; + public final void rule__Range__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4741:1: ( rule__Range__Group__1__Impl rule__Range__Group__2 ) + // InternalRDL.g:4742:2: rule__Range__Group__1__Impl rule__Range__Group__2 + { + pushFollow(FOLLOW_28); + rule__Range__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Range__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4749:1: rule__Range__Group__1__Impl : ( ( rule__Range__Alternatives_1 ) ) ; + public final void rule__Range__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4753:1: ( ( ( rule__Range__Alternatives_1 ) ) ) + // InternalRDL.g:4754:1: ( ( rule__Range__Alternatives_1 ) ) + { + // InternalRDL.g:4754:1: ( ( rule__Range__Alternatives_1 ) ) + // InternalRDL.g:4755:2: ( rule__Range__Alternatives_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getAlternatives_1()); + } + // InternalRDL.g:4756:2: ( rule__Range__Alternatives_1 ) + // InternalRDL.g:4756:3: rule__Range__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__Range__Alternatives_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4764:1: rule__Range__Group__2 : rule__Range__Group__2__Impl ; + public final void rule__Range__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4768:1: ( rule__Range__Group__2__Impl ) + // InternalRDL.g:4769:2: rule__Range__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__Range__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4775:1: rule__Range__Group__2__Impl : ( ']' ) ; + public final void rule__Range__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4779:1: ( ( ']' ) ) + // InternalRDL.g:4780:1: ( ']' ) + { + // InternalRDL.g:4780:1: ( ']' ) + // InternalRDL.g:4781:2: ']' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + } + match(input,129,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + } + + } + + + } + + } + 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:4791:1: rule__Range__Group_1_0__0 : rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 ; + public final void rule__Range__Group_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4795:1: ( rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 ) + // InternalRDL.g:4796:2: rule__Range__Group_1_0__0__Impl rule__Range__Group_1_0__1 + { + pushFollow(FOLLOW_29); + rule__Range__Group_1_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4803:1: rule__Range__Group_1_0__0__Impl : ( ( rule__Range__LeftAssignment_1_0_0 ) ) ; + public final void rule__Range__Group_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4807:1: ( ( ( rule__Range__LeftAssignment_1_0_0 ) ) ) + // InternalRDL.g:4808:1: ( ( rule__Range__LeftAssignment_1_0_0 ) ) + { + // InternalRDL.g:4808:1: ( ( rule__Range__LeftAssignment_1_0_0 ) ) + // InternalRDL.g:4809:2: ( rule__Range__LeftAssignment_1_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getLeftAssignment_1_0_0()); + } + // InternalRDL.g:4810:2: ( rule__Range__LeftAssignment_1_0_0 ) + // InternalRDL.g:4810:3: rule__Range__LeftAssignment_1_0_0 + { + pushFollow(FOLLOW_2); + rule__Range__LeftAssignment_1_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getLeftAssignment_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:4818:1: rule__Range__Group_1_0__1 : rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 ; + public final void rule__Range__Group_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4822:1: ( rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 ) + // InternalRDL.g:4823:2: rule__Range__Group_1_0__1__Impl rule__Range__Group_1_0__2 + { + pushFollow(FOLLOW_27); + rule__Range__Group_1_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4830:1: rule__Range__Group_1_0__1__Impl : ( ':' ) ; + public final void rule__Range__Group_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4834:1: ( ( ':' ) ) + // InternalRDL.g:4835:1: ( ':' ) + { + // InternalRDL.g:4835:1: ( ':' ) + // InternalRDL.g:4836:2: ':' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + } + match(input,130,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + } + + } + + + } + + } + 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:4845:1: rule__Range__Group_1_0__2 : rule__Range__Group_1_0__2__Impl ; + public final void rule__Range__Group_1_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4849:1: ( rule__Range__Group_1_0__2__Impl ) + // InternalRDL.g:4850:2: rule__Range__Group_1_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__Range__Group_1_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4856:1: rule__Range__Group_1_0__2__Impl : ( ( rule__Range__RightAssignment_1_0_2 ) ) ; + public final void rule__Range__Group_1_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4860:1: ( ( ( rule__Range__RightAssignment_1_0_2 ) ) ) + // InternalRDL.g:4861:1: ( ( rule__Range__RightAssignment_1_0_2 ) ) + { + // InternalRDL.g:4861:1: ( ( rule__Range__RightAssignment_1_0_2 ) ) + // InternalRDL.g:4862:2: ( rule__Range__RightAssignment_1_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getRightAssignment_1_0_2()); + } + // InternalRDL.g:4863:2: ( rule__Range__RightAssignment_1_0_2 ) + // InternalRDL.g:4863:3: rule__Range__RightAssignment_1_0_2 + { + pushFollow(FOLLOW_2); + rule__Range__RightAssignment_1_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getRightAssignment_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:4872:1: rule__DefaultProperyAssignment__Group__0 : rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 ; + public final void rule__DefaultProperyAssignment__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4876:1: ( rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 ) + // InternalRDL.g:4877:2: rule__DefaultProperyAssignment__Group__0__Impl rule__DefaultProperyAssignment__Group__1 + { + pushFollow(FOLLOW_30); + rule__DefaultProperyAssignment__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__DefaultProperyAssignment__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4884:1: rule__DefaultProperyAssignment__Group__0__Impl : ( 'default' ) ; + public final void rule__DefaultProperyAssignment__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4888:1: ( ( 'default' ) ) + // InternalRDL.g:4889:1: ( 'default' ) + { + // InternalRDL.g:4889:1: ( 'default' ) + // InternalRDL.g:4890:2: 'default' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + } + match(input,120,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + } + + } + + + } + + } + 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:4899:1: rule__DefaultProperyAssignment__Group__1 : rule__DefaultProperyAssignment__Group__1__Impl ; + public final void rule__DefaultProperyAssignment__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4903:1: ( rule__DefaultProperyAssignment__Group__1__Impl ) + // InternalRDL.g:4904:2: rule__DefaultProperyAssignment__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__DefaultProperyAssignment__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4910:1: rule__DefaultProperyAssignment__Group__1__Impl : ( ruleExplicitPropertyAssignment ) ; + public final void rule__DefaultProperyAssignment__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4914:1: ( ( ruleExplicitPropertyAssignment ) ) + // InternalRDL.g:4915:1: ( ruleExplicitPropertyAssignment ) + { + // InternalRDL.g:4915:1: ( ruleExplicitPropertyAssignment ) + // InternalRDL.g:4916:2: ruleExplicitPropertyAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + ruleExplicitPropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:4926:1: rule__ExplicitPropertyAssignment__Group_0__0 : rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 ; + public final void rule__ExplicitPropertyAssignment__Group_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4930:1: ( rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 ) + // InternalRDL.g:4931:2: rule__ExplicitPropertyAssignment__Group_0__0__Impl rule__ExplicitPropertyAssignment__Group_0__1 + { + pushFollow(FOLLOW_30); + rule__ExplicitPropertyAssignment__Group_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4938:1: rule__ExplicitPropertyAssignment__Group_0__0__Impl : ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) ; + public final void rule__ExplicitPropertyAssignment__Group_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4942:1: ( ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) ) + // InternalRDL.g:4943:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) + { + // InternalRDL.g:4943:1: ( ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) ) + // InternalRDL.g:4944:2: ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierAssignment_0_0()); + } + // InternalRDL.g:4945:2: ( rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 ) + // InternalRDL.g:4945:3: rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__ModifierAssignment_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:4953:1: rule__ExplicitPropertyAssignment__Group_0__1 : rule__ExplicitPropertyAssignment__Group_0__1__Impl ; + public final void rule__ExplicitPropertyAssignment__Group_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4957:1: ( rule__ExplicitPropertyAssignment__Group_0__1__Impl ) + // InternalRDL.g:4958:2: rule__ExplicitPropertyAssignment__Group_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4964:1: rule__ExplicitPropertyAssignment__Group_0__1__Impl : ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) ; + public final void rule__ExplicitPropertyAssignment__Group_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4968:1: ( ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) ) + // InternalRDL.g:4969:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) + { + // InternalRDL.g:4969:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) ) + // InternalRDL.g:4970:2: ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_0_1()); + } + // InternalRDL.g:4971:2: ( rule__ExplicitPropertyAssignment__NameAssignment_0_1 ) + // InternalRDL.g:4971:3: rule__ExplicitPropertyAssignment__NameAssignment_0_1 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__NameAssignment_0_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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_1__0" + // InternalRDL.g:4980:1: rule__ExplicitPropertyAssignment__Group_1__0 : rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 ; + public final void rule__ExplicitPropertyAssignment__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4984:1: ( rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 ) + // InternalRDL.g:4985:2: rule__ExplicitPropertyAssignment__Group_1__0__Impl rule__ExplicitPropertyAssignment__Group_1__1 + { + pushFollow(FOLLOW_10); + rule__ExplicitPropertyAssignment__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:4992:1: rule__ExplicitPropertyAssignment__Group_1__0__Impl : ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) ; + public final void rule__ExplicitPropertyAssignment__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:4996:1: ( ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) ) + // InternalRDL.g:4997:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) + { + // InternalRDL.g:4997:1: ( ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) ) + // InternalRDL.g:4998:2: ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getNameAssignment_1_0()); + } + // InternalRDL.g:4999:2: ( rule__ExplicitPropertyAssignment__NameAssignment_1_0 ) + // InternalRDL.g:4999:3: rule__ExplicitPropertyAssignment__NameAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__NameAssignment_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5007:1: rule__ExplicitPropertyAssignment__Group_1__1 : rule__ExplicitPropertyAssignment__Group_1__1__Impl ; + public final void rule__ExplicitPropertyAssignment__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5011:1: ( rule__ExplicitPropertyAssignment__Group_1__1__Impl ) + // InternalRDL.g:5012:2: rule__ExplicitPropertyAssignment__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExplicitPropertyAssignment__Group_1__1" + + + // $ANTLR start "rule__ExplicitPropertyAssignment__Group_1__1__Impl" + // InternalRDL.g:5018:1: rule__ExplicitPropertyAssignment__Group_1__1__Impl : ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) ; + public final void rule__ExplicitPropertyAssignment__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5022:1: ( ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) ) + // InternalRDL.g:5023:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) + { + // InternalRDL.g:5023:1: ( ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? ) + // InternalRDL.g:5024:2: ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getGroup_1_1()); + } + // InternalRDL.g:5025:2: ( rule__ExplicitPropertyAssignment__Group_1_1__0 )? + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==119) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // InternalRDL.g:5025:3: rule__ExplicitPropertyAssignment__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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_1__0" + // InternalRDL.g:5034:1: rule__ExplicitPropertyAssignment__Group_1_1__0 : rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 ; + public final void rule__ExplicitPropertyAssignment__Group_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5038:1: ( rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 ) + // InternalRDL.g:5039:2: rule__ExplicitPropertyAssignment__Group_1_1__0__Impl rule__ExplicitPropertyAssignment__Group_1_1__1 + { + pushFollow(FOLLOW_31); + rule__ExplicitPropertyAssignment__Group_1_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5046:1: rule__ExplicitPropertyAssignment__Group_1_1__0__Impl : ( '=' ) ; + public final void rule__ExplicitPropertyAssignment__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5050:1: ( ( '=' ) ) + // InternalRDL.g:5051:1: ( '=' ) + { + // InternalRDL.g:5051:1: ( '=' ) + // InternalRDL.g:5052:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + } + + } + + + } + + } + 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:5061:1: rule__ExplicitPropertyAssignment__Group_1_1__1 : rule__ExplicitPropertyAssignment__Group_1_1__1__Impl ; + public final void rule__ExplicitPropertyAssignment__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5065:1: ( rule__ExplicitPropertyAssignment__Group_1_1__1__Impl ) + // InternalRDL.g:5066:2: rule__ExplicitPropertyAssignment__Group_1_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__Group_1_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5072:1: rule__ExplicitPropertyAssignment__Group_1_1__1__Impl : ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) ; + public final void rule__ExplicitPropertyAssignment__Group_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5076:1: ( ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) ) + // InternalRDL.g:5077:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) + { + // InternalRDL.g:5077:1: ( ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) ) + // InternalRDL.g:5078:2: ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsAssignment_1_1_1()); + } + // InternalRDL.g:5079:2: ( rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 ) + // InternalRDL.g:5079:3: rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 + { + pushFollow(FOLLOW_2); + rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5088:1: rule__PostPropertyAssignment__Group__0 : rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 ; + public final void rule__PostPropertyAssignment__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5092:1: ( rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 ) + // InternalRDL.g:5093:2: rule__PostPropertyAssignment__Group__0__Impl rule__PostPropertyAssignment__Group__1 + { + pushFollow(FOLLOW_10); + rule__PostPropertyAssignment__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5100:1: rule__PostPropertyAssignment__Group__0__Impl : ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) ; + public final void rule__PostPropertyAssignment__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5104:1: ( ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) ) + // InternalRDL.g:5105:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) + { + // InternalRDL.g:5105:1: ( ( rule__PostPropertyAssignment__Alternatives_0 ) ) + // InternalRDL.g:5106:2: ( rule__PostPropertyAssignment__Alternatives_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0()); + } + // InternalRDL.g:5107:2: ( rule__PostPropertyAssignment__Alternatives_0 ) + // InternalRDL.g:5107:3: rule__PostPropertyAssignment__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Alternatives_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5115:1: rule__PostPropertyAssignment__Group__1 : rule__PostPropertyAssignment__Group__1__Impl ; + public final void rule__PostPropertyAssignment__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5119:1: ( rule__PostPropertyAssignment__Group__1__Impl ) + // InternalRDL.g:5120:2: rule__PostPropertyAssignment__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5126:1: rule__PostPropertyAssignment__Group__1__Impl : ( ( rule__PostPropertyAssignment__Group_1__0 )? ) ; + public final void rule__PostPropertyAssignment__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5130:1: ( ( ( rule__PostPropertyAssignment__Group_1__0 )? ) ) + // InternalRDL.g:5131:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? ) + { + // InternalRDL.g:5131:1: ( ( rule__PostPropertyAssignment__Group_1__0 )? ) + // InternalRDL.g:5132:2: ( rule__PostPropertyAssignment__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getGroup_1()); + } + // InternalRDL.g:5133:2: ( rule__PostPropertyAssignment__Group_1__0 )? + int alt42=2; + int LA42_0 = input.LA(1); + + if ( (LA42_0==119) ) { + alt42=1; + } + switch (alt42) { + case 1 : + // InternalRDL.g:5133:3: rule__PostPropertyAssignment__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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_0_0__0" + // InternalRDL.g:5142:1: rule__PostPropertyAssignment__Group_0_0__0 : rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 ; + public final void rule__PostPropertyAssignment__Group_0_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5146:1: ( rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 ) + // InternalRDL.g:5147:2: rule__PostPropertyAssignment__Group_0_0__0__Impl rule__PostPropertyAssignment__Group_0_0__1 + { + pushFollow(FOLLOW_32); + rule__PostPropertyAssignment__Group_0_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5154:1: rule__PostPropertyAssignment__Group_0_0__0__Impl : ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) ; + public final void rule__PostPropertyAssignment__Group_0_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5158:1: ( ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) ) + // InternalRDL.g:5159:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) + { + // InternalRDL.g:5159:1: ( ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) ) + // InternalRDL.g:5160:2: ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceAssignment_0_0_0()); + } + // InternalRDL.g:5161:2: ( rule__PostPropertyAssignment__InstanceAssignment_0_0_0 ) + // InternalRDL.g:5161:3: rule__PostPropertyAssignment__InstanceAssignment_0_0_0 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__InstanceAssignment_0_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5169:1: rule__PostPropertyAssignment__Group_0_0__1 : rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 ; + public final void rule__PostPropertyAssignment__Group_0_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5173:1: ( rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 ) + // InternalRDL.g:5174:2: rule__PostPropertyAssignment__Group_0_0__1__Impl rule__PostPropertyAssignment__Group_0_0__2 + { + pushFollow(FOLLOW_33); + rule__PostPropertyAssignment__Group_0_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5181:1: rule__PostPropertyAssignment__Group_0_0__1__Impl : ( '->' ) ; + public final void rule__PostPropertyAssignment__Group_0_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5185:1: ( ( '->' ) ) + // InternalRDL.g:5186:1: ( '->' ) + { + // InternalRDL.g:5186:1: ( '->' ) + // InternalRDL.g:5187:2: '->' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); + } + match(input,131,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); + } + + } + + + } + + } + 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:5196:1: rule__PostPropertyAssignment__Group_0_0__2 : rule__PostPropertyAssignment__Group_0_0__2__Impl ; + public final void rule__PostPropertyAssignment__Group_0_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5200:1: ( rule__PostPropertyAssignment__Group_0_0__2__Impl ) + // InternalRDL.g:5201:2: rule__PostPropertyAssignment__Group_0_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_0_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5207:1: rule__PostPropertyAssignment__Group_0_0__2__Impl : ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) ; + public final void rule__PostPropertyAssignment__Group_0_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5211:1: ( ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) ) + // InternalRDL.g:5212:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) + { + // InternalRDL.g:5212:1: ( ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) ) + // InternalRDL.g:5213:2: ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getAlternatives_0_0_2()); + } + // InternalRDL.g:5214:2: ( rule__PostPropertyAssignment__Alternatives_0_0_2 ) + // InternalRDL.g:5214:3: rule__PostPropertyAssignment__Alternatives_0_0_2 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Alternatives_0_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5223:1: rule__PostPropertyAssignment__Group_1__0 : rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 ; + public final void rule__PostPropertyAssignment__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5227:1: ( rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 ) + // InternalRDL.g:5228:2: rule__PostPropertyAssignment__Group_1__0__Impl rule__PostPropertyAssignment__Group_1__1 + { + pushFollow(FOLLOW_31); + rule__PostPropertyAssignment__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5235:1: rule__PostPropertyAssignment__Group_1__0__Impl : ( '=' ) ; + public final void rule__PostPropertyAssignment__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5239:1: ( ( '=' ) ) + // InternalRDL.g:5240:1: ( '=' ) + { + // InternalRDL.g:5240:1: ( '=' ) + // InternalRDL.g:5241:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); + } + + } + + + } + + } + 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:5250:1: rule__PostPropertyAssignment__Group_1__1 : rule__PostPropertyAssignment__Group_1__1__Impl ; + public final void rule__PostPropertyAssignment__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5254:1: ( rule__PostPropertyAssignment__Group_1__1__Impl ) + // InternalRDL.g:5255:2: rule__PostPropertyAssignment__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5261:1: rule__PostPropertyAssignment__Group_1__1__Impl : ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) ; + public final void rule__PostPropertyAssignment__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5265:1: ( ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) ) + // InternalRDL.g:5266:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) + { + // InternalRDL.g:5266:1: ( ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) ) + // InternalRDL.g:5267:2: ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getRhsAssignment_1_1()); + } + // InternalRDL.g:5268:2: ( rule__PostPropertyAssignment__RhsAssignment_1_1 ) + // InternalRDL.g:5268:3: rule__PostPropertyAssignment__RhsAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__PostPropertyAssignment__RhsAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5277:1: rule__InstancePropertyRef__Group__0 : rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 ; + public final void rule__InstancePropertyRef__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5281:1: ( rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 ) + // InternalRDL.g:5282:2: rule__InstancePropertyRef__Group__0__Impl rule__InstancePropertyRef__Group__1 + { + pushFollow(FOLLOW_32); + rule__InstancePropertyRef__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5289:1: rule__InstancePropertyRef__Group__0__Impl : ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) ; + public final void rule__InstancePropertyRef__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5293:1: ( ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) ) + // InternalRDL.g:5294:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) + { + // InternalRDL.g:5294:1: ( ( rule__InstancePropertyRef__InstanceAssignment_0 ) ) + // InternalRDL.g:5295:2: ( rule__InstancePropertyRef__InstanceAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getInstanceAssignment_0()); + } + // InternalRDL.g:5296:2: ( rule__InstancePropertyRef__InstanceAssignment_0 ) + // InternalRDL.g:5296:3: rule__InstancePropertyRef__InstanceAssignment_0 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__InstanceAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5304:1: rule__InstancePropertyRef__Group__1 : rule__InstancePropertyRef__Group__1__Impl ; + public final void rule__InstancePropertyRef__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5308:1: ( rule__InstancePropertyRef__Group__1__Impl ) + // InternalRDL.g:5309:2: rule__InstancePropertyRef__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5315:1: rule__InstancePropertyRef__Group__1__Impl : ( ( rule__InstancePropertyRef__Group_1__0 )? ) ; + public final void rule__InstancePropertyRef__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5319:1: ( ( ( rule__InstancePropertyRef__Group_1__0 )? ) ) + // InternalRDL.g:5320:1: ( ( rule__InstancePropertyRef__Group_1__0 )? ) + { + // InternalRDL.g:5320:1: ( ( rule__InstancePropertyRef__Group_1__0 )? ) + // InternalRDL.g:5321:2: ( rule__InstancePropertyRef__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getGroup_1()); + } + // InternalRDL.g:5322:2: ( rule__InstancePropertyRef__Group_1__0 )? + int alt43=2; + int LA43_0 = input.LA(1); + + if ( (LA43_0==131) ) { + alt43=1; + } + switch (alt43) { + case 1 : + // InternalRDL.g:5322:3: rule__InstancePropertyRef__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:5331:1: rule__InstancePropertyRef__Group_1__0 : rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 ; + public final void rule__InstancePropertyRef__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5335:1: ( rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 ) + // InternalRDL.g:5336:2: rule__InstancePropertyRef__Group_1__0__Impl rule__InstancePropertyRef__Group_1__1 + { + pushFollow(FOLLOW_33); + rule__InstancePropertyRef__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5343:1: rule__InstancePropertyRef__Group_1__0__Impl : ( '->' ) ; + public final void rule__InstancePropertyRef__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5347:1: ( ( '->' ) ) + // InternalRDL.g:5348:1: ( '->' ) + { + // InternalRDL.g:5348:1: ( '->' ) + // InternalRDL.g:5349:2: '->' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); + } + match(input,131,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); + } + + } + + + } + + } + 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:5358:1: rule__InstancePropertyRef__Group_1__1 : rule__InstancePropertyRef__Group_1__1__Impl ; + public final void rule__InstancePropertyRef__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5362:1: ( rule__InstancePropertyRef__Group_1__1__Impl ) + // InternalRDL.g:5363:2: rule__InstancePropertyRef__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5369:1: rule__InstancePropertyRef__Group_1__1__Impl : ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) ; + public final void rule__InstancePropertyRef__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5373:1: ( ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) ) + // InternalRDL.g:5374:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) + { + // InternalRDL.g:5374:1: ( ( rule__InstancePropertyRef__Alternatives_1_1 ) ) + // InternalRDL.g:5375:2: ( rule__InstancePropertyRef__Alternatives_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getAlternatives_1_1()); + } + // InternalRDL.g:5376:2: ( rule__InstancePropertyRef__Alternatives_1_1 ) + // InternalRDL.g:5376:3: rule__InstancePropertyRef__Alternatives_1_1 + { + pushFollow(FOLLOW_2); + rule__InstancePropertyRef__Alternatives_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5385:1: rule__InstanceRef__Group__0 : rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 ; + public final void rule__InstanceRef__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5389:1: ( rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 ) + // InternalRDL.g:5390:2: rule__InstanceRef__Group__0__Impl rule__InstanceRef__Group__1 + { + pushFollow(FOLLOW_34); + rule__InstanceRef__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__InstanceRef__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5397:1: rule__InstanceRef__Group__0__Impl : ( ( rule__InstanceRef__InstanceAssignment_0 ) ) ; + public final void rule__InstanceRef__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5401:1: ( ( ( rule__InstanceRef__InstanceAssignment_0 ) ) ) + // InternalRDL.g:5402:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) ) + { + // InternalRDL.g:5402:1: ( ( rule__InstanceRef__InstanceAssignment_0 ) ) + // InternalRDL.g:5403:2: ( rule__InstanceRef__InstanceAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getInstanceAssignment_0()); + } + // InternalRDL.g:5404:2: ( rule__InstanceRef__InstanceAssignment_0 ) + // InternalRDL.g:5404:3: rule__InstanceRef__InstanceAssignment_0 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__InstanceAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5412:1: rule__InstanceRef__Group__1 : rule__InstanceRef__Group__1__Impl ; + public final void rule__InstanceRef__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5416:1: ( rule__InstanceRef__Group__1__Impl ) + // InternalRDL.g:5417:2: rule__InstanceRef__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5423:1: rule__InstanceRef__Group__1__Impl : ( ( rule__InstanceRef__Group_1__0 )? ) ; + public final void rule__InstanceRef__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5427:1: ( ( ( rule__InstanceRef__Group_1__0 )? ) ) + // InternalRDL.g:5428:1: ( ( rule__InstanceRef__Group_1__0 )? ) + { + // InternalRDL.g:5428:1: ( ( rule__InstanceRef__Group_1__0 )? ) + // InternalRDL.g:5429:2: ( rule__InstanceRef__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getGroup_1()); + } + // InternalRDL.g:5430:2: ( rule__InstanceRef__Group_1__0 )? + int alt44=2; + int LA44_0 = input.LA(1); + + if ( (LA44_0==132) ) { + alt44=1; + } + switch (alt44) { + case 1 : + // InternalRDL.g:5430:3: rule__InstanceRef__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:5439:1: rule__InstanceRef__Group_1__0 : rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 ; + public final void rule__InstanceRef__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5443:1: ( rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 ) + // InternalRDL.g:5444:2: rule__InstanceRef__Group_1__0__Impl rule__InstanceRef__Group_1__1 + { + pushFollow(FOLLOW_6); + rule__InstanceRef__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__InstanceRef__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5451:1: rule__InstanceRef__Group_1__0__Impl : ( '.' ) ; + public final void rule__InstanceRef__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5455:1: ( ( '.' ) ) + // InternalRDL.g:5456:1: ( '.' ) + { + // InternalRDL.g:5456:1: ( '.' ) + // InternalRDL.g:5457:2: '.' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); + } + match(input,132,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); + } + + } + + + } + + } + 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:5466:1: rule__InstanceRef__Group_1__1 : rule__InstanceRef__Group_1__1__Impl ; + public final void rule__InstanceRef__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5470:1: ( rule__InstanceRef__Group_1__1__Impl ) + // InternalRDL.g:5471:2: rule__InstanceRef__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__InstanceRef__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5477:1: rule__InstanceRef__Group_1__1__Impl : ( ( rule__InstanceRef__TailAssignment_1_1 ) ) ; + public final void rule__InstanceRef__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5481:1: ( ( ( rule__InstanceRef__TailAssignment_1_1 ) ) ) + // InternalRDL.g:5482:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) ) + { + // InternalRDL.g:5482:1: ( ( rule__InstanceRef__TailAssignment_1_1 ) ) + // InternalRDL.g:5483:2: ( rule__InstanceRef__TailAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getTailAssignment_1_1()); + } + // InternalRDL.g:5484:2: ( rule__InstanceRef__TailAssignment_1_1 ) + // InternalRDL.g:5484:3: rule__InstanceRef__TailAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__InstanceRef__TailAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5493:1: rule__HierInstanceRef__Group__0 : rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 ; + public final void rule__HierInstanceRef__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5497:1: ( rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 ) + // InternalRDL.g:5498:2: rule__HierInstanceRef__Group__0__Impl rule__HierInstanceRef__Group__1 + { + pushFollow(FOLLOW_34); + rule__HierInstanceRef__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5505:1: rule__HierInstanceRef__Group__0__Impl : ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) ; + public final void rule__HierInstanceRef__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5509:1: ( ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) ) + // InternalRDL.g:5510:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) + { + // InternalRDL.g:5510:1: ( ( rule__HierInstanceRef__InstanceAssignment_0 ) ) + // InternalRDL.g:5511:2: ( rule__HierInstanceRef__InstanceAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getInstanceAssignment_0()); + } + // InternalRDL.g:5512:2: ( rule__HierInstanceRef__InstanceAssignment_0 ) + // InternalRDL.g:5512:3: rule__HierInstanceRef__InstanceAssignment_0 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__InstanceAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5520:1: rule__HierInstanceRef__Group__1 : rule__HierInstanceRef__Group__1__Impl ; + public final void rule__HierInstanceRef__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5524:1: ( rule__HierInstanceRef__Group__1__Impl ) + // InternalRDL.g:5525:2: rule__HierInstanceRef__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5531:1: rule__HierInstanceRef__Group__1__Impl : ( ( rule__HierInstanceRef__Group_1__0 )? ) ; + public final void rule__HierInstanceRef__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5535:1: ( ( ( rule__HierInstanceRef__Group_1__0 )? ) ) + // InternalRDL.g:5536:1: ( ( rule__HierInstanceRef__Group_1__0 )? ) + { + // InternalRDL.g:5536:1: ( ( rule__HierInstanceRef__Group_1__0 )? ) + // InternalRDL.g:5537:2: ( rule__HierInstanceRef__Group_1__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getGroup_1()); + } + // InternalRDL.g:5538:2: ( rule__HierInstanceRef__Group_1__0 )? + int alt45=2; + int LA45_0 = input.LA(1); + + if ( (LA45_0==132) ) { + alt45=1; + } + switch (alt45) { + case 1 : + // InternalRDL.g:5538:3: rule__HierInstanceRef__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:5547:1: rule__HierInstanceRef__Group_1__0 : rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 ; + public final void rule__HierInstanceRef__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5551:1: ( rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 ) + // InternalRDL.g:5552:2: rule__HierInstanceRef__Group_1__0__Impl rule__HierInstanceRef__Group_1__1 + { + pushFollow(FOLLOW_6); + rule__HierInstanceRef__Group_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5559:1: rule__HierInstanceRef__Group_1__0__Impl : ( '.' ) ; + public final void rule__HierInstanceRef__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5563:1: ( ( '.' ) ) + // InternalRDL.g:5564:1: ( '.' ) + { + // InternalRDL.g:5564:1: ( '.' ) + // InternalRDL.g:5565:2: '.' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); + } + match(input,132,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); + } + + } + + + } + + } + 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:5574:1: rule__HierInstanceRef__Group_1__1 : rule__HierInstanceRef__Group_1__1__Impl ; + public final void rule__HierInstanceRef__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5578:1: ( rule__HierInstanceRef__Group_1__1__Impl ) + // InternalRDL.g:5579:2: rule__HierInstanceRef__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__Group_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5585:1: rule__HierInstanceRef__Group_1__1__Impl : ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) ; + public final void rule__HierInstanceRef__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5589:1: ( ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) ) + // InternalRDL.g:5590:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) + { + // InternalRDL.g:5590:1: ( ( rule__HierInstanceRef__TailAssignment_1_1 ) ) + // InternalRDL.g:5591:2: ( rule__HierInstanceRef__TailAssignment_1_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getTailAssignment_1_1()); + } + // InternalRDL.g:5592:2: ( rule__HierInstanceRef__TailAssignment_1_1 ) + // InternalRDL.g:5592:3: rule__HierInstanceRef__TailAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__HierInstanceRef__TailAssignment_1_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5601:1: rule__PropertyAssignmentRhs__Group_2__0 : rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 ; + public final void rule__PropertyAssignmentRhs__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5605:1: ( rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 ) + // InternalRDL.g:5606:2: rule__PropertyAssignmentRhs__Group_2__0__Impl rule__PropertyAssignmentRhs__Group_2__1 + { + pushFollow(FOLLOW_35); + rule__PropertyAssignmentRhs__Group_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5613:1: rule__PropertyAssignmentRhs__Group_2__0__Impl : ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) ; + public final void rule__PropertyAssignmentRhs__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5617:1: ( ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) ) + // InternalRDL.g:5618:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) + { + // InternalRDL.g:5618:1: ( ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) ) + // InternalRDL.g:5619:2: ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefAssignment_2_0()); + } + // InternalRDL.g:5620:2: ( rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 ) + // InternalRDL.g:5620:3: rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__EnumRefAssignment_2_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5628:1: rule__PropertyAssignmentRhs__Group_2__1 : rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 ; + public final void rule__PropertyAssignmentRhs__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5632:1: ( rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 ) + // InternalRDL.g:5633:2: rule__PropertyAssignmentRhs__Group_2__1__Impl rule__PropertyAssignmentRhs__Group_2__2 + { + pushFollow(FOLLOW_7); + rule__PropertyAssignmentRhs__Group_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5640:1: rule__PropertyAssignmentRhs__Group_2__1__Impl : ( 'enum' ) ; + public final void rule__PropertyAssignmentRhs__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5644:1: ( ( 'enum' ) ) + // InternalRDL.g:5645:1: ( 'enum' ) + { + // InternalRDL.g:5645:1: ( 'enum' ) + // InternalRDL.g:5646:2: 'enum' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); + } + match(input,133,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); + } + + } + + + } + + } + 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:5655:1: rule__PropertyAssignmentRhs__Group_2__2 : rule__PropertyAssignmentRhs__Group_2__2__Impl ; + public final void rule__PropertyAssignmentRhs__Group_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5659:1: ( rule__PropertyAssignmentRhs__Group_2__2__Impl ) + // InternalRDL.g:5660:2: rule__PropertyAssignmentRhs__Group_2__2__Impl + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__Group_2__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5666:1: rule__PropertyAssignmentRhs__Group_2__2__Impl : ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) ; + public final void rule__PropertyAssignmentRhs__Group_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5670:1: ( ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) ) + // InternalRDL.g:5671:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) + { + // InternalRDL.g:5671:1: ( ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) ) + // InternalRDL.g:5672:2: ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsAssignment_2_2()); + } + // InternalRDL.g:5673:2: ( rule__PropertyAssignmentRhs__EnumsAssignment_2_2 ) + // InternalRDL.g:5673:3: rule__PropertyAssignmentRhs__EnumsAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__PropertyAssignmentRhs__EnumsAssignment_2_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5682:1: rule__Concat__Group__0 : rule__Concat__Group__0__Impl rule__Concat__Group__1 ; + public final void rule__Concat__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5686:1: ( rule__Concat__Group__0__Impl rule__Concat__Group__1 ) + // InternalRDL.g:5687:2: rule__Concat__Group__0__Impl rule__Concat__Group__1 + { + pushFollow(FOLLOW_36); + rule__Concat__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Concat__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5694:1: rule__Concat__Group__0__Impl : ( '{' ) ; + public final void rule__Concat__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5698:1: ( ( '{' ) ) + // InternalRDL.g:5699:1: ( '{' ) + { + // InternalRDL.g:5699:1: ( '{' ) + // InternalRDL.g:5700:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); + } + match(input,116,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); + } + + } + + + } + + } + 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:5709:1: rule__Concat__Group__1 : rule__Concat__Group__1__Impl rule__Concat__Group__2 ; + public final void rule__Concat__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5713:1: ( rule__Concat__Group__1__Impl rule__Concat__Group__2 ) + // InternalRDL.g:5714:2: rule__Concat__Group__1__Impl rule__Concat__Group__2 + { + pushFollow(FOLLOW_37); + rule__Concat__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Concat__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5721:1: rule__Concat__Group__1__Impl : ( ( rule__Concat__ElementsAssignment_1 ) ) ; + public final void rule__Concat__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5725:1: ( ( ( rule__Concat__ElementsAssignment_1 ) ) ) + // InternalRDL.g:5726:1: ( ( rule__Concat__ElementsAssignment_1 ) ) + { + // InternalRDL.g:5726:1: ( ( rule__Concat__ElementsAssignment_1 ) ) + // InternalRDL.g:5727:2: ( rule__Concat__ElementsAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getElementsAssignment_1()); + } + // InternalRDL.g:5728:2: ( rule__Concat__ElementsAssignment_1 ) + // InternalRDL.g:5728:3: rule__Concat__ElementsAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Concat__ElementsAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5736:1: rule__Concat__Group__2 : rule__Concat__Group__2__Impl rule__Concat__Group__3 ; + public final void rule__Concat__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5740:1: ( rule__Concat__Group__2__Impl rule__Concat__Group__3 ) + // InternalRDL.g:5741:2: rule__Concat__Group__2__Impl rule__Concat__Group__3 + { + pushFollow(FOLLOW_37); + rule__Concat__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Concat__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5748:1: rule__Concat__Group__2__Impl : ( ( rule__Concat__Group_2__0 )* ) ; + public final void rule__Concat__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5752:1: ( ( ( rule__Concat__Group_2__0 )* ) ) + // InternalRDL.g:5753:1: ( ( rule__Concat__Group_2__0 )* ) + { + // InternalRDL.g:5753:1: ( ( rule__Concat__Group_2__0 )* ) + // InternalRDL.g:5754:2: ( rule__Concat__Group_2__0 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getGroup_2()); + } + // InternalRDL.g:5755:2: ( rule__Concat__Group_2__0 )* + loop46: + do { + int alt46=2; + int LA46_0 = input.LA(1); + + if ( (LA46_0==124) ) { + alt46=1; + } + + + switch (alt46) { + case 1 : + // InternalRDL.g:5755:3: rule__Concat__Group_2__0 + { + pushFollow(FOLLOW_23); + rule__Concat__Group_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop46; + } + } while (true); + + if ( state.backtracking==0 ) { + 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:5763:1: rule__Concat__Group__3 : rule__Concat__Group__3__Impl ; + public final void rule__Concat__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5767:1: ( rule__Concat__Group__3__Impl ) + // InternalRDL.g:5768:2: rule__Concat__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__Concat__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5774:1: rule__Concat__Group__3__Impl : ( '}' ) ; + public final void rule__Concat__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5778:1: ( ( '}' ) ) + // InternalRDL.g:5779:1: ( '}' ) + { + // InternalRDL.g:5779:1: ( '}' ) + // InternalRDL.g:5780:2: '}' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + } + match(input,117,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + } + + } + + + } + + } + 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:5790:1: rule__Concat__Group_2__0 : rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 ; + public final void rule__Concat__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5794:1: ( rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 ) + // InternalRDL.g:5795:2: rule__Concat__Group_2__0__Impl rule__Concat__Group_2__1 + { + pushFollow(FOLLOW_36); + rule__Concat__Group_2__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__Concat__Group_2__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5802:1: rule__Concat__Group_2__0__Impl : ( ',' ) ; + public final void rule__Concat__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5806:1: ( ( ',' ) ) + // InternalRDL.g:5807:1: ( ',' ) + { + // InternalRDL.g:5807:1: ( ',' ) + // InternalRDL.g:5808:2: ',' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getCommaKeyword_2_0()); + } + match(input,124,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatAccess().getCommaKeyword_2_0()); + } + + } + + + } + + } + 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:5817:1: rule__Concat__Group_2__1 : rule__Concat__Group_2__1__Impl ; + public final void rule__Concat__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5821:1: ( rule__Concat__Group_2__1__Impl ) + // InternalRDL.g:5822:2: rule__Concat__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__Concat__Group_2__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5828:1: rule__Concat__Group_2__1__Impl : ( ( rule__Concat__ElementsAssignment_2_1 ) ) ; + public final void rule__Concat__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5832:1: ( ( ( rule__Concat__ElementsAssignment_2_1 ) ) ) + // InternalRDL.g:5833:1: ( ( rule__Concat__ElementsAssignment_2_1 ) ) + { + // InternalRDL.g:5833:1: ( ( rule__Concat__ElementsAssignment_2_1 ) ) + // InternalRDL.g:5834:2: ( rule__Concat__ElementsAssignment_2_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getElementsAssignment_2_1()); + } + // InternalRDL.g:5835:2: ( rule__Concat__ElementsAssignment_2_1 ) + // InternalRDL.g:5835:3: rule__Concat__ElementsAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__Concat__ElementsAssignment_2_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5844:1: rule__EnumDefinition__Group__0 : rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 ; + public final void rule__EnumDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5848:1: ( rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 ) + // InternalRDL.g:5849:2: rule__EnumDefinition__Group__0__Impl rule__EnumDefinition__Group__1 + { + pushFollow(FOLLOW_6); + rule__EnumDefinition__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5856:1: rule__EnumDefinition__Group__0__Impl : ( 'enum' ) ; + public final void rule__EnumDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5860:1: ( ( 'enum' ) ) + // InternalRDL.g:5861:1: ( 'enum' ) + { + // InternalRDL.g:5861:1: ( 'enum' ) + // InternalRDL.g:5862:2: 'enum' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); + } + match(input,133,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); + } + + } + + + } + + } + 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:5871:1: rule__EnumDefinition__Group__1 : rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 ; + public final void rule__EnumDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5875:1: ( rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 ) + // InternalRDL.g:5876:2: rule__EnumDefinition__Group__1__Impl rule__EnumDefinition__Group__2 + { + pushFollow(FOLLOW_7); + rule__EnumDefinition__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5883:1: rule__EnumDefinition__Group__1__Impl : ( ( rule__EnumDefinition__NameAssignment_1 ) ) ; + public final void rule__EnumDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5887:1: ( ( ( rule__EnumDefinition__NameAssignment_1 ) ) ) + // InternalRDL.g:5888:1: ( ( rule__EnumDefinition__NameAssignment_1 ) ) + { + // InternalRDL.g:5888:1: ( ( rule__EnumDefinition__NameAssignment_1 ) ) + // InternalRDL.g:5889:2: ( rule__EnumDefinition__NameAssignment_1 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionAccess().getNameAssignment_1()); + } + // InternalRDL.g:5890:2: ( rule__EnumDefinition__NameAssignment_1 ) + // InternalRDL.g:5890:3: rule__EnumDefinition__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__NameAssignment_1(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:5898:1: rule__EnumDefinition__Group__2 : rule__EnumDefinition__Group__2__Impl ; + public final void rule__EnumDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5902:1: ( rule__EnumDefinition__Group__2__Impl ) + // InternalRDL.g:5903:2: rule__EnumDefinition__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5909:1: rule__EnumDefinition__Group__2__Impl : ( ( rule__EnumDefinition__BodyAssignment_2 ) ) ; + public final void rule__EnumDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5913:1: ( ( ( rule__EnumDefinition__BodyAssignment_2 ) ) ) + // InternalRDL.g:5914:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) ) + { + // InternalRDL.g:5914:1: ( ( rule__EnumDefinition__BodyAssignment_2 ) ) + // InternalRDL.g:5915:2: ( rule__EnumDefinition__BodyAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionAccess().getBodyAssignment_2()); + } + // InternalRDL.g:5916:2: ( rule__EnumDefinition__BodyAssignment_2 ) + // InternalRDL.g:5916:3: rule__EnumDefinition__BodyAssignment_2 + { + pushFollow(FOLLOW_2); + rule__EnumDefinition__BodyAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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__EnumBody__Group__0" + // InternalRDL.g:5925:1: rule__EnumBody__Group__0 : rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 ; + public final void rule__EnumBody__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5929:1: ( rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 ) + // InternalRDL.g:5930:2: rule__EnumBody__Group__0__Impl rule__EnumBody__Group__1 + { + pushFollow(FOLLOW_38); + rule__EnumBody__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumBody__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5937:1: rule__EnumBody__Group__0__Impl : ( '{' ) ; + public final void rule__EnumBody__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5941:1: ( ( '{' ) ) + // InternalRDL.g:5942:1: ( '{' ) + { + // InternalRDL.g:5942:1: ( '{' ) + // InternalRDL.g:5943:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + } + match(input,116,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + } + + } + + + } + + } + 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:5952:1: rule__EnumBody__Group__1 : rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 ; + public final void rule__EnumBody__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5956:1: ( rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 ) + // InternalRDL.g:5957:2: rule__EnumBody__Group__1__Impl rule__EnumBody__Group__2 + { + pushFollow(FOLLOW_38); + rule__EnumBody__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumBody__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5964:1: rule__EnumBody__Group__1__Impl : ( () ) ; + public final void rule__EnumBody__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5968:1: ( ( () ) ) + // InternalRDL.g:5969:1: ( () ) + { + // InternalRDL.g:5969:1: ( () ) + // InternalRDL.g:5970:2: () + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1()); + } + // InternalRDL.g:5971:2: () + // InternalRDL.g:5971:3: + { + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumBodyAccess().getEnumBodyAction_1()); + } + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumBody__Group__1__Impl" + + + // $ANTLR start "rule__EnumBody__Group__2" + // InternalRDL.g:5979:1: rule__EnumBody__Group__2 : rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 ; + public final void rule__EnumBody__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5983:1: ( rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 ) + // InternalRDL.g:5984:2: rule__EnumBody__Group__2__Impl rule__EnumBody__Group__3 + { + pushFollow(FOLLOW_38); + rule__EnumBody__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumBody__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:5991:1: rule__EnumBody__Group__2__Impl : ( ( rule__EnumBody__EntriesAssignment_2 )* ) ; + public final void rule__EnumBody__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:5995:1: ( ( ( rule__EnumBody__EntriesAssignment_2 )* ) ) + // InternalRDL.g:5996:1: ( ( rule__EnumBody__EntriesAssignment_2 )* ) + { + // InternalRDL.g:5996:1: ( ( rule__EnumBody__EntriesAssignment_2 )* ) + // InternalRDL.g:5997:2: ( rule__EnumBody__EntriesAssignment_2 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyAccess().getEntriesAssignment_2()); + } + // InternalRDL.g:5998:2: ( rule__EnumBody__EntriesAssignment_2 )* + loop47: + do { + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==RULE_ID) ) { + alt47=1; + } + + + switch (alt47) { + case 1 : + // InternalRDL.g:5998:3: rule__EnumBody__EntriesAssignment_2 + { + pushFollow(FOLLOW_39); + rule__EnumBody__EntriesAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop47; + } + } while (true); + + if ( state.backtracking==0 ) { + 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:6006:1: rule__EnumBody__Group__3 : rule__EnumBody__Group__3__Impl ; + public final void rule__EnumBody__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6010:1: ( rule__EnumBody__Group__3__Impl ) + // InternalRDL.g:6011:2: rule__EnumBody__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__EnumBody__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6017:1: rule__EnumBody__Group__3__Impl : ( '}' ) ; + public final void rule__EnumBody__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6021:1: ( ( '}' ) ) + // InternalRDL.g:6022:1: ( '}' ) + { + // InternalRDL.g:6022:1: ( '}' ) + // InternalRDL.g:6023:2: '}' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + } + match(input,117,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + } + + } + + + } + + } + 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:6033:1: rule__EnumEntry__Group__0 : rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 ; + public final void rule__EnumEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6037:1: ( rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 ) + // InternalRDL.g:6038:2: rule__EnumEntry__Group__0__Impl rule__EnumEntry__Group__1 + { + pushFollow(FOLLOW_10); + rule__EnumEntry__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6045:1: rule__EnumEntry__Group__0__Impl : ( ( rule__EnumEntry__NameAssignment_0 ) ) ; + public final void rule__EnumEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6049:1: ( ( ( rule__EnumEntry__NameAssignment_0 ) ) ) + // InternalRDL.g:6050:1: ( ( rule__EnumEntry__NameAssignment_0 ) ) + { + // InternalRDL.g:6050:1: ( ( rule__EnumEntry__NameAssignment_0 ) ) + // InternalRDL.g:6051:2: ( rule__EnumEntry__NameAssignment_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getNameAssignment_0()); + } + // InternalRDL.g:6052:2: ( rule__EnumEntry__NameAssignment_0 ) + // InternalRDL.g:6052:3: rule__EnumEntry__NameAssignment_0 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__NameAssignment_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6060:1: rule__EnumEntry__Group__1 : rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 ; + public final void rule__EnumEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6064:1: ( rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 ) + // InternalRDL.g:6065:2: rule__EnumEntry__Group__1__Impl rule__EnumEntry__Group__2 + { + pushFollow(FOLLOW_27); + rule__EnumEntry__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6072:1: rule__EnumEntry__Group__1__Impl : ( '=' ) ; + public final void rule__EnumEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6076:1: ( ( '=' ) ) + // InternalRDL.g:6077:1: ( '=' ) + { + // InternalRDL.g:6077:1: ( '=' ) + // InternalRDL.g:6078:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); + } + + } + + + } + + } + 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:6087:1: rule__EnumEntry__Group__2 : rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 ; + public final void rule__EnumEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6091:1: ( rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 ) + // InternalRDL.g:6092:2: rule__EnumEntry__Group__2__Impl rule__EnumEntry__Group__3 + { + pushFollow(FOLLOW_40); + rule__EnumEntry__Group__2__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__3(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6099:1: rule__EnumEntry__Group__2__Impl : ( ( rule__EnumEntry__IndexAssignment_2 ) ) ; + public final void rule__EnumEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6103:1: ( ( ( rule__EnumEntry__IndexAssignment_2 ) ) ) + // InternalRDL.g:6104:1: ( ( rule__EnumEntry__IndexAssignment_2 ) ) + { + // InternalRDL.g:6104:1: ( ( rule__EnumEntry__IndexAssignment_2 ) ) + // InternalRDL.g:6105:2: ( rule__EnumEntry__IndexAssignment_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getIndexAssignment_2()); + } + // InternalRDL.g:6106:2: ( rule__EnumEntry__IndexAssignment_2 ) + // InternalRDL.g:6106:3: rule__EnumEntry__IndexAssignment_2 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__IndexAssignment_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6114:1: rule__EnumEntry__Group__3 : rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 ; + public final void rule__EnumEntry__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6118:1: ( rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 ) + // InternalRDL.g:6119:2: rule__EnumEntry__Group__3__Impl rule__EnumEntry__Group__4 + { + pushFollow(FOLLOW_40); + rule__EnumEntry__Group__3__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__4(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6126:1: rule__EnumEntry__Group__3__Impl : ( ( rule__EnumEntry__Group_3__0 )? ) ; + public final void rule__EnumEntry__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6130:1: ( ( ( rule__EnumEntry__Group_3__0 )? ) ) + // InternalRDL.g:6131:1: ( ( rule__EnumEntry__Group_3__0 )? ) + { + // InternalRDL.g:6131:1: ( ( rule__EnumEntry__Group_3__0 )? ) + // InternalRDL.g:6132:2: ( rule__EnumEntry__Group_3__0 )? + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getGroup_3()); + } + // InternalRDL.g:6133:2: ( rule__EnumEntry__Group_3__0 )? + int alt48=2; + int LA48_0 = input.LA(1); + + if ( (LA48_0==116) ) { + alt48=1; + } + switch (alt48) { + case 1 : + // InternalRDL.g:6133:3: rule__EnumEntry__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + } + + if ( state.backtracking==0 ) { + 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:6141:1: rule__EnumEntry__Group__4 : rule__EnumEntry__Group__4__Impl ; + public final void rule__EnumEntry__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6145:1: ( rule__EnumEntry__Group__4__Impl ) + // InternalRDL.g:6146:2: rule__EnumEntry__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group__4__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6152:1: rule__EnumEntry__Group__4__Impl : ( ';' ) ; + public final void rule__EnumEntry__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6156:1: ( ( ';' ) ) + // InternalRDL.g:6157:1: ( ';' ) + { + // InternalRDL.g:6157:1: ( ';' ) + // InternalRDL.g:6158:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + } + + } + + + } + + } + 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:6168:1: rule__EnumEntry__Group_3__0 : rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 ; + public final void rule__EnumEntry__Group_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6172:1: ( rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 ) + // InternalRDL.g:6173:2: rule__EnumEntry__Group_3__0__Impl rule__EnumEntry__Group_3__1 + { + pushFollow(FOLLOW_41); + rule__EnumEntry__Group_3__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6180:1: rule__EnumEntry__Group_3__0__Impl : ( '{' ) ; + public final void rule__EnumEntry__Group_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6184:1: ( ( '{' ) ) + // InternalRDL.g:6185:1: ( '{' ) + { + // InternalRDL.g:6185:1: ( '{' ) + // InternalRDL.g:6186:2: '{' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + } + match(input,116,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + } + + } + + + } + + } + 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:6195:1: rule__EnumEntry__Group_3__1 : rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 ; + public final void rule__EnumEntry__Group_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6199:1: ( rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 ) + // InternalRDL.g:6200:2: rule__EnumEntry__Group_3__1__Impl rule__EnumEntry__Group_3__2 + { + pushFollow(FOLLOW_41); + rule__EnumEntry__Group_3__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6207:1: rule__EnumEntry__Group_3__1__Impl : ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) ; + public final void rule__EnumEntry__Group_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6211:1: ( ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) ) + // InternalRDL.g:6212:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) + { + // InternalRDL.g:6212:1: ( ( rule__EnumEntry__PropertiesAssignment_3_1 )* ) + // InternalRDL.g:6213:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )* + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getPropertiesAssignment_3_1()); + } + // InternalRDL.g:6214:2: ( rule__EnumEntry__PropertiesAssignment_3_1 )* + loop49: + do { + int alt49=2; + int LA49_0 = input.LA(1); + + if ( ((LA49_0>=22 && LA49_0<=23)) ) { + alt49=1; + } + + + switch (alt49) { + case 1 : + // InternalRDL.g:6214:3: rule__EnumEntry__PropertiesAssignment_3_1 + { + pushFollow(FOLLOW_42); + rule__EnumEntry__PropertiesAssignment_3_1(); + + state._fsp--; + if (state.failed) return ; + + } + break; + + default : + break loop49; + } + } while (true); + + if ( state.backtracking==0 ) { + 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:6222:1: rule__EnumEntry__Group_3__2 : rule__EnumEntry__Group_3__2__Impl ; + public final void rule__EnumEntry__Group_3__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6226:1: ( rule__EnumEntry__Group_3__2__Impl ) + // InternalRDL.g:6227:2: rule__EnumEntry__Group_3__2__Impl + { + pushFollow(FOLLOW_2); + rule__EnumEntry__Group_3__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6233:1: rule__EnumEntry__Group_3__2__Impl : ( '}' ) ; + public final void rule__EnumEntry__Group_3__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6237:1: ( ( '}' ) ) + // InternalRDL.g:6238:1: ( '}' ) + { + // InternalRDL.g:6238:1: ( '}' ) + // InternalRDL.g:6239:2: '}' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + } + match(input,117,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + } + + } + + + } + + } + 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:6249:1: rule__EnumProperty__Group__0 : rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 ; + public final void rule__EnumProperty__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6253:1: ( rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 ) + // InternalRDL.g:6254:2: rule__EnumProperty__Group__0__Impl rule__EnumProperty__Group__1 + { + pushFollow(FOLLOW_4); + rule__EnumProperty__Group__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumProperty__Group__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6261:1: rule__EnumProperty__Group__0__Impl : ( ( rule__EnumProperty__Alternatives_0 ) ) ; + public final void rule__EnumProperty__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6265:1: ( ( ( rule__EnumProperty__Alternatives_0 ) ) ) + // InternalRDL.g:6266:1: ( ( rule__EnumProperty__Alternatives_0 ) ) + { + // InternalRDL.g:6266:1: ( ( rule__EnumProperty__Alternatives_0 ) ) + // InternalRDL.g:6267:2: ( rule__EnumProperty__Alternatives_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getAlternatives_0()); + } + // InternalRDL.g:6268:2: ( rule__EnumProperty__Alternatives_0 ) + // InternalRDL.g:6268:3: rule__EnumProperty__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Alternatives_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6276:1: rule__EnumProperty__Group__1 : rule__EnumProperty__Group__1__Impl ; + public final void rule__EnumProperty__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6280:1: ( rule__EnumProperty__Group__1__Impl ) + // InternalRDL.g:6281:2: rule__EnumProperty__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group__1__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6287:1: rule__EnumProperty__Group__1__Impl : ( ';' ) ; + public final void rule__EnumProperty__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6291:1: ( ( ';' ) ) + // InternalRDL.g:6292:1: ( ';' ) + { + // InternalRDL.g:6292:1: ( ';' ) + // InternalRDL.g:6293:2: ';' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + } + match(input,113,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + } + + } + + + } + + } + 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:6303:1: rule__EnumProperty__Group_0_0__0 : rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 ; + public final void rule__EnumProperty__Group_0_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6307:1: ( rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 ) + // InternalRDL.g:6308:2: rule__EnumProperty__Group_0_0__0__Impl rule__EnumProperty__Group_0_0__1 + { + pushFollow(FOLLOW_10); + rule__EnumProperty__Group_0_0__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6315:1: rule__EnumProperty__Group_0_0__0__Impl : ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) ; + public final void rule__EnumProperty__Group_0_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6319:1: ( ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) ) + // InternalRDL.g:6320:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) + { + // InternalRDL.g:6320:1: ( ( rule__EnumProperty__NameAssignment_0_0_0 ) ) + // InternalRDL.g:6321:2: ( rule__EnumProperty__NameAssignment_0_0_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_0_0()); + } + // InternalRDL.g:6322:2: ( rule__EnumProperty__NameAssignment_0_0_0 ) + // InternalRDL.g:6322:3: rule__EnumProperty__NameAssignment_0_0_0 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__NameAssignment_0_0_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6330:1: rule__EnumProperty__Group_0_0__1 : rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 ; + public final void rule__EnumProperty__Group_0_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6334:1: ( rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 ) + // InternalRDL.g:6335:2: rule__EnumProperty__Group_0_0__1__Impl rule__EnumProperty__Group_0_0__2 + { + pushFollow(FOLLOW_5); + rule__EnumProperty__Group_0_0__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6342:1: rule__EnumProperty__Group_0_0__1__Impl : ( '=' ) ; + public final void rule__EnumProperty__Group_0_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6346:1: ( ( '=' ) ) + // InternalRDL.g:6347:1: ( '=' ) + { + // InternalRDL.g:6347:1: ( '=' ) + // InternalRDL.g:6348:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); + } + + } + + + } + + } + 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:6357:1: rule__EnumProperty__Group_0_0__2 : rule__EnumProperty__Group_0_0__2__Impl ; + public final void rule__EnumProperty__Group_0_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6361:1: ( rule__EnumProperty__Group_0_0__2__Impl ) + // InternalRDL.g:6362:2: rule__EnumProperty__Group_0_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_0__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6368:1: rule__EnumProperty__Group_0_0__2__Impl : ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) ; + public final void rule__EnumProperty__Group_0_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6372:1: ( ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) ) + // InternalRDL.g:6373:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) + { + // InternalRDL.g:6373:1: ( ( rule__EnumProperty__ValueAssignment_0_0_2 ) ) + // InternalRDL.g:6374:2: ( rule__EnumProperty__ValueAssignment_0_0_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_0_2()); + } + // InternalRDL.g:6375:2: ( rule__EnumProperty__ValueAssignment_0_0_2 ) + // InternalRDL.g:6375:3: rule__EnumProperty__ValueAssignment_0_0_2 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__ValueAssignment_0_0_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6384:1: rule__EnumProperty__Group_0_1__0 : rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 ; + public final void rule__EnumProperty__Group_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6388:1: ( rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 ) + // InternalRDL.g:6389:2: rule__EnumProperty__Group_0_1__0__Impl rule__EnumProperty__Group_0_1__1 + { + pushFollow(FOLLOW_10); + rule__EnumProperty__Group_0_1__0__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__1(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6396:1: rule__EnumProperty__Group_0_1__0__Impl : ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) ; + public final void rule__EnumProperty__Group_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6400:1: ( ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) ) + // InternalRDL.g:6401:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) + { + // InternalRDL.g:6401:1: ( ( rule__EnumProperty__NameAssignment_0_1_0 ) ) + // InternalRDL.g:6402:2: ( rule__EnumProperty__NameAssignment_0_1_0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getNameAssignment_0_1_0()); + } + // InternalRDL.g:6403:2: ( rule__EnumProperty__NameAssignment_0_1_0 ) + // InternalRDL.g:6403:3: rule__EnumProperty__NameAssignment_0_1_0 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__NameAssignment_0_1_0(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6411:1: rule__EnumProperty__Group_0_1__1 : rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 ; + public final void rule__EnumProperty__Group_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6415:1: ( rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 ) + // InternalRDL.g:6416:2: rule__EnumProperty__Group_0_1__1__Impl rule__EnumProperty__Group_0_1__2 + { + pushFollow(FOLLOW_5); + rule__EnumProperty__Group_0_1__1__Impl(); + + state._fsp--; + if (state.failed) return ; + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__2(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6423:1: rule__EnumProperty__Group_0_1__1__Impl : ( '=' ) ; + public final void rule__EnumProperty__Group_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6427:1: ( ( '=' ) ) + // InternalRDL.g:6428:1: ( '=' ) + { + // InternalRDL.g:6428:1: ( '=' ) + // InternalRDL.g:6429:2: '=' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); + } + match(input,119,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); + } + + } + + + } + + } + 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:6438:1: rule__EnumProperty__Group_0_1__2 : rule__EnumProperty__Group_0_1__2__Impl ; + public final void rule__EnumProperty__Group_0_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6442:1: ( rule__EnumProperty__Group_0_1__2__Impl ) + // InternalRDL.g:6443:2: rule__EnumProperty__Group_0_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__EnumProperty__Group_0_1__2__Impl(); + + state._fsp--; + if (state.failed) return ; + + } + + } + 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:6449:1: rule__EnumProperty__Group_0_1__2__Impl : ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) ; + public final void rule__EnumProperty__Group_0_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6453:1: ( ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) ) + // InternalRDL.g:6454:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) + { + // InternalRDL.g:6454:1: ( ( rule__EnumProperty__ValueAssignment_0_1_2 ) ) + // InternalRDL.g:6455:2: ( rule__EnumProperty__ValueAssignment_0_1_2 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getValueAssignment_0_1_2()); + } + // InternalRDL.g:6456:2: ( rule__EnumProperty__ValueAssignment_0_1_2 ) + // InternalRDL.g:6456:3: rule__EnumProperty__ValueAssignment_0_1_2 + { + pushFollow(FOLLOW_2); + rule__EnumProperty__ValueAssignment_0_1_2(); + + state._fsp--; + if (state.failed) return ; + + } + + if ( state.backtracking==0 ) { + 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:6465:1: rule__Root__IncludesAssignment_0 : ( ruleInclude ) ; + public final void rule__Root__IncludesAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6469:1: ( ( ruleInclude ) ) + // InternalRDL.g:6470:2: ( ruleInclude ) + { + // InternalRDL.g:6470:2: ( ruleInclude ) + // InternalRDL.g:6471:3: ruleInclude + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleInclude(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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_0" + // InternalRDL.g:6480:1: rule__Root__ComponentDefinitionsAssignment_1_0 : ( ruleComponentDefinition ) ; + public final void rule__Root__ComponentDefinitionsAssignment_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6484:1: ( ( ruleComponentDefinition ) ) + // InternalRDL.g:6485:2: ( ruleComponentDefinition ) + { + // InternalRDL.g:6485:2: ( ruleComponentDefinition ) + // InternalRDL.g:6486:3: ruleComponentDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); + } + pushFollow(FOLLOW_2); + ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__ComponentDefinitionsAssignment_1_0" + + + // $ANTLR start "rule__Root__EnumDefinitionsAssignment_2_0" + // InternalRDL.g:6495:1: rule__Root__EnumDefinitionsAssignment_2_0 : ( ruleEnumDefinition ) ; + public final void rule__Root__EnumDefinitionsAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6499:1: ( ( ruleEnumDefinition ) ) + // InternalRDL.g:6500:2: ( ruleEnumDefinition ) + { + // InternalRDL.g:6500:2: ( ruleEnumDefinition ) + // InternalRDL.g:6501:3: ruleEnumDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); + } + pushFollow(FOLLOW_2); + ruleEnumDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__EnumDefinitionsAssignment_2_0" + + + // $ANTLR start "rule__Root__InstantiationsAssignment_3_0" + // InternalRDL.g:6510:1: rule__Root__InstantiationsAssignment_3_0 : ( ruleInstantiation ) ; + public final void rule__Root__InstantiationsAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6514:1: ( ( ruleInstantiation ) ) + // InternalRDL.g:6515:2: ( ruleInstantiation ) + { + // InternalRDL.g:6515:2: ( ruleInstantiation ) + // InternalRDL.g:6516:3: ruleInstantiation + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); + } + pushFollow(FOLLOW_2); + ruleInstantiation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__InstantiationsAssignment_3_0" + + + // $ANTLR start "rule__Root__PropertyAssignmentsAssignment_4_0" + // InternalRDL.g:6525:1: rule__Root__PropertyAssignmentsAssignment_4_0 : ( rulePropertyAssignment ) ; + public final void rule__Root__PropertyAssignmentsAssignment_4_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6529:1: ( ( rulePropertyAssignment ) ) + // InternalRDL.g:6530:2: ( rulePropertyAssignment ) + { + // InternalRDL.g:6530:2: ( rulePropertyAssignment ) + // InternalRDL.g:6531:3: rulePropertyAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__PropertyAssignmentsAssignment_4_0" + + + // $ANTLR start "rule__Root__PropertyDefinitionsAssignment_5_0" + // InternalRDL.g:6540:1: rule__Root__PropertyDefinitionsAssignment_5_0 : ( rulePropertyDefinition ) ; + public final void rule__Root__PropertyDefinitionsAssignment_5_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6544:1: ( ( rulePropertyDefinition ) ) + // InternalRDL.g:6545:2: ( rulePropertyDefinition ) + { + // InternalRDL.g:6545:2: ( rulePropertyDefinition ) + // InternalRDL.g:6546:3: rulePropertyDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Root__PropertyDefinitionsAssignment_5_0" + + + // $ANTLR start "rule__Include__ImportURIAssignment_1" + // InternalRDL.g:6555:1: rule__Include__ImportURIAssignment_1 : ( RULE_STR ) ; + public final void rule__Include__ImportURIAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6559:1: ( ( RULE_STR ) ) + // InternalRDL.g:6560:2: ( RULE_STR ) + { + // InternalRDL.g:6560:2: ( RULE_STR ) + // InternalRDL.g:6561:3: RULE_STR + { + if ( state.backtracking==0 ) { + before(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + } + match(input,RULE_STR,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + } + + } + + + } + + } + 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:6570:1: rule__PropertyDefinition__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__PropertyDefinition__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6574:1: ( ( RULE_ID ) ) + // InternalRDL.g:6575:2: ( RULE_ID ) + { + // InternalRDL.g:6575:2: ( RULE_ID ) + // InternalRDL.g:6576:3: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + + } + + + } + + } + 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:6585:1: rule__PropertyDefinition__TypeAssignment_3_0_2 : ( rulePropertyTypeName ) ; + public final void rule__PropertyDefinition__TypeAssignment_3_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6589:1: ( ( rulePropertyTypeName ) ) + // InternalRDL.g:6590:2: ( rulePropertyTypeName ) + { + // InternalRDL.g:6590:2: ( rulePropertyTypeName ) + // InternalRDL.g:6591:3: rulePropertyTypeName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); + } + pushFollow(FOLLOW_2); + rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6600:1: rule__PropertyDefinition__UsageAssignment_3_0_4_0_0 : ( rulePropertyUsage ) ; + public final void rule__PropertyDefinition__UsageAssignment_3_0_4_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6604:1: ( ( rulePropertyUsage ) ) + // InternalRDL.g:6605:2: ( rulePropertyUsage ) + { + // InternalRDL.g:6605:2: ( rulePropertyUsage ) + // InternalRDL.g:6606:3: rulePropertyUsage + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyUsage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6615:1: rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1 : ( rulePropertyDefault ) ; + public final void rule__PropertyDefinition__DefaultAssignment_3_0_4_0_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6619:1: ( ( rulePropertyDefault ) ) + // InternalRDL.g:6620:2: ( rulePropertyDefault ) + { + // InternalRDL.g:6620:2: ( rulePropertyDefault ) + // InternalRDL.g:6621:3: rulePropertyDefault + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0()); + } + pushFollow(FOLLOW_2); + rulePropertyDefault(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6630:1: rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0 : ( rulePropertyDefault ) ; + public final void rule__PropertyDefinition__DefaultAssignment_3_0_4_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6634:1: ( ( rulePropertyDefault ) ) + // InternalRDL.g:6635:2: ( rulePropertyDefault ) + { + // InternalRDL.g:6635:2: ( rulePropertyDefault ) + // InternalRDL.g:6636:3: rulePropertyDefault + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyDefault(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6645:1: rule__PropertyDefinition__UsageAssignment_3_0_4_1_1 : ( rulePropertyUsage ) ; + public final void rule__PropertyDefinition__UsageAssignment_3_0_4_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6649:1: ( ( rulePropertyUsage ) ) + // InternalRDL.g:6650:2: ( rulePropertyUsage ) + { + // InternalRDL.g:6650:2: ( rulePropertyUsage ) + // InternalRDL.g:6651:3: rulePropertyUsage + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0()); + } + pushFollow(FOLLOW_2); + rulePropertyUsage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6660:1: rule__PropertyDefinition__UsageAssignment_3_1_0 : ( rulePropertyUsage ) ; + public final void rule__PropertyDefinition__UsageAssignment_3_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6664:1: ( ( rulePropertyUsage ) ) + // InternalRDL.g:6665:2: ( rulePropertyUsage ) + { + // InternalRDL.g:6665:2: ( rulePropertyUsage ) + // InternalRDL.g:6666:3: rulePropertyUsage + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyUsage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6675:1: rule__PropertyDefinition__TypeAssignment_3_1_1_0_2 : ( rulePropertyTypeName ) ; + public final void rule__PropertyDefinition__TypeAssignment_3_1_1_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6679:1: ( ( rulePropertyTypeName ) ) + // InternalRDL.g:6680:2: ( rulePropertyTypeName ) + { + // InternalRDL.g:6680:2: ( rulePropertyTypeName ) + // InternalRDL.g:6681:3: rulePropertyTypeName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0()); + } + pushFollow(FOLLOW_2); + rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6690:1: rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4 : ( rulePropertyDefault ) ; + public final void rule__PropertyDefinition__DefaultAssignment_3_1_1_0_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6694:1: ( ( rulePropertyDefault ) ) + // InternalRDL.g:6695:2: ( rulePropertyDefault ) + { + // InternalRDL.g:6695:2: ( rulePropertyDefault ) + // InternalRDL.g:6696:3: rulePropertyDefault + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0()); + } + pushFollow(FOLLOW_2); + rulePropertyDefault(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6705:1: rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0 : ( rulePropertyDefault ) ; + public final void rule__PropertyDefinition__DefaultAssignment_3_1_1_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6709:1: ( ( rulePropertyDefault ) ) + // InternalRDL.g:6710:2: ( rulePropertyDefault ) + { + // InternalRDL.g:6710:2: ( rulePropertyDefault ) + // InternalRDL.g:6711:3: rulePropertyDefault + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyDefault(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6720:1: rule__PropertyDefinition__TypeAssignment_3_1_1_1_3 : ( rulePropertyTypeName ) ; + public final void rule__PropertyDefinition__TypeAssignment_3_1_1_1_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6724:1: ( ( rulePropertyTypeName ) ) + // InternalRDL.g:6725:2: ( rulePropertyTypeName ) + { + // InternalRDL.g:6725:2: ( rulePropertyTypeName ) + // InternalRDL.g:6726:3: rulePropertyTypeName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0()); + } + pushFollow(FOLLOW_2); + rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6735:1: rule__PropertyDefinition__DefaultAssignment_3_2_0 : ( rulePropertyDefault ) ; + public final void rule__PropertyDefinition__DefaultAssignment_3_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6739:1: ( ( rulePropertyDefault ) ) + // InternalRDL.g:6740:2: ( rulePropertyDefault ) + { + // InternalRDL.g:6740:2: ( rulePropertyDefault ) + // InternalRDL.g:6741:3: rulePropertyDefault + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyDefault(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6750:1: rule__PropertyDefinition__TypeAssignment_3_2_1_0_2 : ( rulePropertyTypeName ) ; + public final void rule__PropertyDefinition__TypeAssignment_3_2_1_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6754:1: ( ( rulePropertyTypeName ) ) + // InternalRDL.g:6755:2: ( rulePropertyTypeName ) + { + // InternalRDL.g:6755:2: ( rulePropertyTypeName ) + // InternalRDL.g:6756:3: rulePropertyTypeName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0()); + } + pushFollow(FOLLOW_2); + rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6765:1: rule__PropertyDefinition__UsageAssignment_3_2_1_0_4 : ( rulePropertyUsage ) ; + public final void rule__PropertyDefinition__UsageAssignment_3_2_1_0_4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6769:1: ( ( rulePropertyUsage ) ) + // InternalRDL.g:6770:2: ( rulePropertyUsage ) + { + // InternalRDL.g:6770:2: ( rulePropertyUsage ) + // InternalRDL.g:6771:3: rulePropertyUsage + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0()); + } + pushFollow(FOLLOW_2); + rulePropertyUsage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6780:1: rule__PropertyDefinition__UsageAssignment_3_2_1_1_0 : ( rulePropertyUsage ) ; + public final void rule__PropertyDefinition__UsageAssignment_3_2_1_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6784:1: ( ( rulePropertyUsage ) ) + // InternalRDL.g:6785:2: ( rulePropertyUsage ) + { + // InternalRDL.g:6785:2: ( rulePropertyUsage ) + // InternalRDL.g:6786:3: rulePropertyUsage + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyUsage(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6795:1: rule__PropertyDefinition__TypeAssignment_3_2_1_1_3 : ( rulePropertyTypeName ) ; + public final void rule__PropertyDefinition__TypeAssignment_3_2_1_1_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6799:1: ( ( rulePropertyTypeName ) ) + // InternalRDL.g:6800:2: ( rulePropertyTypeName ) + { + // InternalRDL.g:6800:2: ( rulePropertyTypeName ) + // InternalRDL.g:6801:3: rulePropertyTypeName + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0()); + } + pushFollow(FOLLOW_2); + rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6810:1: rule__PropertyDefault__StringAssignment_2_0 : ( RULE_STR ) ; + public final void rule__PropertyDefault__StringAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6814:1: ( ( RULE_STR ) ) + // InternalRDL.g:6815:2: ( RULE_STR ) + { + // InternalRDL.g:6815:2: ( RULE_STR ) + // InternalRDL.g:6816:3: RULE_STR + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + } + match(input,RULE_STR,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + } + + } + + + } + + } + 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:6825:1: rule__PropertyDefault__ValueAssignment_2_1 : ( RULE_NUM ) ; + public final void rule__PropertyDefault__ValueAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6829:1: ( ( RULE_NUM ) ) + // InternalRDL.g:6830:2: ( RULE_NUM ) + { + // InternalRDL.g:6830:2: ( RULE_NUM ) + // InternalRDL.g:6831:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + } + + } + + + } + + } + 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:6840:1: rule__PropertyDefault__StringAssignment_2_2 : ( ( 'true' ) ) ; + public final void rule__PropertyDefault__StringAssignment_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6844:1: ( ( ( 'true' ) ) ) + // InternalRDL.g:6845:2: ( ( 'true' ) ) + { + // InternalRDL.g:6845:2: ( ( 'true' ) ) + // InternalRDL.g:6846:3: ( 'true' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + } + // InternalRDL.g:6847:3: ( 'true' ) + // InternalRDL.g:6848:4: 'true' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + } + match(input,98,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + } + + } + + if ( state.backtracking==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:6859:1: rule__PropertyDefault__StringAssignment_2_3 : ( ( 'false' ) ) ; + public final void rule__PropertyDefault__StringAssignment_2_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6863:1: ( ( ( 'false' ) ) ) + // InternalRDL.g:6864:2: ( ( 'false' ) ) + { + // InternalRDL.g:6864:2: ( ( 'false' ) ) + // InternalRDL.g:6865:3: ( 'false' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + } + // InternalRDL.g:6866:3: ( 'false' ) + // InternalRDL.g:6867:4: 'false' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + } + match(input,99,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + } + + } + + if ( state.backtracking==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:6878:1: rule__PropertyUsage__ComponentsAssignment_2 : ( rulePropertyComponent ) ; + public final void rule__PropertyUsage__ComponentsAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6882:1: ( ( rulePropertyComponent ) ) + // InternalRDL.g:6883:2: ( rulePropertyComponent ) + { + // InternalRDL.g:6883:2: ( rulePropertyComponent ) + // InternalRDL.g:6884:3: rulePropertyComponent + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); + } + pushFollow(FOLLOW_2); + rulePropertyComponent(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6893:1: rule__PropertyUsage__ComponentsAssignment_3_1 : ( rulePropertyComponent ) ; + public final void rule__PropertyUsage__ComponentsAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6897:1: ( ( rulePropertyComponent ) ) + // InternalRDL.g:6898:2: ( rulePropertyComponent ) + { + // InternalRDL.g:6898:2: ( rulePropertyComponent ) + // InternalRDL.g:6899:3: rulePropertyComponent + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); + } + pushFollow(FOLLOW_2); + rulePropertyComponent(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6908:1: rule__ComponentDefinition__TypeAssignment_0 : ( ruleComponentDefinitionType ) ; + public final void rule__ComponentDefinition__TypeAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6912:1: ( ( ruleComponentDefinitionType ) ) + // InternalRDL.g:6913:2: ( ruleComponentDefinitionType ) + { + // InternalRDL.g:6913:2: ( ruleComponentDefinitionType ) + // InternalRDL.g:6914:3: ruleComponentDefinitionType + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleComponentDefinitionType(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:6923:1: rule__ComponentDefinition__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__ComponentDefinition__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6927:1: ( ( RULE_ID ) ) + // InternalRDL.g:6928:2: ( RULE_ID ) + { + // InternalRDL.g:6928:2: ( RULE_ID ) + // InternalRDL.g:6929:3: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + + } + + + } + + } + 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_0" + // InternalRDL.g:6938:1: rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0 : ( ruleComponentDefinition ) ; + public final void rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6942:1: ( ( ruleComponentDefinition ) ) + // InternalRDL.g:6943:2: ( ruleComponentDefinition ) + { + // InternalRDL.g:6943:2: ( ruleComponentDefinition ) + // InternalRDL.g:6944:3: ruleComponentDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); + } + pushFollow(FOLLOW_2); + ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__ComponentDefinitionsAssignment_3_0_0" + + + // $ANTLR start "rule__ComponentDefinition__InstantiationsAssignment_3_1_0" + // InternalRDL.g:6953:1: rule__ComponentDefinition__InstantiationsAssignment_3_1_0 : ( ruleInstantiation ) ; + public final void rule__ComponentDefinition__InstantiationsAssignment_3_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6957:1: ( ( ruleInstantiation ) ) + // InternalRDL.g:6958:2: ( ruleInstantiation ) + { + // InternalRDL.g:6958:2: ( ruleInstantiation ) + // InternalRDL.g:6959:3: ruleInstantiation + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); + } + pushFollow(FOLLOW_2); + ruleInstantiation(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__InstantiationsAssignment_3_1_0" + + + // $ANTLR start "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0" + // InternalRDL.g:6968:1: rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0 : ( rulePropertyAssignment ) ; + public final void rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6972:1: ( ( rulePropertyAssignment ) ) + // InternalRDL.g:6973:2: ( rulePropertyAssignment ) + { + // InternalRDL.g:6973:2: ( rulePropertyAssignment ) + // InternalRDL.g:6974:3: rulePropertyAssignment + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__PropertyAssignmentsAssignment_3_2_0" + + + // $ANTLR start "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0" + // InternalRDL.g:6983:1: rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0 : ( ruleEnumDefinition ) ; + public final void rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:6987:1: ( ( ruleEnumDefinition ) ) + // InternalRDL.g:6988:2: ( ruleEnumDefinition ) + { + // InternalRDL.g:6988:2: ( ruleEnumDefinition ) + // InternalRDL.g:6989:3: ruleEnumDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); + } + pushFollow(FOLLOW_2); + ruleEnumDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentDefinition__EnumDefinitionsAssignment_3_3_0" + + + // $ANTLR start "rule__Instantiation__InstanceTypeAssignment_0_0_0" + // InternalRDL.g:6998:1: rule__Instantiation__InstanceTypeAssignment_0_0_0 : ( ruleEnumInstanceType ) ; + public final void rule__Instantiation__InstanceTypeAssignment_0_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7002:1: ( ( ruleEnumInstanceType ) ) + // InternalRDL.g:7003:2: ( ruleEnumInstanceType ) + { + // InternalRDL.g:7003:2: ( ruleEnumInstanceType ) + // InternalRDL.g:7004:3: ruleEnumInstanceType + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); + } + pushFollow(FOLLOW_2); + ruleEnumInstanceType(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__InstanceTypeAssignment_0_0_0" + + + // $ANTLR start "rule__Instantiation__AliasAssignment_0_0_1_1" + // InternalRDL.g:7013:1: rule__Instantiation__AliasAssignment_0_0_1_1 : ( RULE_ID ) ; + public final void rule__Instantiation__AliasAssignment_0_0_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7017:1: ( ( RULE_ID ) ) + // InternalRDL.g:7018:2: ( RULE_ID ) + { + // InternalRDL.g:7018:2: ( RULE_ID ) + // InternalRDL.g:7019:3: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__AliasAssignment_0_0_1_1" + + + // $ANTLR start "rule__Instantiation__ComponentRefAssignment_0_0_2" + // InternalRDL.g:7028:1: rule__Instantiation__ComponentRefAssignment_0_0_2 : ( ( RULE_ID ) ) ; + public final void rule__Instantiation__ComponentRefAssignment_0_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7032:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7033:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7033:2: ( ( RULE_ID ) ) + // InternalRDL.g:7034:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); + } + // InternalRDL.g:7035:3: ( RULE_ID ) + // InternalRDL.g:7036:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1()); + } + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__ComponentRefAssignment_0_0_2" + + + // $ANTLR start "rule__Instantiation__ComponentAssignment_0_1_0" + // InternalRDL.g:7047:1: rule__Instantiation__ComponentAssignment_0_1_0 : ( ruleComponentDefinition ) ; + public final void rule__Instantiation__ComponentAssignment_0_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7051:1: ( ( ruleComponentDefinition ) ) + // InternalRDL.g:7052:2: ( ruleComponentDefinition ) + { + // InternalRDL.g:7052:2: ( ruleComponentDefinition ) + // InternalRDL.g:7053:3: ruleComponentDefinition + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); + } + pushFollow(FOLLOW_2); + ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__ComponentAssignment_0_1_0" + + + // $ANTLR start "rule__Instantiation__InstanceTypeAssignment_0_1_1" + // InternalRDL.g:7062:1: rule__Instantiation__InstanceTypeAssignment_0_1_1 : ( ruleEnumInstanceType ) ; + public final void rule__Instantiation__InstanceTypeAssignment_0_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7066:1: ( ( ruleEnumInstanceType ) ) + // InternalRDL.g:7067:2: ( ruleEnumInstanceType ) + { + // InternalRDL.g:7067:2: ( ruleEnumInstanceType ) + // InternalRDL.g:7068:3: ruleEnumInstanceType + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); + } + pushFollow(FOLLOW_2); + ruleEnumInstanceType(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__InstanceTypeAssignment_0_1_1" + + + // $ANTLR start "rule__Instantiation__ComponentInstancesAssignment_1" + // InternalRDL.g:7077:1: rule__Instantiation__ComponentInstancesAssignment_1 : ( ruleComponentInstance ) ; + public final void rule__Instantiation__ComponentInstancesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7081:1: ( ( ruleComponentInstance ) ) + // InternalRDL.g:7082:2: ( ruleComponentInstance ) + { + // InternalRDL.g:7082:2: ( ruleComponentInstance ) + // InternalRDL.g:7083:3: ruleComponentInstance + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); + } + pushFollow(FOLLOW_2); + ruleComponentInstance(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__ComponentInstancesAssignment_1" + + + // $ANTLR start "rule__Instantiation__ComponentInstancesAssignment_2_1" + // InternalRDL.g:7092:1: rule__Instantiation__ComponentInstancesAssignment_2_1 : ( ruleComponentInstance ) ; + public final void rule__Instantiation__ComponentInstancesAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7096:1: ( ( ruleComponentInstance ) ) + // InternalRDL.g:7097:2: ( ruleComponentInstance ) + { + // InternalRDL.g:7097:2: ( ruleComponentInstance ) + // InternalRDL.g:7098:3: ruleComponentInstance + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); + } + pushFollow(FOLLOW_2); + ruleComponentInstance(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Instantiation__ComponentInstancesAssignment_2_1" + + + // $ANTLR start "rule__ComponentInstance__NameAssignment_0" + // InternalRDL.g:7107:1: rule__ComponentInstance__NameAssignment_0 : ( RULE_ID ) ; + public final void rule__ComponentInstance__NameAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7111:1: ( ( RULE_ID ) ) + // InternalRDL.g:7112:2: ( RULE_ID ) + { + // InternalRDL.g:7112:2: ( RULE_ID ) + // InternalRDL.g:7113:3: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + } + + } + + + } + + } + 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:7122:1: rule__ComponentInstance__RangeAssignment_1 : ( ruleRange ) ; + public final void rule__ComponentInstance__RangeAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7126:1: ( ( ruleRange ) ) + // InternalRDL.g:7127:2: ( ruleRange ) + { + // InternalRDL.g:7127:2: ( ruleRange ) + // InternalRDL.g:7128:3: ruleRange + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); + } + pushFollow(FOLLOW_2); + ruleRange(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7137:1: rule__ComponentInstance__ResetAssignment_2_1 : ( RULE_NUM ) ; + public final void rule__ComponentInstance__ResetAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7141:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7142:2: ( RULE_NUM ) + { + // InternalRDL.g:7142:2: ( RULE_NUM ) + // InternalRDL.g:7143:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + } + + } + + + } + + } + 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:7152:1: rule__ComponentInstance__AddressAssignment_3_1 : ( RULE_NUM ) ; + public final void rule__ComponentInstance__AddressAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7156:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7157:2: ( RULE_NUM ) + { + // InternalRDL.g:7157:2: ( RULE_NUM ) + // InternalRDL.g:7158:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); + } + + } + + + } + + } + 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:7167:1: rule__ComponentInstance__AddrIncAssignment_4_1 : ( RULE_NUM ) ; + public final void rule__ComponentInstance__AddrIncAssignment_4_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7171:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7172:2: ( RULE_NUM ) + { + // InternalRDL.g:7172:2: ( RULE_NUM ) + // InternalRDL.g:7173:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); + } + + } + + + } + + } + 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:7182:1: rule__ComponentInstance__AddrModAssignment_5_1 : ( RULE_NUM ) ; + public final void rule__ComponentInstance__AddrModAssignment_5_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7186:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7187:2: ( RULE_NUM ) + { + // InternalRDL.g:7187:2: ( RULE_NUM ) + // InternalRDL.g:7188:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComponentInstance__AddrModAssignment_5_1" + + + // $ANTLR start "rule__Range__LeftAssignment_1_0_0" + // InternalRDL.g:7197:1: rule__Range__LeftAssignment_1_0_0 : ( RULE_NUM ) ; + public final void rule__Range__LeftAssignment_1_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7201:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7202:2: ( RULE_NUM ) + { + // InternalRDL.g:7202:2: ( RULE_NUM ) + // InternalRDL.g:7203:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__LeftAssignment_1_0_0" + + + // $ANTLR start "rule__Range__RightAssignment_1_0_2" + // InternalRDL.g:7212:1: rule__Range__RightAssignment_1_0_2 : ( RULE_NUM ) ; + public final void rule__Range__RightAssignment_1_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7216:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7217:2: ( RULE_NUM ) + { + // InternalRDL.g:7217:2: ( RULE_NUM ) + // InternalRDL.g:7218:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Range__RightAssignment_1_0_2" + + + // $ANTLR start "rule__Range__SizeAssignment_1_1" + // InternalRDL.g:7227:1: rule__Range__SizeAssignment_1_1 : ( RULE_NUM ) ; + public final void rule__Range__SizeAssignment_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7231:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7232:2: ( RULE_NUM ) + { + // InternalRDL.g:7232:2: ( RULE_NUM ) + // InternalRDL.g:7233:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + } + + } + + + } + + } + 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:7242:1: rule__ExplicitPropertyAssignment__ModifierAssignment_0_0 : ( rulePropertyModifier ) ; + public final void rule__ExplicitPropertyAssignment__ModifierAssignment_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7246:1: ( ( rulePropertyModifier ) ) + // InternalRDL.g:7247:2: ( rulePropertyModifier ) + { + // InternalRDL.g:7247:2: ( rulePropertyModifier ) + // InternalRDL.g:7248:3: rulePropertyModifier + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyModifier(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7257:1: rule__ExplicitPropertyAssignment__NameAssignment_0_1 : ( ruleProperty ) ; + public final void rule__ExplicitPropertyAssignment__NameAssignment_0_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7261:1: ( ( ruleProperty ) ) + // InternalRDL.g:7262:2: ( ruleProperty ) + { + // InternalRDL.g:7262:2: ( ruleProperty ) + // InternalRDL.g:7263:3: ruleProperty + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); + } + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7272:1: rule__ExplicitPropertyAssignment__NameAssignment_1_0 : ( ruleProperty ) ; + public final void rule__ExplicitPropertyAssignment__NameAssignment_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7276:1: ( ( ruleProperty ) ) + // InternalRDL.g:7277:2: ( ruleProperty ) + { + // InternalRDL.g:7277:2: ( ruleProperty ) + // InternalRDL.g:7278:3: ruleProperty + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + } + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7287:1: rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1 : ( rulePropertyAssignmentRhs ) ; + public final void rule__ExplicitPropertyAssignment__RhsAssignment_1_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7291:1: ( ( rulePropertyAssignmentRhs ) ) + // InternalRDL.g:7292:2: ( rulePropertyAssignmentRhs ) + { + // InternalRDL.g:7292:2: ( rulePropertyAssignmentRhs ) + // InternalRDL.g:7293:3: rulePropertyAssignmentRhs + { + if ( state.backtracking==0 ) { + before(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + } + pushFollow(FOLLOW_2); + rulePropertyAssignmentRhs(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7302:1: rule__PostPropertyAssignment__InstanceAssignment_0_0_0 : ( ruleHierInstanceRef ) ; + public final void rule__PostPropertyAssignment__InstanceAssignment_0_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7306:1: ( ( ruleHierInstanceRef ) ) + // InternalRDL.g:7307:2: ( ruleHierInstanceRef ) + { + // InternalRDL.g:7307:2: ( ruleHierInstanceRef ) + // InternalRDL.g:7308:3: ruleHierInstanceRef + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); + } + pushFollow(FOLLOW_2); + ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7317:1: rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0 : ( ruleProperty ) ; + public final void rule__PostPropertyAssignment__PropertyEnumAssignment_0_0_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7321:1: ( ( ruleProperty ) ) + // InternalRDL.g:7322:2: ( ruleProperty ) + { + // InternalRDL.g:7322:2: ( ruleProperty ) + // InternalRDL.g:7323:3: ruleProperty + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); + } + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7332:1: rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1 : ( ( RULE_ID ) ) ; + public final void rule__PostPropertyAssignment__PropertyAssignment_0_0_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7336:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7337:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7337:2: ( ( RULE_ID ) ) + // InternalRDL.g:7338:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); + } + // InternalRDL.g:7339:3: ( RULE_ID ) + // InternalRDL.g:7340:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_0_2_1_0_1()); + } + + } + + if ( state.backtracking==0 ) { + 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:7351:1: rule__PostPropertyAssignment__PropertyAssignment_0_1 : ( ( RULE_ID ) ) ; + public final void rule__PostPropertyAssignment__PropertyAssignment_0_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7355:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7356:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7356:2: ( ( RULE_ID ) ) + // InternalRDL.g:7357:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); + } + // InternalRDL.g:7358:3: ( RULE_ID ) + // InternalRDL.g:7359:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_0_1_0_1()); + } + + } + + if ( state.backtracking==0 ) { + 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:7370:1: rule__PostPropertyAssignment__RhsAssignment_1_1 : ( rulePropertyAssignmentRhs ) ; + public final void rule__PostPropertyAssignment__RhsAssignment_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7374:1: ( ( rulePropertyAssignmentRhs ) ) + // InternalRDL.g:7375:2: ( rulePropertyAssignmentRhs ) + { + // InternalRDL.g:7375:2: ( rulePropertyAssignmentRhs ) + // InternalRDL.g:7376:3: rulePropertyAssignmentRhs + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); + } + pushFollow(FOLLOW_2); + rulePropertyAssignmentRhs(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7385:1: rule__InstancePropertyRef__InstanceAssignment_0 : ( ruleInstanceRef ) ; + public final void rule__InstancePropertyRef__InstanceAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7389:1: ( ( ruleInstanceRef ) ) + // InternalRDL.g:7390:2: ( ruleInstanceRef ) + { + // InternalRDL.g:7390:2: ( ruleInstanceRef ) + // InternalRDL.g:7391:3: ruleInstanceRef + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleInstanceRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7400:1: rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0 : ( ruleProperty ) ; + public final void rule__InstancePropertyRef__PropertyEnumAssignment_1_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7404:1: ( ( ruleProperty ) ) + // InternalRDL.g:7405:2: ( ruleProperty ) + { + // InternalRDL.g:7405:2: ( ruleProperty ) + // InternalRDL.g:7406:3: ruleProperty + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); + } + pushFollow(FOLLOW_2); + ruleProperty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7415:1: rule__InstancePropertyRef__PropertyAssignment_1_1_1 : ( ( RULE_ID ) ) ; + public final void rule__InstancePropertyRef__PropertyAssignment_1_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7419:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7420:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7420:2: ( ( RULE_ID ) ) + // InternalRDL.g:7421:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); + } + // InternalRDL.g:7422:3: ( RULE_ID ) + // InternalRDL.g:7423:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionIDTerminalRuleCall_1_1_1_0_1()); + } + + } + + if ( state.backtracking==0 ) { + 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:7434:1: rule__InstanceRef__InstanceAssignment_0 : ( ( RULE_ID ) ) ; + public final void rule__InstanceRef__InstanceAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7438:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7439:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7439:2: ( ( RULE_ID ) ) + // InternalRDL.g:7440:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); + } + // InternalRDL.g:7441:3: ( RULE_ID ) + // InternalRDL.g:7442:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getInstanceRefAccess().getInstanceEntityIDTerminalRuleCall_0_0_1()); + } + + } + + if ( state.backtracking==0 ) { + 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:7453:1: rule__InstanceRef__TailAssignment_1_1 : ( ruleHierInstanceRef ) ; + public final void rule__InstanceRef__TailAssignment_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7457:1: ( ( ruleHierInstanceRef ) ) + // InternalRDL.g:7458:2: ( ruleHierInstanceRef ) + { + // InternalRDL.g:7458:2: ( ruleHierInstanceRef ) + // InternalRDL.g:7459:3: ruleHierInstanceRef + { + if ( state.backtracking==0 ) { + before(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + } + pushFollow(FOLLOW_2); + ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7468:1: rule__HierInstanceRef__InstanceAssignment_0 : ( ( RULE_ID ) ) ; + public final void rule__HierInstanceRef__InstanceAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7472:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7473:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7473:2: ( ( RULE_ID ) ) + // InternalRDL.g:7474:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); + } + // InternalRDL.g:7475:3: ( RULE_ID ) + // InternalRDL.g:7476:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceIDTerminalRuleCall_0_0_1()); + } + + } + + if ( state.backtracking==0 ) { + 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:7487:1: rule__HierInstanceRef__TailAssignment_1_1 : ( ruleHierInstanceRef ) ; + public final void rule__HierInstanceRef__TailAssignment_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7491:1: ( ( ruleHierInstanceRef ) ) + // InternalRDL.g:7492:2: ( ruleHierInstanceRef ) + { + // InternalRDL.g:7492:2: ( ruleHierInstanceRef ) + // InternalRDL.g:7493:3: ruleHierInstanceRef + { + if ( state.backtracking==0 ) { + before(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + } + pushFollow(FOLLOW_2); + ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7502:1: rule__PropertyAssignmentRhs__ValueAssignment_0 : ( rulePropertyRvalueConstant ) ; + public final void rule__PropertyAssignmentRhs__ValueAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7506:1: ( ( rulePropertyRvalueConstant ) ) + // InternalRDL.g:7507:2: ( rulePropertyRvalueConstant ) + { + // InternalRDL.g:7507:2: ( rulePropertyRvalueConstant ) + // InternalRDL.g:7508:3: rulePropertyRvalueConstant + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + rulePropertyRvalueConstant(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7517:1: rule__PropertyAssignmentRhs__InstPropRefAssignment_1 : ( ruleInstancePropertyRef ) ; + public final void rule__PropertyAssignmentRhs__InstPropRefAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7521:1: ( ( ruleInstancePropertyRef ) ) + // InternalRDL.g:7522:2: ( ruleInstancePropertyRef ) + { + // InternalRDL.g:7522:2: ( ruleInstancePropertyRef ) + // InternalRDL.g:7523:3: ruleInstancePropertyRef + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); + } + pushFollow(FOLLOW_2); + ruleInstancePropertyRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7532:1: rule__PropertyAssignmentRhs__EnumRefAssignment_2_0 : ( ( RULE_ID ) ) ; + public final void rule__PropertyAssignmentRhs__EnumRefAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7536:1: ( ( ( RULE_ID ) ) ) + // InternalRDL.g:7537:2: ( ( RULE_ID ) ) + { + // InternalRDL.g:7537:2: ( ( RULE_ID ) ) + // InternalRDL.g:7538:3: ( RULE_ID ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); + } + // InternalRDL.g:7539:3: ( RULE_ID ) + // InternalRDL.g:7540:4: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionIDTerminalRuleCall_2_0_0_1()); + } + + } + + if ( state.backtracking==0 ) { + 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:7551:1: rule__PropertyAssignmentRhs__EnumsAssignment_2_2 : ( ruleEnumBody ) ; + public final void rule__PropertyAssignmentRhs__EnumsAssignment_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7555:1: ( ( ruleEnumBody ) ) + // InternalRDL.g:7556:2: ( ruleEnumBody ) + { + // InternalRDL.g:7556:2: ( ruleEnumBody ) + // InternalRDL.g:7557:3: ruleEnumBody + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); + } + pushFollow(FOLLOW_2); + ruleEnumBody(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7566:1: rule__PropertyAssignmentRhs__ElementsAssignment_3 : ( ruleConcat ) ; + public final void rule__PropertyAssignmentRhs__ElementsAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7570:1: ( ( ruleConcat ) ) + // InternalRDL.g:7571:2: ( ruleConcat ) + { + // InternalRDL.g:7571:2: ( ruleConcat ) + // InternalRDL.g:7572:3: ruleConcat + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); + } + pushFollow(FOLLOW_2); + ruleConcat(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7581:1: rule__Concat__ElementsAssignment_1 : ( ruleConcatElem ) ; + public final void rule__Concat__ElementsAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7585:1: ( ( ruleConcatElem ) ) + // InternalRDL.g:7586:2: ( ruleConcatElem ) + { + // InternalRDL.g:7586:2: ( ruleConcatElem ) + // InternalRDL.g:7587:3: ruleConcatElem + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); + } + pushFollow(FOLLOW_2); + ruleConcatElem(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7596:1: rule__Concat__ElementsAssignment_2_1 : ( ruleConcatElem ) ; + public final void rule__Concat__ElementsAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7600:1: ( ( ruleConcatElem ) ) + // InternalRDL.g:7601:2: ( ruleConcatElem ) + { + // InternalRDL.g:7601:2: ( ruleConcatElem ) + // InternalRDL.g:7602:3: ruleConcatElem + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); + } + pushFollow(FOLLOW_2); + ruleConcatElem(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7611:1: rule__ConcatElem__InstPropRefAssignment_0 : ( ruleInstancePropertyRef ) ; + public final void rule__ConcatElem__InstPropRefAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7615:1: ( ( ruleInstancePropertyRef ) ) + // InternalRDL.g:7616:2: ( ruleInstancePropertyRef ) + { + // InternalRDL.g:7616:2: ( ruleInstancePropertyRef ) + // InternalRDL.g:7617:3: ruleInstancePropertyRef + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleInstancePropertyRef(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7626:1: rule__ConcatElem__ValueAssignment_1 : ( RULE_NUM ) ; + public final void rule__ConcatElem__ValueAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7630:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7631:2: ( RULE_NUM ) + { + // InternalRDL.g:7631:2: ( RULE_NUM ) + // InternalRDL.g:7632:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + } + + } + + + } + + } + 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:7641:1: rule__PropertyRvalueConstant__ValAssignment_0 : ( ruleRValueConstant ) ; + public final void rule__PropertyRvalueConstant__ValAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7645:1: ( ( ruleRValueConstant ) ) + // InternalRDL.g:7646:2: ( ruleRValueConstant ) + { + // InternalRDL.g:7646:2: ( ruleRValueConstant ) + // InternalRDL.g:7647:3: ruleRValueConstant + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); + } + pushFollow(FOLLOW_2); + ruleRValueConstant(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7656:1: rule__PropertyRvalueConstant__NumAssignment_1 : ( RULE_NUM ) ; + public final void rule__PropertyRvalueConstant__NumAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7660:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7661:2: ( RULE_NUM ) + { + // InternalRDL.g:7661:2: ( RULE_NUM ) + // InternalRDL.g:7662:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + } + + } + + + } + + } + 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:7671:1: rule__PropertyRvalueConstant__StrAssignment_2 : ( RULE_STR ) ; + public final void rule__PropertyRvalueConstant__StrAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7675:1: ( ( RULE_STR ) ) + // InternalRDL.g:7676:2: ( RULE_STR ) + { + // InternalRDL.g:7676:2: ( RULE_STR ) + // InternalRDL.g:7677:3: RULE_STR + { + if ( state.backtracking==0 ) { + before(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + } + match(input,RULE_STR,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + } + + } + + + } + + } + 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:7686:1: rule__EnumDefinition__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__EnumDefinition__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7690:1: ( ( RULE_ID ) ) + // InternalRDL.g:7691:2: ( RULE_ID ) + { + // InternalRDL.g:7691:2: ( RULE_ID ) + // InternalRDL.g:7692:3: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + } + + } + + + } + + } + 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:7701:1: rule__EnumDefinition__BodyAssignment_2 : ( ruleEnumBody ) ; + public final void rule__EnumDefinition__BodyAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7705:1: ( ( ruleEnumBody ) ) + // InternalRDL.g:7706:2: ( ruleEnumBody ) + { + // InternalRDL.g:7706:2: ( ruleEnumBody ) + // InternalRDL.g:7707:3: ruleEnumBody + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); + } + pushFollow(FOLLOW_2); + ruleEnumBody(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7716:1: rule__EnumBody__EntriesAssignment_2 : ( ruleEnumEntry ) ; + public final void rule__EnumBody__EntriesAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7720:1: ( ( ruleEnumEntry ) ) + // InternalRDL.g:7721:2: ( ruleEnumEntry ) + { + // InternalRDL.g:7721:2: ( ruleEnumEntry ) + // InternalRDL.g:7722:3: ruleEnumEntry + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); + } + pushFollow(FOLLOW_2); + ruleEnumEntry(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7731:1: rule__EnumEntry__NameAssignment_0 : ( RULE_ID ) ; + public final void rule__EnumEntry__NameAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7735:1: ( ( RULE_ID ) ) + // InternalRDL.g:7736:2: ( RULE_ID ) + { + // InternalRDL.g:7736:2: ( RULE_ID ) + // InternalRDL.g:7737:3: RULE_ID + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + } + match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + } + + } + + + } + + } + 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:7746:1: rule__EnumEntry__IndexAssignment_2 : ( RULE_NUM ) ; + public final void rule__EnumEntry__IndexAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7750:1: ( ( RULE_NUM ) ) + // InternalRDL.g:7751:2: ( RULE_NUM ) + { + // InternalRDL.g:7751:2: ( RULE_NUM ) + // InternalRDL.g:7752:3: RULE_NUM + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + } + match(input,RULE_NUM,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + } + + } + + + } + + } + 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:7761:1: rule__EnumEntry__PropertiesAssignment_3_1 : ( ruleEnumProperty ) ; + public final void rule__EnumEntry__PropertiesAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7765:1: ( ( ruleEnumProperty ) ) + // InternalRDL.g:7766:2: ( ruleEnumProperty ) + { + // InternalRDL.g:7766:2: ( ruleEnumProperty ) + // InternalRDL.g:7767:3: ruleEnumProperty + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); + } + pushFollow(FOLLOW_2); + ruleEnumProperty(); + + state._fsp--; + if (state.failed) return ; + if ( state.backtracking==0 ) { + 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:7776:1: rule__EnumProperty__NameAssignment_0_0_0 : ( ( 'name' ) ) ; + public final void rule__EnumProperty__NameAssignment_0_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7780:1: ( ( ( 'name' ) ) ) + // InternalRDL.g:7781:2: ( ( 'name' ) ) + { + // InternalRDL.g:7781:2: ( ( 'name' ) ) + // InternalRDL.g:7782:3: ( 'name' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + } + // InternalRDL.g:7783:3: ( 'name' ) + // InternalRDL.g:7784:4: 'name' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + } + match(input,22,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + } + + } + + if ( state.backtracking==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:7795:1: rule__EnumProperty__ValueAssignment_0_0_2 : ( RULE_STR ) ; + public final void rule__EnumProperty__ValueAssignment_0_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7799:1: ( ( RULE_STR ) ) + // InternalRDL.g:7800:2: ( RULE_STR ) + { + // InternalRDL.g:7800:2: ( RULE_STR ) + // InternalRDL.g:7801:3: RULE_STR + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); + } + match(input,RULE_STR,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); + } + + } + + + } + + } + 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:7810:1: rule__EnumProperty__NameAssignment_0_1_0 : ( ( 'desc' ) ) ; + public final void rule__EnumProperty__NameAssignment_0_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7814:1: ( ( ( 'desc' ) ) ) + // InternalRDL.g:7815:2: ( ( 'desc' ) ) + { + // InternalRDL.g:7815:2: ( ( 'desc' ) ) + // InternalRDL.g:7816:3: ( 'desc' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + } + // InternalRDL.g:7817:3: ( 'desc' ) + // InternalRDL.g:7818:4: 'desc' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + } + match(input,23,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + } + + } + + if ( state.backtracking==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:7829:1: rule__EnumProperty__ValueAssignment_0_1_2 : ( RULE_STR ) ; + public final void rule__EnumProperty__ValueAssignment_0_1_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7833:1: ( ( RULE_STR ) ) + // InternalRDL.g:7834:2: ( RULE_STR ) + { + // InternalRDL.g:7834:2: ( RULE_STR ) + // InternalRDL.g:7835:3: RULE_STR + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); + } + match(input,RULE_STR,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumProperty__ValueAssignment_0_1_2" + + + // $ANTLR start "rule__EnumInstanceType__EXTERNALAssignment_0" + // InternalRDL.g:7844:1: rule__EnumInstanceType__EXTERNALAssignment_0 : ( ( 'external' ) ) ; + public final void rule__EnumInstanceType__EXTERNALAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7848:1: ( ( ( 'external' ) ) ) + // InternalRDL.g:7849:2: ( ( 'external' ) ) + { + // InternalRDL.g:7849:2: ( ( 'external' ) ) + // InternalRDL.g:7850:3: ( 'external' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); + } + // InternalRDL.g:7851:3: ( 'external' ) + // InternalRDL.g:7852:4: 'external' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); + } + match(input,134,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); + } + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumInstanceType__EXTERNALAssignment_0" + + + // $ANTLR start "rule__EnumInstanceType__INTERNALAssignment_1" + // InternalRDL.g:7863:1: rule__EnumInstanceType__INTERNALAssignment_1 : ( ( 'internal' ) ) ; + public final void rule__EnumInstanceType__INTERNALAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalRDL.g:7867:1: ( ( ( 'internal' ) ) ) + // InternalRDL.g:7868:2: ( ( 'internal' ) ) + { + // InternalRDL.g:7868:2: ( ( 'internal' ) ) + // InternalRDL.g:7869:3: ( 'internal' ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); + } + // InternalRDL.g:7870:3: ( 'internal' ) + // InternalRDL.g:7871:4: 'internal' + { + if ( state.backtracking==0 ) { + before(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); + } + match(input,76,FOLLOW_2); if (state.failed) return ; + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); + } + + } + + if ( state.backtracking==0 ) { + after(grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); + } + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumInstanceType__INTERNALAssignment_1" + + // $ANTLR start synpred3_InternalRDL + public final void synpred3_InternalRDL_fragment() throws RecognitionException { + // InternalRDL.g:785:2: ( ( ( rule__Root__Group_1__0 ) ) ) + // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) ) + { + // InternalRDL.g:785:2: ( ( rule__Root__Group_1__0 ) ) + // InternalRDL.g:786:3: ( rule__Root__Group_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_1()); + } + // InternalRDL.g:787:3: ( rule__Root__Group_1__0 ) + // InternalRDL.g:787:4: rule__Root__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + + } + } + // $ANTLR end synpred3_InternalRDL + + // $ANTLR start synpred5_InternalRDL + public final void synpred5_InternalRDL_fragment() throws RecognitionException { + // InternalRDL.g:797:2: ( ( ( rule__Root__Group_3__0 ) ) ) + // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) ) + { + // InternalRDL.g:797:2: ( ( rule__Root__Group_3__0 ) ) + // InternalRDL.g:798:3: ( rule__Root__Group_3__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_3()); + } + // InternalRDL.g:799:3: ( rule__Root__Group_3__0 ) + // InternalRDL.g:799:4: rule__Root__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_3__0(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + + } + } + // $ANTLR end synpred5_InternalRDL + + // $ANTLR start synpred6_InternalRDL + public final void synpred6_InternalRDL_fragment() throws RecognitionException { + // InternalRDL.g:803:2: ( ( ( rule__Root__Group_4__0 ) ) ) + // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) ) + { + // InternalRDL.g:803:2: ( ( rule__Root__Group_4__0 ) ) + // InternalRDL.g:804:3: ( rule__Root__Group_4__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getRootAccess().getGroup_4()); + } + // InternalRDL.g:805:3: ( rule__Root__Group_4__0 ) + // InternalRDL.g:805:4: rule__Root__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__Root__Group_4__0(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + + } + } + // $ANTLR end synpred6_InternalRDL + + // $ANTLR start synpred15_InternalRDL + public final void synpred15_InternalRDL_fragment() throws RecognitionException { + // InternalRDL.g:947:2: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) + // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) + { + // InternalRDL.g:947:2: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) + // InternalRDL.g:948:3: ( rule__ComponentDefinition__Group_3_0__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); + } + // InternalRDL.g:949:3: ( rule__ComponentDefinition__Group_3_0__0 ) + // InternalRDL.g:949:4: rule__ComponentDefinition__Group_3_0__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_0__0(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + + } + } + // $ANTLR end synpred15_InternalRDL + + // $ANTLR start synpred16_InternalRDL + public final void synpred16_InternalRDL_fragment() throws RecognitionException { + // InternalRDL.g:953:2: ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) + // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) + { + // InternalRDL.g:953:2: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) + // InternalRDL.g:954:3: ( rule__ComponentDefinition__Group_3_1__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); + } + // InternalRDL.g:955:3: ( rule__ComponentDefinition__Group_3_1__0 ) + // InternalRDL.g:955:4: rule__ComponentDefinition__Group_3_1__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_1__0(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + + } + } + // $ANTLR end synpred16_InternalRDL + + // $ANTLR start synpred17_InternalRDL + public final void synpred17_InternalRDL_fragment() throws RecognitionException { + // InternalRDL.g:959:2: ( ( ( rule__ComponentDefinition__Group_3_2__0 ) ) ) + // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) ) + { + // InternalRDL.g:959:2: ( ( rule__ComponentDefinition__Group_3_2__0 ) ) + // InternalRDL.g:960:3: ( rule__ComponentDefinition__Group_3_2__0 ) + { + if ( state.backtracking==0 ) { + before(grammarAccess.getComponentDefinitionAccess().getGroup_3_2()); + } + // InternalRDL.g:961:3: ( rule__ComponentDefinition__Group_3_2__0 ) + // InternalRDL.g:961:4: rule__ComponentDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_2); + rule__ComponentDefinition__Group_3_2__0(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + + } + } + // $ANTLR end synpred17_InternalRDL + + // Delegated rules + + public final boolean synpred15_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred15_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred17_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred17_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred3_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred3_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred16_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred16_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred6_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred6_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred5_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred5_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + + + protected DFA2 dfa2 = new DFA2(this); + protected DFA8 dfa8 = new DFA8(this); + static final String dfa_1s = "\137\uffff"; + static final String dfa_2s = "\1\5\1\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_3s = "\1\u0086\1\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_4s = "\1\uffff\1\1\5\uffff\1\3\1\4\3\uffff\1\5\120\uffff\1\6\1\2"; + static final String dfa_5s = "\2\uffff\1\0\1\1\1\2\1\3\1\4\2\uffff\1\5\1\uffff\1\6\123\uffff}>"; + static final String[] dfa_6s = { + "\1\13\11\uffff\1\3\1\5\1\4\1\6\1\uffff\1\2\1\uffff\66\14\1\11\25\14\12\uffff\5\14\1\uffff\1\1\1\135\4\uffff\1\14\2\uffff\1\10\11\uffff\1\7\1\10", + "", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "", + "", + "\1\uffff", + "", + "\1\uffff", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); + static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); + static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); + static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); + static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); + static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); + + class DFA2 extends DFA { + + public DFA2(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 2; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "774:1: rule__Root__Alternatives : ( ( ( rule__Root__IncludesAssignment_0 ) ) | ( ( rule__Root__Group_1__0 ) ) | ( ( rule__Root__Group_2__0 ) ) | ( ( rule__Root__Group_3__0 ) ) | ( ( rule__Root__Group_4__0 ) ) | ( ( rule__Root__Group_5__0 ) ) );"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA2_2 = input.LA(1); + + + int index2_2 = input.index(); + input.rewind(); + s = -1; + if ( (synpred3_InternalRDL()) ) {s = 94;} + + else if ( (synpred5_InternalRDL()) ) {s = 8;} + + + input.seek(index2_2); + if ( s>=0 ) return s; + break; + case 1 : + int LA2_3 = input.LA(1); + + + int index2_3 = input.index(); + input.rewind(); + s = -1; + if ( (synpred3_InternalRDL()) ) {s = 94;} + + else if ( (synpred5_InternalRDL()) ) {s = 8;} + + + input.seek(index2_3); + if ( s>=0 ) return s; + break; + case 2 : + int LA2_4 = input.LA(1); + + + int index2_4 = input.index(); + input.rewind(); + s = -1; + if ( (synpred3_InternalRDL()) ) {s = 94;} + + else if ( (synpred5_InternalRDL()) ) {s = 8;} + + + input.seek(index2_4); + if ( s>=0 ) return s; + break; + case 3 : + int LA2_5 = input.LA(1); + + + int index2_5 = input.index(); + input.rewind(); + s = -1; + if ( (synpred3_InternalRDL()) ) {s = 94;} + + else if ( (synpred5_InternalRDL()) ) {s = 8;} + + + input.seek(index2_5); + if ( s>=0 ) return s; + break; + case 4 : + int LA2_6 = input.LA(1); + + + int index2_6 = input.index(); + input.rewind(); + s = -1; + if ( (synpred3_InternalRDL()) ) {s = 94;} + + else if ( (synpred5_InternalRDL()) ) {s = 8;} + + + input.seek(index2_6); + if ( s>=0 ) return s; + break; + case 5 : + int LA2_9 = input.LA(1); + + + int index2_9 = input.index(); + input.rewind(); + s = -1; + if ( (synpred5_InternalRDL()) ) {s = 8;} + + else if ( (synpred6_InternalRDL()) ) {s = 12;} + + + input.seek(index2_9); + if ( s>=0 ) return s; + break; + case 6 : + int LA2_11 = input.LA(1); + + + int index2_11 = input.index(); + input.rewind(); + s = -1; + if ( (synpred5_InternalRDL()) ) {s = 8;} + + else if ( (synpred6_InternalRDL()) ) {s = 12;} + + + input.seek(index2_11); + if ( s>=0 ) return s; + break; + } + if (state.backtracking>0) {state.failed=true; return -1;} + NoViableAltException nvae = + new NoViableAltException(getDescription(), 2, _s, input); + error(nvae); + throw nvae; + } + } + static final String dfa_7s = "\135\uffff"; + static final String dfa_8s = "\1\5\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_9s = "\1\u0086\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_10s = "\6\uffff\1\2\3\uffff\1\3\120\uffff\1\4\1\1"; + static final String dfa_11s = "\1\uffff\1\0\1\1\1\2\1\3\1\4\1\uffff\1\5\1\uffff\1\6\123\uffff}>"; + static final String[] dfa_12s = { + "\1\11\11\uffff\1\2\1\4\1\3\1\5\1\uffff\1\1\1\uffff\66\12\1\7\25\12\12\uffff\5\12\7\uffff\1\12\2\uffff\1\6\11\uffff\1\133\1\6", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "", + "\1\uffff", + "", + "\1\uffff", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); + static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s); + static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); + static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s); + static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); + static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); + + class DFA8 extends DFA { + + public DFA8(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 8; + this.eot = dfa_7; + this.eof = dfa_7; + this.min = dfa_8; + this.max = dfa_9; + this.accept = dfa_10; + this.special = dfa_11; + this.transition = dfa_12; + } + public String getDescription() { + return "942:1: rule__ComponentDefinition__Alternatives_3 : ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) | ( ( rule__ComponentDefinition__Group_3_1__0 ) ) | ( ( rule__ComponentDefinition__Group_3_2__0 ) ) | ( ( rule__ComponentDefinition__Group_3_3__0 ) ) );"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA8_1 = input.LA(1); + + + int index8_1 = input.index(); + input.rewind(); + s = -1; + if ( (synpred15_InternalRDL()) ) {s = 92;} + + else if ( (synpred16_InternalRDL()) ) {s = 6;} + + + input.seek(index8_1); + if ( s>=0 ) return s; + break; + case 1 : + int LA8_2 = input.LA(1); + + + int index8_2 = input.index(); + input.rewind(); + s = -1; + if ( (synpred15_InternalRDL()) ) {s = 92;} + + else if ( (synpred16_InternalRDL()) ) {s = 6;} + + + input.seek(index8_2); + if ( s>=0 ) return s; + break; + case 2 : + int LA8_3 = input.LA(1); + + + int index8_3 = input.index(); + input.rewind(); + s = -1; + if ( (synpred15_InternalRDL()) ) {s = 92;} + + else if ( (synpred16_InternalRDL()) ) {s = 6;} + + + input.seek(index8_3); + if ( s>=0 ) return s; + break; + case 3 : + int LA8_4 = input.LA(1); + + + int index8_4 = input.index(); + input.rewind(); + s = -1; + if ( (synpred15_InternalRDL()) ) {s = 92;} + + else if ( (synpred16_InternalRDL()) ) {s = 6;} + + + input.seek(index8_4); + if ( s>=0 ) return s; + break; + case 4 : + int LA8_5 = input.LA(1); + + + int index8_5 = input.index(); + input.rewind(); + s = -1; + if ( (synpred15_InternalRDL()) ) {s = 92;} + + else if ( (synpred16_InternalRDL()) ) {s = 6;} + + + input.seek(index8_5); + if ( s>=0 ) return s; + break; + case 5 : + int LA8_7 = input.LA(1); + + + int index8_7 = input.index(); + input.rewind(); + s = -1; + if ( (synpred16_InternalRDL()) ) {s = 6;} + + else if ( (synpred17_InternalRDL()) ) {s = 10;} + + + input.seek(index8_7); + if ( s>=0 ) return s; + break; + case 6 : + int LA8_9 = input.LA(1); + + + int index8_9 = input.index(); + input.rewind(); + s = -1; + if ( (synpred16_InternalRDL()) ) {s = 6;} + + else if ( (synpred17_InternalRDL()) ) {s = 10;} + + + input.seek(index8_9); + if ( s>=0 ) return s; + break; + } + if (state.backtracking>0) {state.failed=true; return -1;} + NoViableAltException nvae = + new NoViableAltException(getDescription(), 8, _s, input); + error(nvae); + throw nvae; + } + } + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xFFFFFFFFFFD78022L,0x090DF003FFFFFFFFL,0x0000000000000060L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0340000000000000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0020000000000000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000000L,0x0080000000000000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000000000FF000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000000L,0x0200000000000000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000000000L,0x0240000000000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000000050L,0x0000000C00000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000378000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000000L,0x0402000000000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000002L,0x0400000000000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000020L,0x0010000000000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0xFFFFFFFFFFD78020L,0x0921F003FFFFFFFFL,0x0000000000000060L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0xFFFFFFFFFFD78022L,0x0901F003FFFFFFFFL,0x0000000000000060L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000000L,0x1000000000000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000002L,0x1000000000000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000020L,0x0800000000001000L,0x0000000000000040L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L,0x0000000000000040L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000000L,0xE080000000000000L,0x0000000000000001L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000004L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0xFFFFFFFFFFC00000L,0x0001F003FFFFFFFFL}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000070L,0x00100FFE000C0000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000008L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0xFFFFFFFFFFC00020L,0x0001F003FFFFFFFFL}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000060L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000000L,0x1020000000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000020L,0x0020000000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000022L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x0012000000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000C00000L,0x0020000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000C00002L}); + +} \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl.platform.feature/feature.xml b/com.minres.rdl.parent/com.minres.rdl.platform.feature/feature.xml index 54fda20..6ed890d 100644 --- a/com.minres.rdl.parent/com.minres.rdl.platform.feature/feature.xml +++ b/com.minres.rdl.parent/com.minres.rdl.platform.feature/feature.xml @@ -760,13 +760,6 @@ version="0.0.0" unpack="false"/> - - + @@ -23,80 +24,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/com.minres.rdl.parent/com.minres.rdl.product.releng/pom.xml b/com.minres.rdl.parent/com.minres.rdl.product.releng/pom.xml index ce31e5d..8bbf52a 100644 --- a/com.minres.rdl.parent/com.minres.rdl.product.releng/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.product.releng/pom.xml @@ -5,10 +5,9 @@ com.minres.rdl.product.releng eclipse-repository RDL Editor - 1.3.0-SNAPSHOT - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl com.minres.rdl.parent diff --git a/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml b/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml index 394e7d1..fe9f854 100644 --- a/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.repository/pom.xml @@ -4,10 +4,9 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.repository - 1.3.0-SNAPSHOT eclipse-repository @@ -90,9 +89,9 @@ -application org.eclipse.ant.core.antRunner -buildfile packaging-p2-composite.ant p2.composite.add -Dsite.label="RDL-Editor Software Repository" -Dproject.build.directory=${project.build.directory} -DunqualifiedVersion=${unqualifiedVersion} -Dsoftware.download.area="${software.download.area}/RDL-Editor-GHP/repository" - 2021-03 + 2022-03 p2 - http://download.eclipse.org/releases/2021-03/ + http://download.eclipse.org/releases/2022-03/ diff --git a/com.minres.rdl.parent/com.minres.rdl.standalone/assemble.groovy b/com.minres.rdl.parent/com.minres.rdl.standalone/assemble.groovy index 5ea2a9c..1279350 100644 --- a/com.minres.rdl.parent/com.minres.rdl.standalone/assemble.groovy +++ b/com.minres.rdl.parent/com.minres.rdl.standalone/assemble.groovy @@ -1,20 +1,95 @@ import static groovy.io.FileType.FILES +import java.nio.file.Files +import java.nio.file.Paths +import java.util.zip.ZipEntry + +def needed_jars = [ + /org\.eclipse\.xtext/, + /org\.eclipse\.emf\.ecore\.xmi/, + /org\.eclipse\.emf\.ecore/, + /org\.eclipse\.emf\.common/, + /org\.antlr\.runtime/, + /com\.google\.inject/, + /org\.eclipse\.emf\.mwe\.core/, + /org\.apache\.commons\.cli/, + /org\.eclipse\.emf\.mwe2\.runtime/, + /org\.eclipse\.emf\.mwe\.utils/, + /org\.eclipse\.xtext\.util/, + /com\.google\.guava/, + /javax\.inject/, + /org\.eclipse\.xtext\.xbase/, + /org\.eclipse\.xtext\.common\.types/, + /org\.eclipse\.xtend\.lib/, + /org\.eclipse\.xtext\.xbase\.lib/, + /org\.eclipse\.xtend\.lib\.macro/, + /org\.eclipse\.equinox\.common/, + /eclipse-trace/, + /groovy-eclipse/, + /ivy-2\.5\.0\.jar/, + /groovy-3\.0\.\d-indy/, + /groovy-templates-3\.0\.\d/, + /org\.eclipse\.xtext\.xtext\.generator/, + /org\.eclipse\.emf\.codegen\.ecore/, + /org\.eclipse\.emf\.codegen/, + /org\.eclipse\.emf\.mwe2\.launch/, + /org\.eclipse\.emf\.mwe2\.language/, + /org\.eclipse\.emf\.mwe2\.lib/, + /org\.objectweb\.asm/, + /org\.apache\.commons\.logging/, + /org\.apache\.log4j/, + /com\.ibm\.icu/, + /org\.json/, + /com\.minres\.rdl/ +] + // Collect all jars. def jars = [] def root = new File(project.getBasedir(), 'target/classes') def libs = new File(project.getBasedir(), 'target/classes/lib') +def meta_inf = new File(project.getBasedir(), 'target/classes/META-INF') libs.eachFileRecurse (FILES) { file -> - jars << root.toURI().relativize(file.toURI()).toString() + if(file.name =~/org\.codehaus\.groovy_/) { // we need to unpack this one sinc it is already jar in jar + println("Unpacking ${file}") + def zipFile = new java.util.zip.ZipFile(file) + zipFile.entries().findAll {ZipEntry entry -> !entry.directory && entry.name =~/\.jar$/}.each {ZipEntry entry -> + def outFile = new File(libs, entry.name.split(/\//)[-1]) + println "Extracting file ${entry.name} to ${outFile.path} with size ${entry.size}bytes (${entry.compressedSize}bytes)" + Files.copy(zipFile.getInputStream(entry), outFile.toPath()) + } + } +} +libs.eachFileRecurse (FILES) { file -> + def fileName = file.name.split("/")[-1] + if(needed_jars.find{fileName =~ it}) { + println "Adding $file to the included jars" + jars << root.toURI().relativize(file.toURI()).toString() + } else { + file.delete() + } +} +def zipFile = new java.util.zip.ZipFile(new File(project.getBasedir(), 'jar-in-jar-loader.zip')) +zipFile.entries().each {ZipEntry it -> + def path = Paths.get("${root}/", it.name) + if(it.directory){ + Files.createDirectories(path) + } else { + def parentDir = path.getParent() + if (!Files.exists(parentDir)) { + Files.createDirectories(parentDir) + } + Files.deleteIfExists(path) + println "Extracting file ${it.name} to ${path} with size ${it.size}bytes (${it.compressedSize}bytes)" + Files.copy(zipFile.getInputStream(it), path) + } } // Write the manifest file. -def manifest = new File(project.getBasedir(), 'target/classes/META-INF/MANIFEST.MF') - -manifest.write '' - -manifest << 'Manifest-Version: 1.0\n' -manifest << 'Class-Path: . ' + jars.join(' ') + '\n' -manifest << 'Rsrc-Main-Class: com.minres.rdl.generator.Main\n' -manifest << 'Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader\n' \ No newline at end of file +Files.createDirectories( Paths.get(meta_inf.absolutePath)) +def mf = new File(project.getBasedir(), 'target/classes/META-INF/MANIFEST.MF') +mf.write '' +mf << 'Manifest-Version: 1.0\n' +mf << 'Rsrc-Class-Path: ./ ' + jars.join(' ') + '\n' +mf << 'Rsrc-Main-Class: com.minres.rdl.generator.Main\n' +mf << 'Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader\n' diff --git a/com.minres.rdl.parent/com.minres.rdl.standalone/jar-in-jar-loader.zip b/com.minres.rdl.parent/com.minres.rdl.standalone/jar-in-jar-loader.zip new file mode 100644 index 0000000..3c6c9bf Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl.standalone/jar-in-jar-loader.zip differ diff --git a/com.minres.rdl.parent/com.minres.rdl.standalone/pom.xml b/com.minres.rdl.parent/com.minres.rdl.standalone/pom.xml index 1c550f2..56d7035 100644 --- a/com.minres.rdl.parent/com.minres.rdl.standalone/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.standalone/pom.xml @@ -4,10 +4,10 @@ com.minres.rdl.parent com.minres.rdl - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.standalone - 1.2.0-SNAPSHOT + eclipse-repository @@ -77,7 +77,7 @@ com.minres.rdl com.minres.rdl - ${rdl-plugin.version} + ${project.version} jar false ${project.build.directory}/classes @@ -175,7 +175,7 @@ com.minres.rdl com.minres.rdl - ${rdl-plugin.version} + ${project.version} eclipse-plugin 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 index 01fc01f..3763e2d 100644 --- 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 @@ -1,39 +1,43 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.target/pom.xml b/com.minres.rdl.parent/com.minres.rdl.target/pom.xml index 0255d6b..13e0fab 100644 --- a/com.minres.rdl.parent/com.minres.rdl.target/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.target/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.target eclipse-target-definition 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 index 0833c51..1ffaa99 100644 --- 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 @@ -3,7 +3,7 @@ Automatic-Module-Name: com.minres.rdl.tests Bundle-ManifestVersion: 2 Bundle-Name: com.minres.rdl.tests Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 1.4.0 Bundle-SymbolicName: com.minres.rdl.tests; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: com.minres.rdl, diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml b/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml index e78a3cb..759da1e 100644 --- a/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.tests/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.tests eclipse-test-plugin diff --git a/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* 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..04cc7cb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.tests/src-gen/com/minres/rdl/tests/RDLInjectorProvider.java @@ -0,0 +1,69 @@ +/* + * generated by Xtext 2.26.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) { + 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(); + stateBeforeInjectorCreation = null; + } + + @Override + public void setupRegistry() { + stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); + if (injector == null) { + getInjector(); + } + stateAfterInjectorCreation.restoreGlobalState(); + } +} 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 index 7a5fe06..cb1e7ad 100644 --- 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 @@ -3,7 +3,7 @@ Automatic-Module-Name: com.minres.rdl.ui.tests Bundle-ManifestVersion: 2 Bundle-Name: com.minres.rdl.ui.tests Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 1.4.0 Bundle-SymbolicName: com.minres.rdl.ui.tests; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: com.minres.rdl.ui, 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 index 2e7abf9..d42d7ce 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui.tests/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.ui.tests/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.ui.tests eclipse-test-plugin diff --git a/com.minres.rdl.parent/com.minres.rdl.ui.tests/src-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui.tests/src-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl.ui.tests/src-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* 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..0ae7e26 --- /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.26.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.tests/xtend-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui.tests/xtend-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl.ui.tests/xtend-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* 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 index 314272e..7258a6d 100644 --- 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 @@ -3,7 +3,7 @@ Automatic-Module-Name: com.minres.rdl.ui Bundle-ManifestVersion: 2 Bundle-Name: com.minres.rdl.ui Bundle-Vendor: MINRES Technologies GmbH -Bundle-Version: 1.2.0.qualifier +Bundle-Version: 1.4.0 Bundle-SymbolicName: com.minres.rdl.ui; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: com.minres.rdl, diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml b/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml index fa91fe6..b03010d 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml +++ b/com.minres.rdl.parent/com.minres.rdl.ui/plugin.xml @@ -1,466 +1,510 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml b/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml index 68c4985..10d0d07 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.ui/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.ui eclipse-plugin @@ -17,6 +17,4 @@ - - 1.2.0-SNAPSHOT diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* 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..43fd06e --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/AbstractRDLUiModule.java @@ -0,0 +1,307 @@ +/* + * generated by Xtext 2.26.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 com.minres.rdl.validation.RDLValidatorConfigurationBlock; +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.formatting.IContentFormatterFactory; +import org.eclipse.xtext.ui.editor.formatting2.ContentFormatterFactory; +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; +import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock; +import org.eclipse.xtext.ui.wizard.IProjectCreator; +import org.eclipse.xtext.ui.wizard.template.DefaultTemplateProjectCreator; + +/** + * 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.validation.ValidatorFragment2 + public Class bindAbstractValidatorConfigurationBlock() { + return RDLValidatorConfigurationBlock.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.formatting.Formatter2Fragment2 + public Class bindIContentFormatterFactory() { + return ContentFormatterFactory.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 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 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 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.ui.projectWizard.TemplateProjectWizardFragment + public Class bindIProjectCreator() { + return DefaultTemplateProjectCreator.class; + } + + // 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..2873edd --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/RDLExecutableExtensionFactory.java @@ -0,0 +1,29 @@ +/* + * generated by Xtext 2.26.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; +import org.osgi.framework.FrameworkUtil; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class RDLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return FrameworkUtil.getBundle(RdlActivator.class); + } + + @Override + protected Injector getInjector() { + RdlActivator activator = RdlActivator.getInstance(); + return activator != null ? activator.getInjector(RdlActivator.COM_MINRES_RDL_RDL) : null; + } + +} 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..821b4e0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/contentassist/AbstractRDLProposalProvider.java @@ -0,0 +1,358 @@ +/* + * generated by Xtext 2.26.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_Instantiations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRoot_PropertyAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + 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_Instantiations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentDefinition_PropertyAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + 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 completeInstantiation_InstanceType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInstantiation_Alias(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInstantiation_ComponentRef(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeInstantiation_Component(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeInstantiation_ComponentInstances(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeComponentInstance_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + 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_Left(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRange_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRange_Size(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + 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 completeEnumInstanceType_EXTERNAL(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeEnumInstanceType_INTERNAL(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + + public void complete_Root(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + 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_Instantiation(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_EnumInstanceType(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + 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_ESCAPE_JSP(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ESCAPE_ORDL(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..4588f3d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/ui/internal/RdlActivator.java @@ -0,0 +1,94 @@ +/* + * generated by Xtext 2.26.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.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 PLUGIN_ID = "com.minres.rdl.ui"; + 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 { + com.google.inject.Module runtimeModule = getRuntimeModule(language); + com.google.inject.Module sharedStateModule = getSharedStateModule(); + com.google.inject.Module uiModule = getUiModule(language); + com.google.inject.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 com.google.inject.Module getRuntimeModule(String grammar) { + if (COM_MINRES_RDL_RDL.equals(grammar)) { + return new RDLRuntimeModule(); + } + throw new IllegalArgumentException(grammar); + } + + protected com.google.inject.Module getUiModule(String grammar) { + if (COM_MINRES_RDL_RDL.equals(grammar)) { + return new RDLUiModule(this); + } + throw new IllegalArgumentException(grammar); + } + + protected com.google.inject.Module getSharedStateModule() { + return new SharedStateModule(); + } + + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/validation/RDLValidatorConfigurationBlock.java b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/validation/RDLValidatorConfigurationBlock.java new file mode 100644 index 0000000..c6b6bcb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src-gen/com/minres/rdl/validation/RDLValidatorConfigurationBlock.java @@ -0,0 +1,35 @@ +/* + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.validation; + +import org.eclipse.jface.dialogs.IDialogSettings; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock; + +@SuppressWarnings("restriction") +public class RDLValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock { + + protected static final String SETTINGS_SECTION_NAME = "RDL"; + + @Override + protected void fillSettingsPage(Composite composite, int nColumns, int defaultIndent) { + addComboBox(RDLConfigurableIssueCodesProvider.DEPRECATED_MODEL_PART, "Deprecated Model Part", composite, defaultIndent); + } + + @Override + public void dispose() { + storeSectionExpansionStates(getDialogSettings()); + super.dispose(); + } + + @Override + protected IDialogSettings getDialogSettings() { + IDialogSettings dialogSettings = super.getDialogSettings(); + IDialogSettings section = dialogSettings.getSection(SETTINGS_SECTION_NAME); + if (section == null) { + return dialogSettings.addNewSection(SETTINGS_SECTION_NAME); + } + return section; + } +} 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 index 62c09b9..4557173 100644 --- 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 @@ -3,8 +3,8 @@ */ package com.minres.rdl.ui -import com.minres.structural.ui.hyperlink.MyHyperlinkHelper -import com.minres.structural.ui.hyperlink.MyXtextHyperlink +import com.minres.rdl.ui.hyperlink.RdlHyperlinkHelper +import com.minres.rdl.ui.hyperlink.RdlXtextHyperlink import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor import org.eclipse.xtext.documentation.IEObjectDocumentationProvider import org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider @@ -36,11 +36,11 @@ class RDLUiModule extends AbstractRDLUiModule { } def Class bindHyperlinkHelper() { - return MyHyperlinkHelper + return RdlHyperlinkHelper } def Class bindHyperlink() { - return MyXtextHyperlink + return RdlXtextHyperlink } } diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/builder/GenerationHandler.java b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/builder/GenerationHandler.java new file mode 100644 index 0000000..1d369fe --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/builder/GenerationHandler.java @@ -0,0 +1,134 @@ +package com.minres.rdl.ui.builder; + + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.IHandler; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IFolder; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.preferences.IEclipsePreferences; +import org.eclipse.core.runtime.preferences.InstanceScope; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.handlers.HandlerUtil; +import org.eclipse.xtext.builder.EclipseResourceFileSystemAccess2; +import org.eclipse.xtext.generator.IGenerator2; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.XtextResource; +import org.eclipse.xtext.ui.editor.XtextEditor; +import org.eclipse.xtext.ui.resource.IResourceSetProvider; +import org.eclipse.xtext.util.CancelIndicator; +import org.eclipse.xtext.util.concurrent.IUnitOfWork; + +import com.google.inject.Inject; +import com.google.inject.Provider; +import com.minres.rdl.generator.RdlGeneratorContext; +import com.minres.rdl.preferences.PreferenceConstants; + +public class GenerationHandler extends AbstractHandler implements IHandler { + + @Inject + private IGenerator2 generator; + + @Inject + private Provider fileAccessProvider; + + @Inject + IResourceDescriptions resourceDescriptions; + + @Inject + IResourceSetProvider resourceSetProvider; + + IEclipsePreferences preferences = InstanceScope.INSTANCE.getNode(PreferenceConstants.SCOPE_NAME); + + @Override + public Object execute(ExecutionEvent event) { + RdlGeneratorContext context = new RdlGeneratorContext(); + context.cancelIndicator = CancelIndicator.NullImpl; + context.namespace = preferences.get(PreferenceConstants.P_NAMESPACE, "sysc"); + context.forceOverwrite=preferences.getBoolean(PreferenceConstants.P_OVERWRITE_STUBS, false); + String whatToGenerate = preferences.get(PreferenceConstants.P_FILETYPES_TO_GENERATE, "all"); + if(whatToGenerate=="sc-comp") { + context.generateFw=false; + } else if(whatToGenerate=="fw") { + context.generateSc=false; + } + context.forceOverwrite=preferences.getBoolean(PreferenceConstants.P_OVERWRITE_STUBS, false); + context.fwPathModifier=preferences.get(PreferenceConstants.P_FIRMWARE_PATH, ""); + context.scPathModifier=preferences.get(PreferenceConstants.P_COMPONENT_PATH, ""); + + String outputDir = preferences.get("outlet.DEFAULT_OUTPUT.directory", "src-gen"); + IEditorPart activeEditor = HandlerUtil.getActiveEditor(event); + IWorkbenchPart activePart = HandlerUtil.getActivePart(event); + if (activeEditor instanceof XtextEditor && activeEditor == activePart) { + IFile file = (IFile) activeEditor.getEditorInput().getAdapter(IFile.class); + if (file != null) { + final EclipseResourceFileSystemAccess2 fsa = getFsa(outputDir, file, context.fwPathModifier, context.scPathModifier); + ((XtextEditor)activeEditor).getDocument().readOnly(new IUnitOfWork() { + @Override + public Boolean exec(XtextResource state) throws Exception { + generator.doGenerate(state, fsa, context); + return Boolean.TRUE; + } + }); + } + } else { + ISelection selection = HandlerUtil.getCurrentSelection(event); + if (selection instanceof IStructuredSelection) { + IStructuredSelection structuredSelection = (IStructuredSelection) selection; + for (Object element : structuredSelection) { + if (element instanceof IFile) { + IFile file = (IFile) element; + final EclipseResourceFileSystemAccess2 fsa = getFsa(outputDir, file, context.fwPathModifier, context.scPathModifier); + URI uri = URI.createPlatformResourceURI(file.getFullPath().toString(), true); + Resource r = resourceSetProvider.get(file.getProject()).getResource(uri, true); + try { + generator.doGenerate(r, fsa, context); + } finally {} + } + } + } + } + return null; + } + + private EclipseResourceFileSystemAccess2 getFsa(String outputDir, IFile file, String fwPath, String scPath) { + IProject project = file.getProject(); + IFolder srcGenFolder = project.getFolder(outputDir); + createIfNotExists(srcGenFolder); + if(fwPath.length()>0) createIfNotExists(srcGenFolder.getFolder(fwPath)); + if(scPath.length()>0) createIfNotExists(srcGenFolder.getFolder(scPath)); + final EclipseResourceFileSystemAccess2 fsa = fileAccessProvider.get(); + fsa.setOutputPath("src-gen"); + String scGenFolderPath = (fwPath.length()>0? srcGenFolder.getFolder(scPath) : srcGenFolder).getProjectRelativePath().toString(); + fsa.setOutputPath("sc-incl-out", scGenFolderPath); + fsa.setOutputPath("sc-src-out", scGenFolderPath); + String fwGenFolderPath = (fwPath.length()>0? srcGenFolder.getFolder(fwPath) : srcGenFolder).getProjectRelativePath().toString(); + fsa.setOutputPath("fw-incl-out", fwGenFolderPath); + fsa.setOutputPath("fw-src-out", fwGenFolderPath); + fsa.setProject(project); + fsa.setMonitor(new NullProgressMonitor()); + return fsa; + } + + private void createIfNotExists(IFolder srcGenFolder) { + if (!srcGenFolder.exists()) { + try { + srcGenFolder.create(true, true, new NullProgressMonitor()); + } catch (CoreException e) { } + } + } + + @Override + public boolean isEnabled() { + return true; + } + +} diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/structural/ui/hyperlink/MyHyperlinkHelper.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/hyperlink/RdlHyperlinkHelper.xtend similarity index 93% rename from com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/structural/ui/hyperlink/MyHyperlinkHelper.xtend rename to com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/hyperlink/RdlHyperlinkHelper.xtend index ff233dd..4e3d3d3 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/structural/ui/hyperlink/MyHyperlinkHelper.xtend +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/hyperlink/RdlHyperlinkHelper.xtend @@ -1,4 +1,4 @@ -package com.minres.structural.ui.hyperlink +package com.minres.rdl.ui.hyperlink import com.google.inject.Inject import org.eclipse.emf.common.util.URI @@ -13,7 +13,7 @@ import org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkAcceptor import org.eclipse.xtext.util.TextRegion import org.eclipse.jface.text.IRegion -class MyHyperlinkHelper extends HyperlinkHelper { +class RdlHyperlinkHelper extends HyperlinkHelper { @Inject ImportUriResolver resolver; @@ -37,7 +37,7 @@ class MyHyperlinkHelper extends HyperlinkHelper { result.setHyperlinkRegion(new Region(textRegion.getOffset(), textRegion.getLength()) as IRegion); result.setURI(if(uri.isPlatformResource()) uri else resource.getResourceSet().getURIConverter().normalize(uri)); result.setHyperlinkText(labelProvider.getText(top)); - if(result instanceof MyXtextHyperlink) result.selectTarget=false + if(result instanceof RdlXtextHyperlink) result.selectTarget=false acceptor.accept(result); } } diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/structural/ui/hyperlink/MyXtextHyperlink.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/hyperlink/RdlXtextHyperlink.xtend similarity index 81% rename from com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/structural/ui/hyperlink/MyXtextHyperlink.xtend rename to com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/hyperlink/RdlXtextHyperlink.xtend index 9c83a70..5bb4634 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/structural/ui/hyperlink/MyXtextHyperlink.xtend +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/hyperlink/RdlXtextHyperlink.xtend @@ -1,10 +1,10 @@ -package com.minres.structural.ui.hyperlink +package com.minres.rdl.ui.hyperlink import com.google.inject.Inject import org.eclipse.xtext.ui.editor.IURIEditorOpener import org.eclipse.xtext.ui.editor.hyperlinking.XtextHyperlink -class MyXtextHyperlink extends XtextHyperlink { +class RdlXtextHyperlink extends XtextHyperlink { var boolean select = true diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/preferences/RdlPreferencePage.xtend b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/preferences/RdlPreferencePage.xtend index b7b28bb..a3d6480 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/preferences/RdlPreferencePage.xtend +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/preferences/RdlPreferencePage.xtend @@ -8,6 +8,7 @@ import com.minres.rdl.preferences.PreferenceConstants import org.eclipse.ui.preferences.ScopedPreferenceStore import org.eclipse.core.runtime.preferences.InstanceScope import org.eclipse.jface.preference.ComboFieldEditor +import org.eclipse.jface.preference.StringFieldEditor class RdlPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage { @@ -21,6 +22,12 @@ class RdlPreferencePage extends FieldEditorPreferencePage implements IWorkbenchP override createFieldEditors() { addField(new BooleanFieldEditor(PreferenceConstants.P_GENERATE_CSV, "Generate CSV:", getFieldEditorParent())); addField(new ComboFieldEditor(PreferenceConstants.P_ADDRESSUNIT, "Address unit size", #[#["Byte (8bit)","byte"], #["Word (16bit)","word"], #["DWord (32bit)","dword"]], getFieldEditorParent())) + addField(new StringFieldEditor(PreferenceConstants.P_NAMESPACE, "Namespace of generated SystemC", 30, getFieldEditorParent())) + addField(new BooleanFieldEditor(PreferenceConstants.P_OVERWRITE_STUBS, "Always overwrite component stubs", getFieldEditorParent())); + addField(new ComboFieldEditor(PreferenceConstants.P_FILETYPES_TO_GENERATE, "File types to generate", #[#["All","all"], #["FW only","fw"], #["SC components","sc-comp"]], getFieldEditorParent())) + addField(new StringFieldEditor(PreferenceConstants.P_COMPONENT_PATH, "relative path for SystemC files", 30, getFieldEditorParent())) + addField(new StringFieldEditor(PreferenceConstants.P_FIRMWARE_PATH, "relative path for FW files", 30, getFieldEditorParent())) + addField(new StringFieldEditor(PreferenceConstants.P_COPYRIGHT_HEADER, "Copyright header", 40, 5, StringFieldEditor.VALIDATE_ON_KEY_STROKE, getFieldEditorParent())) } override init(IWorkbench workbench) { diff --git a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/wizard/Messages.java b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/wizard/Messages.java index 33fa588..61a44ef 100644 --- a/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/wizard/Messages.java +++ b/com.minres.rdl.parent/com.minres.rdl.ui/src/com/minres/rdl/ui/wizard/Messages.java @@ -14,7 +14,7 @@ public class Messages extends NLS { // initialize resource bundle NLS.initializeMessages(BUNDLE_NAME, Messages.class); } - + private Messages() { } } diff --git a/com.minres.rdl.parent/com.minres.rdl.web/pom.xml b/com.minres.rdl.parent/com.minres.rdl.web/pom.xml index 1c3b14e..1a7accd 100644 --- a/com.minres.rdl.parent/com.minres.rdl.web/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl.web/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.web war @@ -76,7 +76,7 @@ ${project.groupId} com.minres.rdl - ${rdl-plugin.version} + ${project.version} ${project.groupId} diff --git a/com.minres.rdl.parent/com.minres.rdl.web/src-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl.web/src-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl.web/src-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* diff --git a/com.minres.rdl.parent/com.minres.rdl.web/src-gen/com/minres/rdl/web/AbstractRDLWebModule.java b/com.minres.rdl.parent/com.minres.rdl.web/src-gen/com/minres/rdl/web/AbstractRDLWebModule.java new file mode 100644 index 0000000..7544902 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl.web/src-gen/com/minres/rdl/web/AbstractRDLWebModule.java @@ -0,0 +1,14 @@ +/* + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.web; + +import org.eclipse.xtext.web.server.DefaultWebModule; + +/** + * Manual modifications go to {@link RDLWebModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractRDLWebModule extends DefaultWebModule { + +} 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 index fdf5f22..7acd1c2 100644 --- a/com.minres.rdl.parent/com.minres.rdl/META-INF/MANIFEST.MF +++ b/com.minres.rdl.parent/com.minres.rdl/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Automatic-Module-Name: com.minres.rdl Bundle-ManifestVersion: 2 Bundle-Name: com.minres.rdl Bundle-Vendor: MINRES Technologies GmbH -Bundle-Version: 1.3.0.qualifier +Bundle-Version: 1.4.0 Bundle-SymbolicName: com.minres.rdl; singleton:=true Bundle-ActivationPolicy: lazy Require-Bundle: org.eclipse.xtext, diff --git a/com.minres.rdl.parent/com.minres.rdl/lib/groovy-templates_3.0.10.jar b/com.minres.rdl.parent/com.minres.rdl/lib/groovy-templates_3.0.10.jar new file mode 100644 index 0000000..1586085 Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/lib/groovy-templates_3.0.10.jar differ diff --git a/com.minres.rdl.parent/com.minres.rdl/lib/groovy-xml_3.0.10.jar b/com.minres.rdl.parent/com.minres.rdl/lib/groovy-xml_3.0.10.jar new file mode 100644 index 0000000..051427f Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/lib/groovy-xml_3.0.10.jar differ diff --git a/com.minres.rdl.parent/com.minres.rdl/lib/groovy_3.0.10.jar b/com.minres.rdl.parent/com.minres.rdl/lib/groovy_3.0.10.jar new file mode 100644 index 0000000..3b224db Binary files /dev/null and b/com.minres.rdl.parent/com.minres.rdl/lib/groovy_3.0.10.jar differ diff --git a/com.minres.rdl.parent/com.minres.rdl/pom.xml b/com.minres.rdl.parent/com.minres.rdl/pom.xml index b967baa..06c8bc8 100644 --- a/com.minres.rdl.parent/com.minres.rdl/pom.xml +++ b/com.minres.rdl.parent/com.minres.rdl/pom.xml @@ -4,7 +4,7 @@ com.minres.rdl com.minres.rdl.parent - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl eclipse-plugin @@ -152,5 +152,4 @@ - 1.3.0-SNAPSHOT diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/.gitignore b/com.minres.rdl.parent/com.minres.rdl/src-gen/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl/src-gen/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* 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..784718d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/AbstractRDLRuntimeModule.java @@ -0,0 +1,216 @@ +/* + * generated by Xtext 2.26.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.formatting2.RDLFormatter; +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.RDLConfigurableIssueCodesProvider; +import com.minres.rdl.validation.RDLValidator; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.formatting2.FormatterPreferenceValuesProvider; +import org.eclipse.xtext.formatting2.FormatterPreferences; +import org.eclipse.xtext.formatting2.IFormatter2; +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.preferences.IPreferenceValuesProvider; +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; +import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider; + +/** + * 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.validation.ValidatorFragment2 + public Class bindConfigurableIssueCodesProvider() { + return RDLConfigurableIssueCodesProvider.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.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.formatting.Formatter2Fragment2 + public Class bindIFormatter2() { + return RDLFormatter.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.formatting.Formatter2Fragment2 + public void configureFormatterPreferences(Binder binder) { + binder.bind(IPreferenceValuesProvider.class).annotatedWith(FormatterPreferences.class).to(FormatterPreferenceValuesProvider.class); + } + + // 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/RDLStandaloneSetupGenerated.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/RDLStandaloneSetupGenerated.java new file mode 100644 index 0000000..eb56773 --- /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.26.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..21044ef --- /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.26.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..701df4d --- /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.26.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", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL"); + } + + + @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..1246db3 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.g @@ -0,0 +1,3649 @@ +/* + * generated by Xtext 2.26.0 + */ +grammar InternalRDL; + +options { + superClass=AbstractInternalAntlrParser; + backtrack=true; +} + +@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 { + +/* + This grammar contains a lot of empty actions to work around a bug in ANTLR. + Otherwise the ANTLR tool will create synpreds that cannot be compiled in some rare cases. +*/ + + private RDLGrammarAccess grammarAccess; + + public InternalRDLParser(TokenStream input, RDLGrammarAccess grammarAccess) { + 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_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(); + } + ) + ) + otherlv_2=';' + { + newLeafNode(otherlv_2, grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); + } + lv_enumDefinitions_3_0=ruleEnumDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "enumDefinitions", + lv_enumDefinitions_3_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_4=';' + { + newLeafNode(otherlv_4, grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); + } + lv_instantiations_5_0=ruleInstantiation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "instantiations", + lv_instantiations_5_0, + "com.minres.rdl.RDL.Instantiation"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); + } + lv_propertyAssignments_7_0=rulePropertyAssignment + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "propertyAssignments", + lv_propertyAssignments_7_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_8=';' + { + newLeafNode(otherlv_8, grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); + } + lv_propertyDefinitions_9_0=rulePropertyDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + $current, + "propertyDefinitions", + lv_propertyDefinitions_9_0, + "com.minres.rdl.RDL.PropertyDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_10=';' + { + newLeafNode(otherlv_10, grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); + } + ) + )* +; + +// 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_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(); + } + ) + ) + otherlv_4=';' + { + newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); + } + lv_instantiations_5_0=ruleInstantiation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + $current, + "instantiations", + lv_instantiations_5_0, + "com.minres.rdl.RDL.Instantiation"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_6=';' + { + newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); + } + lv_propertyAssignments_7_0=rulePropertyAssignment + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + $current, + "propertyAssignments", + lv_propertyAssignments_7_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_8=';' + { + newLeafNode(otherlv_8, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); + } + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); + } + lv_enumDefinitions_9_0=ruleEnumDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + $current, + "enumDefinitions", + lv_enumDefinitions_9_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_10=';' + { + newLeafNode(otherlv_10, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); + } + ) + )* + otherlv_11='}' + { + newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); + } + ) +; + +// Entry rule entryRuleInstantiation +entryRuleInstantiation returns [EObject current=null]: + { newCompositeNode(grammarAccess.getInstantiationRule()); } + iv_ruleInstantiation=ruleInstantiation + { $current=$iv_ruleInstantiation.current; } + EOF; + +// Rule Instantiation +ruleInstantiation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + ( + { + newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); + } + lv_instanceType_0_0=ruleEnumInstanceType + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + set( + $current, + "instanceType", + lv_instanceType_0_0, + "com.minres.rdl.RDL.EnumInstanceType"); + afterParserOrEnumRuleCall(); + } + ) + )? + ( + otherlv_1='alias' + { + newLeafNode(otherlv_1, grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); + } + ( + ( + lv_alias_2_0=RULE_ID + { + newLeafNode(lv_alias_2_0, grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getInstantiationRule()); + } + setWithLastConsumed( + $current, + "alias", + lv_alias_2_0, + "com.minres.rdl.RDL.ID"); + } + ) + ) + )? + ( + ( + { + /* */ + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getInstantiationRule()); + } + } + otherlv_3=RULE_ID + { + newLeafNode(otherlv_3, grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); + } + ) + ) + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); + } + lv_component_4_0=ruleComponentDefinition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + set( + $current, + "component", + lv_component_4_0, + "com.minres.rdl.RDL.ComponentDefinition"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); + } + lv_instanceType_5_0=ruleEnumInstanceType + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + set( + $current, + "instanceType", + lv_instanceType_5_0, + "com.minres.rdl.RDL.EnumInstanceType"); + afterParserOrEnumRuleCall(); + } + ) + )? + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); + } + lv_componentInstances_6_0=ruleComponentInstance + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + add( + $current, + "componentInstances", + lv_componentInstances_6_0, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_7=',' + { + newLeafNode(otherlv_7, grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); + } + lv_componentInstances_8_0=ruleComponentInstance + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + add( + $current, + "componentInstances", + lv_componentInstances_8_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_left_1_0=RULE_NUM + { + newLeafNode(lv_left_1_0, grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + $current, + "left", + lv_left_1_0, + "com.minres.rdl.RDL.NUM"); + } + ) + ) + otherlv_2=':' + { + newLeafNode(otherlv_2, grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + } + ( + ( + lv_right_3_0=RULE_NUM + { + newLeafNode(lv_right_3_0, grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + $current, + "right", + lv_right_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(); + } + ) + ) + ) + | + ( + ( + ( + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + } + lv_name_2_0=ruleProperty + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + $current, + "name", + lv_name_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3='=' + { + newLeafNode(otherlv_3, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + } + lv_rhs_4_0=rulePropertyAssignmentRhs + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + $current, + "rhs", + lv_rhs_4_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) + ) +; + +// 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(); + } + ) + ) + )? + ) +; + +// 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(); + } + ) + ) + ) +; + +// 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()); + } + ) +; + +// Entry rule entryRuleEnumInstanceType +entryRuleEnumInstanceType returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumInstanceTypeRule()); } + iv_ruleEnumInstanceType=ruleEnumInstanceType + { $current=$iv_ruleEnumInstanceType.current; } + EOF; + +// Rule EnumInstanceType +ruleEnumInstanceType returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_EXTERNAL_0_0='external' + { + newLeafNode(lv_EXTERNAL_0_0, grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumInstanceTypeRule()); + } + setWithLastConsumed($current, "EXTERNAL", lv_EXTERNAL_0_0, "external"); + } + ) + ) + | + ( + ( + lv_INTERNAL_1_0='internal' + { + newLeafNode(lv_INTERNAL_1_0, grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumInstanceTypeRule()); + } + setWithLastConsumed($current, "INTERNAL", lv_INTERNAL_1_0, "internal"); + } + ) + ) + ) +; + +// Rule PropertyTypeName +rulePropertyTypeName returns [Enumerator current=null] +@init { + 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;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_ESCAPE_JSP : '<%' ( options {greedy=false;} : . )*'%>'; + +RULE_ESCAPE_ORDL : '(' ( options {greedy=false;} : . )*')'; + +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..5426343 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDL.tokens @@ -0,0 +1,254 @@ +'%='=28 +'+='=27 +','=25 +'->'=32 +'.'=33 +':'=30 +';'=12 +'='=17 +'@'=26 +'UNDEFINED'=121 +'['=29 +']'=31 +'`include'=13 +'accesswidth'=105 +'activehigh'=85 +'activelow'=86 +'addressing'=108 +'addrmap'=42 +'alias'=24 +'alignment'=101 +'all'=48 +'anded'=65 +'arbiter'=49 +'async'=82 +'bigendian'=74 +'boolean'=41 +'bothedge'=132 +'bridge'=77 +'clock'=112 +'compact'=127 +'component'=22 +'counter'=68 +'cpuif_reset'=83 +'decr'=90 +'decrsaturate'=96 +'decrthreshold'=98 +'decrvalue'=94 +'decrwidth'=92 +'default'=19 +'desc'=36 +'dontcompare'=99 +'donttest'=100 +'enable'=114 +'encode'=110 +'enum'=34 +'errextbus'=71 +'external'=37 +'false'=21 +'field'=45 +'field_reset'=84 +'fieldwidth'=103 +'fullalign'=129 +'halt'=119 +'haltenable'=118 +'haltmask'=117 +'hw'=107 +'hwclr'=59 +'hwenable'=115 +'hwmask'=116 +'hwset'=58 +'incr'=89 +'incrvalue'=93 +'incrwidth'=91 +'internal'=38 +'intr'=64 +'level'=133 +'littleendian'=73 +'lsb0'=80 +'mask'=113 +'msb0'=79 +'na'=126 +'name'=35 +'negedge'=131 +'next'=120 +'nonsticky'=134 +'number'=40 +'ored'=66 +'overflow'=69 +'posedge'=130 +'precedence'=109 +'property'=14 +'r'=124 +'rclr'=51 +'ref'=46 +'reg'=43 +'regalign'=128 +'regfile'=44 +'regwidth'=102 +'reset'=72 +'resetsignal'=111 +'rset'=50 +'rsvdset'=75 +'rsvdsetX'=76 +'rw'=122 +'saturate'=95 +'shared'=78 +'sharedextbus'=70 +'signal'=47 +'signalwidth'=104 +'singlepulse'=87 +'sticky'=62 +'stickybit'=63 +'string'=39 +'sw'=106 +'swacc'=61 +'swmod'=60 +'swwe'=56 +'swwel'=57 +'sync'=81 +'threshold'=97 +'true'=20 +'type'=16 +'underflow'=88 +'w'=125 +'we'=54 +'wel'=55 +'woclr'=52 +'woset'=53 +'wr'=123 +'xored'=67 +'{'=15 +'|'=23 +'}'=18 +RULE_ESCAPE_JSP=10 +RULE_ESCAPE_ORDL=11 +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__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__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__133=133 +T__134=134 +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..fe74e3d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/parser/antlr/internal/InternalRDLLexer.java @@ -0,0 +1,5293 @@ +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__133=133; + 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 T__134=134; + 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__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__98=98; + public static final int RULE_ESCAPE_ORDL=11; + 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 RULE_ESCAPE_JSP=10; + 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__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:11:7: ( ';' ) + // InternalRDL.g:11: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:12:7: ( '`include' ) + // InternalRDL.g:12:9: '`include' + { + match("`include"); + + + } + + 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:13:7: ( 'property' ) + // InternalRDL.g:13:9: 'property' + { + match("property"); + + + } + + 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:14:7: ( '{' ) + // InternalRDL.g:14: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:15:7: ( 'type' ) + // InternalRDL.g:15:9: 'type' + { + match("type"); + + + } + + 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:16:7: ( '=' ) + // InternalRDL.g:16:9: '=' + { + match('='); + + } + + 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:17:7: ( '}' ) + // InternalRDL.g:17:9: '}' + { + match('}'); + + } + + 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:18:7: ( 'default' ) + // InternalRDL.g:18:9: 'default' + { + match("default"); + + + } + + 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:19:7: ( 'true' ) + // InternalRDL.g:19:9: 'true' + { + match("true"); + + + } + + 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:20:7: ( 'false' ) + // InternalRDL.g:20:9: 'false' + { + match("false"); + + + } + + 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:21:7: ( 'component' ) + // InternalRDL.g:21:9: 'component' + { + match("component"); + + + } + + 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:22:7: ( '|' ) + // InternalRDL.g:22:9: '|' + { + match('|'); + + } + + 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:23:7: ( 'alias' ) + // InternalRDL.g:23: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:24:7: ( ',' ) + // InternalRDL.g:24: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:25:7: ( '@' ) + // InternalRDL.g:25: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:26:7: ( '+=' ) + // InternalRDL.g:26: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:27:7: ( '%=' ) + // InternalRDL.g:27: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:28:7: ( '[' ) + // InternalRDL.g:28: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:29:7: ( ':' ) + // InternalRDL.g:29: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:30:7: ( ']' ) + // InternalRDL.g:30: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:31:7: ( '->' ) + // InternalRDL.g:31: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:32:7: ( '.' ) + // InternalRDL.g:32: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:33:7: ( 'enum' ) + // InternalRDL.g:33: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:34:7: ( 'name' ) + // InternalRDL.g:34: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:35:7: ( 'desc' ) + // InternalRDL.g:35: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:36:7: ( 'external' ) + // InternalRDL.g:36:9: 'external' + { + match("external"); + + + } + + 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:37:7: ( 'internal' ) + // InternalRDL.g:37:9: 'internal' + { + match("internal"); + + + } + + 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:38:7: ( 'string' ) + // InternalRDL.g:38:9: 'string' + { + match("string"); + + + } + + 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:39:7: ( 'number' ) + // InternalRDL.g:39:9: 'number' + { + match("number"); + + + } + + 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:40:7: ( 'boolean' ) + // InternalRDL.g:40:9: 'boolean' + { + match("boolean"); + + + } + + 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:41:7: ( 'addrmap' ) + // InternalRDL.g:41:9: 'addrmap' + { + match("addrmap"); + + + } + + 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:42:7: ( 'reg' ) + // InternalRDL.g:42:9: 'reg' + { + match("reg"); + + + } + + 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:43:7: ( 'regfile' ) + // InternalRDL.g:43:9: 'regfile' + { + match("regfile"); + + + } + + 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:44:7: ( 'field' ) + // InternalRDL.g:44:9: 'field' + { + match("field"); + + + } + + 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:45:7: ( 'ref' ) + // InternalRDL.g:45:9: 'ref' + { + match("ref"); + + + } + + 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:46:7: ( 'signal' ) + // InternalRDL.g:46:9: 'signal' + { + match("signal"); + + + } + + 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:47:7: ( 'all' ) + // InternalRDL.g:47:9: 'all' + { + match("all"); + + + } + + 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:48:7: ( 'arbiter' ) + // InternalRDL.g:48:9: 'arbiter' + { + match("arbiter"); + + + } + + 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:49:7: ( 'rset' ) + // InternalRDL.g:49:9: 'rset' + { + match("rset"); + + + } + + 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:50:7: ( 'rclr' ) + // InternalRDL.g:50:9: 'rclr' + { + match("rclr"); + + + } + + 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:51:7: ( 'woclr' ) + // InternalRDL.g:51:9: 'woclr' + { + match("woclr"); + + + } + + 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:52:7: ( 'woset' ) + // InternalRDL.g:52:9: 'woset' + { + match("woset"); + + + } + + 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:53:7: ( 'we' ) + // InternalRDL.g:53:9: 'we' + { + match("we"); + + + } + + 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:54:7: ( 'wel' ) + // InternalRDL.g:54:9: 'wel' + { + match("wel"); + + + } + + 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:55:7: ( 'swwe' ) + // InternalRDL.g:55:9: 'swwe' + { + match("swwe"); + + + } + + 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:56:7: ( 'swwel' ) + // InternalRDL.g:56:9: 'swwel' + { + match("swwel"); + + + } + + 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:57:7: ( 'hwset' ) + // InternalRDL.g:57:9: 'hwset' + { + match("hwset"); + + + } + + 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:58:7: ( 'hwclr' ) + // InternalRDL.g:58:9: 'hwclr' + { + match("hwclr"); + + + } + + 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:59:7: ( 'swmod' ) + // InternalRDL.g:59:9: 'swmod' + { + match("swmod"); + + + } + + 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:60:7: ( 'swacc' ) + // InternalRDL.g:60:9: 'swacc' + { + match("swacc"); + + + } + + 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:61:7: ( 'sticky' ) + // InternalRDL.g:61:9: 'sticky' + { + match("sticky"); + + + } + + 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:62:7: ( 'stickybit' ) + // InternalRDL.g:62:9: 'stickybit' + { + match("stickybit"); + + + } + + 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:63:7: ( 'intr' ) + // InternalRDL.g:63:9: 'intr' + { + match("intr"); + + + } + + 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:64:7: ( 'anded' ) + // InternalRDL.g:64:9: 'anded' + { + match("anded"); + + + } + + 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:65:7: ( 'ored' ) + // InternalRDL.g:65:9: 'ored' + { + match("ored"); + + + } + + 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:66:7: ( 'xored' ) + // InternalRDL.g:66:9: 'xored' + { + match("xored"); + + + } + + 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:67:7: ( 'counter' ) + // InternalRDL.g:67:9: 'counter' + { + match("counter"); + + + } + + 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:68:7: ( 'overflow' ) + // InternalRDL.g:68:9: 'overflow' + { + match("overflow"); + + + } + + 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:69:7: ( 'sharedextbus' ) + // InternalRDL.g:69:9: 'sharedextbus' + { + match("sharedextbus"); + + + } + + 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:70:7: ( 'errextbus' ) + // InternalRDL.g:70:9: 'errextbus' + { + match("errextbus"); + + + } + + 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:71:7: ( 'reset' ) + // InternalRDL.g:71:9: 'reset' + { + match("reset"); + + + } + + 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:72:7: ( 'littleendian' ) + // InternalRDL.g:72:9: 'littleendian' + { + match("littleendian"); + + + } + + 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:73:7: ( 'bigendian' ) + // InternalRDL.g:73:9: 'bigendian' + { + match("bigendian"); + + + } + + 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:74:7: ( 'rsvdset' ) + // InternalRDL.g:74:9: 'rsvdset' + { + match("rsvdset"); + + + } + + 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:75:7: ( 'rsvdsetX' ) + // InternalRDL.g:75:9: 'rsvdsetX' + { + match("rsvdsetX"); + + + } + + 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:76:7: ( 'bridge' ) + // InternalRDL.g:76:9: 'bridge' + { + match("bridge"); + + + } + + 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:77:7: ( 'shared' ) + // InternalRDL.g:77:9: 'shared' + { + match("shared"); + + + } + + 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:78:7: ( 'msb0' ) + // InternalRDL.g:78:9: 'msb0' + { + match("msb0"); + + + } + + 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:79:7: ( 'lsb0' ) + // InternalRDL.g:79:9: 'lsb0' + { + match("lsb0"); + + + } + + 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:80:7: ( 'sync' ) + // InternalRDL.g:80:9: 'sync' + { + match("sync"); + + + } + + 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:81:7: ( 'async' ) + // InternalRDL.g:81:9: 'async' + { + match("async"); + + + } + + 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:82:7: ( 'cpuif_reset' ) + // InternalRDL.g:82:9: 'cpuif_reset' + { + match("cpuif_reset"); + + + } + + 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:83:7: ( 'field_reset' ) + // InternalRDL.g:83:9: 'field_reset' + { + match("field_reset"); + + + } + + 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:84:7: ( 'activehigh' ) + // InternalRDL.g:84:9: 'activehigh' + { + match("activehigh"); + + + } + + 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:85:7: ( 'activelow' ) + // InternalRDL.g:85:9: 'activelow' + { + match("activelow"); + + + } + + 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:86:7: ( 'singlepulse' ) + // InternalRDL.g:86:9: 'singlepulse' + { + match("singlepulse"); + + + } + + 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:87:7: ( 'underflow' ) + // InternalRDL.g:87:9: 'underflow' + { + match("underflow"); + + + } + + 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:88:7: ( 'incr' ) + // InternalRDL.g:88:9: 'incr' + { + match("incr"); + + + } + + 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:89:7: ( 'decr' ) + // InternalRDL.g:89:9: 'decr' + { + match("decr"); + + + } + + 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:90:7: ( 'incrwidth' ) + // InternalRDL.g:90:9: 'incrwidth' + { + match("incrwidth"); + + + } + + 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:91:7: ( 'decrwidth' ) + // InternalRDL.g:91:9: 'decrwidth' + { + match("decrwidth"); + + + } + + 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:92:7: ( 'incrvalue' ) + // InternalRDL.g:92:9: 'incrvalue' + { + match("incrvalue"); + + + } + + 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:93:7: ( 'decrvalue' ) + // InternalRDL.g:93:9: 'decrvalue' + { + match("decrvalue"); + + + } + + 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:94:7: ( 'saturate' ) + // InternalRDL.g:94:9: 'saturate' + { + match("saturate"); + + + } + + 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:95:7: ( 'decrsaturate' ) + // InternalRDL.g:95:9: 'decrsaturate' + { + match("decrsaturate"); + + + } + + 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:96:7: ( 'threshold' ) + // InternalRDL.g:96:9: 'threshold' + { + match("threshold"); + + + } + + 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:97:7: ( 'decrthreshold' ) + // InternalRDL.g:97:9: 'decrthreshold' + { + match("decrthreshold"); + + + } + + 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:98:7: ( 'dontcompare' ) + // InternalRDL.g:98:9: 'dontcompare' + { + match("dontcompare"); + + + } + + 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:99:8: ( 'donttest' ) + // InternalRDL.g:99:10: 'donttest' + { + match("donttest"); + + + } + + 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:100:8: ( 'alignment' ) + // InternalRDL.g:100:10: 'alignment' + { + match("alignment"); + + + } + + 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:101:8: ( 'regwidth' ) + // InternalRDL.g:101:10: 'regwidth' + { + match("regwidth"); + + + } + + 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:102:8: ( 'fieldwidth' ) + // InternalRDL.g:102:10: 'fieldwidth' + { + match("fieldwidth"); + + + } + + 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:103:8: ( 'signalwidth' ) + // InternalRDL.g:103:10: 'signalwidth' + { + match("signalwidth"); + + + } + + 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:104:8: ( 'accesswidth' ) + // InternalRDL.g:104:10: 'accesswidth' + { + match("accesswidth"); + + + } + + 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:105:8: ( 'sw' ) + // InternalRDL.g:105:10: 'sw' + { + match("sw"); + + + } + + 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:106:8: ( 'hw' ) + // InternalRDL.g:106:10: 'hw' + { + match("hw"); + + + } + + 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:107:8: ( 'addressing' ) + // InternalRDL.g:107:10: 'addressing' + { + match("addressing"); + + + } + + 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:108:8: ( 'precedence' ) + // InternalRDL.g:108:10: 'precedence' + { + match("precedence"); + + + } + + 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:109:8: ( 'encode' ) + // InternalRDL.g:109:10: 'encode' + { + match("encode"); + + + } + + 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:110:8: ( 'resetsignal' ) + // InternalRDL.g:110:10: 'resetsignal' + { + match("resetsignal"); + + + } + + 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:111:8: ( 'clock' ) + // InternalRDL.g:111:10: 'clock' + { + match("clock"); + + + } + + 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:112:8: ( 'mask' ) + // InternalRDL.g:112:10: 'mask' + { + match("mask"); + + + } + + 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:113:8: ( 'enable' ) + // InternalRDL.g:113:10: 'enable' + { + match("enable"); + + + } + + 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:114:8: ( 'hwenable' ) + // InternalRDL.g:114:10: 'hwenable' + { + match("hwenable"); + + + } + + 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:115:8: ( 'hwmask' ) + // InternalRDL.g:115:10: 'hwmask' + { + match("hwmask"); + + + } + + 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:116:8: ( 'haltmask' ) + // InternalRDL.g:116:10: 'haltmask' + { + match("haltmask"); + + + } + + 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:117:8: ( 'haltenable' ) + // InternalRDL.g:117:10: 'haltenable' + { + match("haltenable"); + + + } + + 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:118:8: ( 'halt' ) + // InternalRDL.g:118:10: 'halt' + { + match("halt"); + + + } + + 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:119:8: ( 'next' ) + // InternalRDL.g:119:10: 'next' + { + match("next"); + + + } + + 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:120:8: ( 'UNDEFINED' ) + // InternalRDL.g:120:10: 'UNDEFINED' + { + match("UNDEFINED"); + + + } + + 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:121:8: ( 'rw' ) + // InternalRDL.g:121:10: 'rw' + { + match("rw"); + + + } + + 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:122:8: ( 'wr' ) + // InternalRDL.g:122:10: 'wr' + { + match("wr"); + + + } + + 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:123:8: ( 'r' ) + // InternalRDL.g:123:10: 'r' + { + match('r'); + + } + + 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:124:8: ( 'w' ) + // InternalRDL.g:124:10: 'w' + { + match('w'); + + } + + 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:125:8: ( 'na' ) + // InternalRDL.g:125:10: 'na' + { + match("na"); + + + } + + 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:126:8: ( 'compact' ) + // InternalRDL.g:126:10: 'compact' + { + match("compact"); + + + } + + 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:127:8: ( 'regalign' ) + // InternalRDL.g:127:10: 'regalign' + { + match("regalign"); + + + } + + 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:128:8: ( 'fullalign' ) + // InternalRDL.g:128:10: 'fullalign' + { + match("fullalign"); + + + } + + 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:129:8: ( 'posedge' ) + // InternalRDL.g:129:10: 'posedge' + { + match("posedge"); + + + } + + 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:130:8: ( 'negedge' ) + // InternalRDL.g:130:10: 'negedge' + { + match("negedge"); + + + } + + 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:131:8: ( 'bothedge' ) + // InternalRDL.g:131:10: 'bothedge' + { + match("bothedge"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__132" + + // $ANTLR start "T__133" + public final void mT__133() throws RecognitionException { + try { + int _type = T__133; + 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__133" + + // $ANTLR start "T__134" + public final void mT__134() throws RecognitionException { + try { + int _type = T__134; + 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__134" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3635:9: ( ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalRDL.g:3635:11: ( '\\\\' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalRDL.g:3635:11: ( '\\\\' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='\\') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalRDL.g:3635: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:3635: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:3637:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalRDL.g:3637:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalRDL.g:3637: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:3639:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalRDL.g:3639:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalRDL.g:3639:24: ( 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:3639:52: . + { + matchAny(); + + } + break; + + default : + break loop4; + } + } while (true); + + match("*/"); + + + } + + 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:3641:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalRDL.g:3641:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalRDL.g:3641:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='\u0000' && LA5_0<='\t')||(LA5_0>='\u000B' && LA5_0<='\f')||(LA5_0>='\u000E' && LA5_0<='\uFFFF')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalRDL.g:3641:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + // InternalRDL.g:3641:40: ( ( '\\r' )? '\\n' )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='\n'||LA7_0=='\r') ) { + alt7=1; + } + switch (alt7) { + case 1 : + // InternalRDL.g:3641:41: ( '\\r' )? '\\n' + { + // InternalRDL.g:3641:41: ( '\\r' )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\r') ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalRDL.g:3641:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_ESCAPE_JSP" + public final void mRULE_ESCAPE_JSP() throws RecognitionException { + try { + int _type = RULE_ESCAPE_JSP; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3643:17: ( '<%' ( options {greedy=false; } : . )* '%>' ) + // InternalRDL.g:3643:19: '<%' ( options {greedy=false; } : . )* '%>' + { + match("<%"); + + // InternalRDL.g:3643:24: ( options {greedy=false; } : . )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0=='%') ) { + int LA8_1 = input.LA(2); + + if ( (LA8_1=='>') ) { + alt8=2; + } + else if ( ((LA8_1>='\u0000' && LA8_1<='=')||(LA8_1>='?' && LA8_1<='\uFFFF')) ) { + alt8=1; + } + + + } + else if ( ((LA8_0>='\u0000' && LA8_0<='$')||(LA8_0>='&' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalRDL.g:3643:52: . + { + matchAny(); + + } + break; + + default : + break loop8; + } + } while (true); + + match("%>"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ESCAPE_JSP" + + // $ANTLR start "RULE_ESCAPE_ORDL" + public final void mRULE_ESCAPE_ORDL() throws RecognitionException { + try { + int _type = RULE_ESCAPE_ORDL; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3645:18: ( '(' ( options {greedy=false; } : . )* ')' ) + // InternalRDL.g:3645:20: '(' ( options {greedy=false; } : . )* ')' + { + match('('); + // InternalRDL.g:3645:24: ( options {greedy=false; } : . )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==')') ) { + alt9=2; + } + else if ( ((LA9_0>='\u0000' && LA9_0<='(')||(LA9_0>='*' && LA9_0<='\uFFFF')) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalRDL.g:3645:52: . + { + matchAny(); + + } + break; + + default : + break loop9; + } + } while (true); + + match(')'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ESCAPE_ORDL" + + // $ANTLR start "RULE_NUM" + public final void mRULE_NUM() throws RecognitionException { + try { + int _type = RULE_NUM; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalRDL.g:3647:10: ( ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) ) + // InternalRDL.g:3647:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) + { + // InternalRDL.g:3647:12: ( ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ | ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ | ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ | ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ | '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( '0' .. '9' )+ ) + int alt20=6; + alt20 = dfa20.predict(input); + switch (alt20) { + case 1 : + // InternalRDL.g:3647:13: ( '0' .. '9' )+ '\\'b' ( '0' | '1' | '_' )+ + { + // InternalRDL.g:3647:13: ( '0' .. '9' )+ + int cnt10=0; + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( ((LA10_0>='0' && LA10_0<='9')) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalRDL.g:3647:14: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt10 >= 1 ) break loop10; + EarlyExitException eee = + new EarlyExitException(10, input); + throw eee; + } + cnt10++; + } while (true); + + match("'b"); + + // InternalRDL.g:3647:31: ( '0' | '1' | '_' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='0' && LA11_0<='1')||LA11_0=='_') ) { + alt11=1; + } + + + switch (alt11) { + 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 ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + + } + break; + case 2 : + // InternalRDL.g:3647:46: ( '0' .. '9' )+ '\\'o' ( '0' .. '7' | '_' )+ + { + // InternalRDL.g:3647:46: ( '0' .. '9' )+ + int cnt12=0; + loop12: + do { + int alt12=2; + int LA12_0 = input.LA(1); + + if ( ((LA12_0>='0' && LA12_0<='9')) ) { + alt12=1; + } + + + switch (alt12) { + case 1 : + // InternalRDL.g:3647:47: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt12 >= 1 ) break loop12; + EarlyExitException eee = + new EarlyExitException(12, input); + throw eee; + } + cnt12++; + } while (true); + + match("'o"); + + // InternalRDL.g:3647:64: ( '0' .. '7' | '_' )+ + int cnt13=0; + loop13: + do { + int alt13=2; + int LA13_0 = input.LA(1); + + if ( ((LA13_0>='0' && LA13_0<='7')||LA13_0=='_') ) { + alt13=1; + } + + + switch (alt13) { + 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 ( cnt13 >= 1 ) break loop13; + EarlyExitException eee = + new EarlyExitException(13, input); + throw eee; + } + cnt13++; + } while (true); + + + } + break; + case 3 : + // InternalRDL.g:3647:80: ( '0' .. '9' )+ '\\'h' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + { + // InternalRDL.g:3647:80: ( '0' .. '9' )+ + int cnt14=0; + loop14: + do { + int alt14=2; + int LA14_0 = input.LA(1); + + if ( ((LA14_0>='0' && LA14_0<='9')) ) { + alt14=1; + } + + + switch (alt14) { + case 1 : + // InternalRDL.g:3647:81: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt14 >= 1 ) break loop14; + EarlyExitException eee = + new EarlyExitException(14, input); + throw eee; + } + cnt14++; + } while (true); + + match("'h"); + + // InternalRDL.g:3647:98: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | '_' )+ + int cnt15=0; + loop15: + do { + int alt15=2; + int LA15_0 = input.LA(1); + + if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='F')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='f')) ) { + alt15=1; + } + + + switch (alt15) { + 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 ( cnt15 >= 1 ) break loop15; + EarlyExitException eee = + new EarlyExitException(15, input); + throw eee; + } + cnt15++; + } while (true); + + + } + break; + case 4 : + // InternalRDL.g:3647:132: ( '0' .. '9' )+ '\\'d' ( '0' .. '9' | '_' )+ + { + // InternalRDL.g:3647:132: ( '0' .. '9' )+ + int cnt16=0; + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( ((LA16_0>='0' && LA16_0<='9')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // InternalRDL.g:3647:133: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt16 >= 1 ) break loop16; + EarlyExitException eee = + new EarlyExitException(16, input); + throw eee; + } + cnt16++; + } while (true); + + match("'d"); + + // InternalRDL.g:3647:150: ( '0' .. '9' | '_' )+ + int cnt17=0; + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='0' && LA17_0<='9')||LA17_0=='_') ) { + alt17=1; + } + + + switch (alt17) { + 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 ( cnt17 >= 1 ) break loop17; + EarlyExitException eee = + new EarlyExitException(17, input); + throw eee; + } + cnt17++; + } while (true); + + + } + break; + case 5 : + // InternalRDL.g:3647:166: '0x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + { + match("0x"); + + // InternalRDL.g:3647:171: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + int cnt18=0; + loop18: + do { + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>='0' && LA18_0<='9')||(LA18_0>='A' && LA18_0<='F')||(LA18_0>='a' && LA18_0<='f')) ) { + alt18=1; + } + + + switch (alt18) { + 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 ( cnt18 >= 1 ) break loop18; + EarlyExitException eee = + new EarlyExitException(18, input); + throw eee; + } + cnt18++; + } while (true); + + + } + break; + case 6 : + // InternalRDL.g:3647:201: ( '0' .. '9' )+ + { + // InternalRDL.g:3647:201: ( '0' .. '9' )+ + int cnt19=0; + loop19: + do { + int alt19=2; + int LA19_0 = input.LA(1); + + if ( ((LA19_0>='0' && LA19_0<='9')) ) { + alt19=1; + } + + + switch (alt19) { + case 1 : + // InternalRDL.g:3647:202: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt19 >= 1 ) break loop19; + EarlyExitException eee = + new EarlyExitException(19, input); + throw eee; + } + cnt19++; + } 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:3649:10: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalRDL.g:3649:12: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalRDL.g:3649:16: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop21: + do { + int alt21=3; + int LA21_0 = input.LA(1); + + if ( (LA21_0=='\\') ) { + alt21=1; + } + else if ( ((LA21_0>='\u0000' && LA21_0<='!')||(LA21_0>='#' && LA21_0<='[')||(LA21_0>=']' && LA21_0<='\uFFFF')) ) { + alt21=2; + } + + + switch (alt21) { + case 1 : + // InternalRDL.g:3649:17: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + { + match('\\'); + if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + case 2 : + // InternalRDL.g:3649:62: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop21; + } + } while (true); + + match('\"'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STR" + + public void mTokens() throws RecognitionException { + // InternalRDL.g:1:8: ( 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 | T__133 | T__134 | RULE_ID | RULE_WS | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_ESCAPE_JSP | RULE_ESCAPE_ORDL | RULE_NUM | RULE_STR ) + int alt22=131; + alt22 = dfa22.predict(input); + switch (alt22) { + case 1 : + // InternalRDL.g:1:10: T__12 + { + mT__12(); + + } + break; + case 2 : + // InternalRDL.g:1:16: T__13 + { + mT__13(); + + } + break; + case 3 : + // InternalRDL.g:1:22: T__14 + { + mT__14(); + + } + break; + case 4 : + // InternalRDL.g:1:28: T__15 + { + mT__15(); + + } + break; + case 5 : + // InternalRDL.g:1:34: T__16 + { + mT__16(); + + } + break; + case 6 : + // InternalRDL.g:1:40: T__17 + { + mT__17(); + + } + break; + case 7 : + // InternalRDL.g:1:46: T__18 + { + mT__18(); + + } + break; + case 8 : + // InternalRDL.g:1:52: T__19 + { + mT__19(); + + } + break; + case 9 : + // InternalRDL.g:1:58: T__20 + { + mT__20(); + + } + break; + case 10 : + // InternalRDL.g:1:64: T__21 + { + mT__21(); + + } + break; + case 11 : + // InternalRDL.g:1:70: T__22 + { + mT__22(); + + } + break; + case 12 : + // InternalRDL.g:1:76: T__23 + { + mT__23(); + + } + break; + case 13 : + // InternalRDL.g:1:82: T__24 + { + mT__24(); + + } + break; + case 14 : + // InternalRDL.g:1:88: T__25 + { + mT__25(); + + } + break; + case 15 : + // InternalRDL.g:1:94: T__26 + { + mT__26(); + + } + break; + case 16 : + // InternalRDL.g:1:100: T__27 + { + mT__27(); + + } + break; + case 17 : + // InternalRDL.g:1:106: T__28 + { + mT__28(); + + } + break; + case 18 : + // InternalRDL.g:1:112: T__29 + { + mT__29(); + + } + break; + case 19 : + // InternalRDL.g:1:118: T__30 + { + mT__30(); + + } + break; + case 20 : + // InternalRDL.g:1:124: T__31 + { + mT__31(); + + } + break; + case 21 : + // InternalRDL.g:1:130: T__32 + { + mT__32(); + + } + break; + case 22 : + // InternalRDL.g:1:136: T__33 + { + mT__33(); + + } + break; + case 23 : + // InternalRDL.g:1:142: T__34 + { + mT__34(); + + } + break; + case 24 : + // InternalRDL.g:1:148: T__35 + { + mT__35(); + + } + break; + case 25 : + // InternalRDL.g:1:154: T__36 + { + mT__36(); + + } + break; + case 26 : + // InternalRDL.g:1:160: T__37 + { + mT__37(); + + } + break; + case 27 : + // InternalRDL.g:1:166: T__38 + { + mT__38(); + + } + break; + case 28 : + // InternalRDL.g:1:172: T__39 + { + mT__39(); + + } + break; + case 29 : + // InternalRDL.g:1:178: T__40 + { + mT__40(); + + } + break; + case 30 : + // InternalRDL.g:1:184: T__41 + { + mT__41(); + + } + break; + case 31 : + // InternalRDL.g:1:190: T__42 + { + mT__42(); + + } + break; + case 32 : + // InternalRDL.g:1:196: T__43 + { + mT__43(); + + } + break; + case 33 : + // InternalRDL.g:1:202: T__44 + { + mT__44(); + + } + break; + case 34 : + // InternalRDL.g:1:208: T__45 + { + mT__45(); + + } + break; + case 35 : + // InternalRDL.g:1:214: T__46 + { + mT__46(); + + } + break; + case 36 : + // InternalRDL.g:1:220: T__47 + { + mT__47(); + + } + break; + case 37 : + // InternalRDL.g:1:226: T__48 + { + mT__48(); + + } + break; + case 38 : + // InternalRDL.g:1:232: T__49 + { + mT__49(); + + } + break; + case 39 : + // InternalRDL.g:1:238: T__50 + { + mT__50(); + + } + break; + case 40 : + // InternalRDL.g:1:244: T__51 + { + mT__51(); + + } + break; + case 41 : + // InternalRDL.g:1:250: T__52 + { + mT__52(); + + } + break; + case 42 : + // InternalRDL.g:1:256: T__53 + { + mT__53(); + + } + break; + case 43 : + // InternalRDL.g:1:262: T__54 + { + mT__54(); + + } + break; + case 44 : + // InternalRDL.g:1:268: T__55 + { + mT__55(); + + } + break; + case 45 : + // InternalRDL.g:1:274: T__56 + { + mT__56(); + + } + break; + case 46 : + // InternalRDL.g:1:280: T__57 + { + mT__57(); + + } + break; + case 47 : + // InternalRDL.g:1:286: T__58 + { + mT__58(); + + } + break; + case 48 : + // InternalRDL.g:1:292: T__59 + { + mT__59(); + + } + break; + case 49 : + // InternalRDL.g:1:298: T__60 + { + mT__60(); + + } + break; + case 50 : + // InternalRDL.g:1:304: T__61 + { + mT__61(); + + } + break; + case 51 : + // InternalRDL.g:1:310: T__62 + { + mT__62(); + + } + break; + case 52 : + // InternalRDL.g:1:316: T__63 + { + mT__63(); + + } + break; + case 53 : + // InternalRDL.g:1:322: T__64 + { + mT__64(); + + } + break; + case 54 : + // InternalRDL.g:1:328: T__65 + { + mT__65(); + + } + break; + case 55 : + // InternalRDL.g:1:334: T__66 + { + mT__66(); + + } + break; + case 56 : + // InternalRDL.g:1:340: T__67 + { + mT__67(); + + } + break; + case 57 : + // InternalRDL.g:1:346: T__68 + { + mT__68(); + + } + break; + case 58 : + // InternalRDL.g:1:352: T__69 + { + mT__69(); + + } + break; + case 59 : + // InternalRDL.g:1:358: T__70 + { + mT__70(); + + } + break; + case 60 : + // InternalRDL.g:1:364: T__71 + { + mT__71(); + + } + break; + case 61 : + // InternalRDL.g:1:370: T__72 + { + mT__72(); + + } + break; + case 62 : + // InternalRDL.g:1:376: T__73 + { + mT__73(); + + } + break; + case 63 : + // InternalRDL.g:1:382: T__74 + { + mT__74(); + + } + break; + case 64 : + // InternalRDL.g:1:388: T__75 + { + mT__75(); + + } + break; + case 65 : + // InternalRDL.g:1:394: T__76 + { + mT__76(); + + } + break; + case 66 : + // InternalRDL.g:1:400: T__77 + { + mT__77(); + + } + break; + case 67 : + // InternalRDL.g:1:406: T__78 + { + mT__78(); + + } + break; + case 68 : + // InternalRDL.g:1:412: T__79 + { + mT__79(); + + } + break; + case 69 : + // InternalRDL.g:1:418: T__80 + { + mT__80(); + + } + break; + case 70 : + // InternalRDL.g:1:424: T__81 + { + mT__81(); + + } + break; + case 71 : + // InternalRDL.g:1:430: T__82 + { + mT__82(); + + } + break; + case 72 : + // InternalRDL.g:1:436: T__83 + { + mT__83(); + + } + break; + case 73 : + // InternalRDL.g:1:442: T__84 + { + mT__84(); + + } + break; + case 74 : + // InternalRDL.g:1:448: T__85 + { + mT__85(); + + } + break; + case 75 : + // InternalRDL.g:1:454: T__86 + { + mT__86(); + + } + break; + case 76 : + // InternalRDL.g:1:460: T__87 + { + mT__87(); + + } + break; + case 77 : + // InternalRDL.g:1:466: T__88 + { + mT__88(); + + } + break; + case 78 : + // InternalRDL.g:1:472: T__89 + { + mT__89(); + + } + break; + case 79 : + // InternalRDL.g:1:478: T__90 + { + mT__90(); + + } + break; + case 80 : + // InternalRDL.g:1:484: T__91 + { + mT__91(); + + } + break; + case 81 : + // InternalRDL.g:1:490: T__92 + { + mT__92(); + + } + break; + case 82 : + // InternalRDL.g:1:496: T__93 + { + mT__93(); + + } + break; + case 83 : + // InternalRDL.g:1:502: T__94 + { + mT__94(); + + } + break; + case 84 : + // InternalRDL.g:1:508: T__95 + { + mT__95(); + + } + break; + case 85 : + // InternalRDL.g:1:514: T__96 + { + mT__96(); + + } + break; + case 86 : + // InternalRDL.g:1:520: T__97 + { + mT__97(); + + } + break; + case 87 : + // InternalRDL.g:1:526: T__98 + { + mT__98(); + + } + break; + case 88 : + // InternalRDL.g:1:532: T__99 + { + mT__99(); + + } + break; + case 89 : + // InternalRDL.g:1:538: T__100 + { + mT__100(); + + } + break; + case 90 : + // InternalRDL.g:1:545: T__101 + { + mT__101(); + + } + break; + case 91 : + // InternalRDL.g:1:552: T__102 + { + mT__102(); + + } + break; + case 92 : + // InternalRDL.g:1:559: T__103 + { + mT__103(); + + } + break; + case 93 : + // InternalRDL.g:1:566: T__104 + { + mT__104(); + + } + break; + case 94 : + // InternalRDL.g:1:573: T__105 + { + mT__105(); + + } + break; + case 95 : + // InternalRDL.g:1:580: T__106 + { + mT__106(); + + } + break; + case 96 : + // InternalRDL.g:1:587: T__107 + { + mT__107(); + + } + break; + case 97 : + // InternalRDL.g:1:594: T__108 + { + mT__108(); + + } + break; + case 98 : + // InternalRDL.g:1:601: T__109 + { + mT__109(); + + } + break; + case 99 : + // InternalRDL.g:1:608: T__110 + { + mT__110(); + + } + break; + case 100 : + // InternalRDL.g:1:615: T__111 + { + mT__111(); + + } + break; + case 101 : + // InternalRDL.g:1:622: T__112 + { + mT__112(); + + } + break; + case 102 : + // InternalRDL.g:1:629: T__113 + { + mT__113(); + + } + break; + case 103 : + // InternalRDL.g:1:636: T__114 + { + mT__114(); + + } + break; + case 104 : + // InternalRDL.g:1:643: T__115 + { + mT__115(); + + } + break; + case 105 : + // InternalRDL.g:1:650: T__116 + { + mT__116(); + + } + break; + case 106 : + // InternalRDL.g:1:657: T__117 + { + mT__117(); + + } + break; + case 107 : + // InternalRDL.g:1:664: T__118 + { + mT__118(); + + } + break; + case 108 : + // InternalRDL.g:1:671: T__119 + { + mT__119(); + + } + break; + case 109 : + // InternalRDL.g:1:678: T__120 + { + mT__120(); + + } + break; + case 110 : + // InternalRDL.g:1:685: T__121 + { + mT__121(); + + } + break; + case 111 : + // InternalRDL.g:1:692: T__122 + { + mT__122(); + + } + break; + case 112 : + // InternalRDL.g:1:699: T__123 + { + mT__123(); + + } + break; + case 113 : + // InternalRDL.g:1:706: T__124 + { + mT__124(); + + } + break; + case 114 : + // InternalRDL.g:1:713: T__125 + { + mT__125(); + + } + break; + case 115 : + // InternalRDL.g:1:720: T__126 + { + mT__126(); + + } + break; + case 116 : + // InternalRDL.g:1:727: T__127 + { + mT__127(); + + } + break; + case 117 : + // InternalRDL.g:1:734: T__128 + { + mT__128(); + + } + break; + case 118 : + // InternalRDL.g:1:741: T__129 + { + mT__129(); + + } + break; + case 119 : + // InternalRDL.g:1:748: T__130 + { + mT__130(); + + } + break; + case 120 : + // InternalRDL.g:1:755: T__131 + { + mT__131(); + + } + break; + case 121 : + // InternalRDL.g:1:762: T__132 + { + mT__132(); + + } + break; + case 122 : + // InternalRDL.g:1:769: T__133 + { + mT__133(); + + } + break; + case 123 : + // InternalRDL.g:1:776: T__134 + { + mT__134(); + + } + break; + case 124 : + // InternalRDL.g:1:783: RULE_ID + { + mRULE_ID(); + + } + break; + case 125 : + // InternalRDL.g:1:791: RULE_WS + { + mRULE_WS(); + + } + break; + case 126 : + // InternalRDL.g:1:799: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 127 : + // InternalRDL.g:1:815: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 128 : + // InternalRDL.g:1:831: RULE_ESCAPE_JSP + { + mRULE_ESCAPE_JSP(); + + } + break; + case 129 : + // InternalRDL.g:1:847: RULE_ESCAPE_ORDL + { + mRULE_ESCAPE_ORDL(); + + } + break; + case 130 : + // InternalRDL.g:1:864: RULE_NUM + { + mRULE_NUM(); + + } + break; + case 131 : + // InternalRDL.g:1:873: RULE_STR + { + mRULE_STR(); + + } + break; + + } + + } + + + protected DFA20 dfa20 = new DFA20(this); + protected DFA22 dfa22 = new DFA22(this); + static final String DFA20_eotS = + "\1\uffff\2\4\7\uffff"; + static final String DFA20_eofS = + "\12\uffff"; + static final String DFA20_minS = + "\1\60\2\47\2\uffff\1\142\4\uffff"; + static final String DFA20_maxS = + "\1\71\1\170\1\71\2\uffff\1\157\4\uffff"; + static final String DFA20_acceptS = + "\3\uffff\1\5\1\6\1\uffff\1\4\1\3\1\2\1\1"; + static final String DFA20_specialS = + "\12\uffff}>"; + static final String[] DFA20_transitionS = { + "\1\1\11\2", + "\1\5\10\uffff\12\2\76\uffff\1\3", + "\1\5\10\uffff\12\2", + "", + "", + "\1\11\1\uffff\1\6\3\uffff\1\7\6\uffff\1\10", + "", + "", + "", + "" + }; + + static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); + static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); + static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); + static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); + static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); + static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); + static final short[][] DFA20_transition; + + static { + int numStates = DFA20_transitionS.length; + DFA20_transition = new short[numStates][]; + for (int i=0; i"; + static final String[] DFA22_transitionS = { + "\2\45\2\uffff\1\45\22\uffff\1\45\1\uffff\1\52\2\uffff\1\20\2\uffff\1\50\2\uffff\1\17\1\15\1\24\1\25\1\46\12\51\1\22\1\1\1\47\1\6\2\uffff\1\16\24\44\1\43\5\44\1\21\1\44\1\23\1\uffff\1\44\1\2\1\14\1\32\1\12\1\10\1\26\1\11\1\44\1\35\1\30\2\44\1\40\1\41\1\27\1\36\1\3\1\44\1\33\1\31\1\5\1\42\1\44\1\34\1\37\2\44\1\4\1\13\1\7", + "", + "", + "\1\54\2\uffff\1\53", + "", + "\1\57\11\uffff\1\56\6\uffff\1\55", + "", + "", + "\1\60\11\uffff\1\61", + "\1\62\7\uffff\1\63\13\uffff\1\64", + "\1\67\2\uffff\1\65\1\66", + "", + "\1\75\1\71\7\uffff\1\70\1\uffff\1\73\3\uffff\1\72\1\74", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\1\76\3\uffff\1\100\5\uffff\1\77", + "\1\101\3\uffff\1\103\11\uffff\1\104\5\uffff\1\102", + "\1\105", + "\1\113\6\uffff\1\111\1\107\12\uffff\1\106\2\uffff\1\110\1\uffff\1\112", + "\1\115\5\uffff\1\114\2\uffff\1\116", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\2\44\1\121\1\44\1\117\15\44\1\120\3\44\1\122\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\125\11\44\1\124\2\44\1\126\10\44", + "\1\131\25\uffff\1\130", + "\1\132\3\uffff\1\133", + "\1\134", + "\1\137\3\uffff\1\135\11\uffff\1\136", + "\1\141\21\uffff\1\140", + "\1\142", + "\1\143", + "", + "", + "\1\144\4\uffff\1\145", + "", + "", + "", + "", + "\1\147\11\uffff\1\146", + "\1\150", + "\1\151", + "\1\152", + "\1\153", + "\1\156\2\uffff\1\154\14\uffff\1\155", + "\1\157", + "\1\160", + "\1\161", + "\1\162", + "\1\163\7\uffff\1\164", + "\1\165", + "\1\166", + "\1\167\2\uffff\1\170", + "\1\171", + "\1\172", + "\1\173", + "\1\174", + "\1\176\20\uffff\1\175", + "\1\u0081\1\uffff\1\u0080\21\uffff\1\177", + "\1\u0082", + "\1\u0083", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\14\44\1\u0084\15\44", + "\1\u0086", + "\1\u0088\20\uffff\1\u0087", + "\1\u0089", + "\1\u008b\20\uffff\1\u008a", + "\1\u008d\10\uffff\1\u008c", + "\1\u008e\6\uffff\1\u008f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u0092\13\44\1\u0091\11\44\1\u0090\3\44", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097\4\uffff\1\u0098", + "\1\u0099", + "\1\u009a", + "\1\u009c\1\u009b\13\uffff\1\u009d", + "\1\u009e\20\uffff\1\u009f", + "\1\u00a0", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u00a2\17\uffff\1\u00a3", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u00a4\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\u00a8\1\44\1\u00a9\7\44\1\u00aa\5\44\1\u00a7\7\44", + "\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\5\uffff\1\u00c9", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u00cb", + "\1\u00cc", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "\1\u00d4", + "\1\u00d5", + "\1\u00d6", + "", + "\1\u00d7", + "\1\u00d8", + "\1\u00d9", + "\1\u00da", + "\1\u00db\14\uffff\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", + "\1\u00ea", + "\1\u00eb", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\u00ee\4\44\1\u00ec\20\44\1\u00ed\3\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u00f1", + "\1\u00f2", + "\1\u00f3", + "\1\u00f4", + "", + "\1\u00f5", + "\1\u00f6", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\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", + "\1\u0109", + "\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\u010c", + "\1\u010d", + "\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\u0111\1\u0112\1\44\1\u0110\1\u010f\3\44", + "\1\u0114\20\uffff\1\u0115", + "\1\u0116", + "\1\u0117", + "\1\u0118", + "\1\u011a\15\uffff\1\u0119", + "\1\u011b", + "\1\u011c", + "\1\u011d", + "\1\u011e", + "\1\u011f", + "", + "\1\u0121\7\uffff\1\u0120", + "\1\u0122", + "\1\u0123", + "\1\u0124", + "\1\u0125", + "\1\u0126", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0128", + "\1\u0129", + "\1\u012a", + "\1\u012b", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u012d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u012f", + "\1\u0130", + "\1\u0131", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\25\44\1\u0134\1\u0133\3\44", + "\1\u0136", + "\1\u0137", + "\1\u0138", + "\1\u0139", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\13\44\1\u013a\16\44", + "\1\u013c", + "\1\u013d", + "\1\u013e", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0140", + "\1\u0141", + "\1\u0142", + "\1\u0143", + "\1\u0144", + "\1\u0145", + "\1\u0146", + "\1\u0147", + "", + "", + "\1\u0148", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u014a", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u014c", + "\1\u014d", + "", + "\1\u014e", + "\1\u014f", + "\1\u0150", + "\1\u0151", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u0153\7\44\1\u0152\15\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0156", + "\1\u0157", + "\1\u0158", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u015a", + "\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\u015d", + "\1\u015e", + "\1\u015f", + "\1\u0160", + "\1\u0161", + "", + "", + "\1\u0162", + "\1\u0163", + "", + "\1\u0164", + "\1\u0165", + "\1\u0166", + "\1\u0167", + "", + "\1\u0168", + "\1\u0169", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\u016b\1\uffff\26\44\1\u016c\3\44", + "\1\u016e", + "\1\u016f", + "\1\u0170", + "\1\u0171", + "\1\u0172", + "\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\u0175", + "\1\u0176", + "\1\u0177", + "\1\u0178", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u017b", + "\1\u017c", + "", + "\1\u017d", + "\1\u017e", + "\1\u017f", + "\1\u0180", + "", + "\1\u0181", + "", + "\1\u0182", + "\1\u0183", + "\1\u0184", + "", + "\1\u0185", + "\1\u0186", + "", + "\1\u0187", + "\1\u0188", + "\1\u0189", + "\1\u018a", + "\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\u018e", + "", + "\1\u018f", + "\1\u0190", + "\1\u0191", + "\1\u0192", + "\1\u0193", + "\1\u0194", + "\1\u0195", + "\1\u0196", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\22\44\1\u0197\7\44", + "", + "\1\u0199", + "", + "\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\u019e", + "\1\u019f", + "\1\u01a0", + "\1\u01a1", + "", + "", + "\1\u01a2", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01a4", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\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", + "\1\u01b9", + "", + "", + "\1\u01ba", + "\1\u01bb", + "\1\u01bc", + "\1\u01bd", + "", + "", + "\1\u01be\3\uffff\1\u01bf", + "\1\u01c0", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01c3", + "\1\u01c4", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01c6", + "\1\u01c7", + "\1\u01c8", + "\1\u01c9", + "\1\u01ca", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\1\44\1\u01cc\30\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\26\44\1\u01ce\3\44", + "\1\u01d0", + "", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\4\44\1\u01d1\25\44", + "\1\u01d3", + "\1\u01d4", + "\1\u01d5", + "\1\u01d6", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01d8", + "\1\u01d9", + "\1\u01da", + "\1\u01db", + "", + "\1\u01dc", + "", + "", + "", + "", + "\1\u01dd", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01df", + "\1\u01e0", + "\1\u01e1", + "", + "\1\u01e2", + "", + "\1\u01e3", + "\1\u01e4", + "\1\u01e5", + "\1\u01e6", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01e8", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01ea", + "\1\u01eb", + "\1\u01ec", + "\1\u01ed", + "\1\u01ee", + "\1\u01ef", + "\1\u01f0", + "\1\u01f1", + "\1\u01f2", + "\1\u01f3", + "\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\u01f6", + "\1\u01f7", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01f9", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u01fb", + "\1\u01fc", + "\1\u01fd", + "", + "", + "\1\u01fe", + "\1\u01ff", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0201", + "\1\u0202", + "\1\u0203", + "\1\u0204", + "", + "\1\u0205", + "", + "\1\u0206", + "", + "\1\u0207", + "\1\u0208", + "", + "\1\u0209", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u020b", + "\1\u020c", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u020e", + "\1\u020f", + "\1\u0210", + "\12\44\7\uffff\27\44\1\u0211\2\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0213", + "", + "\1\u0214", + "\1\u0215", + "\1\u0216", + "\1\u0217", + "\1\u0218", + "\1\u0219", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u021b", + "", + "\1\u021c", + "", + "\1\u021d", + "\1\u021e", + "\1\u021f", + "\1\u0220", + "\1\u0221", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0223", + "\1\u0224", + "\1\u0225", + "\1\u0226", + "", + "", + "\1\u0227", + "\1\u0228", + "", + "\1\u0229", + "", + "\1\u022a", + "\1\u022b", + "\1\u022c", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u022e", + "", + "\1\u022f", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0231", + "\1\u0232", + "\1\u0233", + "\1\u0234", + "\1\u0235", + "\1\u0236", + "\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\u0239", + "", + "\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\u023c", + "\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\u0240", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0242", + "\1\u0243", + "\1\u0244", + "", + "\1\u0245", + "\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\u0249", + "\1\u024a", + "\1\u024b", + "", + "\1\u024c", + "\1\u024d", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0250", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0252", + "\1\u0253", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0255", + "", + "\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\u025b", + "\1\u025c", + "\1\u025d", + "", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u025f", + "", + "", + "", + "\1\u0260", + "", + "\1\u0261", + "\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\u0265", + "\1\u0266", + "\1\u0267", + "\1\u0268", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "", + "\1\u026a", + "", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "", + "\1\u026d", + "", + "", + "", + "", + "", + "\1\u026e", + "\1\u026f", + "\1\u0270", + "", + "\1\u0271", + "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\u0273", + "", + "", + "", + "\1\u0274", + "\1\u0275", + "\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\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", + "\1\u0280", + "", + "", + "", + "", + "", + "", + "\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[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS); + static final short[] DFA22_eof = DFA.unpackEncodedString(DFA22_eofS); + static final char[] DFA22_min = DFA.unpackEncodedStringToUnsignedChars(DFA22_minS); + static final char[] DFA22_max = DFA.unpackEncodedStringToUnsignedChars(DFA22_maxS); + static final short[] DFA22_accept = DFA.unpackEncodedString(DFA22_acceptS); + static final short[] DFA22_special = DFA.unpackEncodedString(DFA22_specialS); + static final short[][] DFA22_transition; + + static { + int numStates = DFA22_transitionS.length; + DFA22_transition = new short[numStates][]; + for (int i=0; i", "", "", "", "RULE_STR", "RULE_ID", "RULE_NUM", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL", "';'", "'`include'", "'property'", "'{'", "'type'", "'='", "'}'", "'default'", "'true'", "'false'", "'component'", "'|'", "'alias'", "','", "'@'", "'+='", "'%='", "'['", "':'", "']'", "'->'", "'.'", "'enum'", "'name'", "'desc'", "'external'", "'internal'", "'string'", "'number'", "'boolean'", "'addrmap'", "'reg'", "'regfile'", "'field'", "'ref'", "'signal'", "'all'", "'arbiter'", "'rset'", "'rclr'", "'woclr'", "'woset'", "'we'", "'wel'", "'swwe'", "'swwel'", "'hwset'", "'hwclr'", "'swmod'", "'swacc'", "'sticky'", "'stickybit'", "'intr'", "'anded'", "'ored'", "'xored'", "'counter'", "'overflow'", "'sharedextbus'", "'errextbus'", "'reset'", "'littleendian'", "'bigendian'", "'rsvdset'", "'rsvdsetX'", "'bridge'", "'shared'", "'msb0'", "'lsb0'", "'sync'", "'async'", "'cpuif_reset'", "'field_reset'", "'activehigh'", "'activelow'", "'singlepulse'", "'underflow'", "'incr'", "'decr'", "'incrwidth'", "'decrwidth'", "'incrvalue'", "'decrvalue'", "'saturate'", "'decrsaturate'", "'threshold'", "'decrthreshold'", "'dontcompare'", "'donttest'", "'alignment'", "'regwidth'", "'fieldwidth'", "'signalwidth'", "'accesswidth'", "'sw'", "'hw'", "'addressing'", "'precedence'", "'encode'", "'resetsignal'", "'clock'", "'mask'", "'enable'", "'hwenable'", "'hwmask'", "'haltmask'", "'haltenable'", "'halt'", "'next'", "'UNDEFINED'", "'rw'", "'wr'", "'r'", "'w'", "'na'", "'compact'", "'regalign'", "'fullalign'", "'posedge'", "'negedge'", "'bothedge'", "'level'", "'nonsticky'" + }; + public static final int T__50=50; + public static final int T__59=59; + 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__133=133; + 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 T__134=134; + 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__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__98=98; + public static final int RULE_ESCAPE_ORDL=11; + 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 RULE_ESCAPE_JSP=10; + 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"; } + + + + /* + This grammar contains a lot of empty actions to work around a bug in ANTLR. + Otherwise the ANTLR tool will create synpreds that cannot be compiled in some rare cases. + */ + + private RDLGrammarAccess grammarAccess; + + public InternalRDLParser(TokenStream input, RDLGrammarAccess grammarAccess) { + 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:71: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:71:45: (iv_ruleRoot= ruleRoot EOF ) + // InternalRDL.g:72:2: iv_ruleRoot= ruleRoot EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getRootRule()); + } + pushFollow(FOLLOW_1); + iv_ruleRoot=ruleRoot(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleRoot; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRoot" + + + // $ANTLR start "ruleRoot" + // InternalRDL.g:78:1: ruleRoot returns [EObject current=null] : ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )* ; + public final EObject ruleRoot() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_8=null; + Token otherlv_10=null; + EObject lv_includes_0_0 = null; + + EObject lv_componentDefinitions_1_0 = null; + + EObject lv_enumDefinitions_3_0 = null; + + EObject lv_instantiations_5_0 = null; + + EObject lv_propertyAssignments_7_0 = null; + + EObject lv_propertyDefinitions_9_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:84:2: ( ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )* ) + // InternalRDL.g:85:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )* + { + // InternalRDL.g:85:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )* + loop1: + do { + int alt1=7; + alt1 = dfa1.predict(input); + switch (alt1) { + case 1 : + // InternalRDL.g:86:3: ( (lv_includes_0_0= ruleInclude ) ) + { + // InternalRDL.g:86:3: ( (lv_includes_0_0= ruleInclude ) ) + // InternalRDL.g:87:4: (lv_includes_0_0= ruleInclude ) + { + // InternalRDL.g:87:4: (lv_includes_0_0= ruleInclude ) + // InternalRDL.g:88:5: lv_includes_0_0= ruleInclude + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getIncludesIncludeParserRuleCall_0_0()); + + } + pushFollow(FOLLOW_3); + lv_includes_0_0=ruleInclude(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "includes", + lv_includes_0_0, + "com.minres.rdl.RDL.Include"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) + { + // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) + // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' + { + // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) + // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition ) + { + // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition ) + // InternalRDL.g:109:6: lv_componentDefinitions_1_0= ruleComponentDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); + + } + pushFollow(FOLLOW_4); + lv_componentDefinitions_1_0=ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "componentDefinitions", + lv_componentDefinitions_1_0, + "com.minres.rdl.RDL.ComponentDefinition"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_2=(Token)match(input,12,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getRootAccess().getSemicolonKeyword_1_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:132:3: ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) + { + // InternalRDL.g:132:3: ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) + // InternalRDL.g:133:4: ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' + { + // InternalRDL.g:133:4: ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) + // InternalRDL.g:134:5: (lv_enumDefinitions_3_0= ruleEnumDefinition ) + { + // InternalRDL.g:134:5: (lv_enumDefinitions_3_0= ruleEnumDefinition ) + // InternalRDL.g:135:6: lv_enumDefinitions_3_0= ruleEnumDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0()); + + } + pushFollow(FOLLOW_4); + lv_enumDefinitions_3_0=ruleEnumDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "enumDefinitions", + lv_enumDefinitions_3_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_4=(Token)match(input,12,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getRootAccess().getSemicolonKeyword_2_1()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + { + // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' + { + // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) ) + // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation ) + { + // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation ) + // InternalRDL.g:161:6: lv_instantiations_5_0= ruleInstantiation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); + + } + pushFollow(FOLLOW_4); + lv_instantiations_5_0=ruleInstantiation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "instantiations", + lv_instantiations_5_0, + "com.minres.rdl.RDL.Instantiation"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_6=(Token)match(input,12,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getRootAccess().getSemicolonKeyword_3_1()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + { + // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' + { + // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) + // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + { + // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + // InternalRDL.g:187:6: lv_propertyAssignments_7_0= rulePropertyAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); + + } + pushFollow(FOLLOW_4); + lv_propertyAssignments_7_0=rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "propertyAssignments", + lv_propertyAssignments_7_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_8=(Token)match(input,12,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_8, grammarAccess.getRootAccess().getSemicolonKeyword_4_1()); + + } + + } + + + } + break; + case 6 : + // InternalRDL.g:210:3: ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) + { + // InternalRDL.g:210:3: ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) + // InternalRDL.g:211:4: ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' + { + // InternalRDL.g:211:4: ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) + // InternalRDL.g:212:5: (lv_propertyDefinitions_9_0= rulePropertyDefinition ) + { + // InternalRDL.g:212:5: (lv_propertyDefinitions_9_0= rulePropertyDefinition ) + // InternalRDL.g:213:6: lv_propertyDefinitions_9_0= rulePropertyDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0()); + + } + pushFollow(FOLLOW_4); + lv_propertyDefinitions_9_0=rulePropertyDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRootRule()); + } + add( + current, + "propertyDefinitions", + lv_propertyDefinitions_9_0, + "com.minres.rdl.RDL.PropertyDefinition"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_10=(Token)match(input,12,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_10, grammarAccess.getRootAccess().getSemicolonKeyword_5_1()); + + } + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRoot" + + + // $ANTLR start "entryRuleInclude" + // InternalRDL.g:239: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:239:48: (iv_ruleInclude= ruleInclude EOF ) + // InternalRDL.g:240:2: iv_ruleInclude= ruleInclude EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getIncludeRule()); + } + pushFollow(FOLLOW_1); + iv_ruleInclude=ruleInclude(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleInclude; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInclude" + + + // $ANTLR start "ruleInclude" + // InternalRDL.g:246:1: ruleInclude returns [EObject current=null] : (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) ; + public final EObject ruleInclude() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_importURI_1_0=null; + + + enterRule(); + + try { + // InternalRDL.g:252:2: ( (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) ) + // InternalRDL.g:253:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) + { + // InternalRDL.g:253:2: (otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) ) + // InternalRDL.g:254:3: otherlv_0= '`include' ( (lv_importURI_1_0= RULE_STR ) ) + { + otherlv_0=(Token)match(input,13,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + + } + // InternalRDL.g:258:3: ( (lv_importURI_1_0= RULE_STR ) ) + // InternalRDL.g:259:4: (lv_importURI_1_0= RULE_STR ) + { + // InternalRDL.g:259:4: (lv_importURI_1_0= RULE_STR ) + // InternalRDL.g:260:5: lv_importURI_1_0= RULE_STR + { + lv_importURI_1_0=(Token)match(input,RULE_STR,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_importURI_1_0, grammarAccess.getIncludeAccess().getImportURISTRTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getIncludeRule()); + } + setWithLastConsumed( + current, + "importURI", + lv_importURI_1_0, + "com.minres.rdl.RDL.STR"); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInclude" + + + // $ANTLR start "entryRulePropertyDefinition" + // InternalRDL.g:280: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:280:59: (iv_rulePropertyDefinition= rulePropertyDefinition EOF ) + // InternalRDL.g:281:2: iv_rulePropertyDefinition= rulePropertyDefinition EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPropertyDefinitionRule()); + } + pushFollow(FOLLOW_1); + iv_rulePropertyDefinition=rulePropertyDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePropertyDefinition; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyDefinition" + + + // $ANTLR start "rulePropertyDefinition" + // InternalRDL.g:287:1: rulePropertyDefinition returns [EObject current=null] : (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) ; + public final EObject rulePropertyDefinition() throws RecognitionException { + EObject current = null; + + 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:293:2: ( (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) ) + // InternalRDL.g:294:2: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) + { + // InternalRDL.g:294:2: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' ) + // InternalRDL.g:295:3: otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) otherlv_33= '}' otherlv_34= ';' + { + otherlv_0=(Token)match(input,14,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPropertyDefinitionAccess().getPropertyKeyword_0()); + + } + // InternalRDL.g:299:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalRDL.g:300:4: (lv_name_1_0= RULE_ID ) + { + // InternalRDL.g:300:4: (lv_name_1_0= RULE_ID ) + // InternalRDL.g:301:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getPropertyDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefinitionRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + + } + + } + + + } + + otherlv_2=(Token)match(input,15,FOLLOW_9); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getPropertyDefinitionAccess().getLeftCurlyBracketKeyword_2()); + + } + // InternalRDL.g:321:3: ( (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) | ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) | ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) ) + int alt7=3; + switch ( input.LA(1) ) { + case 16: + { + alt7=1; + } + break; + case 22: + { + alt7=2; + } + break; + case 19: + { + alt7=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + switch (alt7) { + case 1 : + // InternalRDL.g:322:4: (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) + { + // InternalRDL.g:322:4: (otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) ) + // InternalRDL.g:323:5: otherlv_3= 'type' otherlv_4= '=' ( (lv_type_5_0= rulePropertyTypeName ) ) otherlv_6= ';' ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) + { + otherlv_3=(Token)match(input,16,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_0_0()); + + } + otherlv_4=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_0_1()); + + } + // InternalRDL.g:331:5: ( (lv_type_5_0= rulePropertyTypeName ) ) + // InternalRDL.g:332:6: (lv_type_5_0= rulePropertyTypeName ) + { + // InternalRDL.g:332:6: (lv_type_5_0= rulePropertyTypeName ) + // InternalRDL.g:333:7: lv_type_5_0= rulePropertyTypeName + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_0_2_0()); + + } + pushFollow(FOLLOW_4); + lv_type_5_0=rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "type", + lv_type_5_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_6=(Token)match(input,12,FOLLOW_9); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_0_3()); + + } + // InternalRDL.g:354:5: ( ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) | ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==22) ) { + alt3=1; + } + else if ( (LA3_0==19) ) { + alt3=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // InternalRDL.g:355:6: ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) + { + // InternalRDL.g:355:6: ( ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? ) + // InternalRDL.g:356:7: ( (lv_usage_7_0= rulePropertyUsage ) ) ( (lv_default_8_0= rulePropertyDefault ) )? + { + // InternalRDL.g:356:7: ( (lv_usage_7_0= rulePropertyUsage ) ) + // InternalRDL.g:357:8: (lv_usage_7_0= rulePropertyUsage ) + { + // InternalRDL.g:357:8: (lv_usage_7_0= rulePropertyUsage ) + // InternalRDL.g:358:9: lv_usage_7_0= rulePropertyUsage + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_0_0_0()); + + } + pushFollow(FOLLOW_12); + lv_usage_7_0=rulePropertyUsage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_7_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:375:7: ( (lv_default_8_0= rulePropertyDefault ) )? + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==19) ) { + alt2=1; + } + switch (alt2) { + case 1 : + // InternalRDL.g:376:8: (lv_default_8_0= rulePropertyDefault ) + { + // InternalRDL.g:376:8: (lv_default_8_0= rulePropertyDefault ) + // InternalRDL.g:377:9: lv_default_8_0= rulePropertyDefault + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_0_1_0()); + + } + pushFollow(FOLLOW_13); + lv_default_8_0=rulePropertyDefault(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_8_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:396:6: ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) + { + // InternalRDL.g:396:6: ( ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) ) + // InternalRDL.g:397:7: ( (lv_default_9_0= rulePropertyDefault ) ) ( (lv_usage_10_0= rulePropertyUsage ) ) + { + // InternalRDL.g:397:7: ( (lv_default_9_0= rulePropertyDefault ) ) + // InternalRDL.g:398:8: (lv_default_9_0= rulePropertyDefault ) + { + // InternalRDL.g:398:8: (lv_default_9_0= rulePropertyDefault ) + // InternalRDL.g:399:9: lv_default_9_0= rulePropertyDefault + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_0_4_1_0_0()); + + } + pushFollow(FOLLOW_14); + lv_default_9_0=rulePropertyDefault(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_9_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:416:7: ( (lv_usage_10_0= rulePropertyUsage ) ) + // InternalRDL.g:417:8: (lv_usage_10_0= rulePropertyUsage ) + { + // InternalRDL.g:417:8: (lv_usage_10_0= rulePropertyUsage ) + // InternalRDL.g:418:9: lv_usage_10_0= rulePropertyUsage + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_0_4_1_1_0()); + + } + pushFollow(FOLLOW_13); + lv_usage_10_0=rulePropertyUsage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_10_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:439:4: ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) + { + // InternalRDL.g:439:4: ( ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) ) + // InternalRDL.g:440:5: ( (lv_usage_11_0= rulePropertyUsage ) ) ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) + { + // InternalRDL.g:440:5: ( (lv_usage_11_0= rulePropertyUsage ) ) + // InternalRDL.g:441:6: (lv_usage_11_0= rulePropertyUsage ) + { + // InternalRDL.g:441:6: (lv_usage_11_0= rulePropertyUsage ) + // InternalRDL.g:442:7: lv_usage_11_0= rulePropertyUsage + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_1_0_0()); + + } + pushFollow(FOLLOW_9); + lv_usage_11_0=rulePropertyUsage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_11_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:459:5: ( (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) | ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==16) ) { + alt5=1; + } + else if ( (LA5_0==19) ) { + alt5=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1 : + // InternalRDL.g:460:6: (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) + { + // InternalRDL.g:460:6: (otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? ) + // InternalRDL.g:461:7: otherlv_12= 'type' otherlv_13= '=' ( (lv_type_14_0= rulePropertyTypeName ) ) otherlv_15= ';' ( (lv_default_16_0= rulePropertyDefault ) )? + { + otherlv_12=(Token)match(input,16,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_12, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_0_0()); + + } + otherlv_13=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_13, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_0_1()); + + } + // InternalRDL.g:469:7: ( (lv_type_14_0= rulePropertyTypeName ) ) + // InternalRDL.g:470:8: (lv_type_14_0= rulePropertyTypeName ) + { + // InternalRDL.g:470:8: (lv_type_14_0= rulePropertyTypeName ) + // InternalRDL.g:471:9: lv_type_14_0= rulePropertyTypeName + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_0_2_0()); + + } + pushFollow(FOLLOW_4); + lv_type_14_0=rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "type", + lv_type_14_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_15=(Token)match(input,12,FOLLOW_12); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_15, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_0_3()); + + } + // InternalRDL.g:492:7: ( (lv_default_16_0= rulePropertyDefault ) )? + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==19) ) { + alt4=1; + } + switch (alt4) { + case 1 : + // InternalRDL.g:493:8: (lv_default_16_0= rulePropertyDefault ) + { + // InternalRDL.g:493:8: (lv_default_16_0= rulePropertyDefault ) + // InternalRDL.g:494:9: lv_default_16_0= rulePropertyDefault + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_0_4_0()); + + } + pushFollow(FOLLOW_13); + lv_default_16_0=rulePropertyDefault(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_16_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:513:6: ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) + { + // InternalRDL.g:513:6: ( ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' ) + // InternalRDL.g:514:7: ( (lv_default_17_0= rulePropertyDefault ) ) otherlv_18= 'type' otherlv_19= '=' ( (lv_type_20_0= rulePropertyTypeName ) ) otherlv_21= ';' + { + // InternalRDL.g:514:7: ( (lv_default_17_0= rulePropertyDefault ) ) + // InternalRDL.g:515:8: (lv_default_17_0= rulePropertyDefault ) + { + // InternalRDL.g:515:8: (lv_default_17_0= rulePropertyDefault ) + // InternalRDL.g:516:9: lv_default_17_0= rulePropertyDefault + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_1_1_1_0_0()); + + } + pushFollow(FOLLOW_15); + lv_default_17_0=rulePropertyDefault(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_17_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_18=(Token)match(input,16,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_18, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_1_1_1_1()); + + } + otherlv_19=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_19, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_1_1_1_2()); + + } + // InternalRDL.g:541:7: ( (lv_type_20_0= rulePropertyTypeName ) ) + // InternalRDL.g:542:8: (lv_type_20_0= rulePropertyTypeName ) + { + // InternalRDL.g:542:8: (lv_type_20_0= rulePropertyTypeName ) + // InternalRDL.g:543:9: lv_type_20_0= rulePropertyTypeName + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_1_1_1_3_0()); + + } + pushFollow(FOLLOW_4); + lv_type_20_0=rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "type", + lv_type_20_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_21=(Token)match(input,12,FOLLOW_13); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_21, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_1_1_1_4()); + + } + + } + + + } + break; + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:568:4: ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) + { + // InternalRDL.g:568:4: ( ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) ) + // InternalRDL.g:569:5: ( (lv_default_22_0= rulePropertyDefault ) ) ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) + { + // InternalRDL.g:569:5: ( (lv_default_22_0= rulePropertyDefault ) ) + // InternalRDL.g:570:6: (lv_default_22_0= rulePropertyDefault ) + { + // InternalRDL.g:570:6: (lv_default_22_0= rulePropertyDefault ) + // InternalRDL.g:571:7: lv_default_22_0= rulePropertyDefault + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getDefaultPropertyDefaultParserRuleCall_3_2_0_0()); + + } + pushFollow(FOLLOW_16); + lv_default_22_0=rulePropertyDefault(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "default", + lv_default_22_0, + "com.minres.rdl.RDL.PropertyDefault"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:588:5: ( (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) | ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==16) ) { + alt6=1; + } + else if ( (LA6_0==22) ) { + alt6=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalRDL.g:589:6: (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) + { + // InternalRDL.g:589:6: (otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) ) + // InternalRDL.g:590:7: otherlv_23= 'type' otherlv_24= '=' ( (lv_type_25_0= rulePropertyTypeName ) ) otherlv_26= ';' ( (lv_usage_27_0= rulePropertyUsage ) ) + { + otherlv_23=(Token)match(input,16,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_23, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_0_0()); + + } + otherlv_24=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_24, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_0_1()); + + } + // InternalRDL.g:598:7: ( (lv_type_25_0= rulePropertyTypeName ) ) + // InternalRDL.g:599:8: (lv_type_25_0= rulePropertyTypeName ) + { + // InternalRDL.g:599:8: (lv_type_25_0= rulePropertyTypeName ) + // InternalRDL.g:600:9: lv_type_25_0= rulePropertyTypeName + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_0_2_0()); + + } + pushFollow(FOLLOW_4); + lv_type_25_0=rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "type", + lv_type_25_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_26=(Token)match(input,12,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_26, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_0_3()); + + } + // InternalRDL.g:621:7: ( (lv_usage_27_0= rulePropertyUsage ) ) + // InternalRDL.g:622:8: (lv_usage_27_0= rulePropertyUsage ) + { + // InternalRDL.g:622:8: (lv_usage_27_0= rulePropertyUsage ) + // InternalRDL.g:623:9: lv_usage_27_0= rulePropertyUsage + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_0_4_0()); + + } + pushFollow(FOLLOW_13); + lv_usage_27_0=rulePropertyUsage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_27_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:642:6: ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) + { + // InternalRDL.g:642:6: ( ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' ) + // InternalRDL.g:643:7: ( (lv_usage_28_0= rulePropertyUsage ) ) otherlv_29= 'type' otherlv_30= '=' ( (lv_type_31_0= rulePropertyTypeName ) ) otherlv_32= ';' + { + // InternalRDL.g:643:7: ( (lv_usage_28_0= rulePropertyUsage ) ) + // InternalRDL.g:644:8: (lv_usage_28_0= rulePropertyUsage ) + { + // InternalRDL.g:644:8: (lv_usage_28_0= rulePropertyUsage ) + // InternalRDL.g:645:9: lv_usage_28_0= rulePropertyUsage + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getUsagePropertyUsageParserRuleCall_3_2_1_1_0_0()); + + } + pushFollow(FOLLOW_15); + lv_usage_28_0=rulePropertyUsage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "usage", + lv_usage_28_0, + "com.minres.rdl.RDL.PropertyUsage"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_29=(Token)match(input,16,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_29, grammarAccess.getPropertyDefinitionAccess().getTypeKeyword_3_2_1_1_1()); + + } + otherlv_30=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_30, grammarAccess.getPropertyDefinitionAccess().getEqualsSignKeyword_3_2_1_1_2()); + + } + // InternalRDL.g:670:7: ( (lv_type_31_0= rulePropertyTypeName ) ) + // InternalRDL.g:671:8: (lv_type_31_0= rulePropertyTypeName ) + { + // InternalRDL.g:671:8: (lv_type_31_0= rulePropertyTypeName ) + // InternalRDL.g:672:9: lv_type_31_0= rulePropertyTypeName + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyDefinitionAccess().getTypePropertyTypeNameEnumRuleCall_3_2_1_1_3_0()); + + } + pushFollow(FOLLOW_4); + lv_type_31_0=rulePropertyTypeName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyDefinitionRule()); + } + set( + current, + "type", + lv_type_31_0, + "com.minres.rdl.RDL.PropertyTypeName"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_32=(Token)match(input,12,FOLLOW_13); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_32, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_3_2_1_1_4()); + + } + + } + + + } + break; + + } + + + } + + + } + break; + + } + + otherlv_33=(Token)match(input,18,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_33, grammarAccess.getPropertyDefinitionAccess().getRightCurlyBracketKeyword_4()); + + } + otherlv_34=(Token)match(input,12,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_34, grammarAccess.getPropertyDefinitionAccess().getSemicolonKeyword_5()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyDefinition" + + + // $ANTLR start "entryRulePropertyDefault" + // InternalRDL.g:709: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:709:56: (iv_rulePropertyDefault= rulePropertyDefault EOF ) + // InternalRDL.g:710:2: iv_rulePropertyDefault= rulePropertyDefault EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPropertyDefaultRule()); + } + pushFollow(FOLLOW_1); + iv_rulePropertyDefault=rulePropertyDefault(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePropertyDefault; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyDefault" + + + // $ANTLR start "rulePropertyDefault" + // InternalRDL.g:716:1: rulePropertyDefault returns [EObject current=null] : (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) ; + public final EObject rulePropertyDefault() throws RecognitionException { + EObject current = null; + + 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:722:2: ( (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) ) + // InternalRDL.g:723:2: (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) + { + // InternalRDL.g:723:2: (otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' ) + // InternalRDL.g:724:3: otherlv_0= 'default' otherlv_1= '=' ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) otherlv_6= ';' + { + otherlv_0=(Token)match(input,19,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPropertyDefaultAccess().getDefaultKeyword_0()); + + } + otherlv_1=(Token)match(input,17,FOLLOW_17); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getPropertyDefaultAccess().getEqualsSignKeyword_1()); + + } + // InternalRDL.g:732:3: ( ( (lv_string_2_0= RULE_STR ) ) | ( (lv_value_3_0= RULE_NUM ) ) | ( (lv_string_4_0= 'true' ) ) | ( (lv_string_5_0= 'false' ) ) ) + int alt8=4; + switch ( input.LA(1) ) { + case RULE_STR: + { + alt8=1; + } + break; + case RULE_NUM: + { + alt8=2; + } + break; + case 20: + { + alt8=3; + } + break; + case 21: + { + alt8=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + + switch (alt8) { + case 1 : + // InternalRDL.g:733:4: ( (lv_string_2_0= RULE_STR ) ) + { + // InternalRDL.g:733:4: ( (lv_string_2_0= RULE_STR ) ) + // InternalRDL.g:734:5: (lv_string_2_0= RULE_STR ) + { + // InternalRDL.g:734:5: (lv_string_2_0= RULE_STR ) + // InternalRDL.g:735:6: lv_string_2_0= RULE_STR + { + lv_string_2_0=(Token)match(input,RULE_STR,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_string_2_0, grammarAccess.getPropertyDefaultAccess().getStringSTRTerminalRuleCall_2_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed( + current, + "string", + lv_string_2_0, + "com.minres.rdl.RDL.STR"); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:752:4: ( (lv_value_3_0= RULE_NUM ) ) + { + // InternalRDL.g:752:4: ( (lv_value_3_0= RULE_NUM ) ) + // InternalRDL.g:753:5: (lv_value_3_0= RULE_NUM ) + { + // InternalRDL.g:753:5: (lv_value_3_0= RULE_NUM ) + // InternalRDL.g:754:6: lv_value_3_0= RULE_NUM + { + lv_value_3_0=(Token)match(input,RULE_NUM,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_value_3_0, grammarAccess.getPropertyDefaultAccess().getValueNUMTerminalRuleCall_2_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_3_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:771:4: ( (lv_string_4_0= 'true' ) ) + { + // InternalRDL.g:771:4: ( (lv_string_4_0= 'true' ) ) + // InternalRDL.g:772:5: (lv_string_4_0= 'true' ) + { + // InternalRDL.g:772:5: (lv_string_4_0= 'true' ) + // InternalRDL.g:773:6: lv_string_4_0= 'true' + { + lv_string_4_0=(Token)match(input,20,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_string_4_0, grammarAccess.getPropertyDefaultAccess().getStringTrueKeyword_2_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed(current, "string", lv_string_4_0, "true"); + + } + + } + + + } + + + } + break; + case 4 : + // InternalRDL.g:786:4: ( (lv_string_5_0= 'false' ) ) + { + // InternalRDL.g:786:4: ( (lv_string_5_0= 'false' ) ) + // InternalRDL.g:787:5: (lv_string_5_0= 'false' ) + { + // InternalRDL.g:787:5: (lv_string_5_0= 'false' ) + // InternalRDL.g:788:6: lv_string_5_0= 'false' + { + lv_string_5_0=(Token)match(input,21,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_string_5_0, grammarAccess.getPropertyDefaultAccess().getStringFalseKeyword_2_3_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyDefaultRule()); + } + setWithLastConsumed(current, "string", lv_string_5_0, "false"); + + } + + } + + + } + + + } + break; + + } + + otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getPropertyDefaultAccess().getSemicolonKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyDefault" + + + // $ANTLR start "entryRulePropertyUsage" + // InternalRDL.g:809: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:809:54: (iv_rulePropertyUsage= rulePropertyUsage EOF ) + // InternalRDL.g:810:2: iv_rulePropertyUsage= rulePropertyUsage EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPropertyUsageRule()); + } + pushFollow(FOLLOW_1); + iv_rulePropertyUsage=rulePropertyUsage(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePropertyUsage; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyUsage" + + + // $ANTLR start "rulePropertyUsage" + // InternalRDL.g:816:1: rulePropertyUsage returns [EObject current=null] : (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) ; + public final EObject rulePropertyUsage() throws RecognitionException { + EObject current = null; + + 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:822:2: ( (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) ) + // InternalRDL.g:823:2: (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) + { + // InternalRDL.g:823:2: (otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' ) + // InternalRDL.g:824:3: otherlv_0= 'component' otherlv_1= '=' ( (lv_components_2_0= rulePropertyComponent ) ) (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* otherlv_5= ';' + { + otherlv_0=(Token)match(input,22,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPropertyUsageAccess().getComponentKeyword_0()); + + } + otherlv_1=(Token)match(input,17,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getPropertyUsageAccess().getEqualsSignKeyword_1()); + + } + // InternalRDL.g:832:3: ( (lv_components_2_0= rulePropertyComponent ) ) + // InternalRDL.g:833:4: (lv_components_2_0= rulePropertyComponent ) + { + // InternalRDL.g:833:4: (lv_components_2_0= rulePropertyComponent ) + // InternalRDL.g:834:5: lv_components_2_0= rulePropertyComponent + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_2_0()); + + } + pushFollow(FOLLOW_19); + lv_components_2_0=rulePropertyComponent(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyUsageRule()); + } + add( + current, + "components", + lv_components_2_0, + "com.minres.rdl.RDL.PropertyComponent"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:851:3: (otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==23) ) { + alt9=1; + } + + + switch (alt9) { + case 1 : + // InternalRDL.g:852:4: otherlv_3= '|' ( (lv_components_4_0= rulePropertyComponent ) ) + { + otherlv_3=(Token)match(input,23,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getPropertyUsageAccess().getVerticalLineKeyword_3_0()); + + } + // InternalRDL.g:856:4: ( (lv_components_4_0= rulePropertyComponent ) ) + // InternalRDL.g:857:5: (lv_components_4_0= rulePropertyComponent ) + { + // InternalRDL.g:857:5: (lv_components_4_0= rulePropertyComponent ) + // InternalRDL.g:858:6: lv_components_4_0= rulePropertyComponent + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyUsageAccess().getComponentsPropertyComponentEnumRuleCall_3_1_0()); + + } + pushFollow(FOLLOW_19); + lv_components_4_0=rulePropertyComponent(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyUsageRule()); + } + add( + current, + "components", + lv_components_4_0, + "com.minres.rdl.RDL.PropertyComponent"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop9; + } + } while (true); + + otherlv_5=(Token)match(input,12,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getPropertyUsageAccess().getSemicolonKeyword_4()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyUsage" + + + // $ANTLR start "entryRuleComponentDefinition" + // InternalRDL.g:884: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:884:60: (iv_ruleComponentDefinition= ruleComponentDefinition EOF ) + // InternalRDL.g:885:2: iv_ruleComponentDefinition= ruleComponentDefinition EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getComponentDefinitionRule()); + } + pushFollow(FOLLOW_1); + iv_ruleComponentDefinition=ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleComponentDefinition; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleComponentDefinition" + + + // $ANTLR start "ruleComponentDefinition" + // InternalRDL.g:891:1: ruleComponentDefinition returns [EObject current=null] : ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' ) ; + public final EObject ruleComponentDefinition() throws RecognitionException { + EObject current = null; + + Token lv_name_1_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + Token otherlv_8=null; + Token otherlv_10=null; + Token otherlv_11=null; + Enumerator lv_type_0_0 = null; + + EObject lv_componentDefinitions_3_0 = null; + + EObject lv_instantiations_5_0 = null; + + EObject lv_propertyAssignments_7_0 = null; + + EObject lv_enumDefinitions_9_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:897:2: ( ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' ) ) + // InternalRDL.g:898:2: ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' ) + { + // InternalRDL.g:898:2: ( ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' ) + // InternalRDL.g:899:3: ( (lv_type_0_0= ruleComponentDefinitionType ) ) ( (lv_name_1_0= RULE_ID ) )? otherlv_2= '{' ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* otherlv_11= '}' + { + // InternalRDL.g:899:3: ( (lv_type_0_0= ruleComponentDefinitionType ) ) + // InternalRDL.g:900:4: (lv_type_0_0= ruleComponentDefinitionType ) + { + // InternalRDL.g:900:4: (lv_type_0_0= ruleComponentDefinitionType ) + // InternalRDL.g:901:5: lv_type_0_0= ruleComponentDefinitionType + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getTypeComponentDefinitionTypeEnumRuleCall_0_0()); + + } + pushFollow(FOLLOW_20); + lv_type_0_0=ruleComponentDefinitionType(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + set( + current, + "type", + lv_type_0_0, + "com.minres.rdl.RDL.ComponentDefinitionType"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:918: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:919:4: (lv_name_1_0= RULE_ID ) + { + // InternalRDL.g:919:4: (lv_name_1_0= RULE_ID ) + // InternalRDL.g:920:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getComponentDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getComponentDefinitionRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + + } + + } + + + } + break; + + } + + otherlv_2=(Token)match(input,15,FOLLOW_21); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); + + } + // InternalRDL.g:940:3: ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )* + loop11: + do { + int alt11=5; + alt11 = dfa11.predict(input); + switch (alt11) { + case 1 : + // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) + { + // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) + // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' + { + // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) + // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition ) + { + // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition ) + // InternalRDL.g:944:7: lv_componentDefinitions_3_0= ruleComponentDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); + + } + pushFollow(FOLLOW_4); + lv_componentDefinitions_3_0=ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "componentDefinitions", + lv_componentDefinitions_3_0, + "com.minres.rdl.RDL.ComponentDefinition"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_4=(Token)match(input,12,FOLLOW_21); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_1()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + { + // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' + { + // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) ) + // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation ) + { + // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation ) + // InternalRDL.g:970:7: lv_instantiations_5_0= ruleInstantiation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); + + } + pushFollow(FOLLOW_4); + lv_instantiations_5_0=ruleInstantiation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "instantiations", + lv_instantiations_5_0, + "com.minres.rdl.RDL.Instantiation"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_6=(Token)match(input,12,FOLLOW_21); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + { + // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' + { + // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) + // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + { + // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + // InternalRDL.g:996:7: lv_propertyAssignments_7_0= rulePropertyAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); + + } + pushFollow(FOLLOW_4); + lv_propertyAssignments_7_0=rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "propertyAssignments", + lv_propertyAssignments_7_0, + "com.minres.rdl.RDL.PropertyAssignment"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_8=(Token)match(input,12,FOLLOW_21); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_8, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_2_1()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:1019:4: ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) + { + // InternalRDL.g:1019:4: ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) + // InternalRDL.g:1020:5: ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' + { + // InternalRDL.g:1020:5: ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) + // InternalRDL.g:1021:6: (lv_enumDefinitions_9_0= ruleEnumDefinition ) + { + // InternalRDL.g:1021:6: (lv_enumDefinitions_9_0= ruleEnumDefinition ) + // InternalRDL.g:1022:7: lv_enumDefinitions_9_0= ruleEnumDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0()); + + } + pushFollow(FOLLOW_4); + lv_enumDefinitions_9_0=ruleEnumDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); + } + add( + current, + "enumDefinitions", + lv_enumDefinitions_9_0, + "com.minres.rdl.RDL.EnumDefinition"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_10=(Token)match(input,12,FOLLOW_21); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_10, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_3_1()); + + } + + } + + + } + break; + + default : + break loop11; + } + } while (true); + + otherlv_11=(Token)match(input,18,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_4()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleComponentDefinition" + + + // $ANTLR start "entryRuleInstantiation" + // InternalRDL.g:1053:1: entryRuleInstantiation returns [EObject current=null] : iv_ruleInstantiation= ruleInstantiation EOF ; + public final EObject entryRuleInstantiation() throws RecognitionException { + EObject current = null; + + EObject iv_ruleInstantiation = null; + + + try { + // InternalRDL.g:1053:54: (iv_ruleInstantiation= ruleInstantiation EOF ) + // InternalRDL.g:1054:2: iv_ruleInstantiation= ruleInstantiation EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getInstantiationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleInstantiation=ruleInstantiation(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleInstantiation; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInstantiation" + + + // $ANTLR start "ruleInstantiation" + // InternalRDL.g:1060:1: ruleInstantiation returns [EObject current=null] : ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* ) ; + public final EObject ruleInstantiation() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token lv_alias_2_0=null; + Token otherlv_3=null; + Token otherlv_7=null; + EObject lv_instanceType_0_0 = null; + + EObject lv_component_4_0 = null; + + EObject lv_instanceType_5_0 = null; + + EObject lv_componentInstances_6_0 = null; + + EObject lv_componentInstances_8_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1066:2: ( ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* ) ) + // InternalRDL.g:1067:2: ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* ) + { + // InternalRDL.g:1067:2: ( ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* ) + // InternalRDL.g:1068:3: ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) ( (lv_componentInstances_6_0= ruleComponentInstance ) ) (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* + { + // InternalRDL.g:1068:3: ( ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) | ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==RULE_ID||LA15_0==24||(LA15_0>=37 && LA15_0<=38)) ) { + alt15=1; + } + else if ( ((LA15_0>=42 && LA15_0<=45)||LA15_0==47) ) { + alt15=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // InternalRDL.g:1069:4: ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) + { + // InternalRDL.g:1069:4: ( ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) ) + // InternalRDL.g:1070:5: ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? ( (otherlv_3= RULE_ID ) ) + { + // InternalRDL.g:1070:5: ( (lv_instanceType_0_0= ruleEnumInstanceType ) )? + int alt12=2; + int LA12_0 = input.LA(1); + + if ( ((LA12_0>=37 && LA12_0<=38)) ) { + alt12=1; + } + switch (alt12) { + case 1 : + // InternalRDL.g:1071:6: (lv_instanceType_0_0= ruleEnumInstanceType ) + { + // InternalRDL.g:1071:6: (lv_instanceType_0_0= ruleEnumInstanceType ) + // InternalRDL.g:1072:7: lv_instanceType_0_0= ruleEnumInstanceType + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0()); + + } + pushFollow(FOLLOW_22); + lv_instanceType_0_0=ruleEnumInstanceType(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + set( + current, + "instanceType", + lv_instanceType_0_0, + "com.minres.rdl.RDL.EnumInstanceType"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + } + + // InternalRDL.g:1089:5: (otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) )? + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==24) ) { + alt13=1; + } + switch (alt13) { + case 1 : + // InternalRDL.g:1090:6: otherlv_1= 'alias' ( (lv_alias_2_0= RULE_ID ) ) + { + otherlv_1=(Token)match(input,24,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getInstantiationAccess().getAliasKeyword_0_0_1_0()); + + } + // InternalRDL.g:1094:6: ( (lv_alias_2_0= RULE_ID ) ) + // InternalRDL.g:1095:7: (lv_alias_2_0= RULE_ID ) + { + // InternalRDL.g:1095:7: (lv_alias_2_0= RULE_ID ) + // InternalRDL.g:1096:8: lv_alias_2_0= RULE_ID + { + lv_alias_2_0=(Token)match(input,RULE_ID,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_alias_2_0, grammarAccess.getInstantiationAccess().getAliasIDTerminalRuleCall_0_0_1_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getInstantiationRule()); + } + setWithLastConsumed( + current, + "alias", + lv_alias_2_0, + "com.minres.rdl.RDL.ID"); + + } + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1113:5: ( (otherlv_3= RULE_ID ) ) + // InternalRDL.g:1114:6: (otherlv_3= RULE_ID ) + { + // InternalRDL.g:1114:6: (otherlv_3= RULE_ID ) + // InternalRDL.g:1115:7: otherlv_3= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getInstantiationRule()); + } + + } + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getInstantiationAccess().getComponentRefComponentDefinitionCrossReference_0_0_2_0()); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1131:4: ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) + { + // InternalRDL.g:1131:4: ( ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? ) + // InternalRDL.g:1132:5: ( (lv_component_4_0= ruleComponentDefinition ) ) ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? + { + // InternalRDL.g:1132:5: ( (lv_component_4_0= ruleComponentDefinition ) ) + // InternalRDL.g:1133:6: (lv_component_4_0= ruleComponentDefinition ) + { + // InternalRDL.g:1133:6: (lv_component_4_0= ruleComponentDefinition ) + // InternalRDL.g:1134:7: lv_component_4_0= ruleComponentDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstantiationAccess().getComponentComponentDefinitionParserRuleCall_0_1_0_0()); + + } + pushFollow(FOLLOW_23); + lv_component_4_0=ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + set( + current, + "component", + lv_component_4_0, + "com.minres.rdl.RDL.ComponentDefinition"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:1151:5: ( (lv_instanceType_5_0= ruleEnumInstanceType ) )? + int alt14=2; + int LA14_0 = input.LA(1); + + if ( ((LA14_0>=37 && LA14_0<=38)) ) { + alt14=1; + } + switch (alt14) { + case 1 : + // InternalRDL.g:1152:6: (lv_instanceType_5_0= ruleEnumInstanceType ) + { + // InternalRDL.g:1152:6: (lv_instanceType_5_0= ruleEnumInstanceType ) + // InternalRDL.g:1153:7: lv_instanceType_5_0= ruleEnumInstanceType + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstantiationAccess().getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0()); + + } + pushFollow(FOLLOW_7); + lv_instanceType_5_0=ruleEnumInstanceType(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + set( + current, + "instanceType", + lv_instanceType_5_0, + "com.minres.rdl.RDL.EnumInstanceType"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1172:3: ( (lv_componentInstances_6_0= ruleComponentInstance ) ) + // InternalRDL.g:1173:4: (lv_componentInstances_6_0= ruleComponentInstance ) + { + // InternalRDL.g:1173:4: (lv_componentInstances_6_0= ruleComponentInstance ) + // InternalRDL.g:1174:5: lv_componentInstances_6_0= ruleComponentInstance + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_24); + lv_componentInstances_6_0=ruleComponentInstance(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + add( + current, + "componentInstances", + lv_componentInstances_6_0, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:1191:3: (otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) )* + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==25) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // InternalRDL.g:1192:4: otherlv_7= ',' ( (lv_componentInstances_8_0= ruleComponentInstance ) ) + { + otherlv_7=(Token)match(input,25,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_7, grammarAccess.getInstantiationAccess().getCommaKeyword_2_0()); + + } + // InternalRDL.g:1196:4: ( (lv_componentInstances_8_0= ruleComponentInstance ) ) + // InternalRDL.g:1197:5: (lv_componentInstances_8_0= ruleComponentInstance ) + { + // InternalRDL.g:1197:5: (lv_componentInstances_8_0= ruleComponentInstance ) + // InternalRDL.g:1198:6: lv_componentInstances_8_0= ruleComponentInstance + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstantiationAccess().getComponentInstancesComponentInstanceParserRuleCall_2_1_0()); + + } + pushFollow(FOLLOW_24); + lv_componentInstances_8_0=ruleComponentInstance(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstantiationRule()); + } + add( + current, + "componentInstances", + lv_componentInstances_8_0, + "com.minres.rdl.RDL.ComponentInstance"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop16; + } + } while (true); + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInstantiation" + + + // $ANTLR start "entryRuleComponentInstance" + // InternalRDL.g:1220: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:1220:58: (iv_ruleComponentInstance= ruleComponentInstance EOF ) + // InternalRDL.g:1221:2: iv_ruleComponentInstance= ruleComponentInstance EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getComponentInstanceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleComponentInstance=ruleComponentInstance(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleComponentInstance; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleComponentInstance" + + + // $ANTLR start "ruleComponentInstance" + // InternalRDL.g:1227:1: ruleComponentInstance returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) ; + public final EObject ruleComponentInstance() throws RecognitionException { + EObject current = null; + + 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:1233:2: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) ) + // InternalRDL.g:1234:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) + { + // InternalRDL.g:1234:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? ) + // InternalRDL.g:1235:3: ( (lv_name_0_0= RULE_ID ) ) ( (lv_range_1_0= ruleRange ) )? (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? + { + // InternalRDL.g:1235:3: ( (lv_name_0_0= RULE_ID ) ) + // InternalRDL.g:1236:4: (lv_name_0_0= RULE_ID ) + { + // InternalRDL.g:1236:4: (lv_name_0_0= RULE_ID ) + // InternalRDL.g:1237:5: lv_name_0_0= RULE_ID + { + lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_25); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_0_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_0, + "com.minres.rdl.RDL.ID"); + + } + + } + + + } + + // InternalRDL.g:1253:3: ( (lv_range_1_0= ruleRange ) )? + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==29) ) { + alt17=1; + } + switch (alt17) { + case 1 : + // InternalRDL.g:1254:4: (lv_range_1_0= ruleRange ) + { + // InternalRDL.g:1254:4: (lv_range_1_0= ruleRange ) + // InternalRDL.g:1255:5: lv_range_1_0= ruleRange + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentInstanceAccess().getRangeRangeParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_26); + lv_range_1_0=ruleRange(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); + } + set( + current, + "range", + lv_range_1_0, + "com.minres.rdl.RDL.Range"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + } + + // InternalRDL.g:1272:3: (otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) )? + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==17) ) { + alt18=1; + } + switch (alt18) { + case 1 : + // InternalRDL.g:1273:4: otherlv_2= '=' ( (lv_reset_3_0= RULE_NUM ) ) + { + otherlv_2=(Token)match(input,17,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getComponentInstanceAccess().getEqualsSignKeyword_2_0()); + + } + // InternalRDL.g:1277:4: ( (lv_reset_3_0= RULE_NUM ) ) + // InternalRDL.g:1278:5: (lv_reset_3_0= RULE_NUM ) + { + // InternalRDL.g:1278:5: (lv_reset_3_0= RULE_NUM ) + // InternalRDL.g:1279:6: lv_reset_3_0= RULE_NUM + { + lv_reset_3_0=(Token)match(input,RULE_NUM,FOLLOW_28); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_reset_3_0, grammarAccess.getComponentInstanceAccess().getResetNUMTerminalRuleCall_2_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + current, + "reset", + lv_reset_3_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1296:3: (otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==26) ) { + alt19=1; + } + switch (alt19) { + case 1 : + // InternalRDL.g:1297:4: otherlv_4= '@' ( (lv_address_5_0= RULE_NUM ) ) + { + otherlv_4=(Token)match(input,26,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getComponentInstanceAccess().getCommercialAtKeyword_3_0()); + + } + // InternalRDL.g:1301:4: ( (lv_address_5_0= RULE_NUM ) ) + // InternalRDL.g:1302:5: (lv_address_5_0= RULE_NUM ) + { + // InternalRDL.g:1302:5: (lv_address_5_0= RULE_NUM ) + // InternalRDL.g:1303:6: lv_address_5_0= RULE_NUM + { + lv_address_5_0=(Token)match(input,RULE_NUM,FOLLOW_29); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_address_5_0, grammarAccess.getComponentInstanceAccess().getAddressNUMTerminalRuleCall_3_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + current, + "address", + lv_address_5_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1320:3: (otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) )? + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==27) ) { + alt20=1; + } + switch (alt20) { + case 1 : + // InternalRDL.g:1321:4: otherlv_6= '+=' ( (lv_addrInc_7_0= RULE_NUM ) ) + { + otherlv_6=(Token)match(input,27,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getComponentInstanceAccess().getPlusSignEqualsSignKeyword_4_0()); + + } + // InternalRDL.g:1325:4: ( (lv_addrInc_7_0= RULE_NUM ) ) + // InternalRDL.g:1326:5: (lv_addrInc_7_0= RULE_NUM ) + { + // InternalRDL.g:1326:5: (lv_addrInc_7_0= RULE_NUM ) + // InternalRDL.g:1327:6: lv_addrInc_7_0= RULE_NUM + { + lv_addrInc_7_0=(Token)match(input,RULE_NUM,FOLLOW_30); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_addrInc_7_0, grammarAccess.getComponentInstanceAccess().getAddrIncNUMTerminalRuleCall_4_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + current, + "addrInc", + lv_addrInc_7_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1344:3: (otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) )? + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==28) ) { + alt21=1; + } + switch (alt21) { + case 1 : + // InternalRDL.g:1345:4: otherlv_8= '%=' ( (lv_addrMod_9_0= RULE_NUM ) ) + { + otherlv_8=(Token)match(input,28,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_8, grammarAccess.getComponentInstanceAccess().getPercentSignEqualsSignKeyword_5_0()); + + } + // InternalRDL.g:1349:4: ( (lv_addrMod_9_0= RULE_NUM ) ) + // InternalRDL.g:1350:5: (lv_addrMod_9_0= RULE_NUM ) + { + // InternalRDL.g:1350:5: (lv_addrMod_9_0= RULE_NUM ) + // InternalRDL.g:1351:6: lv_addrMod_9_0= RULE_NUM + { + lv_addrMod_9_0=(Token)match(input,RULE_NUM,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_addrMod_9_0, grammarAccess.getComponentInstanceAccess().getAddrModNUMTerminalRuleCall_5_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getComponentInstanceRule()); + } + setWithLastConsumed( + current, + "addrMod", + lv_addrMod_9_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleComponentInstance" + + + // $ANTLR start "entryRuleRange" + // InternalRDL.g:1372: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:1372:46: (iv_ruleRange= ruleRange EOF ) + // InternalRDL.g:1373:2: iv_ruleRange= ruleRange EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getRangeRule()); + } + pushFollow(FOLLOW_1); + iv_ruleRange=ruleRange(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleRange; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRange" + + + // $ANTLR start "ruleRange" + // InternalRDL.g:1379:1: ruleRange returns [EObject current=null] : (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) ; + public final EObject ruleRange() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_left_1_0=null; + Token otherlv_2=null; + Token lv_right_3_0=null; + Token lv_size_4_0=null; + Token otherlv_5=null; + + + enterRule(); + + try { + // InternalRDL.g:1385:2: ( (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) ) + // InternalRDL.g:1386:2: (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) + { + // InternalRDL.g:1386:2: (otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' ) + // InternalRDL.g:1387:3: otherlv_0= '[' ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) otherlv_5= ']' + { + otherlv_0=(Token)match(input,29,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getRangeAccess().getLeftSquareBracketKeyword_0()); + + } + // InternalRDL.g:1391:3: ( ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) | ( (lv_size_4_0= RULE_NUM ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==RULE_NUM) ) { + int LA22_1 = input.LA(2); + + if ( (LA22_1==31) ) { + alt22=2; + } + else if ( (LA22_1==30) ) { + alt22=1; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + switch (alt22) { + case 1 : + // InternalRDL.g:1392:4: ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) + { + // InternalRDL.g:1392:4: ( ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) ) + // InternalRDL.g:1393:5: ( (lv_left_1_0= RULE_NUM ) ) otherlv_2= ':' ( (lv_right_3_0= RULE_NUM ) ) + { + // InternalRDL.g:1393:5: ( (lv_left_1_0= RULE_NUM ) ) + // InternalRDL.g:1394:6: (lv_left_1_0= RULE_NUM ) + { + // InternalRDL.g:1394:6: (lv_left_1_0= RULE_NUM ) + // InternalRDL.g:1395:7: lv_left_1_0= RULE_NUM + { + lv_left_1_0=(Token)match(input,RULE_NUM,FOLLOW_31); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_left_1_0, grammarAccess.getRangeAccess().getLeftNUMTerminalRuleCall_1_0_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + current, + "left", + lv_left_1_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + otherlv_2=(Token)match(input,30,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getRangeAccess().getColonKeyword_1_0_1()); + + } + // InternalRDL.g:1415:5: ( (lv_right_3_0= RULE_NUM ) ) + // InternalRDL.g:1416:6: (lv_right_3_0= RULE_NUM ) + { + // InternalRDL.g:1416:6: (lv_right_3_0= RULE_NUM ) + // InternalRDL.g:1417:7: lv_right_3_0= RULE_NUM + { + lv_right_3_0=(Token)match(input,RULE_NUM,FOLLOW_32); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_right_3_0, grammarAccess.getRangeAccess().getRightNUMTerminalRuleCall_1_0_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + current, + "right", + lv_right_3_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1435:4: ( (lv_size_4_0= RULE_NUM ) ) + { + // InternalRDL.g:1435:4: ( (lv_size_4_0= RULE_NUM ) ) + // InternalRDL.g:1436:5: (lv_size_4_0= RULE_NUM ) + { + // InternalRDL.g:1436:5: (lv_size_4_0= RULE_NUM ) + // InternalRDL.g:1437:6: lv_size_4_0= RULE_NUM + { + lv_size_4_0=(Token)match(input,RULE_NUM,FOLLOW_32); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_size_4_0, grammarAccess.getRangeAccess().getSizeNUMTerminalRuleCall_1_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getRangeRule()); + } + setWithLastConsumed( + current, + "size", + lv_size_4_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + + } + + otherlv_5=(Token)match(input,31,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getRangeAccess().getRightSquareBracketKeyword_2()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRange" + + + // $ANTLR start "entryRulePropertyAssignment" + // InternalRDL.g:1462: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:1462:59: (iv_rulePropertyAssignment= rulePropertyAssignment EOF ) + // InternalRDL.g:1463:2: iv_rulePropertyAssignment= rulePropertyAssignment EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPropertyAssignmentRule()); + } + pushFollow(FOLLOW_1); + iv_rulePropertyAssignment=rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePropertyAssignment; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyAssignment" + + + // $ANTLR start "rulePropertyAssignment" + // InternalRDL.g:1469:1: rulePropertyAssignment returns [EObject current=null] : (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) ; + public final EObject rulePropertyAssignment() throws RecognitionException { + EObject current = null; + + EObject this_DefaultProperyAssignment_0 = null; + + EObject this_ExplicitPropertyAssignment_1 = null; + + EObject this_PostPropertyAssignment_2 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1475:2: ( (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) ) + // InternalRDL.g:1476:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) + { + // InternalRDL.g:1476:2: (this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment | this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment | this_PostPropertyAssignment_2= rulePostPropertyAssignment ) + int alt23=3; + switch ( input.LA(1) ) { + case 19: + { + alt23=1; + } + break; + case 35: + case 36: + case 38: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: + case 112: + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 130: + case 131: + case 132: + case 133: + case 134: + { + alt23=2; + } + break; + case RULE_ID: + { + alt23=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalRDL.g:1477:3: this_DefaultProperyAssignment_0= ruleDefaultProperyAssignment + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getDefaultProperyAssignmentParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_DefaultProperyAssignment_0=ruleDefaultProperyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_DefaultProperyAssignment_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalRDL.g:1489:3: this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ExplicitPropertyAssignment_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 3 : + // InternalRDL.g:1501:3: this_PostPropertyAssignment_2= rulePostPropertyAssignment + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentAccess().getPostPropertyAssignmentParserRuleCall_2()); + + } + pushFollow(FOLLOW_2); + this_PostPropertyAssignment_2=rulePostPropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_PostPropertyAssignment_2; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyAssignment" + + + // $ANTLR start "entryRuleDefaultProperyAssignment" + // InternalRDL.g:1516: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:1516:65: (iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF ) + // InternalRDL.g:1517:2: iv_ruleDefaultProperyAssignment= ruleDefaultProperyAssignment EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDefaultProperyAssignmentRule()); + } + pushFollow(FOLLOW_1); + iv_ruleDefaultProperyAssignment=ruleDefaultProperyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDefaultProperyAssignment; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDefaultProperyAssignment" + + + // $ANTLR start "ruleDefaultProperyAssignment" + // InternalRDL.g:1523:1: ruleDefaultProperyAssignment returns [EObject current=null] : (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) ; + public final EObject ruleDefaultProperyAssignment() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + EObject this_ExplicitPropertyAssignment_1 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1529:2: ( (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) ) + // InternalRDL.g:1530:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) + { + // InternalRDL.g:1530:2: (otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment ) + // InternalRDL.g:1531:3: otherlv_0= 'default' this_ExplicitPropertyAssignment_1= ruleExplicitPropertyAssignment + { + otherlv_0=(Token)match(input,19,FOLLOW_33); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getDefaultProperyAssignmentAccess().getDefaultKeyword_0()); + + } + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getDefaultProperyAssignmentAccess().getExplicitPropertyAssignmentParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_ExplicitPropertyAssignment_1=ruleExplicitPropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ExplicitPropertyAssignment_1; + afterParserOrEnumRuleCall(); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDefaultProperyAssignment" + + + // $ANTLR start "entryRuleExplicitPropertyAssignment" + // InternalRDL.g:1550: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:1550:67: (iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF ) + // InternalRDL.g:1551:2: iv_ruleExplicitPropertyAssignment= ruleExplicitPropertyAssignment EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentRule()); + } + pushFollow(FOLLOW_1); + iv_ruleExplicitPropertyAssignment=ruleExplicitPropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleExplicitPropertyAssignment; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleExplicitPropertyAssignment" + + + // $ANTLR start "ruleExplicitPropertyAssignment" + // InternalRDL.g:1557:1: ruleExplicitPropertyAssignment returns [EObject current=null] : ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) ) ; + public final EObject ruleExplicitPropertyAssignment() throws RecognitionException { + EObject current = null; + + Token otherlv_3=null; + Enumerator lv_modifier_0_0 = null; + + Enumerator lv_name_1_0 = null; + + Enumerator lv_name_2_0 = null; + + EObject lv_rhs_4_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1563:2: ( ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) ) ) + // InternalRDL.g:1564:2: ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) ) + { + // InternalRDL.g:1564:2: ( ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) | ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) ) + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==121||(LA25_0>=130 && LA25_0<=134)) ) { + alt25=1; + } + else if ( ((LA25_0>=35 && LA25_0<=36)||LA25_0==38||(LA25_0>=49 && LA25_0<=120)) ) { + alt25=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + switch (alt25) { + case 1 : + // InternalRDL.g:1565:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) + { + // InternalRDL.g:1565:3: ( ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) ) + // InternalRDL.g:1566:4: ( (lv_modifier_0_0= rulePropertyModifier ) ) ( (lv_name_1_0= ruleProperty ) ) + { + // InternalRDL.g:1566:4: ( (lv_modifier_0_0= rulePropertyModifier ) ) + // InternalRDL.g:1567:5: (lv_modifier_0_0= rulePropertyModifier ) + { + // InternalRDL.g:1567:5: (lv_modifier_0_0= rulePropertyModifier ) + // InternalRDL.g:1568:6: lv_modifier_0_0= rulePropertyModifier + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getModifierPropertyModifierEnumRuleCall_0_0_0()); + + } + pushFollow(FOLLOW_33); + lv_modifier_0_0=rulePropertyModifier(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + current, + "modifier", + lv_modifier_0_0, + "com.minres.rdl.RDL.PropertyModifier"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:1585:4: ( (lv_name_1_0= ruleProperty ) ) + // InternalRDL.g:1586:5: (lv_name_1_0= ruleProperty ) + { + // InternalRDL.g:1586:5: (lv_name_1_0= ruleProperty ) + // InternalRDL.g:1587:6: lv_name_1_0= ruleProperty + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_0_1_0()); + + } + pushFollow(FOLLOW_2); + lv_name_1_0=ruleProperty(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1606:3: ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) + { + // InternalRDL.g:1606:3: ( ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? ) + // InternalRDL.g:1607:4: ( (lv_name_2_0= ruleProperty ) ) (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? + { + // InternalRDL.g:1607:4: ( (lv_name_2_0= ruleProperty ) ) + // InternalRDL.g:1608:5: (lv_name_2_0= ruleProperty ) + { + // InternalRDL.g:1608:5: (lv_name_2_0= ruleProperty ) + // InternalRDL.g:1609:6: lv_name_2_0= ruleProperty + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getNamePropertyEnumRuleCall_1_0_0()); + + } + pushFollow(FOLLOW_34); + lv_name_2_0=ruleProperty(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + current, + "name", + lv_name_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:1626:4: (otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) )? + int alt24=2; + int LA24_0 = input.LA(1); + + if ( (LA24_0==17) ) { + alt24=1; + } + switch (alt24) { + case 1 : + // InternalRDL.g:1627:5: otherlv_3= '=' ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) + { + otherlv_3=(Token)match(input,17,FOLLOW_35); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getExplicitPropertyAssignmentAccess().getEqualsSignKeyword_1_1_0()); + + } + // InternalRDL.g:1631:5: ( (lv_rhs_4_0= rulePropertyAssignmentRhs ) ) + // InternalRDL.g:1632:6: (lv_rhs_4_0= rulePropertyAssignmentRhs ) + { + // InternalRDL.g:1632:6: (lv_rhs_4_0= rulePropertyAssignmentRhs ) + // InternalRDL.g:1633:7: lv_rhs_4_0= rulePropertyAssignmentRhs + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getExplicitPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_1_0()); + + } + pushFollow(FOLLOW_2); + lv_rhs_4_0=rulePropertyAssignmentRhs(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExplicitPropertyAssignmentRule()); + } + set( + current, + "rhs", + lv_rhs_4_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExplicitPropertyAssignment" + + + // $ANTLR start "entryRulePostPropertyAssignment" + // InternalRDL.g:1656: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:1656:63: (iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF ) + // InternalRDL.g:1657:2: iv_rulePostPropertyAssignment= rulePostPropertyAssignment EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPostPropertyAssignmentRule()); + } + pushFollow(FOLLOW_1); + iv_rulePostPropertyAssignment=rulePostPropertyAssignment(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePostPropertyAssignment; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePostPropertyAssignment" + + + // $ANTLR start "rulePostPropertyAssignment" + // InternalRDL.g:1663:1: rulePostPropertyAssignment returns [EObject current=null] : ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? ) ; + public final EObject rulePostPropertyAssignment() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_4=null; + Token otherlv_5=null; + EObject lv_instance_0_0 = null; + + Enumerator lv_propertyEnum_2_0 = null; + + EObject lv_rhs_6_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1669:2: ( ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? ) ) + // InternalRDL.g:1670:2: ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? ) + { + // InternalRDL.g:1670:2: ( ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? ) + // InternalRDL.g:1671:3: ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? + { + // InternalRDL.g:1671:3: ( ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) | ( (otherlv_4= RULE_ID ) ) ) + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==RULE_ID) ) { + int LA27_1 = input.LA(2); + + if ( (LA27_1==EOF||LA27_1==12||LA27_1==17) ) { + alt27=2; + } + else if ( ((LA27_1>=32 && LA27_1<=33)) ) { + alt27=1; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 27, 1, input); + + throw nvae; + } + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 27, 0, input); + + throw nvae; + } + switch (alt27) { + case 1 : + // InternalRDL.g:1672:4: ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) + { + // InternalRDL.g:1672:4: ( ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) ) + // InternalRDL.g:1673:5: ( (lv_instance_0_0= ruleHierInstanceRef ) ) otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) + { + // InternalRDL.g:1673:5: ( (lv_instance_0_0= ruleHierInstanceRef ) ) + // InternalRDL.g:1674:6: (lv_instance_0_0= ruleHierInstanceRef ) + { + // InternalRDL.g:1674:6: (lv_instance_0_0= ruleHierInstanceRef ) + // InternalRDL.g:1675:7: lv_instance_0_0= ruleHierInstanceRef + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getInstanceHierInstanceRefParserRuleCall_0_0_0_0()); + + } + pushFollow(FOLLOW_36); + lv_instance_0_0=ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + current, + "instance", + lv_instance_0_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_1=(Token)match(input,32,FOLLOW_37); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getPostPropertyAssignmentAccess().getHyphenMinusGreaterThanSignKeyword_0_0_1()); + + } + // InternalRDL.g:1696:5: ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) + int alt26=2; + int LA26_0 = input.LA(1); + + if ( ((LA26_0>=35 && LA26_0<=36)||LA26_0==38||(LA26_0>=49 && LA26_0<=120)) ) { + alt26=1; + } + else if ( (LA26_0==RULE_ID) ) { + alt26=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 26, 0, input); + + throw nvae; + } + switch (alt26) { + case 1 : + // InternalRDL.g:1697:6: ( (lv_propertyEnum_2_0= ruleProperty ) ) + { + // InternalRDL.g:1697:6: ( (lv_propertyEnum_2_0= ruleProperty ) ) + // InternalRDL.g:1698:7: (lv_propertyEnum_2_0= ruleProperty ) + { + // InternalRDL.g:1698:7: (lv_propertyEnum_2_0= ruleProperty ) + // InternalRDL.g:1699:8: lv_propertyEnum_2_0= ruleProperty + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getPropertyEnumPropertyEnumRuleCall_0_0_2_0_0()); + + } + pushFollow(FOLLOW_34); + lv_propertyEnum_2_0=ruleProperty(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + current, + "propertyEnum", + lv_propertyEnum_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1717:6: ( (otherlv_3= RULE_ID ) ) + { + // InternalRDL.g:1717:6: ( (otherlv_3= RULE_ID ) ) + // InternalRDL.g:1718:7: (otherlv_3= RULE_ID ) + { + // InternalRDL.g:1718:7: (otherlv_3= RULE_ID ) + // InternalRDL.g:1719:8: otherlv_3= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPostPropertyAssignmentRule()); + } + + } + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_34); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_0_2_1_0()); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1736:4: ( (otherlv_4= RULE_ID ) ) + { + // InternalRDL.g:1736:4: ( (otherlv_4= RULE_ID ) ) + // InternalRDL.g:1737:5: (otherlv_4= RULE_ID ) + { + // InternalRDL.g:1737:5: (otherlv_4= RULE_ID ) + // InternalRDL.g:1738:6: otherlv_4= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPostPropertyAssignmentRule()); + } + + } + otherlv_4=(Token)match(input,RULE_ID,FOLLOW_34); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getPostPropertyAssignmentAccess().getPropertyPropertyDefinitionCrossReference_0_1_0()); + + } + + } + + + } + + + } + break; + + } + + // InternalRDL.g:1753:3: (otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) )? + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==17) ) { + alt28=1; + } + switch (alt28) { + case 1 : + // InternalRDL.g:1754:4: otherlv_5= '=' ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) + { + otherlv_5=(Token)match(input,17,FOLLOW_35); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getPostPropertyAssignmentAccess().getEqualsSignKeyword_1_0()); + + } + // InternalRDL.g:1758:4: ( (lv_rhs_6_0= rulePropertyAssignmentRhs ) ) + // InternalRDL.g:1759:5: (lv_rhs_6_0= rulePropertyAssignmentRhs ) + { + // InternalRDL.g:1759:5: (lv_rhs_6_0= rulePropertyAssignmentRhs ) + // InternalRDL.g:1760:6: lv_rhs_6_0= rulePropertyAssignmentRhs + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPostPropertyAssignmentAccess().getRhsPropertyAssignmentRhsParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_2); + lv_rhs_6_0=rulePropertyAssignmentRhs(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPostPropertyAssignmentRule()); + } + set( + current, + "rhs", + lv_rhs_6_0, + "com.minres.rdl.RDL.PropertyAssignmentRhs"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePostPropertyAssignment" + + + // $ANTLR start "entryRuleInstancePropertyRef" + // InternalRDL.g:1782: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:1782:60: (iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF ) + // InternalRDL.g:1783:2: iv_ruleInstancePropertyRef= ruleInstancePropertyRef EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getInstancePropertyRefRule()); + } + pushFollow(FOLLOW_1); + iv_ruleInstancePropertyRef=ruleInstancePropertyRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleInstancePropertyRef; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInstancePropertyRef" + + + // $ANTLR start "ruleInstancePropertyRef" + // InternalRDL.g:1789:1: ruleInstancePropertyRef returns [EObject current=null] : ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) ; + public final EObject ruleInstancePropertyRef() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + EObject lv_instance_0_0 = null; + + Enumerator lv_propertyEnum_2_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1795:2: ( ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) ) + // InternalRDL.g:1796:2: ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) + { + // InternalRDL.g:1796:2: ( ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? ) + // InternalRDL.g:1797:3: ( (lv_instance_0_0= ruleInstanceRef ) ) (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? + { + // InternalRDL.g:1797:3: ( (lv_instance_0_0= ruleInstanceRef ) ) + // InternalRDL.g:1798:4: (lv_instance_0_0= ruleInstanceRef ) + { + // InternalRDL.g:1798:4: (lv_instance_0_0= ruleInstanceRef ) + // InternalRDL.g:1799:5: lv_instance_0_0= ruleInstanceRef + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getInstanceInstanceRefParserRuleCall_0_0()); + + } + pushFollow(FOLLOW_38); + lv_instance_0_0=ruleInstanceRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule()); + } + set( + current, + "instance", + lv_instance_0_0, + "com.minres.rdl.RDL.InstanceRef"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:1816:3: (otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==32) ) { + alt30=1; + } + switch (alt30) { + case 1 : + // InternalRDL.g:1817:4: otherlv_1= '->' ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) + { + otherlv_1=(Token)match(input,32,FOLLOW_37); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getInstancePropertyRefAccess().getHyphenMinusGreaterThanSignKeyword_1_0()); + + } + // InternalRDL.g:1821:4: ( ( (lv_propertyEnum_2_0= ruleProperty ) ) | ( (otherlv_3= RULE_ID ) ) ) + int alt29=2; + int LA29_0 = input.LA(1); + + if ( ((LA29_0>=35 && LA29_0<=36)||LA29_0==38||(LA29_0>=49 && LA29_0<=120)) ) { + alt29=1; + } + else if ( (LA29_0==RULE_ID) ) { + alt29=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 29, 0, input); + + throw nvae; + } + switch (alt29) { + case 1 : + // InternalRDL.g:1822:5: ( (lv_propertyEnum_2_0= ruleProperty ) ) + { + // InternalRDL.g:1822:5: ( (lv_propertyEnum_2_0= ruleProperty ) ) + // InternalRDL.g:1823:6: (lv_propertyEnum_2_0= ruleProperty ) + { + // InternalRDL.g:1823:6: (lv_propertyEnum_2_0= ruleProperty ) + // InternalRDL.g:1824:7: lv_propertyEnum_2_0= ruleProperty + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstancePropertyRefAccess().getPropertyEnumPropertyEnumRuleCall_1_1_0_0()); + + } + pushFollow(FOLLOW_2); + lv_propertyEnum_2_0=ruleProperty(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstancePropertyRefRule()); + } + set( + current, + "propertyEnum", + lv_propertyEnum_2_0, + "com.minres.rdl.RDL.Property"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:1842:5: ( (otherlv_3= RULE_ID ) ) + { + // InternalRDL.g:1842:5: ( (otherlv_3= RULE_ID ) ) + // InternalRDL.g:1843:6: (otherlv_3= RULE_ID ) + { + // InternalRDL.g:1843:6: (otherlv_3= RULE_ID ) + // InternalRDL.g:1844:7: otherlv_3= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getInstancePropertyRefRule()); + } + + } + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getInstancePropertyRefAccess().getPropertyPropertyDefinitionCrossReference_1_1_1_0()); + + } + + } + + + } + + + } + break; + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInstancePropertyRef" + + + // $ANTLR start "entryRuleInstanceRef" + // InternalRDL.g:1864: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:1864:52: (iv_ruleInstanceRef= ruleInstanceRef EOF ) + // InternalRDL.g:1865:2: iv_ruleInstanceRef= ruleInstanceRef EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getInstanceRefRule()); + } + pushFollow(FOLLOW_1); + iv_ruleInstanceRef=ruleInstanceRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleInstanceRef; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInstanceRef" + + + // $ANTLR start "ruleInstanceRef" + // InternalRDL.g:1871:1: ruleInstanceRef returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ; + public final EObject ruleInstanceRef() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + EObject lv_tail_2_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1877:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ) + // InternalRDL.g:1878:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) + { + // InternalRDL.g:1878:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) + // InternalRDL.g:1879:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? + { + // InternalRDL.g:1879:3: ( (otherlv_0= RULE_ID ) ) + // InternalRDL.g:1880:4: (otherlv_0= RULE_ID ) + { + // InternalRDL.g:1880:4: (otherlv_0= RULE_ID ) + // InternalRDL.g:1881:5: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getInstanceRefRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_39); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getInstanceRefAccess().getInstanceEntityCrossReference_0_0()); + + } + + } + + + } + + // InternalRDL.g:1895:3: (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==33) ) { + alt31=1; + } + switch (alt31) { + case 1 : + // InternalRDL.g:1896:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) + { + otherlv_1=(Token)match(input,33,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getInstanceRefAccess().getFullStopKeyword_1_0()); + + } + // InternalRDL.g:1900:4: ( (lv_tail_2_0= ruleHierInstanceRef ) ) + // InternalRDL.g:1901:5: (lv_tail_2_0= ruleHierInstanceRef ) + { + // InternalRDL.g:1901:5: (lv_tail_2_0= ruleHierInstanceRef ) + // InternalRDL.g:1902:6: lv_tail_2_0= ruleHierInstanceRef + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_2); + lv_tail_2_0=ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInstanceRefRule()); + } + set( + current, + "tail", + lv_tail_2_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInstanceRef" + + + // $ANTLR start "entryRuleHierInstanceRef" + // InternalRDL.g:1924: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:1924:56: (iv_ruleHierInstanceRef= ruleHierInstanceRef EOF ) + // InternalRDL.g:1925:2: iv_ruleHierInstanceRef= ruleHierInstanceRef EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getHierInstanceRefRule()); + } + pushFollow(FOLLOW_1); + iv_ruleHierInstanceRef=ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleHierInstanceRef; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleHierInstanceRef" + + + // $ANTLR start "ruleHierInstanceRef" + // InternalRDL.g:1931:1: ruleHierInstanceRef returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ; + public final EObject ruleHierInstanceRef() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + EObject lv_tail_2_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:1937:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) ) + // InternalRDL.g:1938:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) + { + // InternalRDL.g:1938:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? ) + // InternalRDL.g:1939:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? + { + // InternalRDL.g:1939:3: ( (otherlv_0= RULE_ID ) ) + // InternalRDL.g:1940:4: (otherlv_0= RULE_ID ) + { + // InternalRDL.g:1940:4: (otherlv_0= RULE_ID ) + // InternalRDL.g:1941:5: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getHierInstanceRefRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_39); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getHierInstanceRefAccess().getInstanceComponentInstanceCrossReference_0_0()); + + } + + } + + + } + + // InternalRDL.g:1955:3: (otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) )? + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==33) ) { + alt32=1; + } + switch (alt32) { + case 1 : + // InternalRDL.g:1956:4: otherlv_1= '.' ( (lv_tail_2_0= ruleHierInstanceRef ) ) + { + otherlv_1=(Token)match(input,33,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getHierInstanceRefAccess().getFullStopKeyword_1_0()); + + } + // InternalRDL.g:1960:4: ( (lv_tail_2_0= ruleHierInstanceRef ) ) + // InternalRDL.g:1961:5: (lv_tail_2_0= ruleHierInstanceRef ) + { + // InternalRDL.g:1961:5: (lv_tail_2_0= ruleHierInstanceRef ) + // InternalRDL.g:1962:6: lv_tail_2_0= ruleHierInstanceRef + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getHierInstanceRefAccess().getTailHierInstanceRefParserRuleCall_1_1_0()); + + } + pushFollow(FOLLOW_2); + lv_tail_2_0=ruleHierInstanceRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getHierInstanceRefRule()); + } + set( + current, + "tail", + lv_tail_2_0, + "com.minres.rdl.RDL.HierInstanceRef"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleHierInstanceRef" + + + // $ANTLR start "entryRulePropertyAssignmentRhs" + // InternalRDL.g:1984: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:1984:62: (iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF ) + // InternalRDL.g:1985:2: iv_rulePropertyAssignmentRhs= rulePropertyAssignmentRhs EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPropertyAssignmentRhsRule()); + } + pushFollow(FOLLOW_1); + iv_rulePropertyAssignmentRhs=rulePropertyAssignmentRhs(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePropertyAssignmentRhs; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyAssignmentRhs" + + + // $ANTLR start "rulePropertyAssignmentRhs" + // InternalRDL.g:1991:1: rulePropertyAssignmentRhs returns [EObject current=null] : ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) ; + public final EObject rulePropertyAssignmentRhs() throws RecognitionException { + EObject current = null; + + 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:1997:2: ( ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) ) + // InternalRDL.g:1998:2: ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) + { + // InternalRDL.g:1998:2: ( ( (lv_value_0_0= rulePropertyRvalueConstant ) ) | ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) | ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) | ( (lv_elements_5_0= ruleConcat ) ) ) + int alt33=4; + switch ( input.LA(1) ) { + case RULE_STR: + case RULE_NUM: + case 20: + case 21: + case 106: + case 107: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: + case 128: + case 129: + { + alt33=1; + } + break; + case RULE_ID: + { + int LA33_2 = input.LA(2); + + if ( (LA33_2==EOF||LA33_2==12||(LA33_2>=32 && LA33_2<=33)) ) { + alt33=2; + } + else if ( (LA33_2==34) ) { + alt33=3; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 33, 2, input); + + throw nvae; + } + } + break; + case 15: + { + alt33=4; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 33, 0, input); + + throw nvae; + } + + switch (alt33) { + case 1 : + // InternalRDL.g:1999:3: ( (lv_value_0_0= rulePropertyRvalueConstant ) ) + { + // InternalRDL.g:1999:3: ( (lv_value_0_0= rulePropertyRvalueConstant ) ) + // InternalRDL.g:2000:4: (lv_value_0_0= rulePropertyRvalueConstant ) + { + // InternalRDL.g:2000:4: (lv_value_0_0= rulePropertyRvalueConstant ) + // InternalRDL.g:2001:5: lv_value_0_0= rulePropertyRvalueConstant + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getValuePropertyRvalueConstantParserRuleCall_0_0()); + + } + pushFollow(FOLLOW_2); + lv_value_0_0=rulePropertyRvalueConstant(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "value", + lv_value_0_0, + "com.minres.rdl.RDL.PropertyRvalueConstant"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2019:3: ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) + { + // InternalRDL.g:2019:3: ( (lv_instPropRef_1_0= ruleInstancePropertyRef ) ) + // InternalRDL.g:2020:4: (lv_instPropRef_1_0= ruleInstancePropertyRef ) + { + // InternalRDL.g:2020:4: (lv_instPropRef_1_0= ruleInstancePropertyRef ) + // InternalRDL.g:2021:5: lv_instPropRef_1_0= ruleInstancePropertyRef + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getInstPropRefInstancePropertyRefParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_2); + lv_instPropRef_1_0=ruleInstancePropertyRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "instPropRef", + lv_instPropRef_1_0, + "com.minres.rdl.RDL.InstancePropertyRef"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:2039:3: ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) + { + // InternalRDL.g:2039:3: ( ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) ) + // InternalRDL.g:2040:4: ( (otherlv_2= RULE_ID ) ) otherlv_3= 'enum' ( (lv_enums_4_0= ruleEnumBody ) ) + { + // InternalRDL.g:2040:4: ( (otherlv_2= RULE_ID ) ) + // InternalRDL.g:2041:5: (otherlv_2= RULE_ID ) + { + // InternalRDL.g:2041:5: (otherlv_2= RULE_ID ) + // InternalRDL.g:2042:6: otherlv_2= RULE_ID + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyAssignmentRhsRule()); + } + + } + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_40); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getPropertyAssignmentRhsAccess().getEnumRefEnumDefinitionCrossReference_2_0_0()); + + } + + } + + + } + + otherlv_3=(Token)match(input,34,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getPropertyAssignmentRhsAccess().getEnumKeyword_2_1()); + + } + // InternalRDL.g:2060:4: ( (lv_enums_4_0= ruleEnumBody ) ) + // InternalRDL.g:2061:5: (lv_enums_4_0= ruleEnumBody ) + { + // InternalRDL.g:2061:5: (lv_enums_4_0= ruleEnumBody ) + // InternalRDL.g:2062:6: lv_enums_4_0= ruleEnumBody + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getEnumsEnumBodyParserRuleCall_2_2_0()); + + } + pushFollow(FOLLOW_2); + lv_enums_4_0=ruleEnumBody(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "enums", + lv_enums_4_0, + "com.minres.rdl.RDL.EnumBody"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + break; + case 4 : + // InternalRDL.g:2081:3: ( (lv_elements_5_0= ruleConcat ) ) + { + // InternalRDL.g:2081:3: ( (lv_elements_5_0= ruleConcat ) ) + // InternalRDL.g:2082:4: (lv_elements_5_0= ruleConcat ) + { + // InternalRDL.g:2082:4: (lv_elements_5_0= ruleConcat ) + // InternalRDL.g:2083:5: lv_elements_5_0= ruleConcat + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyAssignmentRhsAccess().getElementsConcatParserRuleCall_3_0()); + + } + pushFollow(FOLLOW_2); + lv_elements_5_0=ruleConcat(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyAssignmentRhsRule()); + } + set( + current, + "elements", + lv_elements_5_0, + "com.minres.rdl.RDL.Concat"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyAssignmentRhs" + + + // $ANTLR start "entryRuleConcat" + // InternalRDL.g:2104: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:2104:47: (iv_ruleConcat= ruleConcat EOF ) + // InternalRDL.g:2105:2: iv_ruleConcat= ruleConcat EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConcatRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConcat=ruleConcat(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConcat; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConcat" + + + // $ANTLR start "ruleConcat" + // InternalRDL.g:2111:1: ruleConcat returns [EObject current=null] : (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) ; + public final EObject ruleConcat() throws RecognitionException { + EObject current = null; + + 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:2117:2: ( (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) ) + // InternalRDL.g:2118:2: (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) + { + // InternalRDL.g:2118:2: (otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' ) + // InternalRDL.g:2119:3: otherlv_0= '{' ( (lv_elements_1_0= ruleConcatElem ) ) (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,15,FOLLOW_41); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getConcatAccess().getLeftCurlyBracketKeyword_0()); + + } + // InternalRDL.g:2123:3: ( (lv_elements_1_0= ruleConcatElem ) ) + // InternalRDL.g:2124:4: (lv_elements_1_0= ruleConcatElem ) + { + // InternalRDL.g:2124:4: (lv_elements_1_0= ruleConcatElem ) + // InternalRDL.g:2125:5: lv_elements_1_0= ruleConcatElem + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_42); + lv_elements_1_0=ruleConcatElem(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConcatRule()); + } + add( + current, + "elements", + lv_elements_1_0, + "com.minres.rdl.RDL.ConcatElem"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalRDL.g:2142:3: (otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) )* + loop34: + do { + int alt34=2; + int LA34_0 = input.LA(1); + + if ( (LA34_0==25) ) { + alt34=1; + } + + + switch (alt34) { + case 1 : + // InternalRDL.g:2143:4: otherlv_2= ',' ( (lv_elements_3_0= ruleConcatElem ) ) + { + otherlv_2=(Token)match(input,25,FOLLOW_41); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getConcatAccess().getCommaKeyword_2_0()); + + } + // InternalRDL.g:2147:4: ( (lv_elements_3_0= ruleConcatElem ) ) + // InternalRDL.g:2148:5: (lv_elements_3_0= ruleConcatElem ) + { + // InternalRDL.g:2148:5: (lv_elements_3_0= ruleConcatElem ) + // InternalRDL.g:2149:6: lv_elements_3_0= ruleConcatElem + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConcatAccess().getElementsConcatElemParserRuleCall_2_1_0()); + + } + pushFollow(FOLLOW_42); + lv_elements_3_0=ruleConcatElem(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConcatRule()); + } + add( + current, + "elements", + lv_elements_3_0, + "com.minres.rdl.RDL.ConcatElem"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop34; + } + } while (true); + + otherlv_4=(Token)match(input,18,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getConcatAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConcat" + + + // $ANTLR start "entryRuleConcatElem" + // InternalRDL.g:2175: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:2175:51: (iv_ruleConcatElem= ruleConcatElem EOF ) + // InternalRDL.g:2176:2: iv_ruleConcatElem= ruleConcatElem EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConcatElemRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConcatElem=ruleConcatElem(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConcatElem; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConcatElem" + + + // $ANTLR start "ruleConcatElem" + // InternalRDL.g:2182:1: ruleConcatElem returns [EObject current=null] : ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) ; + public final EObject ruleConcatElem() throws RecognitionException { + EObject current = null; + + Token lv_value_1_0=null; + EObject lv_instPropRef_0_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:2188:2: ( ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) ) + // InternalRDL.g:2189:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) + { + // InternalRDL.g:2189:2: ( ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) | ( (lv_value_1_0= RULE_NUM ) ) ) + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==RULE_ID) ) { + alt35=1; + } + else if ( (LA35_0==RULE_NUM) ) { + alt35=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 35, 0, input); + + throw nvae; + } + switch (alt35) { + case 1 : + // InternalRDL.g:2190:3: ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) + { + // InternalRDL.g:2190:3: ( (lv_instPropRef_0_0= ruleInstancePropertyRef ) ) + // InternalRDL.g:2191:4: (lv_instPropRef_0_0= ruleInstancePropertyRef ) + { + // InternalRDL.g:2191:4: (lv_instPropRef_0_0= ruleInstancePropertyRef ) + // InternalRDL.g:2192:5: lv_instPropRef_0_0= ruleInstancePropertyRef + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConcatElemAccess().getInstPropRefInstancePropertyRefParserRuleCall_0_0()); + + } + pushFollow(FOLLOW_2); + lv_instPropRef_0_0=ruleInstancePropertyRef(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConcatElemRule()); + } + set( + current, + "instPropRef", + lv_instPropRef_0_0, + "com.minres.rdl.RDL.InstancePropertyRef"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2210:3: ( (lv_value_1_0= RULE_NUM ) ) + { + // InternalRDL.g:2210:3: ( (lv_value_1_0= RULE_NUM ) ) + // InternalRDL.g:2211:4: (lv_value_1_0= RULE_NUM ) + { + // InternalRDL.g:2211:4: (lv_value_1_0= RULE_NUM ) + // InternalRDL.g:2212:5: lv_value_1_0= RULE_NUM + { + lv_value_1_0=(Token)match(input,RULE_NUM,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_value_1_0, grammarAccess.getConcatElemAccess().getValueNUMTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getConcatElemRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_1_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConcatElem" + + + // $ANTLR start "entryRulePropertyRvalueConstant" + // InternalRDL.g:2232: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:2232:63: (iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF ) + // InternalRDL.g:2233:2: iv_rulePropertyRvalueConstant= rulePropertyRvalueConstant EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPropertyRvalueConstantRule()); + } + pushFollow(FOLLOW_1); + iv_rulePropertyRvalueConstant=rulePropertyRvalueConstant(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePropertyRvalueConstant; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePropertyRvalueConstant" + + + // $ANTLR start "rulePropertyRvalueConstant" + // InternalRDL.g:2239:1: rulePropertyRvalueConstant returns [EObject current=null] : ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) ; + public final EObject rulePropertyRvalueConstant() throws RecognitionException { + EObject current = null; + + Token lv_num_1_0=null; + Token lv_str_2_0=null; + Enumerator lv_val_0_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:2245:2: ( ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) ) + // InternalRDL.g:2246:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) + { + // InternalRDL.g:2246:2: ( ( (lv_val_0_0= ruleRValueConstant ) ) | ( (lv_num_1_0= RULE_NUM ) ) | ( (lv_str_2_0= RULE_STR ) ) ) + int alt36=3; + switch ( input.LA(1) ) { + case 20: + case 21: + case 106: + case 107: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: + case 128: + case 129: + { + alt36=1; + } + break; + case RULE_NUM: + { + alt36=2; + } + break; + case RULE_STR: + { + alt36=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 36, 0, input); + + throw nvae; + } + + switch (alt36) { + case 1 : + // InternalRDL.g:2247:3: ( (lv_val_0_0= ruleRValueConstant ) ) + { + // InternalRDL.g:2247:3: ( (lv_val_0_0= ruleRValueConstant ) ) + // InternalRDL.g:2248:4: (lv_val_0_0= ruleRValueConstant ) + { + // InternalRDL.g:2248:4: (lv_val_0_0= ruleRValueConstant ) + // InternalRDL.g:2249:5: lv_val_0_0= ruleRValueConstant + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPropertyRvalueConstantAccess().getValRValueConstantEnumRuleCall_0_0()); + + } + pushFollow(FOLLOW_2); + lv_val_0_0=ruleRValueConstant(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPropertyRvalueConstantRule()); + } + set( + current, + "val", + lv_val_0_0, + "com.minres.rdl.RDL.RValueConstant"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2267:3: ( (lv_num_1_0= RULE_NUM ) ) + { + // InternalRDL.g:2267:3: ( (lv_num_1_0= RULE_NUM ) ) + // InternalRDL.g:2268:4: (lv_num_1_0= RULE_NUM ) + { + // InternalRDL.g:2268:4: (lv_num_1_0= RULE_NUM ) + // InternalRDL.g:2269:5: lv_num_1_0= RULE_NUM + { + lv_num_1_0=(Token)match(input,RULE_NUM,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_num_1_0, grammarAccess.getPropertyRvalueConstantAccess().getNumNUMTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyRvalueConstantRule()); + } + setWithLastConsumed( + current, + "num", + lv_num_1_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + + } + break; + case 3 : + // InternalRDL.g:2286:3: ( (lv_str_2_0= RULE_STR ) ) + { + // InternalRDL.g:2286:3: ( (lv_str_2_0= RULE_STR ) ) + // InternalRDL.g:2287:4: (lv_str_2_0= RULE_STR ) + { + // InternalRDL.g:2287:4: (lv_str_2_0= RULE_STR ) + // InternalRDL.g:2288:5: lv_str_2_0= RULE_STR + { + lv_str_2_0=(Token)match(input,RULE_STR,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_str_2_0, grammarAccess.getPropertyRvalueConstantAccess().getStrSTRTerminalRuleCall_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPropertyRvalueConstantRule()); + } + setWithLastConsumed( + current, + "str", + lv_str_2_0, + "com.minres.rdl.RDL.STR"); + + } + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyRvalueConstant" + + + // $ANTLR start "entryRuleEnumDefinition" + // InternalRDL.g:2308: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:2308:55: (iv_ruleEnumDefinition= ruleEnumDefinition EOF ) + // InternalRDL.g:2309:2: iv_ruleEnumDefinition= ruleEnumDefinition EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getEnumDefinitionRule()); + } + pushFollow(FOLLOW_1); + iv_ruleEnumDefinition=ruleEnumDefinition(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleEnumDefinition; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumDefinition" + + + // $ANTLR start "ruleEnumDefinition" + // InternalRDL.g:2315:1: ruleEnumDefinition returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) ) ; + public final EObject ruleEnumDefinition() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_body_2_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:2321:2: ( (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) ) ) + // InternalRDL.g:2322:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) ) + { + // InternalRDL.g:2322:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) ) + // InternalRDL.g:2323:3: otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) ( (lv_body_2_0= ruleEnumBody ) ) + { + otherlv_0=(Token)match(input,34,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getEnumDefinitionAccess().getEnumKeyword_0()); + + } + // InternalRDL.g:2327:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalRDL.g:2328:4: (lv_name_1_0= RULE_ID ) + { + // InternalRDL.g:2328:4: (lv_name_1_0= RULE_ID ) + // InternalRDL.g:2329:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getEnumDefinitionAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumDefinitionRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "com.minres.rdl.RDL.ID"); + + } + + } + + + } + + // InternalRDL.g:2345:3: ( (lv_body_2_0= ruleEnumBody ) ) + // InternalRDL.g:2346:4: (lv_body_2_0= ruleEnumBody ) + { + // InternalRDL.g:2346:4: (lv_body_2_0= ruleEnumBody ) + // InternalRDL.g:2347:5: lv_body_2_0= ruleEnumBody + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getEnumDefinitionAccess().getBodyEnumBodyParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_2); + lv_body_2_0=ruleEnumBody(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumDefinitionRule()); + } + set( + current, + "body", + lv_body_2_0, + "com.minres.rdl.RDL.EnumBody"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumDefinition" + + + // $ANTLR start "entryRuleEnumBody" + // InternalRDL.g:2368: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:2368:49: (iv_ruleEnumBody= ruleEnumBody EOF ) + // InternalRDL.g:2369:2: iv_ruleEnumBody= ruleEnumBody EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getEnumBodyRule()); + } + pushFollow(FOLLOW_1); + iv_ruleEnumBody=ruleEnumBody(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleEnumBody; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumBody" + + + // $ANTLR start "ruleEnumBody" + // InternalRDL.g:2375:1: ruleEnumBody returns [EObject current=null] : (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) ; + public final EObject ruleEnumBody() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_3=null; + EObject lv_entries_2_0 = null; + + + + enterRule(); + + try { + // InternalRDL.g:2381:2: ( (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) ) + // InternalRDL.g:2382:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) + { + // InternalRDL.g:2382:2: (otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' ) + // InternalRDL.g:2383:3: otherlv_0= '{' () ( (lv_entries_2_0= ruleEnumEntry ) )* otherlv_3= '}' + { + otherlv_0=(Token)match(input,15,FOLLOW_43); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getEnumBodyAccess().getLeftCurlyBracketKeyword_0()); + + } + // InternalRDL.g:2387:3: () + // InternalRDL.g:2388:4: + { + if ( state.backtracking==0 ) { + + /* */ + + } + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getEnumBodyAccess().getEnumBodyAction_1(), + current); + + } + + } + + // InternalRDL.g:2397:3: ( (lv_entries_2_0= ruleEnumEntry ) )* + loop37: + do { + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==RULE_ID) ) { + alt37=1; + } + + + switch (alt37) { + case 1 : + // InternalRDL.g:2398:4: (lv_entries_2_0= ruleEnumEntry ) + { + // InternalRDL.g:2398:4: (lv_entries_2_0= ruleEnumEntry ) + // InternalRDL.g:2399:5: lv_entries_2_0= ruleEnumEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getEnumBodyAccess().getEntriesEnumEntryParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_43); + lv_entries_2_0=ruleEnumEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumBodyRule()); + } + add( + current, + "entries", + lv_entries_2_0, + "com.minres.rdl.RDL.EnumEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + default : + break loop37; + } + } while (true); + + otherlv_3=(Token)match(input,18,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getEnumBodyAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumBody" + + + // $ANTLR start "entryRuleEnumEntry" + // InternalRDL.g:2424: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:2424:50: (iv_ruleEnumEntry= ruleEnumEntry EOF ) + // InternalRDL.g:2425:2: iv_ruleEnumEntry= ruleEnumEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getEnumEntryRule()); + } + pushFollow(FOLLOW_1); + iv_ruleEnumEntry=ruleEnumEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleEnumEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumEntry" + + + // $ANTLR start "ruleEnumEntry" + // InternalRDL.g:2431:1: ruleEnumEntry returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) ; + public final EObject ruleEnumEntry() throws RecognitionException { + EObject current = null; + + 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:2437:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) ) + // InternalRDL.g:2438:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) + { + // InternalRDL.g:2438:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' ) + // InternalRDL.g:2439:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_index_2_0= RULE_NUM ) ) (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? otherlv_6= ';' + { + // InternalRDL.g:2439:3: ( (lv_name_0_0= RULE_ID ) ) + // InternalRDL.g:2440:4: (lv_name_0_0= RULE_ID ) + { + // InternalRDL.g:2440:4: (lv_name_0_0= RULE_ID ) + // InternalRDL.g:2441:5: lv_name_0_0= RULE_ID + { + lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_0_0, grammarAccess.getEnumEntryAccess().getNameIDTerminalRuleCall_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumEntryRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_0, + "com.minres.rdl.RDL.ID"); + + } + + } + + + } + + otherlv_1=(Token)match(input,17,FOLLOW_27); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getEnumEntryAccess().getEqualsSignKeyword_1()); + + } + // InternalRDL.g:2461:3: ( (lv_index_2_0= RULE_NUM ) ) + // InternalRDL.g:2462:4: (lv_index_2_0= RULE_NUM ) + { + // InternalRDL.g:2462:4: (lv_index_2_0= RULE_NUM ) + // InternalRDL.g:2463:5: lv_index_2_0= RULE_NUM + { + lv_index_2_0=(Token)match(input,RULE_NUM,FOLLOW_44); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_index_2_0, grammarAccess.getEnumEntryAccess().getIndexNUMTerminalRuleCall_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumEntryRule()); + } + setWithLastConsumed( + current, + "index", + lv_index_2_0, + "com.minres.rdl.RDL.NUM"); + + } + + } + + + } + + // InternalRDL.g:2479:3: (otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' )? + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==15) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // InternalRDL.g:2480:4: otherlv_3= '{' ( (lv_properties_4_0= ruleEnumProperty ) )* otherlv_5= '}' + { + otherlv_3=(Token)match(input,15,FOLLOW_45); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getEnumEntryAccess().getLeftCurlyBracketKeyword_3_0()); + + } + // InternalRDL.g:2484:4: ( (lv_properties_4_0= ruleEnumProperty ) )* + loop38: + do { + int alt38=2; + int LA38_0 = input.LA(1); + + if ( ((LA38_0>=35 && LA38_0<=36)) ) { + alt38=1; + } + + + switch (alt38) { + case 1 : + // InternalRDL.g:2485:5: (lv_properties_4_0= ruleEnumProperty ) + { + // InternalRDL.g:2485:5: (lv_properties_4_0= ruleEnumProperty ) + // InternalRDL.g:2486:6: lv_properties_4_0= ruleEnumProperty + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getEnumEntryAccess().getPropertiesEnumPropertyParserRuleCall_3_1_0()); + + } + pushFollow(FOLLOW_45); + lv_properties_4_0=ruleEnumProperty(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumEntryRule()); + } + add( + current, + "properties", + lv_properties_4_0, + "com.minres.rdl.RDL.EnumProperty"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + break; + + default : + break loop38; + } + } while (true); + + otherlv_5=(Token)match(input,18,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getEnumEntryAccess().getRightCurlyBracketKeyword_3_2()); + + } + + } + break; + + } + + otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getEnumEntryAccess().getSemicolonKeyword_4()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumEntry" + + + // $ANTLR start "entryRuleEnumProperty" + // InternalRDL.g:2516: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:2516:53: (iv_ruleEnumProperty= ruleEnumProperty EOF ) + // InternalRDL.g:2517:2: iv_ruleEnumProperty= ruleEnumProperty EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getEnumPropertyRule()); + } + pushFollow(FOLLOW_1); + iv_ruleEnumProperty=ruleEnumProperty(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleEnumProperty; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumProperty" + + + // $ANTLR start "ruleEnumProperty" + // InternalRDL.g:2523:1: ruleEnumProperty returns [EObject current=null] : ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) ; + public final EObject ruleEnumProperty() throws RecognitionException { + EObject current = null; + + 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:2529:2: ( ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) ) + // InternalRDL.g:2530:2: ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) + { + // InternalRDL.g:2530:2: ( ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' ) + // InternalRDL.g:2531:3: ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) otherlv_6= ';' + { + // InternalRDL.g:2531:3: ( ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) | ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) ) + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==35) ) { + alt40=1; + } + else if ( (LA40_0==36) ) { + alt40=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 40, 0, input); + + throw nvae; + } + switch (alt40) { + case 1 : + // InternalRDL.g:2532:4: ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) + { + // InternalRDL.g:2532:4: ( ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) ) + // InternalRDL.g:2533:5: ( (lv_name_0_0= 'name' ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STR ) ) + { + // InternalRDL.g:2533:5: ( (lv_name_0_0= 'name' ) ) + // InternalRDL.g:2534:6: (lv_name_0_0= 'name' ) + { + // InternalRDL.g:2534:6: (lv_name_0_0= 'name' ) + // InternalRDL.g:2535:7: lv_name_0_0= 'name' + { + lv_name_0_0=(Token)match(input,35,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_0_0, grammarAccess.getEnumPropertyAccess().getNameNameKeyword_0_0_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed(current, "name", lv_name_0_0, "name"); + + } + + } + + + } + + otherlv_1=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_0_1()); + + } + // InternalRDL.g:2551:5: ( (lv_value_2_0= RULE_STR ) ) + // InternalRDL.g:2552:6: (lv_value_2_0= RULE_STR ) + { + // InternalRDL.g:2552:6: (lv_value_2_0= RULE_STR ) + // InternalRDL.g:2553:7: lv_value_2_0= RULE_STR + { + lv_value_2_0=(Token)match(input,RULE_STR,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_value_2_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_0_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_2_0, + "com.minres.rdl.RDL.STR"); + + } + + } + + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2571:4: ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) + { + // InternalRDL.g:2571:4: ( ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) ) + // InternalRDL.g:2572:5: ( (lv_name_3_0= 'desc' ) ) otherlv_4= '=' ( (lv_value_5_0= RULE_STR ) ) + { + // InternalRDL.g:2572:5: ( (lv_name_3_0= 'desc' ) ) + // InternalRDL.g:2573:6: (lv_name_3_0= 'desc' ) + { + // InternalRDL.g:2573:6: (lv_name_3_0= 'desc' ) + // InternalRDL.g:2574:7: lv_name_3_0= 'desc' + { + lv_name_3_0=(Token)match(input,36,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_3_0, grammarAccess.getEnumPropertyAccess().getNameDescKeyword_0_1_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed(current, "name", lv_name_3_0, "desc"); + + } + + } + + + } + + otherlv_4=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getEnumPropertyAccess().getEqualsSignKeyword_0_1_1()); + + } + // InternalRDL.g:2590:5: ( (lv_value_5_0= RULE_STR ) ) + // InternalRDL.g:2591:6: (lv_value_5_0= RULE_STR ) + { + // InternalRDL.g:2591:6: (lv_value_5_0= RULE_STR ) + // InternalRDL.g:2592:7: lv_value_5_0= RULE_STR + { + lv_value_5_0=(Token)match(input,RULE_STR,FOLLOW_4); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_value_5_0, grammarAccess.getEnumPropertyAccess().getValueSTRTerminalRuleCall_0_1_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumPropertyRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_5_0, + "com.minres.rdl.RDL.STR"); + + } + + } + + + } + + + } + + + } + break; + + } + + otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_6, grammarAccess.getEnumPropertyAccess().getSemicolonKeyword_1()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumProperty" + + + // $ANTLR start "entryRuleEnumInstanceType" + // InternalRDL.g:2618:1: entryRuleEnumInstanceType returns [EObject current=null] : iv_ruleEnumInstanceType= ruleEnumInstanceType EOF ; + public final EObject entryRuleEnumInstanceType() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEnumInstanceType = null; + + + try { + // InternalRDL.g:2618:57: (iv_ruleEnumInstanceType= ruleEnumInstanceType EOF ) + // InternalRDL.g:2619:2: iv_ruleEnumInstanceType= ruleEnumInstanceType EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getEnumInstanceTypeRule()); + } + pushFollow(FOLLOW_1); + iv_ruleEnumInstanceType=ruleEnumInstanceType(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleEnumInstanceType; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumInstanceType" + + + // $ANTLR start "ruleEnumInstanceType" + // InternalRDL.g:2625:1: ruleEnumInstanceType returns [EObject current=null] : ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) ) ; + public final EObject ruleEnumInstanceType() throws RecognitionException { + EObject current = null; + + Token lv_EXTERNAL_0_0=null; + Token lv_INTERNAL_1_0=null; + + + enterRule(); + + try { + // InternalRDL.g:2631:2: ( ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) ) ) + // InternalRDL.g:2632:2: ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) ) + { + // InternalRDL.g:2632:2: ( ( (lv_EXTERNAL_0_0= 'external' ) ) | ( (lv_INTERNAL_1_0= 'internal' ) ) ) + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==37) ) { + alt41=1; + } + else if ( (LA41_0==38) ) { + alt41=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 41, 0, input); + + throw nvae; + } + switch (alt41) { + case 1 : + // InternalRDL.g:2633:3: ( (lv_EXTERNAL_0_0= 'external' ) ) + { + // InternalRDL.g:2633:3: ( (lv_EXTERNAL_0_0= 'external' ) ) + // InternalRDL.g:2634:4: (lv_EXTERNAL_0_0= 'external' ) + { + // InternalRDL.g:2634:4: (lv_EXTERNAL_0_0= 'external' ) + // InternalRDL.g:2635:5: lv_EXTERNAL_0_0= 'external' + { + lv_EXTERNAL_0_0=(Token)match(input,37,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_EXTERNAL_0_0, grammarAccess.getEnumInstanceTypeAccess().getEXTERNALExternalKeyword_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumInstanceTypeRule()); + } + setWithLastConsumed(current, "EXTERNAL", lv_EXTERNAL_0_0, "external"); + + } + + } + + + } + + + } + break; + case 2 : + // InternalRDL.g:2648:3: ( (lv_INTERNAL_1_0= 'internal' ) ) + { + // InternalRDL.g:2648:3: ( (lv_INTERNAL_1_0= 'internal' ) ) + // InternalRDL.g:2649:4: (lv_INTERNAL_1_0= 'internal' ) + { + // InternalRDL.g:2649:4: (lv_INTERNAL_1_0= 'internal' ) + // InternalRDL.g:2650:5: lv_INTERNAL_1_0= 'internal' + { + lv_INTERNAL_1_0=(Token)match(input,38,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_INTERNAL_1_0, grammarAccess.getEnumInstanceTypeAccess().getINTERNALInternalKeyword_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getEnumInstanceTypeRule()); + } + setWithLastConsumed(current, "INTERNAL", lv_INTERNAL_1_0, "internal"); + + } + + } + + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumInstanceType" + + + // $ANTLR start "rulePropertyTypeName" + // InternalRDL.g:2666:1: rulePropertyTypeName returns [Enumerator current=null] : ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) ; + public final Enumerator rulePropertyTypeName() throws RecognitionException { + Enumerator current = null; + + 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:2672:2: ( ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) ) + // InternalRDL.g:2673:2: ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) + { + // InternalRDL.g:2673:2: ( (enumLiteral_0= 'string' ) | (enumLiteral_1= 'number' ) | (enumLiteral_2= 'boolean' ) | (enumLiteral_3= 'addrmap' ) | (enumLiteral_4= 'reg' ) | (enumLiteral_5= 'regfile' ) | (enumLiteral_6= 'field' ) | (enumLiteral_7= 'ref' ) ) + int alt42=8; + switch ( input.LA(1) ) { + case 39: + { + alt42=1; + } + break; + case 40: + { + alt42=2; + } + break; + case 41: + { + alt42=3; + } + break; + case 42: + { + alt42=4; + } + break; + case 43: + { + alt42=5; + } + break; + case 44: + { + alt42=6; + } + break; + case 45: + { + alt42=7; + } + break; + case 46: + { + alt42=8; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 42, 0, input); + + throw nvae; + } + + switch (alt42) { + case 1 : + // InternalRDL.g:2674:3: (enumLiteral_0= 'string' ) + { + // InternalRDL.g:2674:3: (enumLiteral_0= 'string' ) + // InternalRDL.g:2675:4: enumLiteral_0= 'string' + { + enumLiteral_0=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyTypeNameAccess().getSTRINGEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:2682:3: (enumLiteral_1= 'number' ) + { + // InternalRDL.g:2682:3: (enumLiteral_1= 'number' ) + // InternalRDL.g:2683:4: enumLiteral_1= 'number' + { + enumLiteral_1=(Token)match(input,40,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyTypeNameAccess().getNUMBEREnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:2690:3: (enumLiteral_2= 'boolean' ) + { + // InternalRDL.g:2690:3: (enumLiteral_2= 'boolean' ) + // InternalRDL.g:2691:4: enumLiteral_2= 'boolean' + { + enumLiteral_2=(Token)match(input,41,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyTypeNameAccess().getBOOLEANEnumLiteralDeclaration_2()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:2698:3: (enumLiteral_3= 'addrmap' ) + { + // InternalRDL.g:2698:3: (enumLiteral_3= 'addrmap' ) + // InternalRDL.g:2699:4: enumLiteral_3= 'addrmap' + { + enumLiteral_3=(Token)match(input,42,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyTypeNameAccess().getADDRMAPEnumLiteralDeclaration_3()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:2706:3: (enumLiteral_4= 'reg' ) + { + // InternalRDL.g:2706:3: (enumLiteral_4= 'reg' ) + // InternalRDL.g:2707:4: enumLiteral_4= 'reg' + { + enumLiteral_4=(Token)match(input,43,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyTypeNameAccess().getREGEnumLiteralDeclaration_4()); + + } + + } + + + } + break; + case 6 : + // InternalRDL.g:2714:3: (enumLiteral_5= 'regfile' ) + { + // InternalRDL.g:2714:3: (enumLiteral_5= 'regfile' ) + // InternalRDL.g:2715:4: enumLiteral_5= 'regfile' + { + enumLiteral_5=(Token)match(input,44,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyTypeNameAccess().getREGFILEEnumLiteralDeclaration_5()); + + } + + } + + + } + break; + case 7 : + // InternalRDL.g:2722:3: (enumLiteral_6= 'field' ) + { + // InternalRDL.g:2722:3: (enumLiteral_6= 'field' ) + // InternalRDL.g:2723:4: enumLiteral_6= 'field' + { + enumLiteral_6=(Token)match(input,45,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getPropertyTypeNameAccess().getFIELDEnumLiteralDeclaration_6()); + + } + + } + + + } + break; + case 8 : + // InternalRDL.g:2730:3: (enumLiteral_7= 'ref' ) + { + // InternalRDL.g:2730:3: (enumLiteral_7= 'ref' ) + // InternalRDL.g:2731:4: enumLiteral_7= 'ref' + { + enumLiteral_7=(Token)match(input,46,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getPropertyTypeNameAccess().getREFEnumLiteralDeclaration_7()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyTypeName" + + + // $ANTLR start "rulePropertyComponent" + // InternalRDL.g:2741:1: rulePropertyComponent returns [Enumerator current=null] : ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) ; + public final Enumerator rulePropertyComponent() throws RecognitionException { + Enumerator current = null; + + 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:2747:2: ( ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) ) + // InternalRDL.g:2748:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) + { + // InternalRDL.g:2748:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'reg' ) | (enumLiteral_3= 'regfile' ) | (enumLiteral_4= 'field' ) | (enumLiteral_5= 'all' ) ) + int alt43=6; + switch ( input.LA(1) ) { + case 47: + { + alt43=1; + } + break; + case 42: + { + alt43=2; + } + break; + case 43: + { + alt43=3; + } + break; + case 44: + { + alt43=4; + } + break; + case 45: + { + alt43=5; + } + break; + case 48: + { + alt43=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 43, 0, input); + + throw nvae; + } + + switch (alt43) { + case 1 : + // InternalRDL.g:2749:3: (enumLiteral_0= 'signal' ) + { + // InternalRDL.g:2749:3: (enumLiteral_0= 'signal' ) + // InternalRDL.g:2750:4: enumLiteral_0= 'signal' + { + enumLiteral_0=(Token)match(input,47,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyComponentAccess().getSIGNALEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:2757:3: (enumLiteral_1= 'addrmap' ) + { + // InternalRDL.g:2757:3: (enumLiteral_1= 'addrmap' ) + // InternalRDL.g:2758:4: enumLiteral_1= 'addrmap' + { + enumLiteral_1=(Token)match(input,42,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyComponentAccess().getADDRMAPEnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:2765:3: (enumLiteral_2= 'reg' ) + { + // InternalRDL.g:2765:3: (enumLiteral_2= 'reg' ) + // InternalRDL.g:2766:4: enumLiteral_2= 'reg' + { + enumLiteral_2=(Token)match(input,43,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyComponentAccess().getREGEnumLiteralDeclaration_2()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:2773:3: (enumLiteral_3= 'regfile' ) + { + // InternalRDL.g:2773:3: (enumLiteral_3= 'regfile' ) + // InternalRDL.g:2774:4: enumLiteral_3= 'regfile' + { + enumLiteral_3=(Token)match(input,44,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyComponentAccess().getREGFILEEnumLiteralDeclaration_3()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:2781:3: (enumLiteral_4= 'field' ) + { + // InternalRDL.g:2781:3: (enumLiteral_4= 'field' ) + // InternalRDL.g:2782:4: enumLiteral_4= 'field' + { + enumLiteral_4=(Token)match(input,45,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyComponentAccess().getFIELDEnumLiteralDeclaration_4()); + + } + + } + + + } + break; + case 6 : + // InternalRDL.g:2789:3: (enumLiteral_5= 'all' ) + { + // InternalRDL.g:2789:3: (enumLiteral_5= 'all' ) + // InternalRDL.g:2790:4: enumLiteral_5= 'all' + { + enumLiteral_5=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyComponentAccess().getALLEnumLiteralDeclaration_5()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyComponent" + + + // $ANTLR start "ruleComponentDefinitionType" + // InternalRDL.g:2800:1: ruleComponentDefinitionType returns [Enumerator current=null] : ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) ; + public final Enumerator ruleComponentDefinitionType() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + Token enumLiteral_4=null; + + + enterRule(); + + try { + // InternalRDL.g:2806:2: ( ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) ) + // InternalRDL.g:2807:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) + { + // InternalRDL.g:2807:2: ( (enumLiteral_0= 'signal' ) | (enumLiteral_1= 'addrmap' ) | (enumLiteral_2= 'regfile' ) | (enumLiteral_3= 'reg' ) | (enumLiteral_4= 'field' ) ) + int alt44=5; + switch ( input.LA(1) ) { + case 47: + { + alt44=1; + } + break; + case 42: + { + alt44=2; + } + break; + case 44: + { + alt44=3; + } + break; + case 43: + { + alt44=4; + } + break; + case 45: + { + alt44=5; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 44, 0, input); + + throw nvae; + } + + switch (alt44) { + case 1 : + // InternalRDL.g:2808:3: (enumLiteral_0= 'signal' ) + { + // InternalRDL.g:2808:3: (enumLiteral_0= 'signal' ) + // InternalRDL.g:2809:4: enumLiteral_0= 'signal' + { + enumLiteral_0=(Token)match(input,47,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComponentDefinitionTypeAccess().getSIGNALEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:2816:3: (enumLiteral_1= 'addrmap' ) + { + // InternalRDL.g:2816:3: (enumLiteral_1= 'addrmap' ) + // InternalRDL.g:2817:4: enumLiteral_1= 'addrmap' + { + enumLiteral_1=(Token)match(input,42,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComponentDefinitionTypeAccess().getADDRMAPEnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:2824:3: (enumLiteral_2= 'regfile' ) + { + // InternalRDL.g:2824:3: (enumLiteral_2= 'regfile' ) + // InternalRDL.g:2825:4: enumLiteral_2= 'regfile' + { + enumLiteral_2=(Token)match(input,44,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getComponentDefinitionTypeAccess().getREGFILEEnumLiteralDeclaration_2()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:2832:3: (enumLiteral_3= 'reg' ) + { + // InternalRDL.g:2832:3: (enumLiteral_3= 'reg' ) + // InternalRDL.g:2833:4: enumLiteral_3= 'reg' + { + enumLiteral_3=(Token)match(input,43,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getComponentDefinitionTypeAccess().getREGEnumLiteralDeclaration_3()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:2840:3: (enumLiteral_4= 'field' ) + { + // InternalRDL.g:2840:3: (enumLiteral_4= 'field' ) + // InternalRDL.g:2841:4: enumLiteral_4= 'field' + { + enumLiteral_4=(Token)match(input,45,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getComponentDefinitionTypeAccess().getFIELDEnumLiteralDeclaration_4()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleComponentDefinitionType" + + + // $ANTLR start "ruleProperty" + // InternalRDL.g:2851:1: ruleProperty returns [Enumerator current=null] : ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) ; + public final Enumerator ruleProperty() throws RecognitionException { + Enumerator current = null; + + 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:2857:2: ( ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) ) + // InternalRDL.g:2858:2: ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) + { + // InternalRDL.g:2858:2: ( (enumLiteral_0= 'name' ) | (enumLiteral_1= 'desc' ) | (enumLiteral_2= 'arbiter' ) | (enumLiteral_3= 'rset' ) | (enumLiteral_4= 'rclr' ) | (enumLiteral_5= 'woclr' ) | (enumLiteral_6= 'woset' ) | (enumLiteral_7= 'we' ) | (enumLiteral_8= 'wel' ) | (enumLiteral_9= 'swwe' ) | (enumLiteral_10= 'swwel' ) | (enumLiteral_11= 'hwset' ) | (enumLiteral_12= 'hwclr' ) | (enumLiteral_13= 'swmod' ) | (enumLiteral_14= 'swacc' ) | (enumLiteral_15= 'sticky' ) | (enumLiteral_16= 'stickybit' ) | (enumLiteral_17= 'intr' ) | (enumLiteral_18= 'anded' ) | (enumLiteral_19= 'ored' ) | (enumLiteral_20= 'xored' ) | (enumLiteral_21= 'counter' ) | (enumLiteral_22= 'overflow' ) | (enumLiteral_23= 'sharedextbus' ) | (enumLiteral_24= 'errextbus' ) | (enumLiteral_25= 'reset' ) | (enumLiteral_26= 'littleendian' ) | (enumLiteral_27= 'bigendian' ) | (enumLiteral_28= 'rsvdset' ) | (enumLiteral_29= 'rsvdsetX' ) | (enumLiteral_30= 'bridge' ) | (enumLiteral_31= 'shared' ) | (enumLiteral_32= 'msb0' ) | (enumLiteral_33= 'lsb0' ) | (enumLiteral_34= 'sync' ) | (enumLiteral_35= 'async' ) | (enumLiteral_36= 'cpuif_reset' ) | (enumLiteral_37= 'field_reset' ) | (enumLiteral_38= 'activehigh' ) | (enumLiteral_39= 'activelow' ) | (enumLiteral_40= 'singlepulse' ) | (enumLiteral_41= 'underflow' ) | (enumLiteral_42= 'incr' ) | (enumLiteral_43= 'decr' ) | (enumLiteral_44= 'incrwidth' ) | (enumLiteral_45= 'decrwidth' ) | (enumLiteral_46= 'incrvalue' ) | (enumLiteral_47= 'decrvalue' ) | (enumLiteral_48= 'saturate' ) | (enumLiteral_49= 'decrsaturate' ) | (enumLiteral_50= 'threshold' ) | (enumLiteral_51= 'decrthreshold' ) | (enumLiteral_52= 'dontcompare' ) | (enumLiteral_53= 'donttest' ) | (enumLiteral_54= 'internal' ) | (enumLiteral_55= 'alignment' ) | (enumLiteral_56= 'regwidth' ) | (enumLiteral_57= 'fieldwidth' ) | (enumLiteral_58= 'signalwidth' ) | (enumLiteral_59= 'accesswidth' ) | (enumLiteral_60= 'sw' ) | (enumLiteral_61= 'hw' ) | (enumLiteral_62= 'addressing' ) | (enumLiteral_63= 'precedence' ) | (enumLiteral_64= 'encode' ) | (enumLiteral_65= 'resetsignal' ) | (enumLiteral_66= 'clock' ) | (enumLiteral_67= 'mask' ) | (enumLiteral_68= 'enable' ) | (enumLiteral_69= 'hwenable' ) | (enumLiteral_70= 'hwmask' ) | (enumLiteral_71= 'haltmask' ) | (enumLiteral_72= 'haltenable' ) | (enumLiteral_73= 'halt' ) | (enumLiteral_74= 'next' ) ) + int alt45=75; + switch ( input.LA(1) ) { + case 35: + { + alt45=1; + } + break; + case 36: + { + alt45=2; + } + break; + case 49: + { + alt45=3; + } + break; + case 50: + { + alt45=4; + } + break; + case 51: + { + alt45=5; + } + break; + case 52: + { + alt45=6; + } + break; + case 53: + { + alt45=7; + } + break; + case 54: + { + alt45=8; + } + break; + case 55: + { + alt45=9; + } + break; + case 56: + { + alt45=10; + } + break; + case 57: + { + alt45=11; + } + break; + case 58: + { + alt45=12; + } + break; + case 59: + { + alt45=13; + } + break; + case 60: + { + alt45=14; + } + break; + case 61: + { + alt45=15; + } + break; + case 62: + { + alt45=16; + } + break; + case 63: + { + alt45=17; + } + break; + case 64: + { + alt45=18; + } + break; + case 65: + { + alt45=19; + } + break; + case 66: + { + alt45=20; + } + break; + case 67: + { + alt45=21; + } + break; + case 68: + { + alt45=22; + } + break; + case 69: + { + alt45=23; + } + break; + case 70: + { + alt45=24; + } + break; + case 71: + { + alt45=25; + } + break; + case 72: + { + alt45=26; + } + break; + case 73: + { + alt45=27; + } + break; + case 74: + { + alt45=28; + } + break; + case 75: + { + alt45=29; + } + break; + case 76: + { + alt45=30; + } + break; + case 77: + { + alt45=31; + } + break; + case 78: + { + alt45=32; + } + break; + case 79: + { + alt45=33; + } + break; + case 80: + { + alt45=34; + } + break; + case 81: + { + alt45=35; + } + break; + case 82: + { + alt45=36; + } + break; + case 83: + { + alt45=37; + } + break; + case 84: + { + alt45=38; + } + break; + case 85: + { + alt45=39; + } + break; + case 86: + { + alt45=40; + } + break; + case 87: + { + alt45=41; + } + break; + case 88: + { + alt45=42; + } + break; + case 89: + { + alt45=43; + } + break; + case 90: + { + alt45=44; + } + break; + case 91: + { + alt45=45; + } + break; + case 92: + { + alt45=46; + } + break; + case 93: + { + alt45=47; + } + break; + case 94: + { + alt45=48; + } + break; + case 95: + { + alt45=49; + } + break; + case 96: + { + alt45=50; + } + break; + case 97: + { + alt45=51; + } + break; + case 98: + { + alt45=52; + } + break; + case 99: + { + alt45=53; + } + break; + case 100: + { + alt45=54; + } + break; + case 38: + { + alt45=55; + } + break; + case 101: + { + alt45=56; + } + break; + case 102: + { + alt45=57; + } + break; + case 103: + { + alt45=58; + } + break; + case 104: + { + alt45=59; + } + break; + case 105: + { + alt45=60; + } + break; + case 106: + { + alt45=61; + } + break; + case 107: + { + alt45=62; + } + break; + case 108: + { + alt45=63; + } + break; + case 109: + { + alt45=64; + } + break; + case 110: + { + alt45=65; + } + break; + case 111: + { + alt45=66; + } + break; + case 112: + { + alt45=67; + } + break; + case 113: + { + alt45=68; + } + break; + case 114: + { + alt45=69; + } + break; + case 115: + { + alt45=70; + } + break; + case 116: + { + alt45=71; + } + break; + case 117: + { + alt45=72; + } + break; + case 118: + { + alt45=73; + } + break; + case 119: + { + alt45=74; + } + break; + case 120: + { + alt45=75; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 45, 0, input); + + throw nvae; + } + + switch (alt45) { + case 1 : + // InternalRDL.g:2859:3: (enumLiteral_0= 'name' ) + { + // InternalRDL.g:2859:3: (enumLiteral_0= 'name' ) + // InternalRDL.g:2860:4: enumLiteral_0= 'name' + { + enumLiteral_0=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyAccess().getNAMEEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:2867:3: (enumLiteral_1= 'desc' ) + { + // InternalRDL.g:2867:3: (enumLiteral_1= 'desc' ) + // InternalRDL.g:2868:4: enumLiteral_1= 'desc' + { + enumLiteral_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyAccess().getDESCEnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:2875:3: (enumLiteral_2= 'arbiter' ) + { + // InternalRDL.g:2875:3: (enumLiteral_2= 'arbiter' ) + // InternalRDL.g:2876:4: enumLiteral_2= 'arbiter' + { + enumLiteral_2=(Token)match(input,49,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyAccess().getARBITEREnumLiteralDeclaration_2()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:2883:3: (enumLiteral_3= 'rset' ) + { + // InternalRDL.g:2883:3: (enumLiteral_3= 'rset' ) + // InternalRDL.g:2884:4: enumLiteral_3= 'rset' + { + enumLiteral_3=(Token)match(input,50,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyAccess().getRSETEnumLiteralDeclaration_3()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:2891:3: (enumLiteral_4= 'rclr' ) + { + // InternalRDL.g:2891:3: (enumLiteral_4= 'rclr' ) + // InternalRDL.g:2892:4: enumLiteral_4= 'rclr' + { + enumLiteral_4=(Token)match(input,51,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyAccess().getRCLREnumLiteralDeclaration_4()); + + } + + } + + + } + break; + case 6 : + // InternalRDL.g:2899:3: (enumLiteral_5= 'woclr' ) + { + // InternalRDL.g:2899:3: (enumLiteral_5= 'woclr' ) + // InternalRDL.g:2900:4: enumLiteral_5= 'woclr' + { + enumLiteral_5=(Token)match(input,52,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyAccess().getWOCLREnumLiteralDeclaration_5()); + + } + + } + + + } + break; + case 7 : + // InternalRDL.g:2907:3: (enumLiteral_6= 'woset' ) + { + // InternalRDL.g:2907:3: (enumLiteral_6= 'woset' ) + // InternalRDL.g:2908:4: enumLiteral_6= 'woset' + { + enumLiteral_6=(Token)match(input,53,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getPropertyAccess().getWOSETEnumLiteralDeclaration_6()); + + } + + } + + + } + break; + case 8 : + // InternalRDL.g:2915:3: (enumLiteral_7= 'we' ) + { + // InternalRDL.g:2915:3: (enumLiteral_7= 'we' ) + // InternalRDL.g:2916:4: enumLiteral_7= 'we' + { + enumLiteral_7=(Token)match(input,54,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getPropertyAccess().getWEEnumLiteralDeclaration_7()); + + } + + } + + + } + break; + case 9 : + // InternalRDL.g:2923:3: (enumLiteral_8= 'wel' ) + { + // InternalRDL.g:2923:3: (enumLiteral_8= 'wel' ) + // InternalRDL.g:2924:4: enumLiteral_8= 'wel' + { + enumLiteral_8=(Token)match(input,55,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_8, grammarAccess.getPropertyAccess().getWELEnumLiteralDeclaration_8()); + + } + + } + + + } + break; + case 10 : + // InternalRDL.g:2931:3: (enumLiteral_9= 'swwe' ) + { + // InternalRDL.g:2931:3: (enumLiteral_9= 'swwe' ) + // InternalRDL.g:2932:4: enumLiteral_9= 'swwe' + { + enumLiteral_9=(Token)match(input,56,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_9, grammarAccess.getPropertyAccess().getSWWEEnumLiteralDeclaration_9()); + + } + + } + + + } + break; + case 11 : + // InternalRDL.g:2939:3: (enumLiteral_10= 'swwel' ) + { + // InternalRDL.g:2939:3: (enumLiteral_10= 'swwel' ) + // InternalRDL.g:2940:4: enumLiteral_10= 'swwel' + { + enumLiteral_10=(Token)match(input,57,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_10, grammarAccess.getPropertyAccess().getSWWELEnumLiteralDeclaration_10()); + + } + + } + + + } + break; + case 12 : + // InternalRDL.g:2947:3: (enumLiteral_11= 'hwset' ) + { + // InternalRDL.g:2947:3: (enumLiteral_11= 'hwset' ) + // InternalRDL.g:2948:4: enumLiteral_11= 'hwset' + { + enumLiteral_11=(Token)match(input,58,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_11, grammarAccess.getPropertyAccess().getHWSETEnumLiteralDeclaration_11()); + + } + + } + + + } + break; + case 13 : + // InternalRDL.g:2955:3: (enumLiteral_12= 'hwclr' ) + { + // InternalRDL.g:2955:3: (enumLiteral_12= 'hwclr' ) + // InternalRDL.g:2956:4: enumLiteral_12= 'hwclr' + { + enumLiteral_12=(Token)match(input,59,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_12, grammarAccess.getPropertyAccess().getHWCLREnumLiteralDeclaration_12()); + + } + + } + + + } + break; + case 14 : + // InternalRDL.g:2963:3: (enumLiteral_13= 'swmod' ) + { + // InternalRDL.g:2963:3: (enumLiteral_13= 'swmod' ) + // InternalRDL.g:2964:4: enumLiteral_13= 'swmod' + { + enumLiteral_13=(Token)match(input,60,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_13, grammarAccess.getPropertyAccess().getSWMODEnumLiteralDeclaration_13()); + + } + + } + + + } + break; + case 15 : + // InternalRDL.g:2971:3: (enumLiteral_14= 'swacc' ) + { + // InternalRDL.g:2971:3: (enumLiteral_14= 'swacc' ) + // InternalRDL.g:2972:4: enumLiteral_14= 'swacc' + { + enumLiteral_14=(Token)match(input,61,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_14, grammarAccess.getPropertyAccess().getSWACCEnumLiteralDeclaration_14()); + + } + + } + + + } + break; + case 16 : + // InternalRDL.g:2979:3: (enumLiteral_15= 'sticky' ) + { + // InternalRDL.g:2979:3: (enumLiteral_15= 'sticky' ) + // InternalRDL.g:2980:4: enumLiteral_15= 'sticky' + { + enumLiteral_15=(Token)match(input,62,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_15, grammarAccess.getPropertyAccess().getSTICKYEnumLiteralDeclaration_15()); + + } + + } + + + } + break; + case 17 : + // InternalRDL.g:2987:3: (enumLiteral_16= 'stickybit' ) + { + // InternalRDL.g:2987:3: (enumLiteral_16= 'stickybit' ) + // InternalRDL.g:2988:4: enumLiteral_16= 'stickybit' + { + enumLiteral_16=(Token)match(input,63,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_16, grammarAccess.getPropertyAccess().getSTICKYBITEnumLiteralDeclaration_16()); + + } + + } + + + } + break; + case 18 : + // InternalRDL.g:2995:3: (enumLiteral_17= 'intr' ) + { + // InternalRDL.g:2995:3: (enumLiteral_17= 'intr' ) + // InternalRDL.g:2996:4: enumLiteral_17= 'intr' + { + enumLiteral_17=(Token)match(input,64,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_17, grammarAccess.getPropertyAccess().getINTREnumLiteralDeclaration_17()); + + } + + } + + + } + break; + case 19 : + // InternalRDL.g:3003:3: (enumLiteral_18= 'anded' ) + { + // InternalRDL.g:3003:3: (enumLiteral_18= 'anded' ) + // InternalRDL.g:3004:4: enumLiteral_18= 'anded' + { + enumLiteral_18=(Token)match(input,65,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_18, grammarAccess.getPropertyAccess().getANDEDEnumLiteralDeclaration_18()); + + } + + } + + + } + break; + case 20 : + // InternalRDL.g:3011:3: (enumLiteral_19= 'ored' ) + { + // InternalRDL.g:3011:3: (enumLiteral_19= 'ored' ) + // InternalRDL.g:3012:4: enumLiteral_19= 'ored' + { + enumLiteral_19=(Token)match(input,66,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_19, grammarAccess.getPropertyAccess().getOREDEnumLiteralDeclaration_19()); + + } + + } + + + } + break; + case 21 : + // InternalRDL.g:3019:3: (enumLiteral_20= 'xored' ) + { + // InternalRDL.g:3019:3: (enumLiteral_20= 'xored' ) + // InternalRDL.g:3020:4: enumLiteral_20= 'xored' + { + enumLiteral_20=(Token)match(input,67,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_20, grammarAccess.getPropertyAccess().getXOREDEnumLiteralDeclaration_20()); + + } + + } + + + } + break; + case 22 : + // InternalRDL.g:3027:3: (enumLiteral_21= 'counter' ) + { + // InternalRDL.g:3027:3: (enumLiteral_21= 'counter' ) + // InternalRDL.g:3028:4: enumLiteral_21= 'counter' + { + enumLiteral_21=(Token)match(input,68,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_21, grammarAccess.getPropertyAccess().getCOUNTEREnumLiteralDeclaration_21()); + + } + + } + + + } + break; + case 23 : + // InternalRDL.g:3035:3: (enumLiteral_22= 'overflow' ) + { + // InternalRDL.g:3035:3: (enumLiteral_22= 'overflow' ) + // InternalRDL.g:3036:4: enumLiteral_22= 'overflow' + { + enumLiteral_22=(Token)match(input,69,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_22, grammarAccess.getPropertyAccess().getOVERFLOWEnumLiteralDeclaration_22()); + + } + + } + + + } + break; + case 24 : + // InternalRDL.g:3043:3: (enumLiteral_23= 'sharedextbus' ) + { + // InternalRDL.g:3043:3: (enumLiteral_23= 'sharedextbus' ) + // InternalRDL.g:3044:4: enumLiteral_23= 'sharedextbus' + { + enumLiteral_23=(Token)match(input,70,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_23, grammarAccess.getPropertyAccess().getSHAREDEXTBUSEnumLiteralDeclaration_23()); + + } + + } + + + } + break; + case 25 : + // InternalRDL.g:3051:3: (enumLiteral_24= 'errextbus' ) + { + // InternalRDL.g:3051:3: (enumLiteral_24= 'errextbus' ) + // InternalRDL.g:3052:4: enumLiteral_24= 'errextbus' + { + enumLiteral_24=(Token)match(input,71,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_24, grammarAccess.getPropertyAccess().getERREXTBUSEnumLiteralDeclaration_24()); + + } + + } + + + } + break; + case 26 : + // InternalRDL.g:3059:3: (enumLiteral_25= 'reset' ) + { + // InternalRDL.g:3059:3: (enumLiteral_25= 'reset' ) + // InternalRDL.g:3060:4: enumLiteral_25= 'reset' + { + enumLiteral_25=(Token)match(input,72,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_25, grammarAccess.getPropertyAccess().getRESETEnumLiteralDeclaration_25()); + + } + + } + + + } + break; + case 27 : + // InternalRDL.g:3067:3: (enumLiteral_26= 'littleendian' ) + { + // InternalRDL.g:3067:3: (enumLiteral_26= 'littleendian' ) + // InternalRDL.g:3068:4: enumLiteral_26= 'littleendian' + { + enumLiteral_26=(Token)match(input,73,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_26, grammarAccess.getPropertyAccess().getLITTLEENDIANEnumLiteralDeclaration_26()); + + } + + } + + + } + break; + case 28 : + // InternalRDL.g:3075:3: (enumLiteral_27= 'bigendian' ) + { + // InternalRDL.g:3075:3: (enumLiteral_27= 'bigendian' ) + // InternalRDL.g:3076:4: enumLiteral_27= 'bigendian' + { + enumLiteral_27=(Token)match(input,74,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_27, grammarAccess.getPropertyAccess().getBIGENDIANEnumLiteralDeclaration_27()); + + } + + } + + + } + break; + case 29 : + // InternalRDL.g:3083:3: (enumLiteral_28= 'rsvdset' ) + { + // InternalRDL.g:3083:3: (enumLiteral_28= 'rsvdset' ) + // InternalRDL.g:3084:4: enumLiteral_28= 'rsvdset' + { + enumLiteral_28=(Token)match(input,75,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_28, grammarAccess.getPropertyAccess().getRSVDSETEnumLiteralDeclaration_28()); + + } + + } + + + } + break; + case 30 : + // InternalRDL.g:3091:3: (enumLiteral_29= 'rsvdsetX' ) + { + // InternalRDL.g:3091:3: (enumLiteral_29= 'rsvdsetX' ) + // InternalRDL.g:3092:4: enumLiteral_29= 'rsvdsetX' + { + enumLiteral_29=(Token)match(input,76,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_29, grammarAccess.getPropertyAccess().getRSVDSETXEnumLiteralDeclaration_29()); + + } + + } + + + } + break; + case 31 : + // InternalRDL.g:3099:3: (enumLiteral_30= 'bridge' ) + { + // InternalRDL.g:3099:3: (enumLiteral_30= 'bridge' ) + // InternalRDL.g:3100:4: enumLiteral_30= 'bridge' + { + enumLiteral_30=(Token)match(input,77,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_30, grammarAccess.getPropertyAccess().getBRIDGEEnumLiteralDeclaration_30()); + + } + + } + + + } + break; + case 32 : + // InternalRDL.g:3107:3: (enumLiteral_31= 'shared' ) + { + // InternalRDL.g:3107:3: (enumLiteral_31= 'shared' ) + // InternalRDL.g:3108:4: enumLiteral_31= 'shared' + { + enumLiteral_31=(Token)match(input,78,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_31, grammarAccess.getPropertyAccess().getSHAREDEnumLiteralDeclaration_31()); + + } + + } + + + } + break; + case 33 : + // InternalRDL.g:3115:3: (enumLiteral_32= 'msb0' ) + { + // InternalRDL.g:3115:3: (enumLiteral_32= 'msb0' ) + // InternalRDL.g:3116:4: enumLiteral_32= 'msb0' + { + enumLiteral_32=(Token)match(input,79,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_32, grammarAccess.getPropertyAccess().getMSB0EnumLiteralDeclaration_32()); + + } + + } + + + } + break; + case 34 : + // InternalRDL.g:3123:3: (enumLiteral_33= 'lsb0' ) + { + // InternalRDL.g:3123:3: (enumLiteral_33= 'lsb0' ) + // InternalRDL.g:3124:4: enumLiteral_33= 'lsb0' + { + enumLiteral_33=(Token)match(input,80,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_33, grammarAccess.getPropertyAccess().getLSB0EnumLiteralDeclaration_33()); + + } + + } + + + } + break; + case 35 : + // InternalRDL.g:3131:3: (enumLiteral_34= 'sync' ) + { + // InternalRDL.g:3131:3: (enumLiteral_34= 'sync' ) + // InternalRDL.g:3132:4: enumLiteral_34= 'sync' + { + enumLiteral_34=(Token)match(input,81,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_34, grammarAccess.getPropertyAccess().getSYNCEnumLiteralDeclaration_34()); + + } + + } + + + } + break; + case 36 : + // InternalRDL.g:3139:3: (enumLiteral_35= 'async' ) + { + // InternalRDL.g:3139:3: (enumLiteral_35= 'async' ) + // InternalRDL.g:3140:4: enumLiteral_35= 'async' + { + enumLiteral_35=(Token)match(input,82,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_35, grammarAccess.getPropertyAccess().getASYNCEnumLiteralDeclaration_35()); + + } + + } + + + } + break; + case 37 : + // InternalRDL.g:3147:3: (enumLiteral_36= 'cpuif_reset' ) + { + // InternalRDL.g:3147:3: (enumLiteral_36= 'cpuif_reset' ) + // InternalRDL.g:3148:4: enumLiteral_36= 'cpuif_reset' + { + enumLiteral_36=(Token)match(input,83,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_36, grammarAccess.getPropertyAccess().getCPUIF_RESETEnumLiteralDeclaration_36()); + + } + + } + + + } + break; + case 38 : + // InternalRDL.g:3155:3: (enumLiteral_37= 'field_reset' ) + { + // InternalRDL.g:3155:3: (enumLiteral_37= 'field_reset' ) + // InternalRDL.g:3156:4: enumLiteral_37= 'field_reset' + { + enumLiteral_37=(Token)match(input,84,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_37, grammarAccess.getPropertyAccess().getFIELD_RESETEnumLiteralDeclaration_37()); + + } + + } + + + } + break; + case 39 : + // InternalRDL.g:3163:3: (enumLiteral_38= 'activehigh' ) + { + // InternalRDL.g:3163:3: (enumLiteral_38= 'activehigh' ) + // InternalRDL.g:3164:4: enumLiteral_38= 'activehigh' + { + enumLiteral_38=(Token)match(input,85,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_38, grammarAccess.getPropertyAccess().getACTIVEHIGHEnumLiteralDeclaration_38()); + + } + + } + + + } + break; + case 40 : + // InternalRDL.g:3171:3: (enumLiteral_39= 'activelow' ) + { + // InternalRDL.g:3171:3: (enumLiteral_39= 'activelow' ) + // InternalRDL.g:3172:4: enumLiteral_39= 'activelow' + { + enumLiteral_39=(Token)match(input,86,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_39, grammarAccess.getPropertyAccess().getACTIVELOWEnumLiteralDeclaration_39()); + + } + + } + + + } + break; + case 41 : + // InternalRDL.g:3179:3: (enumLiteral_40= 'singlepulse' ) + { + // InternalRDL.g:3179:3: (enumLiteral_40= 'singlepulse' ) + // InternalRDL.g:3180:4: enumLiteral_40= 'singlepulse' + { + enumLiteral_40=(Token)match(input,87,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_40, grammarAccess.getPropertyAccess().getSINGLEPULSEEnumLiteralDeclaration_40()); + + } + + } + + + } + break; + case 42 : + // InternalRDL.g:3187:3: (enumLiteral_41= 'underflow' ) + { + // InternalRDL.g:3187:3: (enumLiteral_41= 'underflow' ) + // InternalRDL.g:3188:4: enumLiteral_41= 'underflow' + { + enumLiteral_41=(Token)match(input,88,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_41, grammarAccess.getPropertyAccess().getUNDERFLOWEnumLiteralDeclaration_41()); + + } + + } + + + } + break; + case 43 : + // InternalRDL.g:3195:3: (enumLiteral_42= 'incr' ) + { + // InternalRDL.g:3195:3: (enumLiteral_42= 'incr' ) + // InternalRDL.g:3196:4: enumLiteral_42= 'incr' + { + enumLiteral_42=(Token)match(input,89,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_42, grammarAccess.getPropertyAccess().getINCREnumLiteralDeclaration_42()); + + } + + } + + + } + break; + case 44 : + // InternalRDL.g:3203:3: (enumLiteral_43= 'decr' ) + { + // InternalRDL.g:3203:3: (enumLiteral_43= 'decr' ) + // InternalRDL.g:3204:4: enumLiteral_43= 'decr' + { + enumLiteral_43=(Token)match(input,90,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_43, grammarAccess.getPropertyAccess().getDECREnumLiteralDeclaration_43()); + + } + + } + + + } + break; + case 45 : + // InternalRDL.g:3211:3: (enumLiteral_44= 'incrwidth' ) + { + // InternalRDL.g:3211:3: (enumLiteral_44= 'incrwidth' ) + // InternalRDL.g:3212:4: enumLiteral_44= 'incrwidth' + { + enumLiteral_44=(Token)match(input,91,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_44, grammarAccess.getPropertyAccess().getINCRWIDTHEnumLiteralDeclaration_44()); + + } + + } + + + } + break; + case 46 : + // InternalRDL.g:3219:3: (enumLiteral_45= 'decrwidth' ) + { + // InternalRDL.g:3219:3: (enumLiteral_45= 'decrwidth' ) + // InternalRDL.g:3220:4: enumLiteral_45= 'decrwidth' + { + enumLiteral_45=(Token)match(input,92,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_45, grammarAccess.getPropertyAccess().getDECRWIDTHEnumLiteralDeclaration_45()); + + } + + } + + + } + break; + case 47 : + // InternalRDL.g:3227:3: (enumLiteral_46= 'incrvalue' ) + { + // InternalRDL.g:3227:3: (enumLiteral_46= 'incrvalue' ) + // InternalRDL.g:3228:4: enumLiteral_46= 'incrvalue' + { + enumLiteral_46=(Token)match(input,93,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_46, grammarAccess.getPropertyAccess().getINCRVALUEEnumLiteralDeclaration_46()); + + } + + } + + + } + break; + case 48 : + // InternalRDL.g:3235:3: (enumLiteral_47= 'decrvalue' ) + { + // InternalRDL.g:3235:3: (enumLiteral_47= 'decrvalue' ) + // InternalRDL.g:3236:4: enumLiteral_47= 'decrvalue' + { + enumLiteral_47=(Token)match(input,94,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_47, grammarAccess.getPropertyAccess().getDECRVALUEEnumLiteralDeclaration_47()); + + } + + } + + + } + break; + case 49 : + // InternalRDL.g:3243:3: (enumLiteral_48= 'saturate' ) + { + // InternalRDL.g:3243:3: (enumLiteral_48= 'saturate' ) + // InternalRDL.g:3244:4: enumLiteral_48= 'saturate' + { + enumLiteral_48=(Token)match(input,95,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_48, grammarAccess.getPropertyAccess().getSATURATEEnumLiteralDeclaration_48()); + + } + + } + + + } + break; + case 50 : + // InternalRDL.g:3251:3: (enumLiteral_49= 'decrsaturate' ) + { + // InternalRDL.g:3251:3: (enumLiteral_49= 'decrsaturate' ) + // InternalRDL.g:3252:4: enumLiteral_49= 'decrsaturate' + { + enumLiteral_49=(Token)match(input,96,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_49, grammarAccess.getPropertyAccess().getDECRSATURATEEnumLiteralDeclaration_49()); + + } + + } + + + } + break; + case 51 : + // InternalRDL.g:3259:3: (enumLiteral_50= 'threshold' ) + { + // InternalRDL.g:3259:3: (enumLiteral_50= 'threshold' ) + // InternalRDL.g:3260:4: enumLiteral_50= 'threshold' + { + enumLiteral_50=(Token)match(input,97,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_50, grammarAccess.getPropertyAccess().getTHRESHOLDEnumLiteralDeclaration_50()); + + } + + } + + + } + break; + case 52 : + // InternalRDL.g:3267:3: (enumLiteral_51= 'decrthreshold' ) + { + // InternalRDL.g:3267:3: (enumLiteral_51= 'decrthreshold' ) + // InternalRDL.g:3268:4: enumLiteral_51= 'decrthreshold' + { + enumLiteral_51=(Token)match(input,98,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_51, grammarAccess.getPropertyAccess().getDECRTHRESHOLDEnumLiteralDeclaration_51()); + + } + + } + + + } + break; + case 53 : + // InternalRDL.g:3275:3: (enumLiteral_52= 'dontcompare' ) + { + // InternalRDL.g:3275:3: (enumLiteral_52= 'dontcompare' ) + // InternalRDL.g:3276:4: enumLiteral_52= 'dontcompare' + { + enumLiteral_52=(Token)match(input,99,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_52, grammarAccess.getPropertyAccess().getDONTCOMPAREEnumLiteralDeclaration_52()); + + } + + } + + + } + break; + case 54 : + // InternalRDL.g:3283:3: (enumLiteral_53= 'donttest' ) + { + // InternalRDL.g:3283:3: (enumLiteral_53= 'donttest' ) + // InternalRDL.g:3284:4: enumLiteral_53= 'donttest' + { + enumLiteral_53=(Token)match(input,100,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_53, grammarAccess.getPropertyAccess().getDONTTESTEnumLiteralDeclaration_53()); + + } + + } + + + } + break; + case 55 : + // InternalRDL.g:3291:3: (enumLiteral_54= 'internal' ) + { + // InternalRDL.g:3291:3: (enumLiteral_54= 'internal' ) + // InternalRDL.g:3292:4: enumLiteral_54= 'internal' + { + enumLiteral_54=(Token)match(input,38,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_54, grammarAccess.getPropertyAccess().getINTERNALEnumLiteralDeclaration_54()); + + } + + } + + + } + break; + case 56 : + // InternalRDL.g:3299:3: (enumLiteral_55= 'alignment' ) + { + // InternalRDL.g:3299:3: (enumLiteral_55= 'alignment' ) + // InternalRDL.g:3300:4: enumLiteral_55= 'alignment' + { + enumLiteral_55=(Token)match(input,101,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_55, grammarAccess.getPropertyAccess().getALIGNMENTEnumLiteralDeclaration_55()); + + } + + } + + + } + break; + case 57 : + // InternalRDL.g:3307:3: (enumLiteral_56= 'regwidth' ) + { + // InternalRDL.g:3307:3: (enumLiteral_56= 'regwidth' ) + // InternalRDL.g:3308:4: enumLiteral_56= 'regwidth' + { + enumLiteral_56=(Token)match(input,102,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_56, grammarAccess.getPropertyAccess().getREGWIDTHEnumLiteralDeclaration_56()); + + } + + } + + + } + break; + case 58 : + // InternalRDL.g:3315:3: (enumLiteral_57= 'fieldwidth' ) + { + // InternalRDL.g:3315:3: (enumLiteral_57= 'fieldwidth' ) + // InternalRDL.g:3316:4: enumLiteral_57= 'fieldwidth' + { + enumLiteral_57=(Token)match(input,103,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_57, grammarAccess.getPropertyAccess().getFIELDWIDTHEnumLiteralDeclaration_57()); + + } + + } + + + } + break; + case 59 : + // InternalRDL.g:3323:3: (enumLiteral_58= 'signalwidth' ) + { + // InternalRDL.g:3323:3: (enumLiteral_58= 'signalwidth' ) + // InternalRDL.g:3324:4: enumLiteral_58= 'signalwidth' + { + enumLiteral_58=(Token)match(input,104,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_58, grammarAccess.getPropertyAccess().getSIGNALWIDTHEnumLiteralDeclaration_58()); + + } + + } + + + } + break; + case 60 : + // InternalRDL.g:3331:3: (enumLiteral_59= 'accesswidth' ) + { + // InternalRDL.g:3331:3: (enumLiteral_59= 'accesswidth' ) + // InternalRDL.g:3332:4: enumLiteral_59= 'accesswidth' + { + enumLiteral_59=(Token)match(input,105,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_59, grammarAccess.getPropertyAccess().getACCESSWIDTHEnumLiteralDeclaration_59()); + + } + + } + + + } + break; + case 61 : + // InternalRDL.g:3339:3: (enumLiteral_60= 'sw' ) + { + // InternalRDL.g:3339:3: (enumLiteral_60= 'sw' ) + // InternalRDL.g:3340:4: enumLiteral_60= 'sw' + { + enumLiteral_60=(Token)match(input,106,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_60, grammarAccess.getPropertyAccess().getSWEnumLiteralDeclaration_60()); + + } + + } + + + } + break; + case 62 : + // InternalRDL.g:3347:3: (enumLiteral_61= 'hw' ) + { + // InternalRDL.g:3347:3: (enumLiteral_61= 'hw' ) + // InternalRDL.g:3348:4: enumLiteral_61= 'hw' + { + enumLiteral_61=(Token)match(input,107,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_61, grammarAccess.getPropertyAccess().getHWEnumLiteralDeclaration_61()); + + } + + } + + + } + break; + case 63 : + // InternalRDL.g:3355:3: (enumLiteral_62= 'addressing' ) + { + // InternalRDL.g:3355:3: (enumLiteral_62= 'addressing' ) + // InternalRDL.g:3356:4: enumLiteral_62= 'addressing' + { + enumLiteral_62=(Token)match(input,108,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_62, grammarAccess.getPropertyAccess().getADDRESSINGEnumLiteralDeclaration_62()); + + } + + } + + + } + break; + case 64 : + // InternalRDL.g:3363:3: (enumLiteral_63= 'precedence' ) + { + // InternalRDL.g:3363:3: (enumLiteral_63= 'precedence' ) + // InternalRDL.g:3364:4: enumLiteral_63= 'precedence' + { + enumLiteral_63=(Token)match(input,109,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_63, grammarAccess.getPropertyAccess().getPRECEDENCEEnumLiteralDeclaration_63()); + + } + + } + + + } + break; + case 65 : + // InternalRDL.g:3371:3: (enumLiteral_64= 'encode' ) + { + // InternalRDL.g:3371:3: (enumLiteral_64= 'encode' ) + // InternalRDL.g:3372:4: enumLiteral_64= 'encode' + { + enumLiteral_64=(Token)match(input,110,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_64, grammarAccess.getPropertyAccess().getENCODEEnumLiteralDeclaration_64()); + + } + + } + + + } + break; + case 66 : + // InternalRDL.g:3379:3: (enumLiteral_65= 'resetsignal' ) + { + // InternalRDL.g:3379:3: (enumLiteral_65= 'resetsignal' ) + // InternalRDL.g:3380:4: enumLiteral_65= 'resetsignal' + { + enumLiteral_65=(Token)match(input,111,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_65, grammarAccess.getPropertyAccess().getRESETSIGNALEnumLiteralDeclaration_65()); + + } + + } + + + } + break; + case 67 : + // InternalRDL.g:3387:3: (enumLiteral_66= 'clock' ) + { + // InternalRDL.g:3387:3: (enumLiteral_66= 'clock' ) + // InternalRDL.g:3388:4: enumLiteral_66= 'clock' + { + enumLiteral_66=(Token)match(input,112,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_66, grammarAccess.getPropertyAccess().getCLOCKEnumLiteralDeclaration_66()); + + } + + } + + + } + break; + case 68 : + // InternalRDL.g:3395:3: (enumLiteral_67= 'mask' ) + { + // InternalRDL.g:3395:3: (enumLiteral_67= 'mask' ) + // InternalRDL.g:3396:4: enumLiteral_67= 'mask' + { + enumLiteral_67=(Token)match(input,113,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_67, grammarAccess.getPropertyAccess().getMASKEnumLiteralDeclaration_67()); + + } + + } + + + } + break; + case 69 : + // InternalRDL.g:3403:3: (enumLiteral_68= 'enable' ) + { + // InternalRDL.g:3403:3: (enumLiteral_68= 'enable' ) + // InternalRDL.g:3404:4: enumLiteral_68= 'enable' + { + enumLiteral_68=(Token)match(input,114,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_68, grammarAccess.getPropertyAccess().getENABLEEnumLiteralDeclaration_68()); + + } + + } + + + } + break; + case 70 : + // InternalRDL.g:3411:3: (enumLiteral_69= 'hwenable' ) + { + // InternalRDL.g:3411:3: (enumLiteral_69= 'hwenable' ) + // InternalRDL.g:3412:4: enumLiteral_69= 'hwenable' + { + enumLiteral_69=(Token)match(input,115,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_69, grammarAccess.getPropertyAccess().getHWENABLEEnumLiteralDeclaration_69()); + + } + + } + + + } + break; + case 71 : + // InternalRDL.g:3419:3: (enumLiteral_70= 'hwmask' ) + { + // InternalRDL.g:3419:3: (enumLiteral_70= 'hwmask' ) + // InternalRDL.g:3420:4: enumLiteral_70= 'hwmask' + { + enumLiteral_70=(Token)match(input,116,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_70, grammarAccess.getPropertyAccess().getHWMASKEnumLiteralDeclaration_70()); + + } + + } + + + } + break; + case 72 : + // InternalRDL.g:3427:3: (enumLiteral_71= 'haltmask' ) + { + // InternalRDL.g:3427:3: (enumLiteral_71= 'haltmask' ) + // InternalRDL.g:3428:4: enumLiteral_71= 'haltmask' + { + enumLiteral_71=(Token)match(input,117,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_71, grammarAccess.getPropertyAccess().getHALTMASKEnumLiteralDeclaration_71()); + + } + + } + + + } + break; + case 73 : + // InternalRDL.g:3435:3: (enumLiteral_72= 'haltenable' ) + { + // InternalRDL.g:3435:3: (enumLiteral_72= 'haltenable' ) + // InternalRDL.g:3436:4: enumLiteral_72= 'haltenable' + { + enumLiteral_72=(Token)match(input,118,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_72, grammarAccess.getPropertyAccess().getHALTENABLEEnumLiteralDeclaration_72()); + + } + + } + + + } + break; + case 74 : + // InternalRDL.g:3443:3: (enumLiteral_73= 'halt' ) + { + // InternalRDL.g:3443:3: (enumLiteral_73= 'halt' ) + // InternalRDL.g:3444:4: enumLiteral_73= 'halt' + { + enumLiteral_73=(Token)match(input,119,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_73, grammarAccess.getPropertyAccess().getHALTEnumLiteralDeclaration_73()); + + } + + } + + + } + break; + case 75 : + // InternalRDL.g:3451:3: (enumLiteral_74= 'next' ) + { + // InternalRDL.g:3451:3: (enumLiteral_74= 'next' ) + // InternalRDL.g:3452:4: enumLiteral_74= 'next' + { + enumLiteral_74=(Token)match(input,120,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_74, grammarAccess.getPropertyAccess().getNEXTEnumLiteralDeclaration_74()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleProperty" + + + // $ANTLR start "ruleRValueConstant" + // InternalRDL.g:3462:1: ruleRValueConstant returns [Enumerator current=null] : ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) ; + public final Enumerator ruleRValueConstant() throws RecognitionException { + Enumerator current = null; + + 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:3468:2: ( ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) ) + // InternalRDL.g:3469:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) + { + // InternalRDL.g:3469:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'true' ) | (enumLiteral_2= 'false' ) | (enumLiteral_3= 'rw' ) | (enumLiteral_4= 'wr' ) | (enumLiteral_5= 'r' ) | (enumLiteral_6= 'w' ) | (enumLiteral_7= 'na' ) | (enumLiteral_8= 'compact' ) | (enumLiteral_9= 'regalign' ) | (enumLiteral_10= 'fullalign' ) | (enumLiteral_11= 'hw' ) | (enumLiteral_12= 'sw' ) ) + int alt46=13; + switch ( input.LA(1) ) { + case 121: + { + alt46=1; + } + break; + case 20: + { + alt46=2; + } + break; + case 21: + { + alt46=3; + } + break; + case 122: + { + alt46=4; + } + break; + case 123: + { + alt46=5; + } + break; + case 124: + { + alt46=6; + } + break; + case 125: + { + alt46=7; + } + break; + case 126: + { + alt46=8; + } + break; + case 127: + { + alt46=9; + } + break; + case 128: + { + alt46=10; + } + break; + case 129: + { + alt46=11; + } + break; + case 107: + { + alt46=12; + } + break; + case 106: + { + alt46=13; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 46, 0, input); + + throw nvae; + } + + switch (alt46) { + case 1 : + // InternalRDL.g:3470:3: (enumLiteral_0= 'UNDEFINED' ) + { + // InternalRDL.g:3470:3: (enumLiteral_0= 'UNDEFINED' ) + // InternalRDL.g:3471:4: enumLiteral_0= 'UNDEFINED' + { + enumLiteral_0=(Token)match(input,121,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getRValueConstantAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:3478:3: (enumLiteral_1= 'true' ) + { + // InternalRDL.g:3478:3: (enumLiteral_1= 'true' ) + // InternalRDL.g:3479:4: enumLiteral_1= 'true' + { + enumLiteral_1=(Token)match(input,20,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getRValueConstantAccess().getTRUEEnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:3486:3: (enumLiteral_2= 'false' ) + { + // InternalRDL.g:3486:3: (enumLiteral_2= 'false' ) + // InternalRDL.g:3487:4: enumLiteral_2= 'false' + { + enumLiteral_2=(Token)match(input,21,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getRValueConstantAccess().getFALSEEnumLiteralDeclaration_2()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:3494:3: (enumLiteral_3= 'rw' ) + { + // InternalRDL.g:3494:3: (enumLiteral_3= 'rw' ) + // InternalRDL.g:3495:4: enumLiteral_3= 'rw' + { + enumLiteral_3=(Token)match(input,122,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getRValueConstantAccess().getRWEnumLiteralDeclaration_3()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:3502:3: (enumLiteral_4= 'wr' ) + { + // InternalRDL.g:3502:3: (enumLiteral_4= 'wr' ) + // InternalRDL.g:3503:4: enumLiteral_4= 'wr' + { + enumLiteral_4=(Token)match(input,123,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getRValueConstantAccess().getWREnumLiteralDeclaration_4()); + + } + + } + + + } + break; + case 6 : + // InternalRDL.g:3510:3: (enumLiteral_5= 'r' ) + { + // InternalRDL.g:3510:3: (enumLiteral_5= 'r' ) + // InternalRDL.g:3511:4: enumLiteral_5= 'r' + { + enumLiteral_5=(Token)match(input,124,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getRValueConstantAccess().getREnumLiteralDeclaration_5()); + + } + + } + + + } + break; + case 7 : + // InternalRDL.g:3518:3: (enumLiteral_6= 'w' ) + { + // InternalRDL.g:3518:3: (enumLiteral_6= 'w' ) + // InternalRDL.g:3519:4: enumLiteral_6= 'w' + { + enumLiteral_6=(Token)match(input,125,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_6, grammarAccess.getRValueConstantAccess().getWEnumLiteralDeclaration_6()); + + } + + } + + + } + break; + case 8 : + // InternalRDL.g:3526:3: (enumLiteral_7= 'na' ) + { + // InternalRDL.g:3526:3: (enumLiteral_7= 'na' ) + // InternalRDL.g:3527:4: enumLiteral_7= 'na' + { + enumLiteral_7=(Token)match(input,126,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_7, grammarAccess.getRValueConstantAccess().getNAEnumLiteralDeclaration_7()); + + } + + } + + + } + break; + case 9 : + // InternalRDL.g:3534:3: (enumLiteral_8= 'compact' ) + { + // InternalRDL.g:3534:3: (enumLiteral_8= 'compact' ) + // InternalRDL.g:3535:4: enumLiteral_8= 'compact' + { + enumLiteral_8=(Token)match(input,127,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_8, grammarAccess.getRValueConstantAccess().getCOMPACTEnumLiteralDeclaration_8()); + + } + + } + + + } + break; + case 10 : + // InternalRDL.g:3542:3: (enumLiteral_9= 'regalign' ) + { + // InternalRDL.g:3542:3: (enumLiteral_9= 'regalign' ) + // InternalRDL.g:3543:4: enumLiteral_9= 'regalign' + { + enumLiteral_9=(Token)match(input,128,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_9, grammarAccess.getRValueConstantAccess().getREGALIGNEnumLiteralDeclaration_9()); + + } + + } + + + } + break; + case 11 : + // InternalRDL.g:3550:3: (enumLiteral_10= 'fullalign' ) + { + // InternalRDL.g:3550:3: (enumLiteral_10= 'fullalign' ) + // InternalRDL.g:3551:4: enumLiteral_10= 'fullalign' + { + enumLiteral_10=(Token)match(input,129,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_10, grammarAccess.getRValueConstantAccess().getFULLALIGNEnumLiteralDeclaration_10()); + + } + + } + + + } + break; + case 12 : + // InternalRDL.g:3558:3: (enumLiteral_11= 'hw' ) + { + // InternalRDL.g:3558:3: (enumLiteral_11= 'hw' ) + // InternalRDL.g:3559:4: enumLiteral_11= 'hw' + { + enumLiteral_11=(Token)match(input,107,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_11, grammarAccess.getRValueConstantAccess().getHWEnumLiteralDeclaration_11()); + + } + + } + + + } + break; + case 13 : + // InternalRDL.g:3566:3: (enumLiteral_12= 'sw' ) + { + // InternalRDL.g:3566:3: (enumLiteral_12= 'sw' ) + // InternalRDL.g:3567:4: enumLiteral_12= 'sw' + { + enumLiteral_12=(Token)match(input,106,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_12, grammarAccess.getRValueConstantAccess().getSWEnumLiteralDeclaration_12()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRValueConstant" + + + // $ANTLR start "rulePropertyModifier" + // InternalRDL.g:3577:1: rulePropertyModifier returns [Enumerator current=null] : ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) ; + public final Enumerator rulePropertyModifier() throws RecognitionException { + Enumerator current = null; + + 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:3583:2: ( ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) ) + // InternalRDL.g:3584:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) + { + // InternalRDL.g:3584:2: ( (enumLiteral_0= 'UNDEFINED' ) | (enumLiteral_1= 'posedge' ) | (enumLiteral_2= 'negedge' ) | (enumLiteral_3= 'bothedge' ) | (enumLiteral_4= 'level' ) | (enumLiteral_5= 'nonsticky' ) ) + int alt47=6; + switch ( input.LA(1) ) { + case 121: + { + alt47=1; + } + break; + case 130: + { + alt47=2; + } + break; + case 131: + { + alt47=3; + } + break; + case 132: + { + alt47=4; + } + break; + case 133: + { + alt47=5; + } + break; + case 134: + { + alt47=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 47, 0, input); + + throw nvae; + } + + switch (alt47) { + case 1 : + // InternalRDL.g:3585:3: (enumLiteral_0= 'UNDEFINED' ) + { + // InternalRDL.g:3585:3: (enumLiteral_0= 'UNDEFINED' ) + // InternalRDL.g:3586:4: enumLiteral_0= 'UNDEFINED' + { + enumLiteral_0=(Token)match(input,121,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getPropertyModifierAccess().getUNDEFINEDEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalRDL.g:3593:3: (enumLiteral_1= 'posedge' ) + { + // InternalRDL.g:3593:3: (enumLiteral_1= 'posedge' ) + // InternalRDL.g:3594:4: enumLiteral_1= 'posedge' + { + enumLiteral_1=(Token)match(input,130,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getPropertyModifierAccess().getPOSEDGEEnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalRDL.g:3601:3: (enumLiteral_2= 'negedge' ) + { + // InternalRDL.g:3601:3: (enumLiteral_2= 'negedge' ) + // InternalRDL.g:3602:4: enumLiteral_2= 'negedge' + { + enumLiteral_2=(Token)match(input,131,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getPropertyModifierAccess().getNEGEDGEEnumLiteralDeclaration_2()); + + } + + } + + + } + break; + case 4 : + // InternalRDL.g:3609:3: (enumLiteral_3= 'bothedge' ) + { + // InternalRDL.g:3609:3: (enumLiteral_3= 'bothedge' ) + // InternalRDL.g:3610:4: enumLiteral_3= 'bothedge' + { + enumLiteral_3=(Token)match(input,132,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getPropertyModifierAccess().getBOTHEDGEEnumLiteralDeclaration_3()); + + } + + } + + + } + break; + case 5 : + // InternalRDL.g:3617:3: (enumLiteral_4= 'level' ) + { + // InternalRDL.g:3617:3: (enumLiteral_4= 'level' ) + // InternalRDL.g:3618:4: enumLiteral_4= 'level' + { + enumLiteral_4=(Token)match(input,133,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_4, grammarAccess.getPropertyModifierAccess().getLEVELEnumLiteralDeclaration_4()); + + } + + } + + + } + break; + case 6 : + // InternalRDL.g:3625:3: (enumLiteral_5= 'nonsticky' ) + { + // InternalRDL.g:3625:3: (enumLiteral_5= 'nonsticky' ) + // InternalRDL.g:3626:4: enumLiteral_5= 'nonsticky' + { + enumLiteral_5=(Token)match(input,134,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getPropertyModifierAccess().getNONSTICKYEnumLiteralDeclaration_5()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePropertyModifier" + + // $ANTLR start synpred2_InternalRDL + public final void synpred2_InternalRDL_fragment() throws RecognitionException { + Token otherlv_2=null; + EObject lv_componentDefinitions_1_0 = null; + + + // InternalRDL.g:106:3: ( ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) ) + // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) + { + // InternalRDL.g:106:3: ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) + // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' + { + // InternalRDL.g:107:4: ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) + // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition ) + { + // InternalRDL.g:108:5: (lv_componentDefinitions_1_0= ruleComponentDefinition ) + // InternalRDL.g:109:6: lv_componentDefinitions_1_0= ruleComponentDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0()); + + } + pushFollow(FOLLOW_4); + lv_componentDefinitions_1_0=ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + otherlv_2=(Token)match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + + } + } + // $ANTLR end synpred2_InternalRDL + + // $ANTLR start synpred4_InternalRDL + public final void synpred4_InternalRDL_fragment() throws RecognitionException { + Token otherlv_6=null; + EObject lv_instantiations_5_0 = null; + + + // InternalRDL.g:158:3: ( ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) ) + // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + { + // InternalRDL.g:158:3: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' + { + // InternalRDL.g:159:4: ( (lv_instantiations_5_0= ruleInstantiation ) ) + // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation ) + { + // InternalRDL.g:160:5: (lv_instantiations_5_0= ruleInstantiation ) + // InternalRDL.g:161:6: lv_instantiations_5_0= ruleInstantiation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getInstantiationsInstantiationParserRuleCall_3_0_0()); + + } + pushFollow(FOLLOW_4); + lv_instantiations_5_0=ruleInstantiation(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + + } + } + // $ANTLR end synpred4_InternalRDL + + // $ANTLR start synpred5_InternalRDL + public final void synpred5_InternalRDL_fragment() throws RecognitionException { + Token otherlv_8=null; + EObject lv_propertyAssignments_7_0 = null; + + + // InternalRDL.g:184:3: ( ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) ) + // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + { + // InternalRDL.g:184:3: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' + { + // InternalRDL.g:185:4: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) + // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + { + // InternalRDL.g:186:5: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + // InternalRDL.g:187:6: lv_propertyAssignments_7_0= rulePropertyAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getRootAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0()); + + } + pushFollow(FOLLOW_4); + lv_propertyAssignments_7_0=rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + otherlv_8=(Token)match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + + } + } + // $ANTLR end synpred5_InternalRDL + + // $ANTLR start synpred19_InternalRDL + public final void synpred19_InternalRDL_fragment() throws RecognitionException { + Token otherlv_4=null; + EObject lv_componentDefinitions_3_0 = null; + + + // InternalRDL.g:941:4: ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) ) + // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) + { + // InternalRDL.g:941:4: ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) + // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' + { + // InternalRDL.g:942:5: ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) + // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition ) + { + // InternalRDL.g:943:6: (lv_componentDefinitions_3_0= ruleComponentDefinition ) + // InternalRDL.g:944:7: lv_componentDefinitions_3_0= ruleComponentDefinition + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0()); + + } + pushFollow(FOLLOW_4); + lv_componentDefinitions_3_0=ruleComponentDefinition(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + otherlv_4=(Token)match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + + } + } + // $ANTLR end synpred19_InternalRDL + + // $ANTLR start synpred20_InternalRDL + public final void synpred20_InternalRDL_fragment() throws RecognitionException { + Token otherlv_6=null; + EObject lv_instantiations_5_0 = null; + + + // InternalRDL.g:967:4: ( ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) ) + // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + { + // InternalRDL.g:967:4: ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) + // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' + { + // InternalRDL.g:968:5: ( (lv_instantiations_5_0= ruleInstantiation ) ) + // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation ) + { + // InternalRDL.g:969:6: (lv_instantiations_5_0= ruleInstantiation ) + // InternalRDL.g:970:7: lv_instantiations_5_0= ruleInstantiation + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInstantiationsInstantiationParserRuleCall_3_1_0_0()); + + } + pushFollow(FOLLOW_4); + lv_instantiations_5_0=ruleInstantiation(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + otherlv_6=(Token)match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + + } + } + // $ANTLR end synpred20_InternalRDL + + // $ANTLR start synpred21_InternalRDL + public final void synpred21_InternalRDL_fragment() throws RecognitionException { + Token otherlv_8=null; + EObject lv_propertyAssignments_7_0 = null; + + + // InternalRDL.g:993:4: ( ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) ) + // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + { + // InternalRDL.g:993:4: ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) + // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' + { + // InternalRDL.g:994:5: ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) + // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + { + // InternalRDL.g:995:6: (lv_propertyAssignments_7_0= rulePropertyAssignment ) + // InternalRDL.g:996:7: lv_propertyAssignments_7_0= rulePropertyAssignment + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getComponentDefinitionAccess().getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0()); + + } + pushFollow(FOLLOW_4); + lv_propertyAssignments_7_0=rulePropertyAssignment(); + + state._fsp--; + if (state.failed) return ; + + } + + + } + + otherlv_8=(Token)match(input,12,FOLLOW_2); if (state.failed) return ; + + } + + + } + } + // $ANTLR end synpred21_InternalRDL + + // Delegated rules + + public final boolean synpred20_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred20_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred4_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred4_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred19_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred19_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred2_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred2_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred5_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred5_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + public final boolean synpred21_InternalRDL() { + state.backtracking++; + int start = input.mark(); + try { + synpred21_InternalRDL_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + + + protected DFA1 dfa1 = new DFA1(this); + protected DFA11 dfa11 = new DFA11(this); + static final String dfa_1s = "\140\uffff"; + static final String dfa_2s = "\1\1\137\uffff"; + static final String dfa_3s = "\1\5\2\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_4s = "\1\u0086\2\uffff\5\0\2\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_5s = "\1\uffff\1\7\1\1\5\uffff\1\3\1\4\3\uffff\1\5\120\uffff\1\6\1\2"; + static final String dfa_6s = "\3\uffff\1\0\1\1\1\2\1\3\1\4\2\uffff\1\5\1\uffff\1\6\123\uffff}>"; + static final String[] dfa_7s = { + "\1\14\7\uffff\1\2\1\136\4\uffff\1\15\4\uffff\1\11\11\uffff\1\10\2\15\1\11\1\12\3\uffff\1\4\1\6\1\5\1\7\1\uffff\1\3\1\uffff\111\15\10\uffff\5\15", + "", + "", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "", + "", + "\1\uffff", + "", + "\1\uffff", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + 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 85:2: ( ( (lv_includes_0_0= ruleInclude ) ) | ( ( (lv_componentDefinitions_1_0= ruleComponentDefinition ) ) otherlv_2= ';' ) | ( ( (lv_enumDefinitions_3_0= ruleEnumDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_propertyDefinitions_9_0= rulePropertyDefinition ) ) otherlv_10= ';' ) )*"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA1_3 = input.LA(1); + + + int index1_3 = input.index(); + input.rewind(); + s = -1; + if ( (synpred2_InternalRDL()) ) {s = 95;} + + else if ( (synpred4_InternalRDL()) ) {s = 9;} + + + input.seek(index1_3); + if ( s>=0 ) return s; + break; + case 1 : + int LA1_4 = input.LA(1); + + + int index1_4 = input.index(); + input.rewind(); + s = -1; + if ( (synpred2_InternalRDL()) ) {s = 95;} + + else if ( (synpred4_InternalRDL()) ) {s = 9;} + + + input.seek(index1_4); + if ( s>=0 ) return s; + break; + case 2 : + int LA1_5 = input.LA(1); + + + int index1_5 = input.index(); + input.rewind(); + s = -1; + if ( (synpred2_InternalRDL()) ) {s = 95;} + + else if ( (synpred4_InternalRDL()) ) {s = 9;} + + + input.seek(index1_5); + if ( s>=0 ) return s; + break; + case 3 : + int LA1_6 = input.LA(1); + + + int index1_6 = input.index(); + input.rewind(); + s = -1; + if ( (synpred2_InternalRDL()) ) {s = 95;} + + else if ( (synpred4_InternalRDL()) ) {s = 9;} + + + input.seek(index1_6); + if ( s>=0 ) return s; + break; + case 4 : + int LA1_7 = input.LA(1); + + + int index1_7 = input.index(); + input.rewind(); + s = -1; + if ( (synpred2_InternalRDL()) ) {s = 95;} + + else if ( (synpred4_InternalRDL()) ) {s = 9;} + + + input.seek(index1_7); + if ( s>=0 ) return s; + break; + case 5 : + int LA1_10 = input.LA(1); + + + int index1_10 = input.index(); + input.rewind(); + s = -1; + if ( (synpred4_InternalRDL()) ) {s = 9;} + + else if ( (synpred5_InternalRDL()) ) {s = 13;} + + + input.seek(index1_10); + if ( s>=0 ) return s; + break; + case 6 : + int LA1_12 = input.LA(1); + + + int index1_12 = input.index(); + input.rewind(); + s = -1; + if ( (synpred4_InternalRDL()) ) {s = 9;} + + else if ( (synpred5_InternalRDL()) ) {s = 13;} + + + input.seek(index1_12); + if ( s>=0 ) return s; + break; + } + if (state.backtracking>0) {state.failed=true; return -1;} + NoViableAltException nvae = + new NoViableAltException(getDescription(), 1, _s, input); + error(nvae); + throw nvae; + } + } + static final String dfa_8s = "\136\uffff"; + static final String dfa_9s = "\1\5\1\uffff\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_10s = "\1\u0086\1\uffff\5\0\1\uffff\1\0\1\uffff\1\0\123\uffff"; + static final String dfa_11s = "\1\uffff\1\5\5\uffff\1\2\3\uffff\1\3\120\uffff\1\4\1\1"; + static final String dfa_12s = "\2\uffff\1\0\1\1\1\2\1\3\1\4\1\uffff\1\5\1\uffff\1\6\123\uffff}>"; + static final String[] dfa_13s = { + "\1\12\14\uffff\1\1\1\13\4\uffff\1\7\11\uffff\1\134\2\13\1\7\1\10\3\uffff\1\3\1\5\1\4\1\6\1\uffff\1\2\1\uffff\111\13\10\uffff\5\13", + "", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "", + "\1\uffff", + "", + "\1\uffff", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s); + static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); + static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s); + static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); + static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); + static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); + + class DFA11 extends DFA { + + public DFA11(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 11; + this.eot = dfa_8; + this.eof = dfa_8; + this.min = dfa_9; + this.max = dfa_10; + this.accept = dfa_11; + this.special = dfa_12; + this.transition = dfa_13; + } + public String getDescription() { + return "()* loopback of 940:3: ( ( ( (lv_componentDefinitions_3_0= ruleComponentDefinition ) ) otherlv_4= ';' ) | ( ( (lv_instantiations_5_0= ruleInstantiation ) ) otherlv_6= ';' ) | ( ( (lv_propertyAssignments_7_0= rulePropertyAssignment ) ) otherlv_8= ';' ) | ( ( (lv_enumDefinitions_9_0= ruleEnumDefinition ) ) otherlv_10= ';' ) )*"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA11_2 = input.LA(1); + + + int index11_2 = input.index(); + input.rewind(); + s = -1; + if ( (synpred19_InternalRDL()) ) {s = 93;} + + else if ( (synpred20_InternalRDL()) ) {s = 7;} + + + input.seek(index11_2); + if ( s>=0 ) return s; + break; + case 1 : + int LA11_3 = input.LA(1); + + + int index11_3 = input.index(); + input.rewind(); + s = -1; + if ( (synpred19_InternalRDL()) ) {s = 93;} + + else if ( (synpred20_InternalRDL()) ) {s = 7;} + + + input.seek(index11_3); + if ( s>=0 ) return s; + break; + case 2 : + int LA11_4 = input.LA(1); + + + int index11_4 = input.index(); + input.rewind(); + s = -1; + if ( (synpred19_InternalRDL()) ) {s = 93;} + + else if ( (synpred20_InternalRDL()) ) {s = 7;} + + + input.seek(index11_4); + if ( s>=0 ) return s; + break; + case 3 : + int LA11_5 = input.LA(1); + + + int index11_5 = input.index(); + input.rewind(); + s = -1; + if ( (synpred19_InternalRDL()) ) {s = 93;} + + else if ( (synpred20_InternalRDL()) ) {s = 7;} + + + input.seek(index11_5); + if ( s>=0 ) return s; + break; + case 4 : + int LA11_6 = input.LA(1); + + + int index11_6 = input.index(); + input.rewind(); + s = -1; + if ( (synpred19_InternalRDL()) ) {s = 93;} + + else if ( (synpred20_InternalRDL()) ) {s = 7;} + + + input.seek(index11_6); + if ( s>=0 ) return s; + break; + case 5 : + int LA11_8 = input.LA(1); + + + int index11_8 = input.index(); + input.rewind(); + s = -1; + if ( (synpred20_InternalRDL()) ) {s = 7;} + + else if ( (synpred21_InternalRDL()) ) {s = 11;} + + + input.seek(index11_8); + if ( s>=0 ) return s; + break; + case 6 : + int LA11_10 = input.LA(1); + + + int index11_10 = input.index(); + input.rewind(); + s = -1; + if ( (synpred20_InternalRDL()) ) {s = 7;} + + else if ( (synpred21_InternalRDL()) ) {s = 11;} + + + input.seek(index11_10); + if ( s>=0 ) return s; + break; + } + if (state.backtracking>0) {state.failed=true; return -1;} + NoViableAltException nvae = + new NoViableAltException(getDescription(), 11, _s, input); + error(nvae); + throw nvae; + } + } + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xFFFEBC7C01086022L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0xFFFEBC7C01087022L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000490000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00007F8000000000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000000004D0000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000410000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000300050L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0001BC0000000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000801000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000008020L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0xFFFEBC7C010C0020L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000006000000020L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000002000002L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x000000003C020002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x000000001C020002L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x000000001C000002L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000018000002L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000010000002L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0xFFFE005800000000L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000020002L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000308070L,0xFE000C0000000000L,0x0000000000000003L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0xFFFE005800000020L,0x03FFFFFFFFFFFFFFL,0x000000000000007CL}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000100000002L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000200000002L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000060L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000002040000L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000040020L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000009000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000001800040000L}); + +} \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java new file mode 100644 index 0000000..021c337 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinition.java @@ -0,0 +1,128 @@ +/** + * generated by Xtext 2.26.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#getInstantiations Instantiations}
  • + *
  • {@link com.minres.rdl.rdl.ComponentDefinition#getPropertyAssignments Property Assignments}
  • + *
  • {@link com.minres.rdl.rdl.ComponentDefinition#getEnumDefinitions Enum Definitions}
  • + *
+ * + * @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}. + * + * + * @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. + * + * + * @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}. + * + * + * @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 'Instantiations' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.Instantiation}. + * + * + * @return the value of the 'Instantiations' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_Instantiations() + * @model containment="true" + * @generated + */ + EList getInstantiations(); + + /** + * Returns the value of the 'Property Assignments' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.PropertyAssignment}. + * + * + * @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}. + * + * + * @return the value of the 'Enum Definitions' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getComponentDefinition_EnumDefinitions() + * @model containment="true" + * @generated + */ + EList getEnumDefinitions(); + +} // 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..d5a197b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentDefinitionType.java @@ -0,0 +1,294 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @see #SIGNAL + * @model literal="signal" + * @generated + * @ordered + */ + public static final int SIGNAL_VALUE = 0; + + /** + * The 'ADDRMAP' literal value. + * + * + * @see #ADDRMAP + * @model literal="addrmap" + * @generated + * @ordered + */ + public static final int ADDRMAP_VALUE = 1; + + /** + * The 'REGFILE' literal value. + * + * + * @see #REGFILE + * @model literal="regfile" + * @generated + * @ordered + */ + public static final int REGFILE_VALUE = 2; + + /** + * The 'REG' literal value. + * + * + * @see #REG + * @model literal="reg" + * @generated + * @ordered + */ + public static final int REG_VALUE = 3; + + /** + * The 'FIELD' literal value. + * + * + * @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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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..41515ff --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ComponentInstance.java @@ -0,0 +1,139 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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. + * + * + * @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. + * + * + * @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. + * + * + * @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..b615b9f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Concat.java @@ -0,0 +1,40 @@ +/** + * generated by Xtext 2.26.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}. + * + * + * @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..a4d5350 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ConcatElem.java @@ -0,0 +1,71 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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..505216c --- /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.26.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..ba1aa65 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Entity.java @@ -0,0 +1,48 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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..deadec4 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumBody.java @@ -0,0 +1,40 @@ +/** + * generated by Xtext 2.26.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}. + * + * + * @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..dd40041 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumDefinition.java @@ -0,0 +1,47 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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..5aec448 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumEntry.java @@ -0,0 +1,86 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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}. + * + * + * @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/EnumInstanceType.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumInstanceType.java new file mode 100644 index 0000000..aff0713 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumInstanceType.java @@ -0,0 +1,71 @@ +/** + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Enum Instance Type'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL EXTERNAL}
  • + *
  • {@link com.minres.rdl.rdl.EnumInstanceType#getINTERNAL INTERNAL}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getEnumInstanceType() + * @model + * @generated + */ +public interface EnumInstanceType extends EObject +{ + /** + * Returns the value of the 'EXTERNAL' attribute. + * + * + * @return the value of the 'EXTERNAL' attribute. + * @see #setEXTERNAL(String) + * @see com.minres.rdl.rdl.RdlPackage#getEnumInstanceType_EXTERNAL() + * @model + * @generated + */ + String getEXTERNAL(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL EXTERNAL}' attribute. + * + * + * @param value the new value of the 'EXTERNAL' attribute. + * @see #getEXTERNAL() + * @generated + */ + void setEXTERNAL(String value); + + /** + * Returns the value of the 'INTERNAL' attribute. + * + * + * @return the value of the 'INTERNAL' attribute. + * @see #setINTERNAL(String) + * @see com.minres.rdl.rdl.RdlPackage#getEnumInstanceType_INTERNAL() + * @model + * @generated + */ + String getINTERNAL(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.EnumInstanceType#getINTERNAL INTERNAL}' attribute. + * + * + * @param value the new value of the 'INTERNAL' attribute. + * @see #getINTERNAL() + * @generated + */ + void setINTERNAL(String value); + +} // EnumInstanceType diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumProperty.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumProperty.java new file mode 100644 index 0000000..29f2bfd --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/EnumProperty.java @@ -0,0 +1,71 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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..996b292 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/ExplicitPropertyAssignment.java @@ -0,0 +1,99 @@ +/** + * generated by Xtext 2.26.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}. + * + * + * @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}. + * + * + * @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. + * + * + * @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/Include.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Include.java new file mode 100644 index 0000000..8be4996 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Include.java @@ -0,0 +1,48 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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..5923fd9 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstancePropertyRef.java @@ -0,0 +1,97 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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}. + * + * + * @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. + * + * + * @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..6944b8f --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/InstanceRef.java @@ -0,0 +1,71 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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/Instantiation.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Instantiation.java new file mode 100644 index 0000000..9cab6d2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Instantiation.java @@ -0,0 +1,132 @@ +/** + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.rdl; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Instantiation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.Instantiation#getInstanceType Instance Type}
  • + *
  • {@link com.minres.rdl.rdl.Instantiation#getAlias Alias}
  • + *
  • {@link com.minres.rdl.rdl.Instantiation#getComponentRef Component Ref}
  • + *
  • {@link com.minres.rdl.rdl.Instantiation#getComponent Component}
  • + *
  • {@link com.minres.rdl.rdl.Instantiation#getComponentInstances Component Instances}
  • + *
+ * + * @see com.minres.rdl.rdl.RdlPackage#getInstantiation() + * @model + * @generated + */ +public interface Instantiation extends EObject +{ + /** + * Returns the value of the 'Instance Type' containment reference. + * + * + * @return the value of the 'Instance Type' containment reference. + * @see #setInstanceType(EnumInstanceType) + * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_InstanceType() + * @model containment="true" + * @generated + */ + EnumInstanceType getInstanceType(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getInstanceType Instance Type}' containment reference. + * + * + * @param value the new value of the 'Instance Type' containment reference. + * @see #getInstanceType() + * @generated + */ + void setInstanceType(EnumInstanceType value); + + /** + * Returns the value of the 'Alias' attribute. + * + * + * @return the value of the 'Alias' attribute. + * @see #setAlias(String) + * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_Alias() + * @model + * @generated + */ + String getAlias(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getAlias Alias}' attribute. + * + * + * @param value the new value of the 'Alias' attribute. + * @see #getAlias() + * @generated + */ + void setAlias(String value); + + /** + * Returns the value of the 'Component Ref' reference. + * + * + * @return the value of the 'Component Ref' reference. + * @see #setComponentRef(ComponentDefinition) + * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_ComponentRef() + * @model + * @generated + */ + ComponentDefinition getComponentRef(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getComponentRef Component Ref}' reference. + * + * + * @param value the new value of the 'Component Ref' reference. + * @see #getComponentRef() + * @generated + */ + void setComponentRef(ComponentDefinition value); + + /** + * Returns the value of the 'Component' containment reference. + * + * + * @return the value of the 'Component' containment reference. + * @see #setComponent(ComponentDefinition) + * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_Component() + * @model containment="true" + * @generated + */ + ComponentDefinition getComponent(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Instantiation#getComponent Component}' containment reference. + * + * + * @param value the new value of the 'Component' containment reference. + * @see #getComponent() + * @generated + */ + void setComponent(ComponentDefinition value); + + /** + * Returns the value of the 'Component Instances' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.ComponentInstance}. + * + * + * @return the value of the 'Component Instances' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getInstantiation_ComponentInstances() + * @model containment="true" + * @generated + */ + EList getComponentInstances(); + +} // Instantiation diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PostPropertyAssignment.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PostPropertyAssignment.java new file mode 100644 index 0000000..7326f7c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PostPropertyAssignment.java @@ -0,0 +1,119 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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}. + * + * + * @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. + * + * + * @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. + * + * + * @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..cc00f2d --- /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.26.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..84874d3 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyAssignmentRhs.java @@ -0,0 +1,140 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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. + * + * + * @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. + * + * + * @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. + * + * + * @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..8111fd4 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyComponent.java @@ -0,0 +1,317 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @see #SIGNAL + * @model literal="signal" + * @generated + * @ordered + */ + public static final int SIGNAL_VALUE = 0; + + /** + * The 'ADDRMAP' literal value. + * + * + * @see #ADDRMAP + * @model literal="addrmap" + * @generated + * @ordered + */ + public static final int ADDRMAP_VALUE = 1; + + /** + * The 'REG' literal value. + * + * + * @see #REG + * @model literal="reg" + * @generated + * @ordered + */ + public static final int REG_VALUE = 2; + + /** + * The 'REGFILE' literal value. + * + * + * @see #REGFILE + * @model literal="regfile" + * @generated + * @ordered + */ + public static final int REGFILE_VALUE = 3; + + /** + * The 'FIELD' literal value. + * + * + * @see #FIELD + * @model literal="field" + * @generated + * @ordered + */ + public static final int FIELD_VALUE = 4; + + /** + * The 'ALL' literal value. + * + * + * @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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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..b912a74 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefault.java @@ -0,0 +1,71 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @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. + * + * + * @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..232bea2 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyDefinition.java @@ -0,0 +1,96 @@ +/** + * generated by Xtext 2.26.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}. + * + * + * @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. + * + * + * @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. + * + * + * @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..4a4e4e6 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyEnum.java @@ -0,0 +1,1927 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @see #UNSPECIFIED + * @model + * @generated + * @ordered + */ + public static final int UNSPECIFIED_VALUE = 0; + + /** + * The 'NAME' literal value. + * + * + * @see #NAME + * @model literal="name" + * @generated + * @ordered + */ + public static final int NAME_VALUE = 1; + + /** + * The 'DESC' literal value. + * + * + * @see #DESC + * @model literal="desc" + * @generated + * @ordered + */ + public static final int DESC_VALUE = 2; + + /** + * The 'ARBITER' literal value. + * + * + * @see #ARBITER + * @model literal="arbiter" + * @generated + * @ordered + */ + public static final int ARBITER_VALUE = 3; + + /** + * The 'RSET' literal value. + * + * + * @see #RSET + * @model literal="rset" + * @generated + * @ordered + */ + public static final int RSET_VALUE = 4; + + /** + * The 'RCLR' literal value. + * + * + * @see #RCLR + * @model literal="rclr" + * @generated + * @ordered + */ + public static final int RCLR_VALUE = 5; + + /** + * The 'WOCLR' literal value. + * + * + * @see #WOCLR + * @model literal="woclr" + * @generated + * @ordered + */ + public static final int WOCLR_VALUE = 6; + + /** + * The 'WOSET' literal value. + * + * + * @see #WOSET + * @model literal="woset" + * @generated + * @ordered + */ + public static final int WOSET_VALUE = 7; + + /** + * The 'WE' literal value. + * + * + * @see #WE + * @model literal="we" + * @generated + * @ordered + */ + public static final int WE_VALUE = 8; + + /** + * The 'WEL' literal value. + * + * + * @see #WEL + * @model literal="wel" + * @generated + * @ordered + */ + public static final int WEL_VALUE = 9; + + /** + * The 'SWWE' literal value. + * + * + * @see #SWWE + * @model literal="swwe" + * @generated + * @ordered + */ + public static final int SWWE_VALUE = 10; + + /** + * The 'SWWEL' literal value. + * + * + * @see #SWWEL + * @model literal="swwel" + * @generated + * @ordered + */ + public static final int SWWEL_VALUE = 11; + + /** + * The 'HWSET' literal value. + * + * + * @see #HWSET + * @model literal="hwset" + * @generated + * @ordered + */ + public static final int HWSET_VALUE = 12; + + /** + * The 'HWCLR' literal value. + * + * + * @see #HWCLR + * @model literal="hwclr" + * @generated + * @ordered + */ + public static final int HWCLR_VALUE = 13; + + /** + * The 'SWMOD' literal value. + * + * + * @see #SWMOD + * @model literal="swmod" + * @generated + * @ordered + */ + public static final int SWMOD_VALUE = 14; + + /** + * The 'SWACC' literal value. + * + * + * @see #SWACC + * @model literal="swacc" + * @generated + * @ordered + */ + public static final int SWACC_VALUE = 15; + + /** + * The 'STICKY' literal value. + * + * + * @see #STICKY + * @model literal="sticky" + * @generated + * @ordered + */ + public static final int STICKY_VALUE = 16; + + /** + * The 'STICKYBIT' literal value. + * + * + * @see #STICKYBIT + * @model literal="stickybit" + * @generated + * @ordered + */ + public static final int STICKYBIT_VALUE = 17; + + /** + * The 'INTR' literal value. + * + * + * @see #INTR + * @model literal="intr" + * @generated + * @ordered + */ + public static final int INTR_VALUE = 18; + + /** + * The 'ANDED' literal value. + * + * + * @see #ANDED + * @model literal="anded" + * @generated + * @ordered + */ + public static final int ANDED_VALUE = 19; + + /** + * The 'ORED' literal value. + * + * + * @see #ORED + * @model literal="ored" + * @generated + * @ordered + */ + public static final int ORED_VALUE = 20; + + /** + * The 'XORED' literal value. + * + * + * @see #XORED + * @model literal="xored" + * @generated + * @ordered + */ + public static final int XORED_VALUE = 21; + + /** + * The 'COUNTER' literal value. + * + * + * @see #COUNTER + * @model literal="counter" + * @generated + * @ordered + */ + public static final int COUNTER_VALUE = 22; + + /** + * The 'OVERFLOW' literal value. + * + * + * @see #OVERFLOW + * @model literal="overflow" + * @generated + * @ordered + */ + public static final int OVERFLOW_VALUE = 23; + + /** + * The 'SHAREDEXTBUS' literal value. + * + * + * @see #SHAREDEXTBUS + * @model literal="sharedextbus" + * @generated + * @ordered + */ + public static final int SHAREDEXTBUS_VALUE = 24; + + /** + * The 'ERREXTBUS' literal value. + * + * + * @see #ERREXTBUS + * @model literal="errextbus" + * @generated + * @ordered + */ + public static final int ERREXTBUS_VALUE = 25; + + /** + * The 'RESET' literal value. + * + * + * @see #RESET + * @model literal="reset" + * @generated + * @ordered + */ + public static final int RESET_VALUE = 26; + + /** + * The 'LITTLEENDIAN' literal value. + * + * + * @see #LITTLEENDIAN + * @model literal="littleendian" + * @generated + * @ordered + */ + public static final int LITTLEENDIAN_VALUE = 27; + + /** + * The 'BIGENDIAN' literal value. + * + * + * @see #BIGENDIAN + * @model literal="bigendian" + * @generated + * @ordered + */ + public static final int BIGENDIAN_VALUE = 28; + + /** + * The 'RSVDSET' literal value. + * + * + * @see #RSVDSET + * @model literal="rsvdset" + * @generated + * @ordered + */ + public static final int RSVDSET_VALUE = 29; + + /** + * The 'RSVDSETX' literal value. + * + * + * @see #RSVDSETX + * @model literal="rsvdsetX" + * @generated + * @ordered + */ + public static final int RSVDSETX_VALUE = 30; + + /** + * The 'BRIDGE' literal value. + * + * + * @see #BRIDGE + * @model literal="bridge" + * @generated + * @ordered + */ + public static final int BRIDGE_VALUE = 31; + + /** + * The 'SHARED' literal value. + * + * + * @see #SHARED + * @model literal="shared" + * @generated + * @ordered + */ + public static final int SHARED_VALUE = 32; + + /** + * The 'MSB0' literal value. + * + * + * @see #MSB0 + * @model literal="msb0" + * @generated + * @ordered + */ + public static final int MSB0_VALUE = 33; + + /** + * The 'LSB0' literal value. + * + * + * @see #LSB0 + * @model literal="lsb0" + * @generated + * @ordered + */ + public static final int LSB0_VALUE = 34; + + /** + * The 'SYNC' literal value. + * + * + * @see #SYNC + * @model literal="sync" + * @generated + * @ordered + */ + public static final int SYNC_VALUE = 35; + + /** + * The 'ASYNC' literal value. + * + * + * @see #ASYNC + * @model literal="async" + * @generated + * @ordered + */ + public static final int ASYNC_VALUE = 36; + + /** + * The 'CPUIF RESET' literal value. + * + * + * @see #CPUIF_RESET + * @model literal="cpuif_reset" + * @generated + * @ordered + */ + public static final int CPUIF_RESET_VALUE = 37; + + /** + * The 'FIELD RESET' literal value. + * + * + * @see #FIELD_RESET + * @model literal="field_reset" + * @generated + * @ordered + */ + public static final int FIELD_RESET_VALUE = 38; + + /** + * The 'ACTIVEHIGH' literal value. + * + * + * @see #ACTIVEHIGH + * @model literal="activehigh" + * @generated + * @ordered + */ + public static final int ACTIVEHIGH_VALUE = 39; + + /** + * The 'ACTIVELOW' literal value. + * + * + * @see #ACTIVELOW + * @model literal="activelow" + * @generated + * @ordered + */ + public static final int ACTIVELOW_VALUE = 40; + + /** + * The 'SINGLEPULSE' literal value. + * + * + * @see #SINGLEPULSE + * @model literal="singlepulse" + * @generated + * @ordered + */ + public static final int SINGLEPULSE_VALUE = 41; + + /** + * The 'UNDERFLOW' literal value. + * + * + * @see #UNDERFLOW + * @model literal="underflow" + * @generated + * @ordered + */ + public static final int UNDERFLOW_VALUE = 42; + + /** + * The 'INCR' literal value. + * + * + * @see #INCR + * @model literal="incr" + * @generated + * @ordered + */ + public static final int INCR_VALUE = 43; + + /** + * The 'DECR' literal value. + * + * + * @see #DECR + * @model literal="decr" + * @generated + * @ordered + */ + public static final int DECR_VALUE = 44; + + /** + * The 'INCRWIDTH' literal value. + * + * + * @see #INCRWIDTH + * @model literal="incrwidth" + * @generated + * @ordered + */ + public static final int INCRWIDTH_VALUE = 45; + + /** + * The 'DECRWIDTH' literal value. + * + * + * @see #DECRWIDTH + * @model literal="decrwidth" + * @generated + * @ordered + */ + public static final int DECRWIDTH_VALUE = 46; + + /** + * The 'INCRVALUE' literal value. + * + * + * @see #INCRVALUE + * @model literal="incrvalue" + * @generated + * @ordered + */ + public static final int INCRVALUE_VALUE = 47; + + /** + * The 'DECRVALUE' literal value. + * + * + * @see #DECRVALUE + * @model literal="decrvalue" + * @generated + * @ordered + */ + public static final int DECRVALUE_VALUE = 48; + + /** + * The 'SATURATE' literal value. + * + * + * @see #SATURATE + * @model literal="saturate" + * @generated + * @ordered + */ + public static final int SATURATE_VALUE = 49; + + /** + * The 'DECRSATURATE' literal value. + * + * + * @see #DECRSATURATE + * @model literal="decrsaturate" + * @generated + * @ordered + */ + public static final int DECRSATURATE_VALUE = 50; + + /** + * The 'THRESHOLD' literal value. + * + * + * @see #THRESHOLD + * @model literal="threshold" + * @generated + * @ordered + */ + public static final int THRESHOLD_VALUE = 51; + + /** + * The 'DECRTHRESHOLD' literal value. + * + * + * @see #DECRTHRESHOLD + * @model literal="decrthreshold" + * @generated + * @ordered + */ + public static final int DECRTHRESHOLD_VALUE = 52; + + /** + * The 'DONTCOMPARE' literal value. + * + * + * @see #DONTCOMPARE + * @model literal="dontcompare" + * @generated + * @ordered + */ + public static final int DONTCOMPARE_VALUE = 53; + + /** + * The 'DONTTEST' literal value. + * + * + * @see #DONTTEST + * @model literal="donttest" + * @generated + * @ordered + */ + public static final int DONTTEST_VALUE = 54; + + /** + * The 'INTERNAL' literal value. + * + * + * @see #INTERNAL + * @model literal="internal" + * @generated + * @ordered + */ + public static final int INTERNAL_VALUE = 55; + + /** + * The 'ALIGNMENT' literal value. + * + * + * @see #ALIGNMENT + * @model literal="alignment" + * @generated + * @ordered + */ + public static final int ALIGNMENT_VALUE = 56; + + /** + * The 'REGWIDTH' literal value. + * + * + * @see #REGWIDTH + * @model literal="regwidth" + * @generated + * @ordered + */ + public static final int REGWIDTH_VALUE = 57; + + /** + * The 'FIELDWIDTH' literal value. + * + * + * @see #FIELDWIDTH + * @model literal="fieldwidth" + * @generated + * @ordered + */ + public static final int FIELDWIDTH_VALUE = 58; + + /** + * The 'SIGNALWIDTH' literal value. + * + * + * @see #SIGNALWIDTH + * @model literal="signalwidth" + * @generated + * @ordered + */ + public static final int SIGNALWIDTH_VALUE = 59; + + /** + * The 'ACCESSWIDTH' literal value. + * + * + * @see #ACCESSWIDTH + * @model literal="accesswidth" + * @generated + * @ordered + */ + public static final int ACCESSWIDTH_VALUE = 60; + + /** + * The 'SW' literal value. + * + * + * @see #SW + * @model literal="sw" + * @generated + * @ordered + */ + public static final int SW_VALUE = 61; + + /** + * The 'HW' literal value. + * + * + * @see #HW + * @model literal="hw" + * @generated + * @ordered + */ + public static final int HW_VALUE = 62; + + /** + * The 'ADDRESSING' literal value. + * + * + * @see #ADDRESSING + * @model literal="addressing" + * @generated + * @ordered + */ + public static final int ADDRESSING_VALUE = 63; + + /** + * The 'PRECEDENCE' literal value. + * + * + * @see #PRECEDENCE + * @model literal="precedence" + * @generated + * @ordered + */ + public static final int PRECEDENCE_VALUE = 64; + + /** + * The 'ENCODE' literal value. + * + * + * @see #ENCODE + * @model literal="encode" + * @generated + * @ordered + */ + public static final int ENCODE_VALUE = 65; + + /** + * The 'RESETSIGNAL' literal value. + * + * + * @see #RESETSIGNAL + * @model literal="resetsignal" + * @generated + * @ordered + */ + public static final int RESETSIGNAL_VALUE = 66; + + /** + * The 'CLOCK' literal value. + * + * + * @see #CLOCK + * @model literal="clock" + * @generated + * @ordered + */ + public static final int CLOCK_VALUE = 67; + + /** + * The 'MASK' literal value. + * + * + * @see #MASK + * @model literal="mask" + * @generated + * @ordered + */ + public static final int MASK_VALUE = 68; + + /** + * The 'ENABLE' literal value. + * + * + * @see #ENABLE + * @model literal="enable" + * @generated + * @ordered + */ + public static final int ENABLE_VALUE = 69; + + /** + * The 'HWENABLE' literal value. + * + * + * @see #HWENABLE + * @model literal="hwenable" + * @generated + * @ordered + */ + public static final int HWENABLE_VALUE = 70; + + /** + * The 'HWMASK' literal value. + * + * + * @see #HWMASK + * @model literal="hwmask" + * @generated + * @ordered + */ + public static final int HWMASK_VALUE = 71; + + /** + * The 'HALTMASK' literal value. + * + * + * @see #HALTMASK + * @model literal="haltmask" + * @generated + * @ordered + */ + public static final int HALTMASK_VALUE = 72; + + /** + * The 'HALTENABLE' literal value. + * + * + * @see #HALTENABLE + * @model literal="haltenable" + * @generated + * @ordered + */ + public static final int HALTENABLE_VALUE = 73; + + /** + * The 'HALT' literal value. + * + * + * @see #HALT + * @model literal="halt" + * @generated + * @ordered + */ + public static final int HALT_VALUE = 74; + + /** + * The 'NEXT' literal value. + * + * + * @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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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..096c5df --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyModifier.java @@ -0,0 +1,317 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @see #UNDEFINED + * @model + * @generated + * @ordered + */ + public static final int UNDEFINED_VALUE = 0; + + /** + * The 'POSEDGE' literal value. + * + * + * @see #POSEDGE + * @model literal="posedge" + * @generated + * @ordered + */ + public static final int POSEDGE_VALUE = 1; + + /** + * The 'NEGEDGE' literal value. + * + * + * @see #NEGEDGE + * @model literal="negedge" + * @generated + * @ordered + */ + public static final int NEGEDGE_VALUE = 2; + + /** + * The 'BOTHEDGE' literal value. + * + * + * @see #BOTHEDGE + * @model literal="bothedge" + * @generated + * @ordered + */ + public static final int BOTHEDGE_VALUE = 3; + + /** + * The 'LEVEL' literal value. + * + * + * @see #LEVEL + * @model literal="level" + * @generated + * @ordered + */ + public static final int LEVEL_VALUE = 4; + + /** + * The 'NONSTICKY' literal value. + * + * + * @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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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..cd90236 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyTypeName.java @@ -0,0 +1,363 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @see #STRING + * @model literal="string" + * @generated + * @ordered + */ + public static final int STRING_VALUE = 0; + + /** + * The 'NUMBER' literal value. + * + * + * @see #NUMBER + * @model literal="number" + * @generated + * @ordered + */ + public static final int NUMBER_VALUE = 1; + + /** + * The 'BOOLEAN' literal value. + * + * + * @see #BOOLEAN + * @model literal="boolean" + * @generated + * @ordered + */ + public static final int BOOLEAN_VALUE = 2; + + /** + * The 'ADDRMAP' literal value. + * + * + * @see #ADDRMAP + * @model literal="addrmap" + * @generated + * @ordered + */ + public static final int ADDRMAP_VALUE = 3; + + /** + * The 'REG' literal value. + * + * + * @see #REG + * @model literal="reg" + * @generated + * @ordered + */ + public static final int REG_VALUE = 4; + + /** + * The 'REGFILE' literal value. + * + * + * @see #REGFILE + * @model literal="regfile" + * @generated + * @ordered + */ + public static final int REGFILE_VALUE = 5; + + /** + * The 'FIELD' literal value. + * + * + * @see #FIELD + * @model literal="field" + * @generated + * @ordered + */ + public static final int FIELD_VALUE = 6; + + /** + * The 'REF' literal value. + * + * + * @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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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..480acd0 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/PropertyUsage.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.26.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}. + * + * + * @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..03600a3 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValue.java @@ -0,0 +1,97 @@ +/** + * generated by Xtext 2.26.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}. + * + * + * @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. + * + * + * @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. + * + * + * @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..a401ffd --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RValueConstant.java @@ -0,0 +1,478 @@ +/** + * generated by Xtext 2.26.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. + * + * + * @see #UNDEFINED + * @model + * @generated + * @ordered + */ + public static final int UNDEFINED_VALUE = 0; + + /** + * The 'TRUE' literal value. + * + * + * @see #TRUE + * @model literal="true" + * @generated + * @ordered + */ + public static final int TRUE_VALUE = 1; + + /** + * The 'FALSE' literal value. + * + * + * @see #FALSE + * @model literal="false" + * @generated + * @ordered + */ + public static final int FALSE_VALUE = 2; + + /** + * The 'RW' literal value. + * + * + * @see #RW + * @model literal="rw" + * @generated + * @ordered + */ + public static final int RW_VALUE = 3; + + /** + * The 'WR' literal value. + * + * + * @see #WR + * @model literal="wr" + * @generated + * @ordered + */ + public static final int WR_VALUE = 4; + + /** + * The 'R' literal value. + * + * + * @see #R + * @model literal="r" + * @generated + * @ordered + */ + public static final int R_VALUE = 5; + + /** + * The 'W' literal value. + * + * + * @see #W + * @model literal="w" + * @generated + * @ordered + */ + public static final int W_VALUE = 6; + + /** + * The 'NA' literal value. + * + * + * @see #NA + * @model literal="na" + * @generated + * @ordered + */ + public static final int NA_VALUE = 7; + + /** + * The 'COMPACT' literal value. + * + * + * @see #COMPACT + * @model literal="compact" + * @generated + * @ordered + */ + public static final int COMPACT_VALUE = 8; + + /** + * The 'REGALIGN' literal value. + * + * + * @see #REGALIGN + * @model literal="regalign" + * @generated + * @ordered + */ + public static final int REGALIGN_VALUE = 9; + + /** + * The 'FULLALIGN' literal value. + * + * + * @see #FULLALIGN + * @model literal="fullalign" + * @generated + * @ordered + */ + public static final int FULLALIGN_VALUE = 10; + + /** + * The 'HW' literal value. + * + * + * @see #HW + * @model literal="hw" + * @generated + * @ordered + */ + public static final int HW_VALUE = 11; + + /** + * The 'SW' literal value. + * + * + * @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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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..3936228 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Range.java @@ -0,0 +1,94 @@ +/** + * generated by Xtext 2.26.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#getLeft Left}
  • + *
  • {@link com.minres.rdl.rdl.Range#getRight Right}
  • + *
  • {@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 'Left' attribute. + * + * + * @return the value of the 'Left' attribute. + * @see #setLeft(Object) + * @see com.minres.rdl.rdl.RdlPackage#getRange_Left() + * @model + * @generated + */ + Object getLeft(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Range#getLeft Left}' attribute. + * + * + * @param value the new value of the 'Left' attribute. + * @see #getLeft() + * @generated + */ + void setLeft(Object value); + + /** + * Returns the value of the 'Right' attribute. + * + * + * @return the value of the 'Right' attribute. + * @see #setRight(Object) + * @see com.minres.rdl.rdl.RdlPackage#getRange_Right() + * @model + * @generated + */ + Object getRight(); + + /** + * Sets the value of the '{@link com.minres.rdl.rdl.Range#getRight Right}' attribute. + * + * + * @param value the new value of the 'Right' attribute. + * @see #getRight() + * @generated + */ + void setRight(Object value); + + /** + * Returns the value of the 'Size' attribute. + * + * + * @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..fad7266 --- /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.26.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 'Instantiation'. + * + * + * @return a new object of class 'Instantiation'. + * @generated + */ + Instantiation createInstantiation(); + + /** + * 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 a new object of class 'Enum Instance Type'. + * + * + * @return a new object of class 'Enum Instance Type'. + * @generated + */ + EnumInstanceType createEnumInstanceType(); + + /** + * Returns the package supported by this factory. + * + * + * @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..4a470ca --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/RdlPackage.java @@ -0,0 +1,3089 @@ +/** + * generated by Xtext 2.26.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 'Instantiations' containment reference list. + * + * + * @generated + * @ordered + */ + int ROOT__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 = 14; + + /** + * 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 'Instantiations' containment reference list. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION__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 number of structural features of the 'Component Definition' class. + * + * + * @generated + * @ordered + */ + int COMPONENT_DEFINITION_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.impl.InstantiationImpl Instantiation}' class. + * + * + * @see com.minres.rdl.rdl.impl.InstantiationImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstantiation() + * @generated + */ + int INSTANTIATION = 6; + + /** + * The feature id for the 'Instance Type' containment reference. + * + * + * @generated + * @ordered + */ + int INSTANTIATION__INSTANCE_TYPE = 0; + + /** + * The feature id for the 'Alias' attribute. + * + * + * @generated + * @ordered + */ + int INSTANTIATION__ALIAS = 1; + + /** + * The feature id for the 'Component Ref' reference. + * + * + * @generated + * @ordered + */ + int INSTANTIATION__COMPONENT_REF = 2; + + /** + * The feature id for the 'Component' containment reference. + * + * + * @generated + * @ordered + */ + int INSTANTIATION__COMPONENT = 3; + + /** + * The feature id for the 'Component Instances' containment reference list. + * + * + * @generated + * @ordered + */ + int INSTANTIATION__COMPONENT_INSTANCES = 4; + + /** + * The number of structural features of the 'Instantiation' class. + * + * + * @generated + * @ordered + */ + int INSTANTIATION_FEATURE_COUNT = 5; + + /** + * 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 = 7; + + /** + * 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 = 8; + + /** + * The feature id for the 'Left' attribute. + * + * + * @generated + * @ordered + */ + int RANGE__LEFT = 0; + + /** + * The feature id for the 'Right' attribute. + * + * + * @generated + * @ordered + */ + int RANGE__RIGHT = 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 = 9; + + /** + * 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 = 10; + + /** + * 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 = 11; + + /** + * 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 = 12; + + /** + * 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 = 13; + + /** + * 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 = 15; + + /** + * 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 = 16; + + /** + * 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 = 17; + + /** + * 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 = 18; + + /** + * 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 = 19; + + /** + * 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 = 20; + + /** + * 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 = 21; + + /** + * 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 = 22; + + /** + * 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 = 23; + + /** + * 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.impl.EnumInstanceTypeImpl Enum Instance Type}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumInstanceTypeImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumInstanceType() + * @generated + */ + int ENUM_INSTANCE_TYPE = 24; + + /** + * The feature id for the 'EXTERNAL' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_INSTANCE_TYPE__EXTERNAL = 0; + + /** + * The feature id for the 'INTERNAL' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_INSTANCE_TYPE__INTERNAL = 1; + + /** + * The number of structural features of the 'Enum Instance Type' class. + * + * + * @generated + * @ordered + */ + int ENUM_INSTANCE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name}' enum. + * + * + * @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#getInstantiations Instantiations}'. + * + * + * @return the meta object for the containment reference list 'Instantiations'. + * @see com.minres.rdl.rdl.Root#getInstantiations() + * @see #getRoot() + * @generated + */ + EReference getRoot_Instantiations(); + + /** + * 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#getInstantiations Instantiations}'. + * + * + * @return the meta object for the containment reference list 'Instantiations'. + * @see com.minres.rdl.rdl.ComponentDefinition#getInstantiations() + * @see #getComponentDefinition() + * @generated + */ + EReference getComponentDefinition_Instantiations(); + + /** + * 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 class '{@link com.minres.rdl.rdl.Instantiation Instantiation}'. + * + * + * @return the meta object for class 'Instantiation'. + * @see com.minres.rdl.rdl.Instantiation + * @generated + */ + EClass getInstantiation(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.Instantiation#getInstanceType Instance Type}'. + * + * + * @return the meta object for the containment reference 'Instance Type'. + * @see com.minres.rdl.rdl.Instantiation#getInstanceType() + * @see #getInstantiation() + * @generated + */ + EReference getInstantiation_InstanceType(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Instantiation#getAlias Alias}'. + * + * + * @return the meta object for the attribute 'Alias'. + * @see com.minres.rdl.rdl.Instantiation#getAlias() + * @see #getInstantiation() + * @generated + */ + EAttribute getInstantiation_Alias(); + + /** + * Returns the meta object for the reference '{@link com.minres.rdl.rdl.Instantiation#getComponentRef Component Ref}'. + * + * + * @return the meta object for the reference 'Component Ref'. + * @see com.minres.rdl.rdl.Instantiation#getComponentRef() + * @see #getInstantiation() + * @generated + */ + EReference getInstantiation_ComponentRef(); + + /** + * Returns the meta object for the containment reference '{@link com.minres.rdl.rdl.Instantiation#getComponent Component}'. + * + * + * @return the meta object for the containment reference 'Component'. + * @see com.minres.rdl.rdl.Instantiation#getComponent() + * @see #getInstantiation() + * @generated + */ + EReference getInstantiation_Component(); + + /** + * Returns the meta object for the containment reference list '{@link com.minres.rdl.rdl.Instantiation#getComponentInstances Component Instances}'. + * + * + * @return the meta object for the containment reference list 'Component Instances'. + * @see com.minres.rdl.rdl.Instantiation#getComponentInstances() + * @see #getInstantiation() + * @generated + */ + EReference getInstantiation_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#getLeft Left}'. + * + * + * @return the meta object for the attribute 'Left'. + * @see com.minres.rdl.rdl.Range#getLeft() + * @see #getRange() + * @generated + */ + EAttribute getRange_Left(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.Range#getRight Right}'. + * + * + * @return the meta object for the attribute 'Right'. + * @see com.minres.rdl.rdl.Range#getRight() + * @see #getRange() + * @generated + */ + EAttribute getRange_Right(); + + /** + * 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 class '{@link com.minres.rdl.rdl.EnumInstanceType Enum Instance Type}'. + * + * + * @return the meta object for class 'Enum Instance Type'. + * @see com.minres.rdl.rdl.EnumInstanceType + * @generated + */ + EClass getEnumInstanceType(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL EXTERNAL}'. + * + * + * @return the meta object for the attribute 'EXTERNAL'. + * @see com.minres.rdl.rdl.EnumInstanceType#getEXTERNAL() + * @see #getEnumInstanceType() + * @generated + */ + EAttribute getEnumInstanceType_EXTERNAL(); + + /** + * Returns the meta object for the attribute '{@link com.minres.rdl.rdl.EnumInstanceType#getINTERNAL INTERNAL}'. + * + * + * @return the meta object for the attribute 'INTERNAL'. + * @see com.minres.rdl.rdl.EnumInstanceType#getINTERNAL() + * @see #getEnumInstanceType() + * @generated + */ + EAttribute getEnumInstanceType_INTERNAL(); + + /** + * Returns the meta object for enum '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name}'. + * + * + * @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 'Instantiations' containment reference list feature. + * + * + * @generated + */ + EReference ROOT__INSTANTIATIONS = eINSTANCE.getRoot_Instantiations(); + + /** + * 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 'Instantiations' containment reference list feature. + * + * + * @generated + */ + EReference COMPONENT_DEFINITION__INSTANTIATIONS = eINSTANCE.getComponentDefinition_Instantiations(); + + /** + * 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 '{@link com.minres.rdl.rdl.impl.InstantiationImpl Instantiation}' class. + * + * + * @see com.minres.rdl.rdl.impl.InstantiationImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getInstantiation() + * @generated + */ + EClass INSTANTIATION = eINSTANCE.getInstantiation(); + + /** + * The meta object literal for the 'Instance Type' containment reference feature. + * + * + * @generated + */ + EReference INSTANTIATION__INSTANCE_TYPE = eINSTANCE.getInstantiation_InstanceType(); + + /** + * The meta object literal for the 'Alias' attribute feature. + * + * + * @generated + */ + EAttribute INSTANTIATION__ALIAS = eINSTANCE.getInstantiation_Alias(); + + /** + * The meta object literal for the 'Component Ref' reference feature. + * + * + * @generated + */ + EReference INSTANTIATION__COMPONENT_REF = eINSTANCE.getInstantiation_ComponentRef(); + + /** + * The meta object literal for the 'Component' containment reference feature. + * + * + * @generated + */ + EReference INSTANTIATION__COMPONENT = eINSTANCE.getInstantiation_Component(); + + /** + * The meta object literal for the 'Component Instances' containment reference list feature. + * + * + * @generated + */ + EReference INSTANTIATION__COMPONENT_INSTANCES = eINSTANCE.getInstantiation_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 'Left' attribute feature. + * + * + * @generated + */ + EAttribute RANGE__LEFT = eINSTANCE.getRange_Left(); + + /** + * The meta object literal for the 'Right' attribute feature. + * + * + * @generated + */ + EAttribute RANGE__RIGHT = eINSTANCE.getRange_Right(); + + /** + * 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.impl.EnumInstanceTypeImpl Enum Instance Type}' class. + * + * + * @see com.minres.rdl.rdl.impl.EnumInstanceTypeImpl + * @see com.minres.rdl.rdl.impl.RdlPackageImpl#getEnumInstanceType() + * @generated + */ + EClass ENUM_INSTANCE_TYPE = eINSTANCE.getEnumInstanceType(); + + /** + * The meta object literal for the 'EXTERNAL' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_INSTANCE_TYPE__EXTERNAL = eINSTANCE.getEnumInstanceType_EXTERNAL(); + + /** + * The meta object literal for the 'INTERNAL' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_INSTANCE_TYPE__INTERNAL = eINSTANCE.getEnumInstanceType_INTERNAL(); + + /** + * The meta object literal for the '{@link com.minres.rdl.rdl.PropertyTypeName Property Type Name}' enum. + * + * + * @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..ae39991 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/Root.java @@ -0,0 +1,105 @@ +/** + * generated by Xtext 2.26.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#getInstantiations 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}. + * + * + * @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}. + * + * + * @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}. + * + * + * @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 'Instantiations' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.Instantiation}. + * + * + * @return the value of the 'Instantiations' containment reference list. + * @see com.minres.rdl.rdl.RdlPackage#getRoot_Instantiations() + * @model containment="true" + * @generated + */ + EList getInstantiations(); + + /** + * Returns the value of the 'Property Assignments' containment reference list. + * The list contents are of type {@link com.minres.rdl.rdl.PropertyAssignment}. + * + * + * @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}. + * + * + * @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..866afbe --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentDefinitionImpl.java @@ -0,0 +1,422 @@ +/** + * generated by Xtext 2.26.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.Instantiation; +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#getInstantiations Instantiations}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getPropertyAssignments Property Assignments}
  • + *
  • {@link com.minres.rdl.rdl.impl.ComponentDefinitionImpl#getEnumDefinitions Enum Definitions}
  • + *
+ * + * @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 #getInstantiations() Instantiations}' containment reference list. + * + * + * @see #getInstantiations() + * @generated + * @ordered + */ + protected EList instantiations; + + /** + * 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; + + /** + * + * + * @generated + */ + protected ComponentDefinitionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.COMPONENT_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public ComponentDefinitionType getType() + { + return type; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public EList getComponentDefinitions() + { + if (componentDefinitions == null) + { + componentDefinitions = new EObjectContainmentEList(ComponentDefinition.class, this, RdlPackage.COMPONENT_DEFINITION__COMPONENT_DEFINITIONS); + } + return componentDefinitions; + } + + /** + * + * + * @generated + */ + @Override + public EList getInstantiations() + { + if (instantiations == null) + { + instantiations = new EObjectContainmentEList(Instantiation.class, this, RdlPackage.COMPONENT_DEFINITION__INSTANTIATIONS); + } + return instantiations; + } + + /** + * + * + * @generated + */ + @Override + public EList getPropertyAssignments() + { + if (propertyAssignments == null) + { + propertyAssignments = new EObjectContainmentEList(PropertyAssignment.class, this, RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS); + } + return propertyAssignments; + } + + /** + * + * + * @generated + */ + @Override + public EList getEnumDefinitions() + { + if (enumDefinitions == null) + { + enumDefinitions = new EObjectContainmentEList(EnumDefinition.class, this, RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS); + } + return enumDefinitions; + } + + /** + * + * + * @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__INSTANTIATIONS: + return ((InternalEList)getInstantiations()).basicRemove(otherEnd, msgs); + case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS: + return ((InternalEList)getPropertyAssignments()).basicRemove(otherEnd, msgs); + case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS: + return ((InternalEList)getEnumDefinitions()).basicRemove(otherEnd, msgs); + } + 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__INSTANTIATIONS: + return getInstantiations(); + case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS: + return getPropertyAssignments(); + case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS: + return getEnumDefinitions(); + } + 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__INSTANTIATIONS: + getInstantiations().clear(); + getInstantiations().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; + } + 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__INSTANTIATIONS: + getInstantiations().clear(); + return; + case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS: + getPropertyAssignments().clear(); + return; + case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS: + getEnumDefinitions().clear(); + 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__INSTANTIATIONS: + return instantiations != null && !instantiations.isEmpty(); + case RdlPackage.COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS: + return propertyAssignments != null && !propertyAssignments.isEmpty(); + case RdlPackage.COMPONENT_DEFINITION__ENUM_DEFINITIONS: + return enumDefinitions != null && !enumDefinitions.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(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..101dc90 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ComponentInstanceImpl.java @@ -0,0 +1,443 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + public Object getReset() + { + return reset; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Object getAddress() + { + return address; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Object getAddrInc() + { + return addrInc; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Object getAddrMod() + { + return addrMod; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..37e2de8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatElemImpl.java @@ -0,0 +1,270 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + public Object getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..27bc7af --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ConcatImpl.java @@ -0,0 +1,169 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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..a4db58e --- /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.26.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..da38e89 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EntityImpl.java @@ -0,0 +1,180 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..2aa355d --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumBodyImpl.java @@ -0,0 +1,169 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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..7c6ab59 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumDefinitionImpl.java @@ -0,0 +1,196 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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..1165f52 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumEntryImpl.java @@ -0,0 +1,302 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Object getIndex() + { + return index; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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/EnumInstanceTypeImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumInstanceTypeImpl.java new file mode 100644 index 0000000..fdd1b70 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumInstanceTypeImpl.java @@ -0,0 +1,238 @@ +/** + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.EnumInstanceType; +import com.minres.rdl.rdl.RdlPackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Enum Instance Type'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.EnumInstanceTypeImpl#getEXTERNAL EXTERNAL}
  • + *
  • {@link com.minres.rdl.rdl.impl.EnumInstanceTypeImpl#getINTERNAL INTERNAL}
  • + *
+ * + * @generated + */ +public class EnumInstanceTypeImpl extends MinimalEObjectImpl.Container implements EnumInstanceType +{ + /** + * The default value of the '{@link #getEXTERNAL() EXTERNAL}' attribute. + * + * + * @see #getEXTERNAL() + * @generated + * @ordered + */ + protected static final String EXTERNAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEXTERNAL() EXTERNAL}' attribute. + * + * + * @see #getEXTERNAL() + * @generated + * @ordered + */ + protected String external = EXTERNAL_EDEFAULT; + + /** + * The default value of the '{@link #getINTERNAL() INTERNAL}' attribute. + * + * + * @see #getINTERNAL() + * @generated + * @ordered + */ + protected static final String INTERNAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getINTERNAL() INTERNAL}' attribute. + * + * + * @see #getINTERNAL() + * @generated + * @ordered + */ + protected String internal = INTERNAL_EDEFAULT; + + /** + * + * + * @generated + */ + protected EnumInstanceTypeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.ENUM_INSTANCE_TYPE; + } + + /** + * + * + * @generated + */ + @Override + public String getEXTERNAL() + { + return external; + } + + /** + * + * + * @generated + */ + @Override + public void setEXTERNAL(String newEXTERNAL) + { + String oldEXTERNAL = external; + external = newEXTERNAL; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL, oldEXTERNAL, external)); + } + + /** + * + * + * @generated + */ + @Override + public String getINTERNAL() + { + return internal; + } + + /** + * + * + * @generated + */ + @Override + public void setINTERNAL(String newINTERNAL) + { + String oldINTERNAL = internal; + internal = newINTERNAL; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL, oldINTERNAL, internal)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL: + return getEXTERNAL(); + case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL: + return getINTERNAL(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL: + setEXTERNAL((String)newValue); + return; + case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL: + setINTERNAL((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL: + setEXTERNAL(EXTERNAL_EDEFAULT); + return; + case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL: + setINTERNAL(INTERNAL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.ENUM_INSTANCE_TYPE__EXTERNAL: + return EXTERNAL_EDEFAULT == null ? external != null : !EXTERNAL_EDEFAULT.equals(external); + case RdlPackage.ENUM_INSTANCE_TYPE__INTERNAL: + return INTERNAL_EDEFAULT == null ? internal != null : !INTERNAL_EDEFAULT.equals(internal); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (EXTERNAL: "); + result.append(external); + result.append(", INTERNAL: "); + result.append(internal); + result.append(')'); + return result.toString(); + } + +} //EnumInstanceTypeImpl diff --git a/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/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..f32d1d7 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/EnumPropertyImpl.java @@ -0,0 +1,238 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public String getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..25196bb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/ExplicitPropertyAssignmentImpl.java @@ -0,0 +1,329 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public PropertyModifier getModifier() + { + return modifier; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public PropertyEnum getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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/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..1bc0fe1 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/IncludeImpl.java @@ -0,0 +1,180 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public String getImportURI() + { + return importURI; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..7695bbb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstancePropertyRefImpl.java @@ -0,0 +1,339 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + public PropertyEnum getPropertyEnum() + { + return propertyEnum; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..b4f0672 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstanceRefImpl.java @@ -0,0 +1,264 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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/InstantiationImpl.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstantiationImpl.java new file mode 100644 index 0000000..7712b95 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/InstantiationImpl.java @@ -0,0 +1,459 @@ +/** + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.rdl.impl; + +import com.minres.rdl.rdl.ComponentDefinition; +import com.minres.rdl.rdl.ComponentInstance; +import com.minres.rdl.rdl.EnumInstanceType; +import com.minres.rdl.rdl.Instantiation; +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 'Instantiation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link com.minres.rdl.rdl.impl.InstantiationImpl#getInstanceType Instance Type}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstantiationImpl#getAlias Alias}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstantiationImpl#getComponentRef Component Ref}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstantiationImpl#getComponent Component}
  • + *
  • {@link com.minres.rdl.rdl.impl.InstantiationImpl#getComponentInstances Component Instances}
  • + *
+ * + * @generated + */ +public class InstantiationImpl extends MinimalEObjectImpl.Container implements Instantiation +{ + /** + * The cached value of the '{@link #getInstanceType() Instance Type}' containment reference. + * + * + * @see #getInstanceType() + * @generated + * @ordered + */ + protected EnumInstanceType instanceType; + + /** + * 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 #getComponentRef() Component Ref}' reference. + * + * + * @see #getComponentRef() + * @generated + * @ordered + */ + protected ComponentDefinition componentRef; + + /** + * The cached value of the '{@link #getComponent() Component}' containment 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 InstantiationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return RdlPackage.Literals.INSTANTIATION; + } + + /** + * + * + * @generated + */ + @Override + public EnumInstanceType getInstanceType() + { + return instanceType; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstanceType(EnumInstanceType newInstanceType, NotificationChain msgs) + { + EnumInstanceType oldInstanceType = instanceType; + instanceType = newInstanceType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__INSTANCE_TYPE, oldInstanceType, newInstanceType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setInstanceType(EnumInstanceType newInstanceType) + { + if (newInstanceType != instanceType) + { + NotificationChain msgs = null; + if (instanceType != null) + msgs = ((InternalEObject)instanceType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__INSTANCE_TYPE, null, msgs); + if (newInstanceType != null) + msgs = ((InternalEObject)newInstanceType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__INSTANCE_TYPE, null, msgs); + msgs = basicSetInstanceType(newInstanceType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__INSTANCE_TYPE, newInstanceType, newInstanceType)); + } + + /** + * + * + * @generated + */ + @Override + public String getAlias() + { + return alias; + } + + /** + * + * + * @generated + */ + @Override + public void setAlias(String newAlias) + { + String oldAlias = alias; + alias = newAlias; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__ALIAS, oldAlias, alias)); + } + + /** + * + * + * @generated + */ + @Override + public ComponentDefinition getComponentRef() + { + if (componentRef != null && componentRef.eIsProxy()) + { + InternalEObject oldComponentRef = (InternalEObject)componentRef; + componentRef = (ComponentDefinition)eResolveProxy(oldComponentRef); + if (componentRef != oldComponentRef) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RdlPackage.INSTANTIATION__COMPONENT_REF, oldComponentRef, componentRef)); + } + } + return componentRef; + } + + /** + * + * + * @generated + */ + public ComponentDefinition basicGetComponentRef() + { + return componentRef; + } + + /** + * + * + * @generated + */ + @Override + public void setComponentRef(ComponentDefinition newComponentRef) + { + ComponentDefinition oldComponentRef = componentRef; + componentRef = newComponentRef; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__COMPONENT_REF, oldComponentRef, componentRef)); + } + + /** + * + * + * @generated + */ + @Override + public ComponentDefinition getComponent() + { + return component; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetComponent(ComponentDefinition newComponent, NotificationChain msgs) + { + ComponentDefinition oldComponent = component; + component = newComponent; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__COMPONENT, oldComponent, newComponent); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setComponent(ComponentDefinition newComponent) + { + if (newComponent != component) + { + NotificationChain msgs = null; + if (component != null) + msgs = ((InternalEObject)component).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__COMPONENT, null, msgs); + if (newComponent != null) + msgs = ((InternalEObject)newComponent).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RdlPackage.INSTANTIATION__COMPONENT, null, msgs); + msgs = basicSetComponent(newComponent, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.INSTANTIATION__COMPONENT, newComponent, newComponent)); + } + + /** + * + * + * @generated + */ + @Override + public EList getComponentInstances() + { + if (componentInstances == null) + { + componentInstances = new EObjectContainmentEList(ComponentInstance.class, this, RdlPackage.INSTANTIATION__COMPONENT_INSTANCES); + } + return componentInstances; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case RdlPackage.INSTANTIATION__INSTANCE_TYPE: + return basicSetInstanceType(null, msgs); + case RdlPackage.INSTANTIATION__COMPONENT: + return basicSetComponent(null, msgs); + case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES: + return ((InternalEList)getComponentInstances()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case RdlPackage.INSTANTIATION__INSTANCE_TYPE: + return getInstanceType(); + case RdlPackage.INSTANTIATION__ALIAS: + return getAlias(); + case RdlPackage.INSTANTIATION__COMPONENT_REF: + if (resolve) return getComponentRef(); + return basicGetComponentRef(); + case RdlPackage.INSTANTIATION__COMPONENT: + return getComponent(); + case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES: + return getComponentInstances(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case RdlPackage.INSTANTIATION__INSTANCE_TYPE: + setInstanceType((EnumInstanceType)newValue); + return; + case RdlPackage.INSTANTIATION__ALIAS: + setAlias((String)newValue); + return; + case RdlPackage.INSTANTIATION__COMPONENT_REF: + setComponentRef((ComponentDefinition)newValue); + return; + case RdlPackage.INSTANTIATION__COMPONENT: + setComponent((ComponentDefinition)newValue); + return; + case RdlPackage.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.INSTANTIATION__INSTANCE_TYPE: + setInstanceType((EnumInstanceType)null); + return; + case RdlPackage.INSTANTIATION__ALIAS: + setAlias(ALIAS_EDEFAULT); + return; + case RdlPackage.INSTANTIATION__COMPONENT_REF: + setComponentRef((ComponentDefinition)null); + return; + case RdlPackage.INSTANTIATION__COMPONENT: + setComponent((ComponentDefinition)null); + return; + case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES: + getComponentInstances().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case RdlPackage.INSTANTIATION__INSTANCE_TYPE: + return instanceType != null; + case RdlPackage.INSTANTIATION__ALIAS: + return ALIAS_EDEFAULT == null ? alias != null : !ALIAS_EDEFAULT.equals(alias); + case RdlPackage.INSTANTIATION__COMPONENT_REF: + return componentRef != null; + case RdlPackage.INSTANTIATION__COMPONENT: + return component != null; + case RdlPackage.INSTANTIATION__COMPONENT_INSTANCES: + return componentInstances != null && !componentInstances.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (alias: "); + result.append(alias); + result.append(')'); + return result.toString(); + } + +} //InstantiationImpl 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..4dda9e8 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PostPropertyAssignmentImpl.java @@ -0,0 +1,412 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + public PropertyEnum getPropertyEnum() + { + return propertyEnum; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..b06443e --- /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.26.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..e49db70 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyAssignmentRhsImpl.java @@ -0,0 +1,487 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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..b81ba4b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefaultImpl.java @@ -0,0 +1,238 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public String getString() + { + return string; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Object getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..fcf1382 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyDefinitionImpl.java @@ -0,0 +1,344 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public PropertyTypeName getType() + { + return type; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..633fd1a --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/PropertyUsageImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..dddfb02 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RValueImpl.java @@ -0,0 +1,297 @@ +/** + * generated by Xtext 2.26.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 + */ + @Override + public RValueConstant getVal() + { + return val; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Object getNum() + { + return num; + } + + /** + * + * + * @generated + */ + @Override + public void setNum(Object newNum) + { + Object oldNum = num; + num = newNum; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RVALUE__NUM, oldNum, num)); + } + + /** + * + * + * @generated + */ + @Override + public String getStr() + { + return str; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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..97d39e7 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RangeImpl.java @@ -0,0 +1,296 @@ +/** + * generated by Xtext 2.26.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#getLeft Left}
  • + *
  • {@link com.minres.rdl.rdl.impl.RangeImpl#getRight Right}
  • + *
  • {@link com.minres.rdl.rdl.impl.RangeImpl#getSize Size}
  • + *
+ * + * @generated + */ +public class RangeImpl extends MinimalEObjectImpl.Container implements Range +{ + /** + * The default value of the '{@link #getLeft() Left}' attribute. + * + * + * @see #getLeft() + * @generated + * @ordered + */ + protected static final Object LEFT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLeft() Left}' attribute. + * + * + * @see #getLeft() + * @generated + * @ordered + */ + protected Object left = LEFT_EDEFAULT; + + /** + * The default value of the '{@link #getRight() Right}' attribute. + * + * + * @see #getRight() + * @generated + * @ordered + */ + protected static final Object RIGHT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRight() Right}' attribute. + * + * + * @see #getRight() + * @generated + * @ordered + */ + protected Object right = RIGHT_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 + */ + @Override + public Object getLeft() + { + return left; + } + + /** + * + * + * @generated + */ + @Override + public void setLeft(Object newLeft) + { + Object oldLeft = left; + left = newLeft; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__LEFT, oldLeft, left)); + } + + /** + * + * + * @generated + */ + @Override + public Object getRight() + { + return right; + } + + /** + * + * + * @generated + */ + @Override + public void setRight(Object newRight) + { + Object oldRight = right; + right = newRight; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RdlPackage.RANGE__RIGHT, oldRight, right)); + } + + /** + * + * + * @generated + */ + @Override + public Object getSize() + { + return size; + } + + /** + * + * + * @generated + */ + @Override + 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__LEFT: + return getLeft(); + case RdlPackage.RANGE__RIGHT: + return getRight(); + 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__LEFT: + setLeft(newValue); + return; + case RdlPackage.RANGE__RIGHT: + setRight(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__LEFT: + setLeft(LEFT_EDEFAULT); + return; + case RdlPackage.RANGE__RIGHT: + setRight(RIGHT_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__LEFT: + return LEFT_EDEFAULT == null ? left != null : !LEFT_EDEFAULT.equals(left); + case RdlPackage.RANGE__RIGHT: + return RIGHT_EDEFAULT == null ? right != null : !RIGHT_EDEFAULT.equals(right); + case RdlPackage.RANGE__SIZE: + return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (left: "); + result.append(left); + result.append(", right: "); + result.append(right); + 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..8a9be7b --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlFactoryImpl.java @@ -0,0 +1,608 @@ +/** + * generated by Xtext 2.26.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.INSTANTIATION: return createInstantiation(); + 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(); + case RdlPackage.ENUM_INSTANCE_TYPE: return createEnumInstanceType(); + 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 + */ + @Override + public Root createRoot() + { + RootImpl root = new RootImpl(); + return root; + } + + /** + * + * + * @generated + */ + @Override + public Include createInclude() + { + IncludeImpl include = new IncludeImpl(); + return include; + } + + /** + * + * + * @generated + */ + @Override + public PropertyDefinition createPropertyDefinition() + { + PropertyDefinitionImpl propertyDefinition = new PropertyDefinitionImpl(); + return propertyDefinition; + } + + /** + * + * + * @generated + */ + @Override + public PropertyDefault createPropertyDefault() + { + PropertyDefaultImpl propertyDefault = new PropertyDefaultImpl(); + return propertyDefault; + } + + /** + * + * + * @generated + */ + @Override + public PropertyUsage createPropertyUsage() + { + PropertyUsageImpl propertyUsage = new PropertyUsageImpl(); + return propertyUsage; + } + + /** + * + * + * @generated + */ + @Override + public ComponentDefinition createComponentDefinition() + { + ComponentDefinitionImpl componentDefinition = new ComponentDefinitionImpl(); + return componentDefinition; + } + + /** + * + * + * @generated + */ + @Override + public Instantiation createInstantiation() + { + InstantiationImpl instantiation = new InstantiationImpl(); + return instantiation; + } + + /** + * + * + * @generated + */ + @Override + public ComponentInstance createComponentInstance() + { + ComponentInstanceImpl componentInstance = new ComponentInstanceImpl(); + return componentInstance; + } + + /** + * + * + * @generated + */ + @Override + public Range createRange() + { + RangeImpl range = new RangeImpl(); + return range; + } + + /** + * + * + * @generated + */ + @Override + public PropertyAssignment createPropertyAssignment() + { + PropertyAssignmentImpl propertyAssignment = new PropertyAssignmentImpl(); + return propertyAssignment; + } + + /** + * + * + * @generated + */ + @Override + public DefaultProperyAssignment createDefaultProperyAssignment() + { + DefaultProperyAssignmentImpl defaultProperyAssignment = new DefaultProperyAssignmentImpl(); + return defaultProperyAssignment; + } + + /** + * + * + * @generated + */ + @Override + public ExplicitPropertyAssignment createExplicitPropertyAssignment() + { + ExplicitPropertyAssignmentImpl explicitPropertyAssignment = new ExplicitPropertyAssignmentImpl(); + return explicitPropertyAssignment; + } + + /** + * + * + * @generated + */ + @Override + public PostPropertyAssignment createPostPropertyAssignment() + { + PostPropertyAssignmentImpl postPropertyAssignment = new PostPropertyAssignmentImpl(); + return postPropertyAssignment; + } + + /** + * + * + * @generated + */ + @Override + public InstancePropertyRef createInstancePropertyRef() + { + InstancePropertyRefImpl instancePropertyRef = new InstancePropertyRefImpl(); + return instancePropertyRef; + } + + /** + * + * + * @generated + */ + @Override + public Entity createEntity() + { + EntityImpl entity = new EntityImpl(); + return entity; + } + + /** + * + * + * @generated + */ + @Override + public InstanceRef createInstanceRef() + { + InstanceRefImpl instanceRef = new InstanceRefImpl(); + return instanceRef; + } + + /** + * + * + * @generated + */ + @Override + public PropertyAssignmentRhs createPropertyAssignmentRhs() + { + PropertyAssignmentRhsImpl propertyAssignmentRhs = new PropertyAssignmentRhsImpl(); + return propertyAssignmentRhs; + } + + /** + * + * + * @generated + */ + @Override + public Concat createConcat() + { + ConcatImpl concat = new ConcatImpl(); + return concat; + } + + /** + * + * + * @generated + */ + @Override + public ConcatElem createConcatElem() + { + ConcatElemImpl concatElem = new ConcatElemImpl(); + return concatElem; + } + + /** + * + * + * @generated + */ + @Override + public RValue createRValue() + { + RValueImpl rValue = new RValueImpl(); + return rValue; + } + + /** + * + * + * @generated + */ + @Override + public EnumDefinition createEnumDefinition() + { + EnumDefinitionImpl enumDefinition = new EnumDefinitionImpl(); + return enumDefinition; + } + + /** + * + * + * @generated + */ + @Override + public EnumBody createEnumBody() + { + EnumBodyImpl enumBody = new EnumBodyImpl(); + return enumBody; + } + + /** + * + * + * @generated + */ + @Override + public EnumEntry createEnumEntry() + { + EnumEntryImpl enumEntry = new EnumEntryImpl(); + return enumEntry; + } + + /** + * + * + * @generated + */ + @Override + public EnumProperty createEnumProperty() + { + EnumPropertyImpl enumProperty = new EnumPropertyImpl(); + return enumProperty; + } + + /** + * + * + * @generated + */ + @Override + public EnumInstanceType createEnumInstanceType() + { + EnumInstanceTypeImpl enumInstanceType = new EnumInstanceTypeImpl(); + return enumInstanceType; + } + + /** + * + * + * @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 + */ + @Override + 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..273e2a1 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RdlPackageImpl.java @@ -0,0 +1,1831 @@ +/** + * generated by Xtext 2.26.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.EnumInstanceType; +import com.minres.rdl.rdl.EnumProperty; +import com.minres.rdl.rdl.ExplicitPropertyAssignment; +import com.minres.rdl.rdl.Include; +import com.minres.rdl.rdl.InstancePropertyRef; +import com.minres.rdl.rdl.InstanceRef; +import com.minres.rdl.rdl.Instantiation; +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 instantiationEClass = 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 EClass enumInstanceTypeEClass = 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 + Object registeredRdlPackage = EPackage.Registry.INSTANCE.get(eNS_URI); + RdlPackageImpl theRdlPackage = registeredRdlPackage instanceof RdlPackageImpl ? (RdlPackageImpl)registeredRdlPackage : 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 + */ + @Override + public EClass getRoot() + { + return rootEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getRoot_Includes() + { + return (EReference)rootEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getRoot_ComponentDefinitions() + { + return (EReference)rootEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getRoot_EnumDefinitions() + { + return (EReference)rootEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getRoot_Instantiations() + { + return (EReference)rootEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getRoot_PropertyAssignments() + { + return (EReference)rootEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getRoot_PropertyDefinitions() + { + return (EReference)rootEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInclude() + { + return includeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getInclude_ImportURI() + { + return (EAttribute)includeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPropertyDefinition() + { + return propertyDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPropertyDefinition_Type() + { + return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyDefinition_Usage() + { + return (EReference)propertyDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyDefinition_Default() + { + return (EReference)propertyDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPropertyDefault() + { + return propertyDefaultEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPropertyDefault_String() + { + return (EAttribute)propertyDefaultEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPropertyDefault_Value() + { + return (EAttribute)propertyDefaultEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPropertyUsage() + { + return propertyUsageEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPropertyUsage_Components() + { + return (EAttribute)propertyUsageEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getComponentDefinition() + { + return componentDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComponentDefinition_Type() + { + return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComponentDefinition_Name() + { + return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getComponentDefinition_ComponentDefinitions() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getComponentDefinition_Instantiations() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getComponentDefinition_PropertyAssignments() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EReference getComponentDefinition_EnumDefinitions() + { + return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInstantiation() + { + return instantiationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstantiation_InstanceType() + { + return (EReference)instantiationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getInstantiation_Alias() + { + return (EAttribute)instantiationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstantiation_ComponentRef() + { + return (EReference)instantiationEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstantiation_Component() + { + return (EReference)instantiationEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstantiation_ComponentInstances() + { + return (EReference)instantiationEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getComponentInstance() + { + return componentInstanceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getComponentInstance_Range() + { + return (EReference)componentInstanceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComponentInstance_Reset() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComponentInstance_Address() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComponentInstance_AddrInc() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComponentInstance_AddrMod() + { + return (EAttribute)componentInstanceEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getRange() + { + return rangeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRange_Left() + { + return (EAttribute)rangeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRange_Right() + { + return (EAttribute)rangeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRange_Size() + { + return (EAttribute)rangeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPropertyAssignment() + { + return propertyAssignmentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getDefaultProperyAssignment() + { + return defaultProperyAssignmentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getExplicitPropertyAssignment() + { + return explicitPropertyAssignmentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExplicitPropertyAssignment_Modifier() + { + return (EAttribute)explicitPropertyAssignmentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExplicitPropertyAssignment_Name() + { + return (EAttribute)explicitPropertyAssignmentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getExplicitPropertyAssignment_Rhs() + { + return (EReference)explicitPropertyAssignmentEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPostPropertyAssignment() + { + return postPropertyAssignmentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPostPropertyAssignment_Instance() + { + return (EReference)postPropertyAssignmentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPostPropertyAssignment_PropertyEnum() + { + return (EAttribute)postPropertyAssignmentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPostPropertyAssignment_Property() + { + return (EReference)postPropertyAssignmentEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPostPropertyAssignment_Rhs() + { + return (EReference)postPropertyAssignmentEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInstancePropertyRef() + { + return instancePropertyRefEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstancePropertyRef_Instance() + { + return (EReference)instancePropertyRefEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getInstancePropertyRef_PropertyEnum() + { + return (EAttribute)instancePropertyRefEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstancePropertyRef_Property() + { + return (EReference)instancePropertyRefEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEntity() + { + return entityEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEntity_Name() + { + return (EAttribute)entityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInstanceRef() + { + return instanceRefEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstanceRef_Instance() + { + return (EReference)instanceRefEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInstanceRef_Tail() + { + return (EReference)instanceRefEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPropertyAssignmentRhs() + { + return propertyAssignmentRhsEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyAssignmentRhs_Value() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyAssignmentRhs_InstPropRef() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyAssignmentRhs_EnumRef() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyAssignmentRhs_Enums() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPropertyAssignmentRhs_Elements() + { + return (EReference)propertyAssignmentRhsEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConcat() + { + return concatEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConcat_Elements() + { + return (EReference)concatEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConcatElem() + { + return concatElemEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConcatElem_InstPropRef() + { + return (EReference)concatElemEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getConcatElem_Value() + { + return (EAttribute)concatElemEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getRValue() + { + return rValueEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRValue_Val() + { + return (EAttribute)rValueEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRValue_Num() + { + return (EAttribute)rValueEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRValue_Str() + { + return (EAttribute)rValueEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEnumDefinition() + { + return enumDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEnumDefinition_Body() + { + return (EReference)enumDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEnumBody() + { + return enumBodyEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEnumBody_Entries() + { + return (EReference)enumBodyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEnumEntry() + { + return enumEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEnumEntry_Name() + { + return (EAttribute)enumEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEnumEntry_Index() + { + return (EAttribute)enumEntryEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getEnumEntry_Properties() + { + return (EReference)enumEntryEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEnumProperty() + { + return enumPropertyEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEnumProperty_Name() + { + return (EAttribute)enumPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEnumProperty_Value() + { + return (EAttribute)enumPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEnumInstanceType() + { + return enumInstanceTypeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEnumInstanceType_EXTERNAL() + { + return (EAttribute)enumInstanceTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getEnumInstanceType_INTERNAL() + { + return (EAttribute)enumInstanceTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EEnum getPropertyTypeName() + { + return propertyTypeNameEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getPropertyComponent() + { + return propertyComponentEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getComponentDefinitionType() + { + return componentDefinitionTypeEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getPropertyEnum() + { + return propertyEnumEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getRValueConstant() + { + return rValueConstantEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getPropertyModifier() + { + return propertyModifierEEnum; + } + + /** + * + * + * @generated + */ + @Override + 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__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__INSTANTIATIONS); + createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__PROPERTY_ASSIGNMENTS); + createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__ENUM_DEFINITIONS); + + instantiationEClass = createEClass(INSTANTIATION); + createEReference(instantiationEClass, INSTANTIATION__INSTANCE_TYPE); + createEAttribute(instantiationEClass, INSTANTIATION__ALIAS); + createEReference(instantiationEClass, INSTANTIATION__COMPONENT_REF); + createEReference(instantiationEClass, INSTANTIATION__COMPONENT); + createEReference(instantiationEClass, INSTANTIATION__COMPONENT_INSTANCES); + + componentInstanceEClass = createEClass(COMPONENT_INSTANCE); + createEReference(componentInstanceEClass, COMPONENT_INSTANCE__RANGE); + 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__LEFT); + createEAttribute(rangeEClass, RANGE__RIGHT); + 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); + + enumInstanceTypeEClass = createEClass(ENUM_INSTANCE_TYPE); + createEAttribute(enumInstanceTypeEClass, ENUM_INSTANCE_TYPE__EXTERNAL); + createEAttribute(enumInstanceTypeEClass, ENUM_INSTANCE_TYPE__INTERNAL); + + // Create enums + propertyTypeNameEEnum = createEEnum(PROPERTY_TYPE_NAME); + propertyComponentEEnum = createEEnum(PROPERTY_COMPONENT); + 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_Instantiations(), this.getInstantiation(), null, "instantiations", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRoot_PropertyAssignments(), this.getPropertyAssignment(), null, "propertyAssignments", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRoot_PropertyDefinitions(), this.getPropertyDefinition(), null, "propertyDefinitions", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + 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_Instantiations(), this.getInstantiation(), null, "instantiations", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentDefinition_PropertyAssignments(), this.getPropertyAssignment(), null, "propertyAssignments", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentDefinition_EnumDefinitions(), this.getEnumDefinition(), null, "enumDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(instantiationEClass, Instantiation.class, "Instantiation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInstantiation_InstanceType(), this.getEnumInstanceType(), null, "instanceType", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getInstantiation_Alias(), ecorePackage.getEString(), "alias", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInstantiation_ComponentRef(), this.getComponentDefinition(), null, "componentRef", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInstantiation_Component(), this.getComponentDefinition(), null, "component", null, 0, 1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInstantiation_ComponentInstances(), this.getComponentInstance(), null, "componentInstances", null, 0, -1, Instantiation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getComponentInstance_Range(), this.getRange(), null, "range", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + 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_Left(), ecorePackage.getEJavaObject(), "left", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRange_Right(), ecorePackage.getEJavaObject(), "right", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRange_Size(), ecorePackage.getEJavaObject(), "size", null, 0, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyAssignmentEClass, PropertyAssignment.class, "PropertyAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + 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); + + initEClass(enumInstanceTypeEClass, EnumInstanceType.class, "EnumInstanceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEnumInstanceType_EXTERNAL(), ecorePackage.getEString(), "EXTERNAL", null, 0, 1, EnumInstanceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEnumInstanceType_INTERNAL(), ecorePackage.getEString(), "INTERNAL", null, 0, 1, EnumInstanceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(propertyTypeNameEEnum, PropertyTypeName.class, "PropertyTypeName"); + addEEnumLiteral(propertyTypeNameEEnum, PropertyTypeName.STRING); + 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..bf810fa --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/rdl/impl/RootImpl.java @@ -0,0 +1,369 @@ +/** + * generated by Xtext 2.26.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.Instantiation; +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#getInstantiations 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 #getInstantiations() Instantiations}' containment reference list. + * + * + * @see #getInstantiations() + * @generated + * @ordered + */ + protected EList instantiations; + + /** + * 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 + */ + @Override + public EList getIncludes() + { + if (includes == null) + { + includes = new EObjectContainmentEList(Include.class, this, RdlPackage.ROOT__INCLUDES); + } + return includes; + } + + /** + * + * + * @generated + */ + @Override + public EList getComponentDefinitions() + { + if (componentDefinitions == null) + { + componentDefinitions = new EObjectContainmentEList(ComponentDefinition.class, this, RdlPackage.ROOT__COMPONENT_DEFINITIONS); + } + return componentDefinitions; + } + + /** + * + * + * @generated + */ + @Override + public EList getEnumDefinitions() + { + if (enumDefinitions == null) + { + enumDefinitions = new EObjectContainmentEList(EnumDefinition.class, this, RdlPackage.ROOT__ENUM_DEFINITIONS); + } + return enumDefinitions; + } + + /** + * + * + * @generated + */ + @Override + public EList getInstantiations() + { + if (instantiations == null) + { + instantiations = new EObjectContainmentEList(Instantiation.class, this, RdlPackage.ROOT__INSTANTIATIONS); + } + return instantiations; + } + + /** + * + * + * @generated + */ + @Override + public EList getPropertyAssignments() + { + if (propertyAssignments == null) + { + propertyAssignments = new EObjectContainmentEList(PropertyAssignment.class, this, RdlPackage.ROOT__PROPERTY_ASSIGNMENTS); + } + return propertyAssignments; + } + + /** + * + * + * @generated + */ + @Override + 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__INSTANTIATIONS: + return ((InternalEList)getInstantiations()).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__INSTANTIATIONS: + return getInstantiations(); + 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__INSTANTIATIONS: + getInstantiations().clear(); + getInstantiations().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__INSTANTIATIONS: + getInstantiations().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__INSTANTIATIONS: + return instantiations != null && !instantiations.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..cf08327 --- /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.26.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 caseInstantiation(Instantiation object) + { + return createInstantiationAdapter(); + } + @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 caseEnumInstanceType(EnumInstanceType object) + { + return createEnumInstanceTypeAdapter(); + } + @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.Instantiation Instantiation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see com.minres.rdl.rdl.Instantiation + * @generated + */ + public Adapter createInstantiationAdapter() + { + 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 an object of class '{@link com.minres.rdl.rdl.EnumInstanceType Enum Instance Type}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see com.minres.rdl.rdl.EnumInstanceType + * @generated + */ + public Adapter createEnumInstanceTypeAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * 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..d59f267 --- /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.26.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.INSTANTIATION: + { + Instantiation instantiation = (Instantiation)theEObject; + T result = caseInstantiation(instantiation); + 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; + } + case RdlPackage.ENUM_INSTANCE_TYPE: + { + EnumInstanceType enumInstanceType = (EnumInstanceType)theEObject; + T result = caseEnumInstanceType(enumInstanceType); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * 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 '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 'Instantiation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInstantiation(Instantiation 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 'Enum Instance Type'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Enum Instance Type'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumInstanceType(EnumInstanceType object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * 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..4e9a5d3 --- /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.26.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..12fc917 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSemanticSequencer.java @@ -0,0 +1,512 @@ +/* + * generated by Xtext 2.26.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.EnumInstanceType; +import com.minres.rdl.rdl.EnumProperty; +import com.minres.rdl.rdl.ExplicitPropertyAssignment; +import com.minres.rdl.rdl.Include; +import com.minres.rdl.rdl.InstancePropertyRef; +import com.minres.rdl.rdl.InstanceRef; +import com.minres.rdl.rdl.Instantiation; +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_INSTANCE_TYPE: + sequence_EnumInstanceType(context, (EnumInstanceType) semanticObject); + return; + case RdlPackage.ENUM_PROPERTY: + sequence_EnumProperty(context, (EnumProperty) semanticObject); + return; + case RdlPackage.EXPLICIT_PROPERTY_ASSIGNMENT: + sequence_ExplicitPropertyAssignment(context, (ExplicitPropertyAssignment) semanticObject); + return; + case RdlPackage.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.INSTANTIATION: + sequence_Instantiation(context, (Instantiation) 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 | instantiations+=Instantiation | propertyAssignments+=PropertyAssignment | enumDefinitions+=EnumDefinition)*
+	 *     )
+	 * 
+ */ + 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:
+	 *     EnumInstanceType returns EnumInstanceType
+	 *
+	 * Constraint:
+	 *     (EXTERNAL='external' | INTERNAL='internal')
+	 * 
+ */ + protected void sequence_EnumInstanceType(ISerializationContext context, EnumInstanceType 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:
+	 *     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:
+	 *     Instantiation returns Instantiation
+	 *
+	 * Constraint:
+	 *     (
+	 *         (
+	 *             (instanceType=EnumInstanceType? alias=ID? componentRef=[ComponentDefinition|ID]) | 
+	 *             (component=ComponentDefinition instanceType=EnumInstanceType?)
+	 *         ) 
+	 *         componentInstances+=ComponentInstance 
+	 *         componentInstances+=ComponentInstance*
+	 *     )
+	 * 
+ */ + protected void sequence_Instantiation(ISerializationContext context, Instantiation 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:
+	 *     ((left=NUM right=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 | 
+	 *         instantiations+=Instantiation | 
+	 *         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..a421ccb --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/serializer/RDLSyntacticSequencer.java @@ -0,0 +1,83 @@ +/* + * generated by Xtext 2.26.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..e3a924c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/services/RDLGrammarAccess.java @@ -0,0 +1,4310 @@ +/* + * generated by Xtext 2.26.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; +import org.eclipse.xtext.service.GrammarProvider; + +@Singleton +public class RDLGrammarAccess extends AbstractElementFinder.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 Group cGroup_1 = (Group)cAlternatives.eContents().get(1); + private final Assignment cComponentDefinitionsAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); + private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0 = (RuleCall)cComponentDefinitionsAssignment_1_0.eContents().get(0); + private final Keyword cSemicolonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); + private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2); + private final Assignment cEnumDefinitionsAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0 = (RuleCall)cEnumDefinitionsAssignment_2_0.eContents().get(0); + private final Keyword cSemicolonKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3); + private final Assignment cInstantiationsAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); + private final RuleCall cInstantiationsInstantiationParserRuleCall_3_0_0 = (RuleCall)cInstantiationsAssignment_3_0.eContents().get(0); + private final Keyword cSemicolonKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); + private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4); + private final Assignment cPropertyAssignmentsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); + private final RuleCall cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0 = (RuleCall)cPropertyAssignmentsAssignment_4_0.eContents().get(0); + private final Keyword cSemicolonKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); + private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5); + private final Assignment cPropertyDefinitionsAssignment_5_0 = (Assignment)cGroup_5.eContents().get(0); + private final RuleCall cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0 = (RuleCall)cPropertyDefinitionsAssignment_5_0.eContents().get(0); + private final Keyword cSemicolonKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1); + + //Root: + // ( + // includes+=Include | + // componentDefinitions+=ComponentDefinition';'| + // enumDefinitions+=EnumDefinition ';'| + // instantiations+=Instantiation ';'| + // propertyAssignments+=PropertyAssignment ';'| + // propertyDefinitions+=PropertyDefinition ';' + // ) * + // ; + @Override public ParserRule getRule() { return rule; } + + //( + // includes+=Include | + // componentDefinitions+=ComponentDefinition';'| + // enumDefinitions+=EnumDefinition ';'| + // instantiations+=Instantiation ';'| + // 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 Group getGroup_1() { return cGroup_1; } + + //componentDefinitions+=ComponentDefinition + public Assignment getComponentDefinitionsAssignment_1_0() { return cComponentDefinitionsAssignment_1_0; } + + //ComponentDefinition + public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_1_0_0; } + + //';' + public Keyword getSemicolonKeyword_1_1() { return cSemicolonKeyword_1_1; } + + //enumDefinitions+=EnumDefinition ';' + public Group getGroup_2() { return cGroup_2; } + + //enumDefinitions+=EnumDefinition + public Assignment getEnumDefinitionsAssignment_2_0() { return cEnumDefinitionsAssignment_2_0; } + + //EnumDefinition + public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_2_0_0; } + + //';' + public Keyword getSemicolonKeyword_2_1() { return cSemicolonKeyword_2_1; } + + //instantiations+=Instantiation ';' + public Group getGroup_3() { return cGroup_3; } + + //instantiations+=Instantiation + public Assignment getInstantiationsAssignment_3_0() { return cInstantiationsAssignment_3_0; } + + //Instantiation + public RuleCall getInstantiationsInstantiationParserRuleCall_3_0_0() { return cInstantiationsInstantiationParserRuleCall_3_0_0; } + + //';' + public Keyword getSemicolonKeyword_3_1() { return cSemicolonKeyword_3_1; } + + //propertyAssignments+=PropertyAssignment ';' + public Group getGroup_4() { return cGroup_4; } + + //propertyAssignments+=PropertyAssignment + public Assignment getPropertyAssignmentsAssignment_4_0() { return cPropertyAssignmentsAssignment_4_0; } + + //PropertyAssignment + public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_4_0_0; } + + //';' + public Keyword getSemicolonKeyword_4_1() { return cSemicolonKeyword_4_1; } + + //propertyDefinitions+=PropertyDefinition ';' + public Group getGroup_5() { return cGroup_5; } + + //propertyDefinitions+=PropertyDefinition + public Assignment getPropertyDefinitionsAssignment_5_0() { return cPropertyDefinitionsAssignment_5_0; } + + //PropertyDefinition + public RuleCall getPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0() { return cPropertyDefinitionsPropertyDefinitionParserRuleCall_5_0_0; } + + //';' + public Keyword getSemicolonKeyword_5_1() { return cSemicolonKeyword_5_1; } + } + public class IncludeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Include"); + 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 Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0); + private final Assignment cComponentDefinitionsAssignment_3_0_0 = (Assignment)cGroup_3_0.eContents().get(0); + private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0 = (RuleCall)cComponentDefinitionsAssignment_3_0_0.eContents().get(0); + private final Keyword cSemicolonKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); + private final Group cGroup_3_1 = (Group)cAlternatives_3.eContents().get(1); + private final Assignment cInstantiationsAssignment_3_1_0 = (Assignment)cGroup_3_1.eContents().get(0); + private final RuleCall cInstantiationsInstantiationParserRuleCall_3_1_0_0 = (RuleCall)cInstantiationsAssignment_3_1_0.eContents().get(0); + private final Keyword cSemicolonKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); + private final Group cGroup_3_2 = (Group)cAlternatives_3.eContents().get(2); + private final Assignment cPropertyAssignmentsAssignment_3_2_0 = (Assignment)cGroup_3_2.eContents().get(0); + private final RuleCall cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0 = (RuleCall)cPropertyAssignmentsAssignment_3_2_0.eContents().get(0); + private final Keyword cSemicolonKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); + private final Group cGroup_3_3 = (Group)cAlternatives_3.eContents().get(3); + private final Assignment cEnumDefinitionsAssignment_3_3_0 = (Assignment)cGroup_3_3.eContents().get(0); + private final RuleCall cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0 = (RuleCall)cEnumDefinitionsAssignment_3_3_0.eContents().get(0); + private final Keyword cSemicolonKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //ComponentDefinition: + // type=ComponentDefinitionType name=ID? + // '{' + // ( componentDefinitions+=ComponentDefinition ';' + // | instantiations+=Instantiation ';' + // | propertyAssignments+=PropertyAssignment ';' + // | enumDefinitions+=EnumDefinition ';' + // )* '}' + // ; + @Override public ParserRule getRule() { return rule; } + + //type=ComponentDefinitionType name=ID? + //'{' + // ( componentDefinitions+=ComponentDefinition ';' + // | instantiations+=Instantiation ';' + // | propertyAssignments+=PropertyAssignment ';' + // | enumDefinitions+=EnumDefinition ';' + // )* '}' + 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 ';' + //| instantiations+=Instantiation ';' + //| propertyAssignments+=PropertyAssignment ';' + //| enumDefinitions+=EnumDefinition ';' + //)* + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //componentDefinitions+=ComponentDefinition ';' + public Group getGroup_3_0() { return cGroup_3_0; } + + //componentDefinitions+=ComponentDefinition + public Assignment getComponentDefinitionsAssignment_3_0_0() { return cComponentDefinitionsAssignment_3_0_0; } + + //ComponentDefinition + public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_3_0_0_0; } + + //';' + public Keyword getSemicolonKeyword_3_0_1() { return cSemicolonKeyword_3_0_1; } + + //instantiations+=Instantiation ';' + public Group getGroup_3_1() { return cGroup_3_1; } + + //instantiations+=Instantiation + public Assignment getInstantiationsAssignment_3_1_0() { return cInstantiationsAssignment_3_1_0; } + + //Instantiation + public RuleCall getInstantiationsInstantiationParserRuleCall_3_1_0_0() { return cInstantiationsInstantiationParserRuleCall_3_1_0_0; } + + //';' + public Keyword getSemicolonKeyword_3_1_1() { return cSemicolonKeyword_3_1_1; } + + //propertyAssignments+=PropertyAssignment ';' + public Group getGroup_3_2() { return cGroup_3_2; } + + //propertyAssignments+=PropertyAssignment + public Assignment getPropertyAssignmentsAssignment_3_2_0() { return cPropertyAssignmentsAssignment_3_2_0; } + + //PropertyAssignment + public RuleCall getPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0() { return cPropertyAssignmentsPropertyAssignmentParserRuleCall_3_2_0_0; } + + //';' + public Keyword getSemicolonKeyword_3_2_1() { return cSemicolonKeyword_3_2_1; } + + //enumDefinitions+=EnumDefinition ';' + public Group getGroup_3_3() { return cGroup_3_3; } + + //enumDefinitions+=EnumDefinition + public Assignment getEnumDefinitionsAssignment_3_3_0() { return cEnumDefinitionsAssignment_3_3_0; } + + //EnumDefinition + public RuleCall getEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0() { return cEnumDefinitionsEnumDefinitionParserRuleCall_3_3_0_0; } + + //';' + public Keyword getSemicolonKeyword_3_3_1() { return cSemicolonKeyword_3_3_1; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + public class InstantiationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.Instantiation"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); + private final Group cGroup_0_0 = (Group)cAlternatives_0.eContents().get(0); + private final Assignment cInstanceTypeAssignment_0_0_0 = (Assignment)cGroup_0_0.eContents().get(0); + private final RuleCall cInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0 = (RuleCall)cInstanceTypeAssignment_0_0_0.eContents().get(0); + private final Group cGroup_0_0_1 = (Group)cGroup_0_0.eContents().get(1); + private final Keyword cAliasKeyword_0_0_1_0 = (Keyword)cGroup_0_0_1.eContents().get(0); + private final Assignment cAliasAssignment_0_0_1_1 = (Assignment)cGroup_0_0_1.eContents().get(1); + private final RuleCall cAliasIDTerminalRuleCall_0_0_1_1_0 = (RuleCall)cAliasAssignment_0_0_1_1.eContents().get(0); + private final Assignment cComponentRefAssignment_0_0_2 = (Assignment)cGroup_0_0.eContents().get(2); + private final CrossReference cComponentRefComponentDefinitionCrossReference_0_0_2_0 = (CrossReference)cComponentRefAssignment_0_0_2.eContents().get(0); + private final RuleCall cComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1 = (RuleCall)cComponentRefComponentDefinitionCrossReference_0_0_2_0.eContents().get(1); + private final Group cGroup_0_1 = (Group)cAlternatives_0.eContents().get(1); + private final Assignment cComponentAssignment_0_1_0 = (Assignment)cGroup_0_1.eContents().get(0); + private final RuleCall cComponentComponentDefinitionParserRuleCall_0_1_0_0 = (RuleCall)cComponentAssignment_0_1_0.eContents().get(0); + private final Assignment cInstanceTypeAssignment_0_1_1 = (Assignment)cGroup_0_1.eContents().get(1); + private final RuleCall cInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0 = (RuleCall)cInstanceTypeAssignment_0_1_1.eContents().get(0); + private final Assignment cComponentInstancesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cComponentInstancesComponentInstanceParserRuleCall_1_0 = (RuleCall)cComponentInstancesAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + 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); + + //Instantiation: + // ( + // instanceType=EnumInstanceType? ("alias" alias=ID)? + // componentRef=[ComponentDefinition] | component=ComponentDefinition instanceType=EnumInstanceType? + // ) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* + // ; + @Override public ParserRule getRule() { return rule; } + + //( + // instanceType=EnumInstanceType? ("alias" alias=ID)? + // componentRef=[ComponentDefinition] | component=ComponentDefinition instanceType=EnumInstanceType? + //) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* + public Group getGroup() { return cGroup; } + + //( + // instanceType=EnumInstanceType? ("alias" alias=ID)? + // componentRef=[ComponentDefinition] | component=ComponentDefinition instanceType=EnumInstanceType? + //) + public Alternatives getAlternatives_0() { return cAlternatives_0; } + + //instanceType=EnumInstanceType? ("alias" alias=ID)? + //componentRef=[ComponentDefinition] + public Group getGroup_0_0() { return cGroup_0_0; } + + //instanceType=EnumInstanceType? + public Assignment getInstanceTypeAssignment_0_0_0() { return cInstanceTypeAssignment_0_0_0; } + + //EnumInstanceType + public RuleCall getInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0() { return cInstanceTypeEnumInstanceTypeParserRuleCall_0_0_0_0; } + + //("alias" alias=ID)? + public Group getGroup_0_0_1() { return cGroup_0_0_1; } + + //"alias" + public Keyword getAliasKeyword_0_0_1_0() { return cAliasKeyword_0_0_1_0; } + + //alias=ID + public Assignment getAliasAssignment_0_0_1_1() { return cAliasAssignment_0_0_1_1; } + + //ID + public RuleCall getAliasIDTerminalRuleCall_0_0_1_1_0() { return cAliasIDTerminalRuleCall_0_0_1_1_0; } + + //componentRef=[ComponentDefinition] + public Assignment getComponentRefAssignment_0_0_2() { return cComponentRefAssignment_0_0_2; } + + //[ComponentDefinition] + public CrossReference getComponentRefComponentDefinitionCrossReference_0_0_2_0() { return cComponentRefComponentDefinitionCrossReference_0_0_2_0; } + + //ID + public RuleCall getComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1() { return cComponentRefComponentDefinitionIDTerminalRuleCall_0_0_2_0_1; } + + //component=ComponentDefinition instanceType=EnumInstanceType? + public Group getGroup_0_1() { return cGroup_0_1; } + + //component=ComponentDefinition + public Assignment getComponentAssignment_0_1_0() { return cComponentAssignment_0_1_0; } + + //ComponentDefinition + public RuleCall getComponentComponentDefinitionParserRuleCall_0_1_0_0() { return cComponentComponentDefinitionParserRuleCall_0_1_0_0; } + + //instanceType=EnumInstanceType? + public Assignment getInstanceTypeAssignment_0_1_1() { return cInstanceTypeAssignment_0_1_1; } + + //EnumInstanceType + public RuleCall getInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0() { return cInstanceTypeEnumInstanceTypeParserRuleCall_0_1_1_0; } + + //componentInstances+=ComponentInstance + public Assignment getComponentInstancesAssignment_1() { return cComponentInstancesAssignment_1; } + + //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 + // ('=' reset=NUM)? + // //address + // ('@' address=NUM)? + // //addr inc + // ('+=' addrInc=NUM)? + // //addr mod + // ('%=' addrMod=NUM)? + // ; + @Override public ParserRule getRule() { return rule; } + + //name=ID (range=Range)? + ////reset + //('=' reset=NUM)? + ////address + //('@' address=NUM)? + ////addr inc + //('+=' addrInc=NUM)? + ////addr mod + //('%=' 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 + //('=' 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 + //('@' 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; } + + ////addr inc + //('+=' 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; } + + ////addr mod + //('%=' 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 cLeftAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0); + private final RuleCall cLeftNUMTerminalRuleCall_1_0_0_0 = (RuleCall)cLeftAssignment_1_0_0.eContents().get(0); + private final Keyword cColonKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1); + private final Assignment cRightAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2); + private final RuleCall cRightNUMTerminalRuleCall_1_0_2_0 = (RuleCall)cRightAssignment_1_0_2.eContents().get(0); + private final Assignment cSizeAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); + private final RuleCall cSizeNUMTerminalRuleCall_1_1_0 = (RuleCall)cSizeAssignment_1_1.eContents().get(0); + private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + + //Range: + // '[' (left=NUM ':' right=NUM | size=NUM) ']' + // ; + @Override public ParserRule getRule() { return rule; } + + //'[' (left=NUM ':' right=NUM | size=NUM) ']' + public Group getGroup() { return cGroup; } + + //'[' + public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } + + //(left=NUM ':' right=NUM | size=NUM) + public Alternatives getAlternatives_1() { return cAlternatives_1; } + + //left=NUM ':' right=NUM + public Group getGroup_1_0() { return cGroup_1_0; } + + //left=NUM + public Assignment getLeftAssignment_1_0_0() { return cLeftAssignment_1_0_0; } + + //NUM + public RuleCall getLeftNUMTerminalRuleCall_1_0_0_0() { return cLeftNUMTerminalRuleCall_1_0_0_0; } + + //':' + public Keyword getColonKeyword_1_0_1() { return cColonKeyword_1_0_1; } + + //right=NUM + public Assignment getRightAssignment_1_0_2() { return cRightAssignment_1_0_2; } + + //NUM + public RuleCall getRightNUMTerminalRuleCall_1_0_2_0() { return cRightNUMTerminalRuleCall_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 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); + + //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; } + + //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 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); + + //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 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 rule 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 returns 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 returns 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); + + //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 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 EnumInstanceTypeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.EnumInstanceType"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final Assignment cEXTERNALAssignment_0 = (Assignment)cAlternatives.eContents().get(0); + private final Keyword cEXTERNALExternalKeyword_0_0 = (Keyword)cEXTERNALAssignment_0.eContents().get(0); + private final Assignment cINTERNALAssignment_1 = (Assignment)cAlternatives.eContents().get(1); + private final Keyword cINTERNALInternalKeyword_1_0 = (Keyword)cINTERNALAssignment_1.eContents().get(0); + + //EnumInstanceType: + // EXTERNAL="external" | INTERNAL="internal" + //; + @Override public ParserRule getRule() { return rule; } + + //EXTERNAL="external" | INTERNAL="internal" + public Alternatives getAlternatives() { return cAlternatives; } + + //EXTERNAL="external" + public Assignment getEXTERNALAssignment_0() { return cEXTERNALAssignment_0; } + + //"external" + public Keyword getEXTERNALExternalKeyword_0_0() { return cEXTERNALExternalKeyword_0_0; } + + //INTERNAL="internal" + public Assignment getINTERNALAssignment_1() { return cINTERNALAssignment_1; } + + //"internal" + public Keyword getINTERNALInternalKeyword_1_0() { return cINTERNALInternalKeyword_1_0; } + } + + public class PropertyTypeNameElements extends AbstractElementFinder.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 AbstractElementFinder.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 AbstractElementFinder.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 AbstractElementFinder.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; } + + 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 AbstractElementFinder.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 AbstractElementFinder.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; } + + 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 AbstractElementFinder.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; } + + 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 InstantiationElements pInstantiation; + 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 EnumInstanceTypeElements pEnumInstanceType; + private final TerminalRule tID; + private final TerminalRule tWS; + private final TerminalRule tML_COMMENT; + private final TerminalRule tSL_COMMENT; + private final TerminalRule tESCAPE_JSP; + private final TerminalRule tESCAPE_ORDL; + 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.pInstantiation = new InstantiationElements(); + 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.pEnumInstanceType = new EnumInstanceTypeElements(); + this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ID"); + this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.WS"); + this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ML_COMMENT"); + this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.SL_COMMENT"); + this.tESCAPE_JSP = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ESCAPE_JSP"); + this.tESCAPE_ORDL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ESCAPE_ORDL"); + 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 ';'| + // instantiations+=Instantiation ';'| + // 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 ';' + // | instantiations+=Instantiation ';' + // | propertyAssignments+=PropertyAssignment ';' + // | enumDefinitions+=EnumDefinition ';' + // )* '}' + // ; + 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: + // ( + // instanceType=EnumInstanceType? ("alias" alias=ID)? + // componentRef=[ComponentDefinition] | component=ComponentDefinition instanceType=EnumInstanceType? + // ) componentInstances+=ComponentInstance (',' componentInstances+=ComponentInstance)* + // ; + public InstantiationElements getInstantiationAccess() { + return pInstantiation; + } + + public ParserRule getInstantiationRule() { + return getInstantiationAccess().getRule(); + } + + //ComponentInstance: + // name=ID (range=Range)? + // //reset + // ('=' reset=NUM)? + // //address + // ('@' address=NUM)? + // //addr inc + // ('+=' addrInc=NUM)? + // //addr mod + // ('%=' addrMod=NUM)? + // ; + public ComponentInstanceElements getComponentInstanceAccess() { + return pComponentInstance; + } + + public ParserRule getComponentInstanceRule() { + return getComponentInstanceAccess().getRule(); + } + + //Range: + // '[' (left=NUM ':' right=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 rule 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 returns 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 returns 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(); + } + + //EnumInstanceType: + // EXTERNAL="external" | INTERNAL="internal" + //; + public EnumInstanceTypeElements getEnumInstanceTypeAccess() { + return pEnumInstanceType; + } + + public ParserRule getEnumInstanceTypeRule() { + return getEnumInstanceTypeAccess().getRule(); + } + + ///////////////////////////////////////////////////////////////////////////////// + //// the terminals + ///////////////////////////////////////////////////////////////////////////////// + //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 ESCAPE_JSP : '<%' -> '%>' ; + public TerminalRule getESCAPE_JSPRule() { + return tESCAPE_JSP; + } + + //terminal ESCAPE_ORDL: '(' -> ')' ; + public TerminalRule getESCAPE_ORDLRule() { + return tESCAPE_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'+ + // ; + 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..be0198c --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/validation/AbstractRDLValidator.java @@ -0,0 +1,22 @@ +/* + * generated by Xtext 2.26.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; +import org.eclipse.xtext.validation.ComposedChecks; +import org.eclipse.xtext.validation.ImportUriValidator; + +@ComposedChecks(validators = {ImportUriValidator.class}) +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-gen/com/minres/rdl/validation/RDLConfigurableIssueCodesProvider.java b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/validation/RDLConfigurableIssueCodesProvider.java new file mode 100644 index 0000000..71e9435 --- /dev/null +++ b/com.minres.rdl.parent/com.minres.rdl/src-gen/com/minres/rdl/validation/RDLConfigurableIssueCodesProvider.java @@ -0,0 +1,21 @@ +/* + * generated by Xtext 2.26.0 + */ +package com.minres.rdl.validation; + +import org.eclipse.xtext.preferences.PreferenceKey; +import org.eclipse.xtext.util.IAcceptor; +import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider; +import org.eclipse.xtext.validation.SeverityConverter; + +public class RDLConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider { + protected static final String ISSUE_CODE_PREFIX = "com.minres.rdl."; + + public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart"; + + @Override + protected void initialize(IAcceptor acceptor) { + super.initialize(acceptor); + acceptor.accept(create(DEPRECATED_MODEL_PART, SeverityConverter.SEVERITY_WARNING)); + } +} 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 index ea930a2..e8f36da 100644 --- 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 @@ -26,4 +26,11 @@ class RDLRuntimeModule extends AbstractRDLRuntimeModule { //return typeof(ResourceSetGlobalScopeProvider) return typeof(org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider) } +// def Class bindIGeneratorConfiguration() { +// return GeneratorConfiguration; +// } +// def IGeneratorConfiguration bindIGeneratorConfiguration() { +// return new GeneratorConfiguration(); +// } + } diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend index 24a279c..0008c10 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/AddrmapGenerator.xtend @@ -4,6 +4,7 @@ import com.minres.rdl.rdl.ComponentDefinition import com.minres.rdl.rdl.ComponentDefinitionType import static extension com.minres.rdl.RdlUtil.* +import java.util.Date class AddrmapGenerator extends RdlBaseGenerator { @@ -18,8 +19,18 @@ class AddrmapGenerator extends RdlBaseGenerator { } override generateHeader(String namespace) {''' - #ifndef _«componentDefinition.effectiveName.toUpperCase»_MAP_H_ - #define _«componentDefinition.effectiveName.toUpperCase»_MAP_H_ + /* + * Copyright (c) 2019 -2022 MINRES Technologies GmbH + * + * SPDX-License-Identifier: Apache-2.0 + * + * Created on: «new Date» + * * «componentDefinition.effectiveName».h Author: + * + */ + + #pragma once + // need double braces, see https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191 const std::array, «componentDefinition.instanceCount(ComponentDefinitionType.REGFILE)»> «componentDefinition.effectiveName»_map = {{ «FOR instantiation : componentDefinition.instantiationsOfType(ComponentDefinitionType.REGFILE)» diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwAddrmapGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwAddrmapGenerator.xtend index 0287e49..8d8d41d 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwAddrmapGenerator.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwAddrmapGenerator.xtend @@ -21,43 +21,17 @@ class FwAddrmapGenerator extends RdlBaseGenerator { } override generateHeader(String namespace) {''' - //////////////////////////////////////////////////////////////////////////////// - // Copyright (C) 2020-2022, MINRES Technologies GmbH - // All rights reserved. - // - // Redistribution and use in source and binary forms, with or without - // modification, are permitted provided that the following conditions are met: - // - // 1. Redistributions of source code must retain the above copyright notice, - // this list of conditions and the following disclaimer. - // - // 2. Redistributions in binary form must reproduce the above copyright notice, - // this list of conditions and the following disclaimer in the documentation - // and/or other materials provided with the distribution. - // - // 3. Neither the name of the copyright holder nor the names of its contributors - // may be used to endorse or promote products derived from this software - // without specific prior written permission. - // - // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - // POSSIBILITY OF SUCH DAMAGE. - // - // Created on: «new Date» - // * «componentDefinition.name».h Author: - // - //////////////////////////////////////////////////////////////////////////////// + /* + * Copyright (c) 2019 -2022 MINRES Technologies GmbH + * + * SPDX-License-Identifier: Apache-2.0 + * + * Created on: «new Date» + * * «componentDefinition.effectiveName».h Author: + * + */ - #ifndef _«componentDefinition.effectiveName.toUpperCase»_MAP_H_ - #define _«componentDefinition.effectiveName.toUpperCase»_MAP_H_ + #pragma once «FOR instantiation : componentDefinition.instantiationsOfType(ComponentDefinitionType.REGFILE)» «IF instantiation.component !== null && !nameMap.contains(instantiation.component.name)» diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwRegfileGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwRegfileGenerator.xtend index 10bdbff..71ad3f9 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwRegfileGenerator.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/FwRegfileGenerator.xtend @@ -22,43 +22,17 @@ class FwRegfileGenerator extends RdlBaseGenerator{ } override String generateHeader(String namespace)''' - //////////////////////////////////////////////////////////////////////////////// - // Copyright (C) 2020-2022, MINRES Technologies GmbH - // All rights reserved. - // - // Redistribution and use in source and binary forms, with or without - // modification, are permitted provided that the following conditions are met: - // - // 1. Redistributions of source code must retain the above copyright notice, - // this list of conditions and the following disclaimer. - // - // 2. Redistributions in binary form must reproduce the above copyright notice, - // this list of conditions and the following disclaimer in the documentation - // and/or other materials provided with the distribution. - // - // 3. Neither the name of the copyright holder nor the names of its contributors - // may be used to endorse or promote products derived from this software - // without specific prior written permission. - // - // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - // POSSIBILITY OF SUCH DAMAGE. - // - // Created on: «new Date» - // * «componentDefinition.name».h Author: - // - //////////////////////////////////////////////////////////////////////////////// + /* + * Copyright (c) 2019 -2022 MINRES Technologies GmbH + * + * SPDX-License-Identifier: Apache-2.0 + * + * Created on: «new Date» + * * «componentDefinition.effectiveName».h Author: + * + */ - #ifndef _«componentDefinition.name.toUpperCase»_H_ - #define _«componentDefinition.name.toUpperCase»_H_ + #pragma once #include #include diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend index f227723..0e1da98 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend @@ -23,7 +23,9 @@ import java.io.File class Main { - val USAGE_STR = "RDL2code [-h] [-v] [-f] [-n ] [-I ] "; + val USAGE_STR = ''' + RDL2code [-h] [-v] [-f] [-fw] [-sc [-n ]] [-I ] + ''' def static main(String[] args) { if (args.empty) { @@ -56,50 +58,53 @@ class Main { @Inject JavaIoFileSystemAccess fileAccess def run(String[] args) { - val opt = new Options(args, 0, Integer.MAX_VALUE); - opt.getSet().addOption("h", Multiplicity.ZERO_OR_ONE); - opt.getSet().addOption("v", Multiplicity.ZERO_OR_ONE); - opt.getSet().addOption("f", Multiplicity.ZERO_OR_ONE); - opt.getSet().addOption("n", Separator.BLANK, Multiplicity.ZERO_OR_ONE); - opt.getSet().addOption("o", Separator.BLANK, Multiplicity.ZERO_OR_ONE); - opt.getSet().addOption("I", Separator.BLANK, Multiplicity.ZERO_OR_ONE); + val optionSet = opt.getSet() + optionSet.addOption("h", Multiplicity.ZERO_OR_ONE); + optionSet.addOption("v", Multiplicity.ZERO_OR_ONE); + optionSet.addOption("f", Multiplicity.ZERO_OR_ONE); + optionSet.addOption("n", Separator.BLANK, Multiplicity.ZERO_OR_ONE); + optionSet.addOption("o", Separator.BLANK, Multiplicity.ZERO_OR_ONE); + optionSet.addOption("I", Separator.BLANK, Multiplicity.ZERO_OR_ONE); + optionSet.addOption("fw", Multiplicity.ZERO_OR_ONE); + optionSet.addOption("sc", Multiplicity.ZERO_OR_ONE); + optionSet.addOption("sc-dir", Separator.BLANK, Multiplicity.ZERO_OR_ONE); + optionSet.addOption("fw-dir", Separator.BLANK, Multiplicity.ZERO_OR_ONE); if (!opt.check(false, false)) { // Print usage hints System.err.println("Usage is: " + USAGE_STR); throw new MalformedParametersException(opt.getCheckErrors()); } // Normal processing - if (opt.getSet().isSet("h")) { + if (optionSet.isSet("h")) { println("Usage: " + USAGE_STR); return } - val verbose = if(opt.getSet().isSet("v")) true else false; + val verbose = if(optionSet.isSet("v")) true else false; val setup = new StandaloneSetup() - if (opt.getSet().isSet("I")) { + if (optionSet.isSet("I")) { val projectMapping = new ProjectMapping projectMapping.projectName = "RDL Repository" - projectMapping.path = new File(opt.getSet().getOption("I").getResultValue(0)).canonicalFile.absolutePath + projectMapping.path = new File(optionSet.getOption("I").getResultValue(0)).canonicalFile.absolutePath setup.addProjectMapping(projectMapping) } // Configure and start the generator fileAccess.outputPath = 'src-gen/' - if(opt.getSet().isSet('o')){ - fileAccess.outputPath = opt.getSet().getOption('o').getResultValue(0) + if(optionSet.isSet('o')){ + fileAccess.outputPath = optionSet.getOption('o').getResultValue(0) fileAccess.outputConfigurations.get(IFileSystemAccess.DEFAULT_OUTPUT)?.setOverrideExistingResources(true) } -// #{'incl-out' -> false, 'src-out' -> false, 'gen-out' -> true}.forEach[p1, p2| -// if(opt.getSet().isSet(p1.substring(0, 1))) -// fileAccess.setOutputPath(p1, opt.getSet().getOption(p1.substring(0, 1)).getResultValue(0)+'/') -// else -// fileAccess.setOutputPath(p1, 'src-gen/') -// fileAccess.outputConfigurations.get(p1)?.setOverrideExistingResources(p2) -// ] - opt.getSet().getData().forEach [ String string | - if(verbose) println("Processing " + string); + val context = new RdlGeneratorContext => [cancelIndicator = CancelIndicator.NullImpl] + context.forceOverwrite= optionSet.isSet('f') + if(optionSet.isSet('n')) + context.namespace=optionSet.getOption('n').getResultValue(0) + context.generateFw=optionSet.isSet('fw') + context.generateSc=optionSet.isSet('sc') + optionSet.getData().forEach [ String fileName | + if(verbose) println("Processing " + fileName); // Load the resource val resourceSet = resourceSetProvider.get as XtextResourceSet resourceSet.addLoadOption(XtextResource.OPTION_RESOLVE_ALL, Boolean.TRUE); - val resource = resourceSet.getResource(URI.createFileURI(string), true) + val resource = resourceSet.getResource(URI.createFileURI(fileName), true) // Validate the resource val issues = validator.validate(resource, CheckMode.ALL, CancelIndicator.NullImpl) if (!issues.empty) { @@ -107,22 +112,10 @@ class Main { issues.forEach[System.err.println(it)] throw new ParseException("error validating " + resource.URI, issues.size) } - - val context = new RdlGeneratorContext => [cancelIndicator = CancelIndicator.NullImpl] - context.forceOverwrite= opt.getSet().isSet('f') - if(opt.getSet().isSet('n')) - context.namespace=opt.getSet().getOption('n').getResultValue(0) generator.generate(resource, fileAccess, context) - - if(verbose) println('Code generation for ' + string + ' finished') - try { - if(verbose) println('includes are in ' + fileAccess.getURI('', 'incl-out')) - } catch (Exception e) { + if(verbose) { + println('Code generation for ' + fileName + ' finished') println('includes are in ' + fileAccess.getURI('')) - } - try { - if(verbose) println('sources are in ' + fileAccess.getURI('', 'src-out')) - } catch (Exception e) { println('sources are in ' + fileAccess.getURI('')) } ] diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend_gen b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend_gen deleted file mode 100644 index de3a94d..0000000 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend_gen +++ /dev/null @@ -1,58 +0,0 @@ -/* - * generated by Xtext 2.14.0 - */ -package com.minres.rdl.generator - -import com.google.inject.Inject -import com.google.inject.Provider -import com.minres.rdl.RDLStandaloneSetup -import org.eclipse.emf.common.util.URI -import org.eclipse.emf.ecore.resource.ResourceSet -import org.eclipse.xtext.generator.GeneratorContext -import org.eclipse.xtext.generator.GeneratorDelegate -import org.eclipse.xtext.generator.JavaIoFileSystemAccess -import org.eclipse.xtext.util.CancelIndicator -import org.eclipse.xtext.validation.CheckMode -import org.eclipse.xtext.validation.IResourceValidator - -class Main { - - def static main(String[] args) { - if (args.empty) { - System::err.println('Aborting: no path to EMF resource provided!') - return - } - val injector = new RDLStandaloneSetup().createInjectorAndDoEMFRegistration - val main = injector.getInstance(Main) - main.runGenerator(args.get(0)) - } - - @Inject Provider resourceSetProvider - - @Inject IResourceValidator validator - - @Inject GeneratorDelegate generator - - @Inject JavaIoFileSystemAccess fileAccess - - def protected runGenerator(String string) { - // Load the resource - val set = resourceSetProvider.get - val resource = set.getResource(URI.createFileURI(string), true) - - // Validate the resource - val issues = validator.validate(resource, CheckMode.ALL, CancelIndicator.NullImpl) - if (!issues.empty) { - issues.forEach[System.err.println(it)] - return - } - - // Configure and start the generator - fileAccess.outputPath = 'src-gen/' - val context = new GeneratorContext => [ - cancelIndicator = CancelIndicator.NullImpl - ] - generator.generate(resource, fileAccess, context) - System.out.println('Code generation finished.') - } -} diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/ModuleGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/ModuleGenerator.xtend index f7b6e1e..bbde586 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/ModuleGenerator.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/ModuleGenerator.xtend @@ -4,6 +4,9 @@ import com.minres.rdl.rdl.ComponentDefinition import com.minres.rdl.rdl.ComponentDefinitionType import static extension com.minres.rdl.RdlUtil.* +import com.minres.rdl.rdl.ExplicitPropertyAssignment +import com.minres.rdl.rdl.PropertyEnum +import com.minres.rdl.rdl.RValueConstant class ModuleGenerator extends RdlBaseGenerator { @@ -19,12 +22,12 @@ class ModuleGenerator extends RdlBaseGenerator { override generateHeader(String namespace){ if(componentDefinition.type!=ComponentDefinitionType.REGFILE) return '' - val addrMaps = componentDefinition.eResource.resourceSet.allContents - .filter[ it instanceof ComponentDefinition] - .map[it as ComponentDefinition] - .filter[it.type == ComponentDefinitionType.ADDRMAP] - .filter[def | def.instantiations.filter[it.componentRef==componentDefinition].size>0] - if(addrMaps.size==0) return '' +// val addrMaps = componentDefinition.eResource.resourceSet.allContents +// .filter[ it instanceof ComponentDefinition] +// .map[it as ComponentDefinition] +// .filter[it.type == ComponentDefinitionType.ADDRMAP] +// .filter[def | def.instantiations.filter[it.componentRef==componentDefinition].size>0] +// if(addrMaps.size==0) return '' ''' /* * Copyright (c) 2019 -2022 MINRES Technologies GmbH @@ -32,11 +35,13 @@ class ModuleGenerator extends RdlBaseGenerator { * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _«namespace.toUpperCase»_«componentDefinition.effectiveName.toUpperCase»_H_ - #define _«namespace.toUpperCase»_«componentDefinition.effectiveName.toUpperCase»_H_ + #pragma once + #include - namespace «namespace» { + «FOR ns : namespace.split('::')» + namespace «ns» { + «ENDFOR» namespace gen { class «componentDefinition.effectiveName»_regs; } @@ -55,7 +60,9 @@ class ModuleGenerator extends RdlBaseGenerator { std::unique_ptr regs; }; - } /* namespace «namespace» */ + «FOR ns : namespace.split('::').reverse» + } // namespace «ns» + «ENDFOR» #endif /* _«namespace.toUpperCase»_«componentDefinition.effectiveName.toUpperCase»_H_ */ ''' @@ -63,12 +70,12 @@ class ModuleGenerator extends RdlBaseGenerator { override generateSource(String namespace) { if(componentDefinition.type!=ComponentDefinitionType.REGFILE) return '' - val addrMaps = componentDefinition.eResource.resourceSet.allContents - .filter[ it instanceof ComponentDefinition] - .map[it as ComponentDefinition] - .filter[it.type == ComponentDefinitionType.ADDRMAP] - .filter[def | def.instantiations.filter[it.componentRef==componentDefinition].size>0] - if(addrMaps.size==0) return '' +// val addrMaps = componentDefinition.eResource.resourceSet.allContents +// .filter[ it instanceof ComponentDefinition] +// .map[it as ComponentDefinition] +// .filter[it.type == ComponentDefinitionType.ADDRMAP] +// .filter[def | def.instantiations.filter[it.componentRef==componentDefinition].size>0] +// if(addrMaps.size==0) return '' ''' /* * Copyright (c) 2019 -2022 MINRES Technologies GmbH @@ -81,7 +88,9 @@ class ModuleGenerator extends RdlBaseGenerator { #include - namespace «namespace» { + «FOR ns : namespace.split('::')» + namespace «ns» { + «ENDFOR» SC_HAS_PROCESS(«componentDefinition.effectiveName»);// NOLINT «componentDefinition.effectiveName»::«componentDefinition.effectiveName»(sc_core::sc_module_name nm) @@ -93,6 +102,15 @@ class ModuleGenerator extends RdlBaseGenerator { sensitive << clk_i; SC_METHOD(reset_cb); sensitive << rst_i; + «FOR instantiation : componentDefinition.instantiations» + «FOR instance : instantiation.componentInstances» + «IF instantiation.componentDefinition.type == ComponentDefinitionType.REG && instantiation.componentDefinition.isReadOnly» + regs->«instance.name».set_write_cb([this](scc::sc_register&, uint«instantiation.size»_t const& v, sc_core::sc_time t)-> bool {return true;}); + «ELSEIF instantiation.componentDefinition.type == ComponentDefinitionType.REG && instantiation.componentDefinition.isWriteOnly» + regs->«instance.name».set_read_cb([this](scc::sc_register const&, uint«instantiation.size»_t& v, sc_core::sc_time t)-> bool {return true;}); + «ENDIF» + «ENDFOR» + «ENDFOR» } «componentDefinition.effectiveName»::~«componentDefinition.effectiveName»() {} // NOLINT @@ -107,7 +125,22 @@ class ModuleGenerator extends RdlBaseGenerator { } } - } /* namespace «namespace» */ + «FOR ns : namespace.split('::').reverse» + } // namespace «ns» + «ENDFOR» ''' } + + + def boolean isReadOnly(ComponentDefinition definition){ + definition.propertyAssignments + .filter[it instanceof ExplicitPropertyAssignment].map[it as ExplicitPropertyAssignment] + .filter[it.name==PropertyEnum.SW && it.rhs.value !== null && it.rhs.value.^val !== null && it.rhs.value.^val === RValueConstant.R].size >0 + } + + def boolean isWriteOnly(ComponentDefinition definition){ + definition.propertyAssignments + .filter[it instanceof ExplicitPropertyAssignment].map[it as ExplicitPropertyAssignment] + .filter[it.name==PropertyEnum.SW && it.rhs.value !== null && it.rhs.value.^val !== null && it.rhs.value.^val === RValueConstant.W].size >0 + } } \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Options.java b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Options.java index 9b5a748..f5edf70 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Options.java +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Options.java @@ -1,6 +1,7 @@ package com.minres.rdl.generator; /** + * see also https://www.infoworld.com/article/2074849/processing-command-line-arguments-in-java--case-closed.html * The central class for option processing. Sets are identified by their name, but there is also * an anonymous default set, which is very convenient if an application requieres only one set. */ diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend index 9894b9f..7f64a1f 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RDLGenerator.xtend @@ -12,28 +12,28 @@ import org.eclipse.xtext.generator.IGeneratorContext import static extension com.minres.rdl.RdlUtil.* import java.util.Map -/** - * 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) { val force = if(context instanceof RdlGeneratorContext) context.forceOverwrite else false val namespace = if(context instanceof RdlGeneratorContext) context.namespace else "sysc" + val genFW = if(context instanceof RdlGeneratorContext) context.generateFw else true + val genSC = if(context instanceof RdlGeneratorContext) context.generateSc else true resource.resourceSet.allContents.filter[ it instanceof ComponentDefinition].map[it as ComponentDefinition].forEach[ val genMap = it.fileGenerator if(genMap!==null) genMap.forEach[p1, gen | - val header = gen.generateHeader(namespace) - val inclFileName = p1+'/'+it.effectiveName+'.h' - val inclCfg = fsa.outputConfig('incl-out') - if((force || !fsa.isFile(inclFileName, inclCfg) || gen.overwrite) && header!==null && header.length>0) - fsa.generateFile(inclFileName, inclCfg, header) - val source = gen.generateSource(namespace) - val srcFileName = p1+'/'+it.effectiveName+'.cpp' - val srcCfg = fsa.outputConfig('src-out') - if((force || !fsa.isFile(srcFileName, srcCfg) || gen.overwrite) && source!==null && source.length>0) - fsa.generateFile(srcFileName, srcCfg, source) + if((p1=='fw' && genFW) || (p1!='fw' && genSC)) { + val header = gen.generateHeader(namespace) + val prefix = if(p1=="fw") 'fw-' else 'sc-' + val inclFileName = (if(p1=="gen") p1 else '.') + '/'+it.effectiveName+'.h' + val inclCfg = fsa.outputConfig(prefix+'incl-out') + if((force || !fsa.isFile(inclFileName, inclCfg) || gen.overwrite) && header!==null && header.length>0) + fsa.generateFile(inclFileName, inclCfg, header) + val source = gen.generateSource(namespace) + val srcFileName = (if(p1=="gen") p1 else '.') + '/'+it.effectiveName+'.cpp' + val srcCfg = fsa.outputConfig(prefix+'src-out') + if((force || !fsa.isFile(srcFileName, srcCfg) || gen.overwrite) && source!==null && source.length>0) + fsa.generateFile(srcFileName, srcCfg, source) + } ] ] } diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlGeneratorContext.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlGeneratorContext.xtend index 495d8ac..798f26e 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlGeneratorContext.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RdlGeneratorContext.xtend @@ -1,8 +1,26 @@ package com.minres.rdl.generator -import org.eclipse.xtext.generator.GeneratorContext +import org.eclipse.xtext.util.CancelIndicator +import org.eclipse.xtext.generator.IGeneratorContext + +class RdlGeneratorContext implements IGeneratorContext { -class RdlGeneratorContext extends GeneratorContext { public boolean forceOverwrite = false - public String namespace ="scc" + + public String namespace ="sysc" + + public CancelIndicator cancelIndicator; + + public boolean generateFw = true; + + public String fwPathModifier = "" + + public boolean generateSc = true; + + public String scPathModifier ="" + + override getCancelIndicator() { + return cancelIndicator + } + } \ No newline at end of file diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend index 0904c56..b5c833f 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/RegfileGenerator.xtend @@ -32,8 +32,7 @@ class RegfileGenerator extends RdlBaseGenerator{ * */ - #ifndef _«namespace.toUpperCase»_GEN_«componentDefinition.effectiveName.toUpperCase»_H_ - #define _«namespace.toUpperCase»_GEN_«componentDefinition.effectiveName.toUpperCase»_H_ + #pragma once #include #include @@ -45,7 +44,9 @@ class RegfileGenerator extends RdlBaseGenerator{ «ENDIF» «ENDFOR» - namespace «namespace» { + «FOR ns : namespace.split('::')» + namespace «ns» { + «ENDFOR» namespace gen { class «componentDefinition.effectiveName»_regs : @@ -128,7 +129,9 @@ class RegfileGenerator extends RdlBaseGenerator{ void registerResources(scc::tlm_target& target, uint64_t offset=0); }; } // namespace gen - } // namespace «namespace» + «FOR ns : namespace.split('::').reverse» + } // namespace «ns» + «ENDFOR» ////////////////////////////////////////////////////////////////////////////// // member functions ////////////////////////////////////////////////////////////////////////////// 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 index 9611520..8865a08 100644 --- 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 @@ -7,10 +7,21 @@ public class PreferenceConstants { public static final String SCOPE_NAME = "com.minres.rdl.rdl"; + public static final String ADDRESSUNIT_PROP = "com.minres.rdl.addrunit"; + public static final String P_GENERATE_CSV = "booleanCsvPreference"; public static final String P_ADDRESSUNIT = "choiceAddrunitPreference"; - public static final String ADDRESSUNIT_PROP = "com.minres.rdl.addrunit"; + public static final String P_NAMESPACE = "setNamespacePreference"; + public static final String P_OVERWRITE_STUBS = "overwriteStubs"; + + public static final String P_FILETYPES_TO_GENERATE = "filetypesToGenerate"; + + public static final String P_COMPONENT_PATH = "componentPath"; + + public static final String P_FIRMWARE_PATH = "firmwarePath"; + + public static final String P_COPYRIGHT_HEADER = "copyrightHeader"; } 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 index 8bf8d83..84e9b55 100644 --- 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 @@ -1,13 +1,18 @@ package com.minres.rdl.preferences; +import java.util.Arrays; +import java.util.HashSet; + import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; import org.eclipse.core.runtime.preferences.IEclipsePreferences; +import org.eclipse.core.runtime.preferences.InstanceScope; /** * Class used to initialize default preference values. */ public class PreferenceInitializer extends AbstractPreferenceInitializer { + private final HashSet valid_addrunit_types = new HashSet(Arrays.asList(new String[]{"byte", "word", "dword"})); /* * (non-Javadoc) * @@ -15,22 +20,21 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer { * initializeDefaultPreferences() */ public void initializeDefaultPreferences() { - IEclipsePreferences store = RdlPreferences.getPreferenceStore(); + IEclipsePreferences store = InstanceScope.INSTANCE.getNode(PreferenceConstants.SCOPE_NAME); store.putBoolean(PreferenceConstants.P_GENERATE_CSV, true); String value = System.getProperty(PreferenceConstants.ADDRESSUNIT_PROP); - 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 + if(valid_addrunit_types.contains(value)){ + store.put(PreferenceConstants.P_ADDRESSUNIT, value); + } else { + System.err.println("Unknown configuration value: '"+value+"', using 'byte'"); store.put(PreferenceConstants.P_ADDRESSUNIT, "byte"); + } + store.put(PreferenceConstants.P_NAMESPACE, "sysc"); + store.putBoolean(PreferenceConstants.P_OVERWRITE_STUBS, false); + store.put(PreferenceConstants.P_FILETYPES_TO_GENERATE, "all"); + store.put(PreferenceConstants.P_COMPONENT_PATH, ""); + store.put(PreferenceConstants.P_FIRMWARE_PATH, ""); + store.put(PreferenceConstants.P_COPYRIGHT_HEADER, "Copyright (c) 2019 -2022 MINRES Technologies GmbH\n\nSPDX-License-Identifier: Apache-2.0"); } } 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 deleted file mode 100644 index 1cedea5..0000000 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/preferences/RdlPreferences.java +++ /dev/null @@ -1,19 +0,0 @@ -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(PreferenceConstants.ADDRESSUNIT_PROP)); - } - - public static IEclipsePreferences getPreferenceStore() { - return InstanceScope.INSTANCE.getNode(PreferenceConstants.SCOPE_NAME); - } -} \ No newline at end of file diff --git a/com.minres.rdl.parent/pom.xml b/com.minres.rdl.parent/pom.xml index dfec007..2057021 100644 --- a/com.minres.rdl.parent/pom.xml +++ b/com.minres.rdl.parent/pom.xml @@ -2,24 +2,23 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.minres.rdl - 1.0.0-SNAPSHOT + 1.4.0 com.minres.rdl.parent pom - 2.25.0 - 2.12.1 + 2.26.0 + 2.12.2 UTF-8 11 11 - 1.7.0 + 2.6.0 - 1.3.0-SNAPSHOT ${project.basedir}/../../.. @@ -33,10 +32,6 @@ com.minres.rdl.repository com.minres.rdl.tests com.minres.rdl.ui.tests - com.minres.rdl.product - com.minres.rdl.product.feature - com.minres.rdl.platform.feature - com.minres.rdl.product.releng com.minres.rdl.standalone @@ -109,7 +104,7 @@ com.minres.rdl com.minres.rdl.target - 1.0.0-SNAPSHOT + 1.4.0 diff --git a/com.minres.rdl.parent/pom.xml.old b/com.minres.rdl.parent/pom.xml.old deleted file mode 100644 index 18d3afc..0000000 --- a/com.minres.rdl.parent/pom.xml.old +++ /dev/null @@ -1,307 +0,0 @@ - - 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 - com.minres.rdl.product - com.minres.rdl.product.feature - com.minres.rdl.platform.feature - com.minres.rdl.standalone - - - - - org.eclipse.tycho - tycho-maven-plugin - ${tycho-version} - true - - - org.eclipse.tycho - tycho-versions-plugin - ${tycho-version} - - - - 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 - - 1.0.0-SNAPSHOT - - - - - macosx - cocoa - x86_64 - - - win32 - win32 - x86 - - - win32 - win32 - x86_64 - - - linux - gtk - x86 - - - 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 - - - - - - -