Improving parser :
- defining a standalone parser
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/.classpath b/plugins/org.eclipse.mylyn.docs.intent.parser/.classpath
index afb9bb4..45f024e 100644
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/.classpath
+++ b/plugins/org.eclipse.mylyn.docs.intent.parser/.classpath
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/META-INF/MANIFEST.MF b/plugins/org.eclipse.mylyn.docs.intent.parser/META-INF/MANIFEST.MF
index a5ab0bd..21c7d4c 100644
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.mylyn.docs.intent.parser/META-INF/MANIFEST.MF
@@ -5,19 +5,8 @@
Bundle-Version: 0.7.0.qualifier
Bundle-SymbolicName: org.eclipse.mylyn.docs.intent.parser; singleton:=true
Bundle-ActivationPolicy: lazy
-Require-Bundle: com.ibm.icu;resolution:=optional,
- de.itemis.xtext.antlr;resolution:=optional,
- org.antlr.runtime,
- org.apache.commons.logging;resolution:=optional,
- org.eclipse.emf.codegen.ecore;resolution:=optional,
- org.eclipse.emf.common,
+Require-Bundle: org.eclipse.emf.common,
org.eclipse.emf.ecore,
- org.eclipse.emf.mwe.utils;resolution:=optional,
- org.eclipse.emf.mwe2.launch;resolution:=optional,
- org.eclipse.xtext,
- org.eclipse.xtext.generator;resolution:=optional,
- org.eclipse.xtext.util,
- org.eclipse.xtext.xtend;resolution:=optional,
com.google.inject,
org.eclipse.mylyn.docs.intent.core,
org.eclipse.mylyn.docs.intent.markup,
@@ -27,12 +16,7 @@
Export-Package: org.eclipse.mylyn.docs.intent.parser,
org.eclipse.mylyn.docs.intent.parser.descriptionunit,
org.eclipse.mylyn.docs.intent.parser.modelingunit,
- org.eclipse.mylyn.docs.intent.parser.modelingunit.parseTreeConstruction,
- org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr,
- org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal,
org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.utils,
org.eclipse.mylyn.docs.intent.parser.modelingunit.serializer,
- org.eclipse.mylyn.docs.intent.parser.modelingunit.services,
- org.eclipse.mylyn.docs.intent.parser.modelingunit.validation,
org.eclipse.mylyn.docs.intent.serializer
Import-Package: org.apache.log4j
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/AbstractModelingUnitXTextGrammarRuntimeModule.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/AbstractModelingUnitXTextGrammarRuntimeModule.java
deleted file mode 100644
index 95dcebf..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/AbstractModelingUnitXTextGrammarRuntimeModule.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.mylyn.docs.intent.parser.modelingunit;
-
-import java.util.Properties;
-
-import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
-
-import com.google.inject.Binder;
-import com.google.inject.name.Names;
-
-/**
- * Manual modifications go to {org.eclipse.mylyn.docs.intent.parser.modelingunit.ModelingUnitXTextGrammarRuntimeModule}
- */
- @SuppressWarnings("all")
-public abstract class AbstractModelingUnitXTextGrammarRuntimeModule extends DefaultRuntimeModule {
-
- protected Properties properties = null;
-
- @Override
- public void configure(Binder binder) {
- properties = tryBindProperties(binder, "org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammar.properties");
- super.configure(binder);
- }
-
- public void configureLanguageName(Binder binder) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.mylyn.docs.intent.parser.modelingunit.ModelingUnitXTextGrammar");
- }
-
- 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("intent");
- }
-
- // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
- public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.services.ModelingUnitXTextGrammarGrammarAccess.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.parseTreeConstruction.ModelingUnitXTextGrammarParsetreeConstructor.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.ModelingUnitXTextGrammarParser.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
- return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.ModelingUnitXTextGrammarAntlrTokenFileProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarLexer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public com.google.inject.Provider<org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarLexer> provideInternalModelingUnitXTextGrammarLexer() {
- return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureRuntimeLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
- return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
- @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.mylyn.docs.intent.parser.modelingunit.validation.ModelingUnitXTextGrammarJavaValidator> bindModelingUnitXTextGrammarJavaValidator() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.validation.ModelingUnitXTextGrammarJavaValidator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.scoping.ModelingUnitXTextGrammarScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class);
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
- return org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
- return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
- public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
- return org.eclipse.mylyn.docs.intent.parser.modelingunit.formatting.ModelingUnitXTextGrammarFormatter.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() {
- return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() {
- return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptions(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
- }
-
-}
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammar.xmi b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammar.xmi
deleted file mode 100644
index 86c71bc..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammar.xmi
+++ /dev/null
@@ -1,762 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext">
- <xtext:Grammar name="org.eclipse.mylyn.docs.intent.parser.modelingunit.ModelingUnitXTextGrammar" usedGrammars="/1">
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="document">
- <ePackage href="http://www.eclipse.org/intent/intentdocument/0.7#/"/>
- </metamodelDeclarations>
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
- <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- </metamodelDeclarations>
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="genericUnit">
- <ePackage href="http://www.eclipse.org/intent/genericunit/0.7#/"/>
- </metamodelDeclarations>
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="modelingUnit">
- <ePackage href="http://www.eclipse.org/intent/modelingunit/0.7#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:ParserRule" name="ModelingUnit">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ModelingUnit"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ModelingUnit"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="unitName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:RuleCall" cardinality="?" rule="/0/@rules.7"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="resource" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.34"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="instructions" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="EBoolean">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="true"/>
- <elements xsi:type="xtext:Keyword" value="false"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="EInt">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </type>
- <alternatives xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="EString">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="StringWithoutQuotes">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Keyword" value="_"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="StringWithQuotes">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="URI">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/intent/intentdocument/0.7#//URI"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="file:/"/>
- <elements xsi:type="xtext:Keyword" value="platform:/"/>
- <elements xsi:type="xtext:Keyword" value="cdo:/"/>
- </elements>
- <elements xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Keyword" value="_"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="""/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="LINE_BREAK">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Keyword" value="
"/>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="TypeLabel">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/intent/genericunit/0.7#//TypeLabel"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/intent/genericunit/0.7#//TypeLabel/LAZY"/>
- <literal value="@lazylabel"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/intent/genericunit/0.7#//TypeLabel/EXPLICIT"/>
- <literal value="@label"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="AffectationOperator">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/intent/modelingunit/0.7#//AffectationOperator"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/intent/modelingunit/0.7#//AffectationOperator/MULTI_VALUED_AFFECTATION"/>
- <literal value="+="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/intent/modelingunit/0.7#//AffectationOperator/SINGLE_VALUED_AFFECTATION"/>
- <literal value="="/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnitInstruction">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//UnitInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LabelReferenceInstruction">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//LabelReferenceInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="@see"/>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="referencedLabel" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SectionReferenceInstruction">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//IntentSectionReferenceInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="@see"/>
- <elements xsi:type="xtext:Assignment" feature="referencedObject" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="textToPrint" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AdressedAnnotation">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//AdressedAnnotation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="lineBreak"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="AdressedAnnotation"/>
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Keyword" value="receiver"/>
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" feature="receiver" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="receiver" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- <elements xsi:type="xtext:Keyword" value="source"/>
- <elements xsi:type="xtext:Assignment" feature="source" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="message"/>
- <elements xsi:type="xtext:Assignment" feature="message" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="type"/>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SectionOrParagraphReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/intentdocument/0.7#//IntentSectionOrParagraphReference"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnitInstructionReference">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//UnitInstructionReference"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="href"/>
- <elements xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LabelDeclarationReference">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//LabelDeclarationReference"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="href"/>
- <elements xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="referencedElement"/>
- <elements xsi:type="xtext:Assignment" feature="referencedElement" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/genericunit/0.7#//LabelDeclaration"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </terminal>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ModelingUnitInstructionReference">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ModelingUnitInstructionReference"/>
- </type>
- <alternatives xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ModelingUnitInstruction">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ModelingUnitInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.35"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.30"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstanceLevelInstruction">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//InstanceLevelInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ValueForStructuralFeature">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ValueForStructuralFeature"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ModelingUnitInstructionReference_Impl">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ModelingUnitInstructionReference"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SectionReferenceinModelingUnit">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//IntentSectionReferenceinModelingUnit"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="@see"/>
- <elements xsi:type="xtext:Assignment" feature="referencedObject" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="textToPrint" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LabelinModelingUnit">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//LabelinModelingUnit"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="labelValue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="textToPrint" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AnnotationDeclaration">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//AnnotationDeclaration"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="@Annotation"/>
- <elements xsi:type="xtext:Assignment" feature="annotationID" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="map" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.33"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="map" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.33"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstanciationInstruction">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//InstanciationInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="new"/>
- <elements xsi:type="xtext:Assignment" feature="metaType" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="structuralFeatures" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="StructuralFeatureAffectation">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//StructuralFeatureAffectation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="usedOperator" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="["/>
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NativeValueForStructuralFeature">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//NativeValueForStructuralFeature"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NewObjectValueForStructuralFeature">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//NewObjectValueForStructuralFeature"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ReferenceValueForStructuralFeature">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ReferenceValueForStructuralFeature"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="referencedElement" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ContributionInstruction">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ContributionInstruction"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="referencedElement" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="contributions" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TypeReference">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//TypeReference"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//TypeReference"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstanciationInstructionReference">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//InstanciationInstructionReference"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//InstanciationInstructionReference"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="KeyValForAnnotation">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//KeyValForAnnotation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//KeyValForAnnotation"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="key" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ResourceReference">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ResourceReference"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="["/>
- <elements xsi:type="xtext:Assignment" feature="IntentHref" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ResourceDeclaration">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ResourceDeclaration"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.3">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/intent/modelingunit/0.7#//ResourceDeclaration"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="Resource"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:RuleCall" cardinality="?" rule="/0/@rules.7"/>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="URI"/>
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Assignment" feature="uri" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- <elements xsi:type="xtext:RuleCall" cardinality="?" rule="/0/@rules.7"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="contentType"/>
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Assignment" feature="contentType" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- <elements xsi:type="xtext:RuleCall" cardinality="?" rule="/0/@rules.7"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="content"/>
- <elements xsi:type="xtext:Keyword" value="+="/>
- <elements xsi:type="xtext:Assignment" feature="content" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- <elements xsi:type="xtext:RuleCall" cardinality="?" rule="/0/@rules.7"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="lineBreak" operator="?=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- </xtext:Grammar>
- <xtext:Grammar name="org.eclipse.xtext.common.Terminals" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
- <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:TerminalRule" name="ID">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="^"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="_"/>
- </elements>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="INT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </type>
- <alternatives xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="STRING">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="b"/>
- <elements xsi:type="xtext:Keyword" value="t"/>
- <elements xsi:type="xtext:Keyword" value="n"/>
- <elements xsi:type="xtext:Keyword" value="f"/>
- <elements xsi:type="xtext:Keyword" value="r"/>
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Keyword" value="\"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:NegatedToken">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Keyword" value="""/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="""/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="b"/>
- <elements xsi:type="xtext:Keyword" value="t"/>
- <elements xsi:type="xtext:Keyword" value="n"/>
- <elements xsi:type="xtext:Keyword" value="f"/>
- <elements xsi:type="xtext:Keyword" value="r"/>
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Keyword" value="\"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:NegatedToken">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="'"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ML_COMMENT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="/*"/>
- <elements xsi:type="xtext:UntilToken">
- <terminal xsi:type="xtext:Keyword" value="*/"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="SL_COMMENT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="//"/>
- <elements xsi:type="xtext:NegatedToken" cardinality="*">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="
"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="
"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="WS">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Keyword" value="	"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ANY_OTHER">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Wildcard"/>
- </rules>
- </xtext:Grammar>
-</xmi:XMI>
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammarStandaloneSetupGenerated.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammarStandaloneSetupGenerated.java
deleted file mode 100644
index 36a686a..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/ModelingUnitXTextGrammarStandaloneSetupGenerated.java
+++ /dev/null
@@ -1,41 +0,0 @@
-
-package org.eclipse.mylyn.docs.intent.parser.modelingunit;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.ISetup;
-import org.eclipse.emf.ecore.resource.Resource;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-
-/**
- * Generated from StandaloneSetup.xpt!
- */
-@SuppressWarnings("all")
-public class ModelingUnitXTextGrammarStandaloneSetupGenerated implements ISetup {
-
- public Injector createInjectorAndDoEMFRegistration() {
- org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
-
- Injector injector = createInjector();
- register(injector);
- return injector;
- }
-
- public Injector createInjector() {
- return Guice.createInjector(new org.eclipse.mylyn.docs.intent.parser.modelingunit.ModelingUnitXTextGrammarRuntimeModule());
- }
-
- public void register(Injector injector) {
-
- org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
- org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("intent", resourceFactory);
- org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("intent", serviceProvider);
-
-
-
-
-
- }
-}
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parseTreeConstruction/ModelingUnitXTextGrammarParsetreeConstructor.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parseTreeConstruction/ModelingUnitXTextGrammarParsetreeConstructor.java
deleted file mode 100644
index cc6cf15..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parseTreeConstruction/ModelingUnitXTextGrammarParsetreeConstructor.java
+++ /dev/null
@@ -1,5151 +0,0 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.mylyn.docs.intent.parser.modelingunit.parseTreeConstruction;
-
-import org.eclipse.emf.ecore.*;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer;
-import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor;
-
-import org.eclipse.mylyn.docs.intent.parser.modelingunit.services.ModelingUnitXTextGrammarGrammarAccess;
-
-import com.google.inject.Inject;
-
-@SuppressWarnings("all")
-public class ModelingUnitXTextGrammarParsetreeConstructor extends AbstractParseTreeConstructor {
-
- @Inject
- private ModelingUnitXTextGrammarGrammarAccess grammarAccess;
-
- @Override
- protected AbstractToken getRootToken(IEObjectConsumer inst) {
- return new ThisRootNode(inst);
- }
-
-protected class ThisRootNode extends RootToken {
- public ThisRootNode(IEObjectConsumer inst) {
- super(inst);
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnit_Group(this, this, 0, inst);
- case 1: return new UnitInstruction_Alternatives(this, this, 1, inst);
- case 2: return new LabelReferenceInstruction_Group(this, this, 2, inst);
- case 3: return new SectionReferenceInstruction_Group(this, this, 3, inst);
- case 4: return new AdressedAnnotation_Group(this, this, 4, inst);
- case 5: return new SectionOrParagraphReference_IntentHrefAssignment(this, this, 5, inst);
- case 6: return new UnitInstructionReference_Group(this, this, 6, inst);
- case 7: return new LabelDeclarationReference_Group(this, this, 7, inst);
- case 8: return new ModelingUnitInstructionReference_ModelingUnitInstructionReference_ImplParserRuleCall(this, this, 8, inst);
- case 9: return new ModelingUnitInstruction_Alternatives(this, this, 9, inst);
- case 10: return new InstanceLevelInstruction_Alternatives(this, this, 10, inst);
- case 11: return new ValueForStructuralFeature_Alternatives(this, this, 11, inst);
- case 12: return new ModelingUnitInstructionReference_Impl_IntentHrefAssignment(this, this, 12, inst);
- case 13: return new SectionReferenceinModelingUnit_Group(this, this, 13, inst);
- case 14: return new LabelinModelingUnit_Group(this, this, 14, inst);
- case 15: return new AnnotationDeclaration_Group(this, this, 15, inst);
- case 16: return new InstanciationInstruction_Group(this, this, 16, inst);
- case 17: return new StructuralFeatureAffectation_Group(this, this, 17, inst);
- case 18: return new NativeValueForStructuralFeature_Group(this, this, 18, inst);
- case 19: return new NewObjectValueForStructuralFeature_ValueAssignment(this, this, 19, inst);
- case 20: return new ReferenceValueForStructuralFeature_ReferencedElementAssignment(this, this, 20, inst);
- case 21: return new ContributionInstruction_Group(this, this, 21, inst);
- case 22: return new TypeReference_Group(this, this, 22, inst);
- case 23: return new InstanciationInstructionReference_Group(this, this, 23, inst);
- case 24: return new KeyValForAnnotation_Group(this, this, 24, inst);
- case 25: return new ResourceReference_Group(this, this, 25, inst);
- case 26: return new ResourceDeclaration_Group(this, this, 26, inst);
- default: return null;
- }
- }
-}
-
-
-/************ begin Rule ModelingUnit ****************
- *
- * // Entry rule : Beginning of a Modeling Unit.
- * ModelingUnit returns modelingUnit::ModelingUnit:
- * {modelingUnit::ModelingUnit} // A Modeling Unit may have a name
- * unitName=StringWithoutQuotes? LINE_BREAK? // A Modeling may be attache to a resource
- * resource=ResourceReference? // A Modeling Unit is composed of ModelingUnitInstruction or some insctructions avalaible in a Generic Unit.
- * instructions+=(ModelingUnitInstruction | LabelReferenceInstruction | AdressedAnnotation)*;
- *
- **/
-
-// {modelingUnit::ModelingUnit} // A Modeling Unit may have a name
-// unitName=StringWithoutQuotes? LINE_BREAK? // A Modeling may be attache to a resource
-// resource=ResourceReference? // A Modeling Unit is composed of ModelingUnitInstruction or some insctructions avalaible in a Generic Unit.
-// instructions+=(ModelingUnitInstruction | LabelReferenceInstruction | AdressedAnnotation)*
-protected class ModelingUnit_Group extends GroupToken {
-
- public ModelingUnit_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getModelingUnitAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnit_InstructionsAssignment_4(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ModelingUnit_ResourceAssignment_3(lastRuleCallOrigin, this, 1, inst);
- case 2: return new ModelingUnit_UnitNameAssignment_1(lastRuleCallOrigin, this, 2, inst);
- case 3: return new ModelingUnit_ModelingUnitAction_0(lastRuleCallOrigin, this, 3, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getModelingUnitAccess().getModelingUnitAction_0().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// {modelingUnit::ModelingUnit}
-protected class ModelingUnit_ModelingUnitAction_0 extends ActionToken {
-
- public ModelingUnit_ModelingUnitAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getModelingUnitAccess().getModelingUnitAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(!eObjectConsumer.isConsumed()) return null;
- return eObjectConsumer;
- }
-}
-
-// unitName=StringWithoutQuotes?
-protected class ModelingUnit_UnitNameAssignment_1 extends AssignmentToken {
-
- public ModelingUnit_UnitNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getModelingUnitAccess().getUnitNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnit_ModelingUnitAction_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("unitName",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("unitName");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelingUnitAccess().getUnitNameStringWithoutQuotesTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getModelingUnitAccess().getUnitNameStringWithoutQuotesTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// resource=ResourceReference?
-protected class ModelingUnit_ResourceAssignment_3 extends AssignmentToken {
-
- public ModelingUnit_ResourceAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getModelingUnitAccess().getResourceAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceReference_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("resource",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("resource");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getResourceReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getModelingUnitAccess().getResourceResourceReferenceParserRuleCall_3_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new ModelingUnit_UnitNameAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- case 1: return new ModelingUnit_ModelingUnitAction_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// instructions+=(ModelingUnitInstruction | LabelReferenceInstruction | AdressedAnnotation)*
-protected class ModelingUnit_InstructionsAssignment_4 extends AssignmentToken {
-
- public ModelingUnit_InstructionsAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getModelingUnitAccess().getInstructionsAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnitInstruction_Alternatives(this, this, 0, inst);
- case 1: return new LabelReferenceInstruction_Group(this, this, 1, inst);
- case 2: return new AdressedAnnotation_Group(this, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("instructions",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("instructions");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getModelingUnitInstructionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getModelingUnitAccess().getInstructionsModelingUnitInstructionParserRuleCall_4_0_0();
- consumed = obj;
- return param;
- }
- }
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getModelingUnitAccess().getInstructionsLabelReferenceInstructionParserRuleCall_4_0_1();
- consumed = obj;
- return param;
- }
- }
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getAdressedAnnotationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getModelingUnitAccess().getInstructionsAdressedAnnotationParserRuleCall_4_0_2();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new ModelingUnit_InstructionsAssignment_4(lastRuleCallOrigin, next, actIndex, consumed);
- case 1: return new ModelingUnit_ResourceAssignment_3(lastRuleCallOrigin, next, actIndex, consumed);
- case 2: return new ModelingUnit_UnitNameAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- case 3: return new ModelingUnit_ModelingUnitAction_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-
-/************ end Rule ModelingUnit ****************/
-
-
-
-
-
-/************ begin Rule UnitInstruction ****************
- *
- * / * ------------ END ENUM AND DATATYPES ------------ * /
- * / * ------------ GENERIC INSTRUCTIONS FROM GENERIC UNIT ------------ * / UnitInstruction returns
- * genericUnit::UnitInstruction:
- * SectionReferenceInstruction | LabelReferenceInstruction | AdressedAnnotation;
- *
- **/
-
-// SectionReferenceInstruction | LabelReferenceInstruction | AdressedAnnotation
-protected class UnitInstruction_Alternatives extends AlternativesToken {
-
- public UnitInstruction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getUnitInstructionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new UnitInstruction_SectionReferenceInstructionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1: return new UnitInstruction_LabelReferenceInstructionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2: return new UnitInstruction_AdressedAnnotationParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getAdressedAnnotationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// SectionReferenceInstruction
-protected class UnitInstruction_SectionReferenceInstructionParserRuleCall_0 extends RuleCallToken {
-
- public UnitInstruction_SectionReferenceInstructionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getUnitInstructionAccess().getSectionReferenceInstructionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceInstruction_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier())
- return null;
- if(checkForRecursion(SectionReferenceInstruction_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// LabelReferenceInstruction
-protected class UnitInstruction_LabelReferenceInstructionParserRuleCall_1 extends RuleCallToken {
-
- public UnitInstruction_LabelReferenceInstructionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getUnitInstructionAccess().getLabelReferenceInstructionParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelReferenceInstruction_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier())
- return null;
- if(checkForRecursion(LabelReferenceInstruction_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// AdressedAnnotation
-protected class UnitInstruction_AdressedAnnotationParserRuleCall_2 extends RuleCallToken {
-
- public UnitInstruction_AdressedAnnotationParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getUnitInstructionAccess().getAdressedAnnotationParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getAdressedAnnotationRule().getType().getClassifier())
- return null;
- if(checkForRecursion(AdressedAnnotation_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-
-/************ end Rule UnitInstruction ****************/
-
-
-/************ begin Rule LabelReferenceInstruction ****************
- *
- * LabelReferenceInstruction returns genericUnit::LabelReferenceInstruction:
- * "@see" //COMMENT RENSEIGNER CE TYPE ?
- * type=TypeLabel referencedLabel=LabelDeclarationReference lineBreak?=LINE_BREAK?;
- *
- **/
-
-// "@see" //COMMENT RENSEIGNER CE TYPE ?
-// type=TypeLabel referencedLabel=LabelDeclarationReference lineBreak?=LINE_BREAK?
-protected class LabelReferenceInstruction_Group extends GroupToken {
-
- public LabelReferenceInstruction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLabelReferenceInstructionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelReferenceInstruction_LineBreakAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new LabelReferenceInstruction_ReferencedLabelAssignment_2(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "@see"
-protected class LabelReferenceInstruction_SeeKeyword_0 extends KeywordToken {
-
- public LabelReferenceInstruction_SeeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLabelReferenceInstructionAccess().getSeeKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// //COMMENT RENSEIGNER CE TYPE ?
-// type=TypeLabel
-protected class LabelReferenceInstruction_TypeAssignment_1 extends AssignmentToken {
-
- public LabelReferenceInstruction_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelReferenceInstructionAccess().getTypeAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelReferenceInstruction_SeeKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
- if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getLabelReferenceInstructionAccess().getTypeTypeLabelEnumRuleCall_1_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getLabelReferenceInstructionAccess().getTypeTypeLabelEnumRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// referencedLabel=LabelDeclarationReference
-protected class LabelReferenceInstruction_ReferencedLabelAssignment_2 extends AssignmentToken {
-
- public LabelReferenceInstruction_ReferencedLabelAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelReferenceInstructionAccess().getReferencedLabelAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelDeclarationReference_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("referencedLabel",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referencedLabel");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getLabelDeclarationReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLabelReferenceInstructionAccess().getReferencedLabelLabelDeclarationReferenceParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new LabelReferenceInstruction_TypeAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// lineBreak?=LINE_BREAK?
-protected class LabelReferenceInstruction_LineBreakAssignment_3 extends AssignmentToken {
-
- public LabelReferenceInstruction_LineBreakAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelReferenceInstructionAccess().getLineBreakAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelReferenceInstruction_ReferencedLabelAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLabelReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLabelReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule LabelReferenceInstruction ****************/
-
-
-/************ begin Rule SectionReferenceInstruction ****************
- *
- * SectionReferenceInstruction returns genericUnit::IntentSectionReferenceInstruction:
- * "@see" referencedObject=SectionOrParagraphReference textToPrint=EString? lineBreak?=LINE_BREAK?;
- *
- **/
-
-// "@see" referencedObject=SectionOrParagraphReference textToPrint=EString? lineBreak?=LINE_BREAK?
-protected class SectionReferenceInstruction_Group extends GroupToken {
-
- public SectionReferenceInstruction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSectionReferenceInstructionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceInstruction_LineBreakAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new SectionReferenceInstruction_TextToPrintAssignment_2(lastRuleCallOrigin, this, 1, inst);
- case 2: return new SectionReferenceInstruction_ReferencedObjectAssignment_1(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "@see"
-protected class SectionReferenceInstruction_SeeKeyword_0 extends KeywordToken {
-
- public SectionReferenceInstruction_SeeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSectionReferenceInstructionAccess().getSeeKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// referencedObject=SectionOrParagraphReference
-protected class SectionReferenceInstruction_ReferencedObjectAssignment_1 extends AssignmentToken {
-
- public SectionReferenceInstruction_ReferencedObjectAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionReferenceInstructionAccess().getReferencedObjectAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionOrParagraphReference_IntentHrefAssignment(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("referencedObject",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referencedObject");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getSectionOrParagraphReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSectionReferenceInstructionAccess().getReferencedObjectSectionOrParagraphReferenceParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new SectionReferenceInstruction_SeeKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// textToPrint=EString?
-protected class SectionReferenceInstruction_TextToPrintAssignment_2 extends AssignmentToken {
-
- public SectionReferenceInstruction_TextToPrintAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionReferenceInstructionAccess().getTextToPrintAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceInstruction_ReferencedObjectAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("textToPrint",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("textToPrint");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSectionReferenceInstructionAccess().getTextToPrintEStringParserRuleCall_2_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getSectionReferenceInstructionAccess().getTextToPrintEStringParserRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class SectionReferenceInstruction_LineBreakAssignment_3 extends AssignmentToken {
-
- public SectionReferenceInstruction_LineBreakAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionReferenceInstructionAccess().getLineBreakAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceInstruction_TextToPrintAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new SectionReferenceInstruction_ReferencedObjectAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSectionReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getSectionReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule SectionReferenceInstruction ****************/
-
-
-/************ begin Rule AdressedAnnotation ****************
- *
- * AdressedAnnotation returns genericUnit::AdressedAnnotation:
- * lineBreak?="lineBreak"? "AdressedAnnotation" "{" "receiver" "{" receiver+=EString ("," receiver+=EString)* "}"
- * "source" source=EString "message" message=EString "type" type=EString "}";
- *
- **/
-
-// lineBreak?="lineBreak"? "AdressedAnnotation" "{" "receiver" "{" receiver+=EString ("," receiver+=EString)* "}" "source"
-// source=EString "message" message=EString "type" type=EString "}"
-protected class AdressedAnnotation_Group extends GroupToken {
-
- public AdressedAnnotation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_RightCurlyBracketKeyword_14(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getAdressedAnnotationRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// lineBreak?="lineBreak"?
-protected class AdressedAnnotation_LineBreakAssignment_0 extends AssignmentToken {
-
- public AdressedAnnotation_LineBreakAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getLineBreakAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getAdressedAnnotationAccess().getLineBreakLineBreakKeyword_0_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "AdressedAnnotation"
-protected class AdressedAnnotation_AdressedAnnotationKeyword_1 extends KeywordToken {
-
- public AdressedAnnotation_AdressedAnnotationKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getAdressedAnnotationKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_LineBreakAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
-}
-
-// "{"
-protected class AdressedAnnotation_LeftCurlyBracketKeyword_2 extends KeywordToken {
-
- public AdressedAnnotation_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getLeftCurlyBracketKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_AdressedAnnotationKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "receiver"
-protected class AdressedAnnotation_ReceiverKeyword_3 extends KeywordToken {
-
- public AdressedAnnotation_ReceiverKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getReceiverKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "{"
-protected class AdressedAnnotation_LeftCurlyBracketKeyword_4 extends KeywordToken {
-
- public AdressedAnnotation_LeftCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getLeftCurlyBracketKeyword_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_ReceiverKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// receiver+=EString
-protected class AdressedAnnotation_ReceiverAssignment_5 extends AssignmentToken {
-
- public AdressedAnnotation_ReceiverAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getReceiverAssignment_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("receiver",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("receiver");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_5_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_5_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// ("," receiver+=EString)*
-protected class AdressedAnnotation_Group_6 extends GroupToken {
-
- public AdressedAnnotation_Group_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getGroup_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_ReceiverAssignment_6_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// ","
-protected class AdressedAnnotation_CommaKeyword_6_0 extends KeywordToken {
-
- public AdressedAnnotation_CommaKeyword_6_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getCommaKeyword_6_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_Group_6(lastRuleCallOrigin, this, 0, inst);
- case 1: return new AdressedAnnotation_ReceiverAssignment_5(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// receiver+=EString
-protected class AdressedAnnotation_ReceiverAssignment_6_1 extends AssignmentToken {
-
- public AdressedAnnotation_ReceiverAssignment_6_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getReceiverAssignment_6_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_CommaKeyword_6_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("receiver",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("receiver");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_6_1_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_6_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-// "}"
-protected class AdressedAnnotation_RightCurlyBracketKeyword_7 extends KeywordToken {
-
- public AdressedAnnotation_RightCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getRightCurlyBracketKeyword_7();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_Group_6(lastRuleCallOrigin, this, 0, inst);
- case 1: return new AdressedAnnotation_ReceiverAssignment_5(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// "source"
-protected class AdressedAnnotation_SourceKeyword_8 extends KeywordToken {
-
- public AdressedAnnotation_SourceKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getSourceKeyword_8();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_RightCurlyBracketKeyword_7(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// source=EString
-protected class AdressedAnnotation_SourceAssignment_9 extends AssignmentToken {
-
- public AdressedAnnotation_SourceAssignment_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getSourceAssignment_9();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_SourceKeyword_8(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("source",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("source");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdressedAnnotationAccess().getSourceEStringParserRuleCall_9_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getAdressedAnnotationAccess().getSourceEStringParserRuleCall_9_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "message"
-protected class AdressedAnnotation_MessageKeyword_10 extends KeywordToken {
-
- public AdressedAnnotation_MessageKeyword_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getMessageKeyword_10();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_SourceAssignment_9(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// message=EString
-protected class AdressedAnnotation_MessageAssignment_11 extends AssignmentToken {
-
- public AdressedAnnotation_MessageAssignment_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getMessageAssignment_11();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_MessageKeyword_10(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("message",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("message");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdressedAnnotationAccess().getMessageEStringParserRuleCall_11_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getAdressedAnnotationAccess().getMessageEStringParserRuleCall_11_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "type"
-protected class AdressedAnnotation_TypeKeyword_12 extends KeywordToken {
-
- public AdressedAnnotation_TypeKeyword_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getTypeKeyword_12();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_MessageAssignment_11(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// type=EString
-protected class AdressedAnnotation_TypeAssignment_13 extends AssignmentToken {
-
- public AdressedAnnotation_TypeAssignment_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getTypeAssignment_13();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_TypeKeyword_12(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAdressedAnnotationAccess().getTypeEStringParserRuleCall_13_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getAdressedAnnotationAccess().getTypeEStringParserRuleCall_13_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "}"
-protected class AdressedAnnotation_RightCurlyBracketKeyword_14 extends KeywordToken {
-
- public AdressedAnnotation_RightCurlyBracketKeyword_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAdressedAnnotationAccess().getRightCurlyBracketKeyword_14();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AdressedAnnotation_TypeAssignment_13(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-
-/************ end Rule AdressedAnnotation ****************/
-
-
-/************ begin Rule SectionOrParagraphReference ****************
- *
- * / * ('referencedObject' referencedObject=[markup::StructureElement|EString])?
- * '}'* /SectionOrParagraphReference returns document::IntentSectionOrParagraphReference:
- * IntentHref=StringWithQuotes;
- *
- **/
-
-// IntentHref=StringWithQuotes
-protected class SectionOrParagraphReference_IntentHrefAssignment extends AssignmentToken {
-
- public SectionOrParagraphReference_IntentHrefAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionOrParagraphReferenceAccess().getIntentHrefAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getSectionOrParagraphReferenceRule().getType().getClassifier())
- return null;
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSectionOrParagraphReferenceAccess().getIntentHrefStringWithQuotesParserRuleCall_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getSectionOrParagraphReferenceAccess().getIntentHrefStringWithQuotesParserRuleCall_0();
- return obj;
- }
- return null;
- }
-
-}
-
-/************ end Rule SectionOrParagraphReference ****************/
-
-
-/************ begin Rule UnitInstructionReference ****************
- *
- * UnitInstructionReference returns genericUnit::UnitInstructionReference:
- * "href" IntentHref=EString;
- *
- **/
-
-// "href" IntentHref=EString
-protected class UnitInstructionReference_Group extends GroupToken {
-
- public UnitInstructionReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getUnitInstructionReferenceAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new UnitInstructionReference_IntentHrefAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getUnitInstructionReferenceRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "href"
-protected class UnitInstructionReference_HrefKeyword_0 extends KeywordToken {
-
- public UnitInstructionReference_HrefKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getUnitInstructionReferenceAccess().getHrefKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// IntentHref=EString
-protected class UnitInstructionReference_IntentHrefAssignment_1 extends AssignmentToken {
-
- public UnitInstructionReference_IntentHrefAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnitInstructionReferenceAccess().getIntentHrefAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new UnitInstructionReference_HrefKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getUnitInstructionReferenceAccess().getIntentHrefEStringParserRuleCall_1_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getUnitInstructionReferenceAccess().getIntentHrefEStringParserRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule UnitInstructionReference ****************/
-
-
-/************ begin Rule LabelDeclarationReference ****************
- *
- * LabelDeclarationReference returns genericUnit::LabelDeclarationReference:
- * "href" IntentHref=EString ("referencedElement" referencedElement=[genericUnit::LabelDeclaration|EString])?;
- *
- **/
-
-// "href" IntentHref=EString ("referencedElement" referencedElement=[genericUnit::LabelDeclaration|EString])?
-protected class LabelDeclarationReference_Group extends GroupToken {
-
- public LabelDeclarationReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLabelDeclarationReferenceAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelDeclarationReference_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new LabelDeclarationReference_IntentHrefAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getLabelDeclarationReferenceRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "href"
-protected class LabelDeclarationReference_HrefKeyword_0 extends KeywordToken {
-
- public LabelDeclarationReference_HrefKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLabelDeclarationReferenceAccess().getHrefKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// IntentHref=EString
-protected class LabelDeclarationReference_IntentHrefAssignment_1 extends AssignmentToken {
-
- public LabelDeclarationReference_IntentHrefAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelDeclarationReferenceAccess().getIntentHrefAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelDeclarationReference_HrefKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLabelDeclarationReferenceAccess().getIntentHrefEStringParserRuleCall_1_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getLabelDeclarationReferenceAccess().getIntentHrefEStringParserRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// ("referencedElement" referencedElement=[genericUnit::LabelDeclaration|EString])?
-protected class LabelDeclarationReference_Group_2 extends GroupToken {
-
- public LabelDeclarationReference_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLabelDeclarationReferenceAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelDeclarationReference_ReferencedElementAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "referencedElement"
-protected class LabelDeclarationReference_ReferencedElementKeyword_2_0 extends KeywordToken {
-
- public LabelDeclarationReference_ReferencedElementKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelDeclarationReference_IntentHrefAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// referencedElement=[genericUnit::LabelDeclaration|EString]
-protected class LabelDeclarationReference_ReferencedElementAssignment_2_1 extends AssignmentToken {
-
- public LabelDeclarationReference_ReferencedElementAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelDeclarationReference_ReferencedElementKeyword_2_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("referencedElement",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referencedElement");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementLabelDeclarationCrossReference_2_1_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementLabelDeclarationCrossReference_2_1_0();
- return obj;
- }
- }
- return null;
- }
-
-}
-
-
-
-/************ end Rule LabelDeclarationReference ****************/
-
-
-/************ begin Rule ModelingUnitInstructionReference ****************
- *
- * / * ------------ END GENERIC INSTRUCTIONS FROM GENERIC UNIT ------------ * /
- * / * ------------ INSTRUCTIONS FROM MODELING UNIT ------------ * / ModelingUnitInstructionReference returns
- * modelingUnit::ModelingUnitInstructionReference:
- * ModelingUnitInstructionReference_Impl;
- *
- **/
-
-// ModelingUnitInstructionReference_Impl
-protected class ModelingUnitInstructionReference_ModelingUnitInstructionReference_ImplParserRuleCall extends RuleCallToken {
-
- public ModelingUnitInstructionReference_ModelingUnitInstructionReference_ImplParserRuleCall(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionReferenceAccess().getModelingUnitInstructionReference_ImplParserRuleCall();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnitInstructionReference_Impl_IntentHrefAssignment(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getModelingUnitInstructionReference_ImplRule().getType().getClassifier())
- return null;
- if(checkForRecursion(ModelingUnitInstructionReference_Impl_IntentHrefAssignment.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-/************ end Rule ModelingUnitInstructionReference ****************/
-
-
-/************ begin Rule ModelingUnitInstruction ****************
- *
- * ModelingUnitInstruction returns modelingUnit::ModelingUnitInstruction:
- * InstanceLevelInstruction | ResourceDeclaration | ContributionInstruction | AnnotationDeclaration |
- * SectionReferenceinModelingUnit | LabelinModelingUnit;
- *
- **/
-
-// InstanceLevelInstruction | ResourceDeclaration | ContributionInstruction | AnnotationDeclaration |
-// SectionReferenceinModelingUnit | LabelinModelingUnit
-protected class ModelingUnitInstruction_Alternatives extends AlternativesToken {
-
- public ModelingUnitInstruction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnitInstruction_InstanceLevelInstructionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ModelingUnitInstruction_ResourceDeclarationParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2: return new ModelingUnitInstruction_ContributionInstructionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3: return new ModelingUnitInstruction_AnnotationDeclarationParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4: return new ModelingUnitInstruction_SectionReferenceinModelingUnitParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- case 5: return new ModelingUnitInstruction_LabelinModelingUnitParserRuleCall_5(lastRuleCallOrigin, this, 5, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getAnnotationDeclarationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getContributionInstructionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInstanciationInstructionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getLabelinModelingUnitRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getResourceDeclarationAccess().getResourceDeclarationAction_0().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// InstanceLevelInstruction
-protected class ModelingUnitInstruction_InstanceLevelInstructionParserRuleCall_0 extends RuleCallToken {
-
- public ModelingUnitInstruction_InstanceLevelInstructionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getInstanceLevelInstructionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanceLevelInstruction_Alternatives(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getInstanciationInstructionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier())
- return null;
- if(checkForRecursion(InstanceLevelInstruction_Alternatives.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// ResourceDeclaration
-protected class ModelingUnitInstruction_ResourceDeclarationParserRuleCall_1 extends RuleCallToken {
-
- public ModelingUnitInstruction_ResourceDeclarationParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getResourceDeclarationParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getResourceDeclarationAccess().getResourceDeclarationAction_0().getType().getClassifier())
- return null;
- if(checkForRecursion(ResourceDeclaration_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// ContributionInstruction
-protected class ModelingUnitInstruction_ContributionInstructionParserRuleCall_2 extends RuleCallToken {
-
- public ModelingUnitInstruction_ContributionInstructionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getContributionInstructionParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ContributionInstruction_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getContributionInstructionRule().getType().getClassifier())
- return null;
- if(checkForRecursion(ContributionInstruction_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// AnnotationDeclaration
-protected class ModelingUnitInstruction_AnnotationDeclarationParserRuleCall_3 extends RuleCallToken {
-
- public ModelingUnitInstruction_AnnotationDeclarationParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getAnnotationDeclarationParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AnnotationDeclaration_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getAnnotationDeclarationRule().getType().getClassifier())
- return null;
- if(checkForRecursion(AnnotationDeclaration_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// SectionReferenceinModelingUnit
-protected class ModelingUnitInstruction_SectionReferenceinModelingUnitParserRuleCall_4 extends RuleCallToken {
-
- public ModelingUnitInstruction_SectionReferenceinModelingUnitParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getSectionReferenceinModelingUnitParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceinModelingUnit_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier())
- return null;
- if(checkForRecursion(SectionReferenceinModelingUnit_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// LabelinModelingUnit
-protected class ModelingUnitInstruction_LabelinModelingUnitParserRuleCall_5 extends RuleCallToken {
-
- public ModelingUnitInstruction_LabelinModelingUnitParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionAccess().getLabelinModelingUnitParserRuleCall_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelinModelingUnit_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getLabelinModelingUnitRule().getType().getClassifier())
- return null;
- if(checkForRecursion(LabelinModelingUnit_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-
-/************ end Rule ModelingUnitInstruction ****************/
-
-
-/************ begin Rule InstanceLevelInstruction ****************
- *
- * InstanceLevelInstruction returns modelingUnit::InstanceLevelInstruction:
- * InstanciationInstruction | StructuralFeatureAffectation;
- *
- **/
-
-// InstanciationInstruction | StructuralFeatureAffectation
-protected class InstanceLevelInstruction_Alternatives extends AlternativesToken {
-
- public InstanceLevelInstruction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getInstanceLevelInstructionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanceLevelInstruction_InstanciationInstructionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1: return new InstanceLevelInstruction_StructuralFeatureAffectationParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getInstanciationInstructionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// InstanciationInstruction
-protected class InstanceLevelInstruction_InstanciationInstructionParserRuleCall_0 extends RuleCallToken {
-
- public InstanceLevelInstruction_InstanciationInstructionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getInstanceLevelInstructionAccess().getInstanciationInstructionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getInstanciationInstructionRule().getType().getClassifier())
- return null;
- if(checkForRecursion(InstanciationInstruction_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// StructuralFeatureAffectation
-protected class InstanceLevelInstruction_StructuralFeatureAffectationParserRuleCall_1 extends RuleCallToken {
-
- public InstanceLevelInstruction_StructuralFeatureAffectationParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getInstanceLevelInstructionAccess().getStructuralFeatureAffectationParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier())
- return null;
- if(checkForRecursion(StructuralFeatureAffectation_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-
-/************ end Rule InstanceLevelInstruction ****************/
-
-
-/************ begin Rule ValueForStructuralFeature ****************
- *
- * ValueForStructuralFeature returns modelingUnit::ValueForStructuralFeature:
- * NativeValueForStructuralFeature | ReferenceValueForStructuralFeature | NewObjectValueForStructuralFeature;
- *
- **/
-
-// NativeValueForStructuralFeature | ReferenceValueForStructuralFeature | NewObjectValueForStructuralFeature
-protected class ValueForStructuralFeature_Alternatives extends AlternativesToken {
-
- public ValueForStructuralFeature_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getValueForStructuralFeatureAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ValueForStructuralFeature_NativeValueForStructuralFeatureParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ValueForStructuralFeature_ReferenceValueForStructuralFeatureParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2: return new ValueForStructuralFeature_NewObjectValueForStructuralFeatureParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getNativeValueForStructuralFeatureRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNewObjectValueForStructuralFeatureRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getReferenceValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// NativeValueForStructuralFeature
-protected class ValueForStructuralFeature_NativeValueForStructuralFeatureParserRuleCall_0 extends RuleCallToken {
-
- public ValueForStructuralFeature_NativeValueForStructuralFeatureParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueForStructuralFeatureAccess().getNativeValueForStructuralFeatureParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new NativeValueForStructuralFeature_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getNativeValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- if(checkForRecursion(NativeValueForStructuralFeature_Group.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// ReferenceValueForStructuralFeature
-protected class ValueForStructuralFeature_ReferenceValueForStructuralFeatureParserRuleCall_1 extends RuleCallToken {
-
- public ValueForStructuralFeature_ReferenceValueForStructuralFeatureParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueForStructuralFeatureAccess().getReferenceValueForStructuralFeatureParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ReferenceValueForStructuralFeature_ReferencedElementAssignment(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getReferenceValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- if(checkForRecursion(ReferenceValueForStructuralFeature_ReferencedElementAssignment.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-// NewObjectValueForStructuralFeature
-protected class ValueForStructuralFeature_NewObjectValueForStructuralFeatureParserRuleCall_2 extends RuleCallToken {
-
- public ValueForStructuralFeature_NewObjectValueForStructuralFeatureParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueForStructuralFeatureAccess().getNewObjectValueForStructuralFeatureParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new NewObjectValueForStructuralFeature_ValueAssignment(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getNewObjectValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- if(checkForRecursion(NewObjectValueForStructuralFeature_ValueAssignment.class, eObjectConsumer)) return null;
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst);
- }
- }
-}
-
-
-/************ end Rule ValueForStructuralFeature ****************/
-
-
-/************ begin Rule ModelingUnitInstructionReference_Impl ****************
- *
- * ModelingUnitInstructionReference_Impl returns modelingUnit::ModelingUnitInstructionReference:
- * IntentHref=StringWithoutQuotes;
- *
- **/
-
-// IntentHref=StringWithoutQuotes
-protected class ModelingUnitInstructionReference_Impl_IntentHrefAssignment extends AssignmentToken {
-
- public ModelingUnitInstructionReference_Impl_IntentHrefAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getModelingUnitInstructionReference_ImplAccess().getIntentHrefAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getModelingUnitInstructionReference_ImplRule().getType().getClassifier())
- return null;
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getModelingUnitInstructionReference_ImplAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getModelingUnitInstructionReference_ImplAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
-}
-
-/************ end Rule ModelingUnitInstructionReference_Impl ****************/
-
-
-/************ begin Rule SectionReferenceinModelingUnit ****************
- *
- * SectionReferenceinModelingUnit returns modelingUnit::IntentSectionReferenceinModelingUnit:
- * "@see" referencedObject=SectionOrParagraphReference textToPrint=EString? lineBreak?=LINE_BREAK?;
- *
- **/
-
-// "@see" referencedObject=SectionOrParagraphReference textToPrint=EString? lineBreak?=LINE_BREAK?
-protected class SectionReferenceinModelingUnit_Group extends GroupToken {
-
- public SectionReferenceinModelingUnit_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSectionReferenceinModelingUnitAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceinModelingUnit_LineBreakAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new SectionReferenceinModelingUnit_TextToPrintAssignment_2(lastRuleCallOrigin, this, 1, inst);
- case 2: return new SectionReferenceinModelingUnit_ReferencedObjectAssignment_1(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "@see"
-protected class SectionReferenceinModelingUnit_SeeKeyword_0 extends KeywordToken {
-
- public SectionReferenceinModelingUnit_SeeKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSectionReferenceinModelingUnitAccess().getSeeKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// referencedObject=SectionOrParagraphReference
-protected class SectionReferenceinModelingUnit_ReferencedObjectAssignment_1 extends AssignmentToken {
-
- public SectionReferenceinModelingUnit_ReferencedObjectAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionReferenceinModelingUnitAccess().getReferencedObjectAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionOrParagraphReference_IntentHrefAssignment(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("referencedObject",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referencedObject");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getSectionOrParagraphReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSectionReferenceinModelingUnitAccess().getReferencedObjectSectionOrParagraphReferenceParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new SectionReferenceinModelingUnit_SeeKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// textToPrint=EString?
-protected class SectionReferenceinModelingUnit_TextToPrintAssignment_2 extends AssignmentToken {
-
- public SectionReferenceinModelingUnit_TextToPrintAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionReferenceinModelingUnitAccess().getTextToPrintAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceinModelingUnit_ReferencedObjectAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("textToPrint",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("textToPrint");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSectionReferenceinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getSectionReferenceinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class SectionReferenceinModelingUnit_LineBreakAssignment_3 extends AssignmentToken {
-
- public SectionReferenceinModelingUnit_LineBreakAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSectionReferenceinModelingUnitAccess().getLineBreakAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new SectionReferenceinModelingUnit_TextToPrintAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new SectionReferenceinModelingUnit_ReferencedObjectAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSectionReferenceinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getSectionReferenceinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule SectionReferenceinModelingUnit ****************/
-
-
-/************ begin Rule LabelinModelingUnit ****************
- *
- * LabelinModelingUnit returns modelingUnit::LabelinModelingUnit:
- * type=TypeLabel labelValue=EString textToPrint=EString? lineBreak?=LINE_BREAK?;
- *
- **/
-
-// type=TypeLabel labelValue=EString textToPrint=EString? lineBreak?=LINE_BREAK?
-protected class LabelinModelingUnit_Group extends GroupToken {
-
- public LabelinModelingUnit_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLabelinModelingUnitAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelinModelingUnit_LineBreakAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new LabelinModelingUnit_TextToPrintAssignment_2(lastRuleCallOrigin, this, 1, inst);
- case 2: return new LabelinModelingUnit_LabelValueAssignment_1(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getLabelinModelingUnitRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// type=TypeLabel
-protected class LabelinModelingUnit_TypeAssignment_0 extends AssignmentToken {
-
- public LabelinModelingUnit_TypeAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelinModelingUnitAccess().getTypeAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
- if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getLabelinModelingUnitAccess().getTypeTypeLabelEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getLabelinModelingUnitAccess().getTypeTypeLabelEnumRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// labelValue=EString
-protected class LabelinModelingUnit_LabelValueAssignment_1 extends AssignmentToken {
-
- public LabelinModelingUnit_LabelValueAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelinModelingUnitAccess().getLabelValueAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelinModelingUnit_TypeAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("labelValue",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("labelValue");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLabelinModelingUnitAccess().getLabelValueEStringParserRuleCall_1_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getLabelinModelingUnitAccess().getLabelValueEStringParserRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// textToPrint=EString?
-protected class LabelinModelingUnit_TextToPrintAssignment_2 extends AssignmentToken {
-
- public LabelinModelingUnit_TextToPrintAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelinModelingUnitAccess().getTextToPrintAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelinModelingUnit_LabelValueAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("textToPrint",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("textToPrint");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLabelinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getLabelinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class LabelinModelingUnit_LineBreakAssignment_3 extends AssignmentToken {
-
- public LabelinModelingUnit_LineBreakAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLabelinModelingUnitAccess().getLineBreakAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new LabelinModelingUnit_TextToPrintAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new LabelinModelingUnit_LabelValueAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLabelinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLabelinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule LabelinModelingUnit ****************/
-
-
-/************ begin Rule AnnotationDeclaration ****************
- *
- * AnnotationDeclaration returns modelingUnit::AnnotationDeclaration:
- * "@Annotation" annotationID=StringWithoutQuotes map+=KeyValForAnnotation ("," map+=KeyValForAnnotation)*
- * lineBreak?=LINE_BREAK?;
- *
- **/
-
-// "@Annotation" annotationID=StringWithoutQuotes map+=KeyValForAnnotation ("," map+=KeyValForAnnotation)*
-// lineBreak?=LINE_BREAK?
-protected class AnnotationDeclaration_Group extends GroupToken {
-
- public AnnotationDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AnnotationDeclaration_LineBreakAssignment_4(lastRuleCallOrigin, this, 0, inst);
- case 1: return new AnnotationDeclaration_Group_3(lastRuleCallOrigin, this, 1, inst);
- case 2: return new AnnotationDeclaration_MapAssignment_2(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getAnnotationDeclarationRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "@Annotation"
-protected class AnnotationDeclaration_AnnotationKeyword_0 extends KeywordToken {
-
- public AnnotationDeclaration_AnnotationKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getAnnotationKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// annotationID=StringWithoutQuotes
-protected class AnnotationDeclaration_AnnotationIDAssignment_1 extends AssignmentToken {
-
- public AnnotationDeclaration_AnnotationIDAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getAnnotationIDAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AnnotationDeclaration_AnnotationKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("annotationID",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("annotationID");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAnnotationDeclarationAccess().getAnnotationIDStringWithoutQuotesTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getAnnotationDeclarationAccess().getAnnotationIDStringWithoutQuotesTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// map+=KeyValForAnnotation
-protected class AnnotationDeclaration_MapAssignment_2 extends AssignmentToken {
-
- public AnnotationDeclaration_MapAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getMapAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new KeyValForAnnotation_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("map",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("map");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getKeyValForAnnotationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAnnotationDeclarationAccess().getMapKeyValForAnnotationParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new AnnotationDeclaration_AnnotationIDAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// ("," map+=KeyValForAnnotation)*
-protected class AnnotationDeclaration_Group_3 extends GroupToken {
-
- public AnnotationDeclaration_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getGroup_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AnnotationDeclaration_MapAssignment_3_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// ","
-protected class AnnotationDeclaration_CommaKeyword_3_0 extends KeywordToken {
-
- public AnnotationDeclaration_CommaKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getCommaKeyword_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AnnotationDeclaration_Group_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new AnnotationDeclaration_MapAssignment_2(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// map+=KeyValForAnnotation
-protected class AnnotationDeclaration_MapAssignment_3_1 extends AssignmentToken {
-
- public AnnotationDeclaration_MapAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getMapAssignment_3_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new KeyValForAnnotation_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("map",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("map");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getKeyValForAnnotationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAnnotationDeclarationAccess().getMapKeyValForAnnotationParserRuleCall_3_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new AnnotationDeclaration_CommaKeyword_3_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-
-// lineBreak?=LINE_BREAK?
-protected class AnnotationDeclaration_LineBreakAssignment_4 extends AssignmentToken {
-
- public AnnotationDeclaration_LineBreakAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationDeclarationAccess().getLineBreakAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new AnnotationDeclaration_Group_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new AnnotationDeclaration_MapAssignment_2(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAnnotationDeclarationAccess().getLineBreakLINE_BREAKTerminalRuleCall_4_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getAnnotationDeclarationAccess().getLineBreakLINE_BREAKTerminalRuleCall_4_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule AnnotationDeclaration ****************/
-
-
-/************ begin Rule InstanciationInstruction ****************
- *
- * InstanciationInstruction returns modelingUnit::InstanciationInstruction:
- * "new" metaType=TypeReference name=StringWithoutQuotes? "{" structuralFeatures+=StructuralFeatureAffectation* "}"
- * lineBreak?=LINE_BREAK?;
- *
- **/
-
-// "new" metaType=TypeReference name=StringWithoutQuotes? "{" structuralFeatures+=StructuralFeatureAffectation* "}"
-// lineBreak?=LINE_BREAK?
-protected class InstanciationInstruction_Group extends GroupToken {
-
- public InstanciationInstruction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_LineBreakAssignment_6(lastRuleCallOrigin, this, 0, inst);
- case 1: return new InstanciationInstruction_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getInstanciationInstructionRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "new"
-protected class InstanciationInstruction_NewKeyword_0 extends KeywordToken {
-
- public InstanciationInstruction_NewKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getNewKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// metaType=TypeReference
-protected class InstanciationInstruction_MetaTypeAssignment_1 extends AssignmentToken {
-
- public InstanciationInstruction_MetaTypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getMetaTypeAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new TypeReference_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("metaType",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("metaType");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getTypeReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstanciationInstructionAccess().getMetaTypeTypeReferenceParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new InstanciationInstruction_NewKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// name=StringWithoutQuotes?
-protected class InstanciationInstruction_NameAssignment_2 extends AssignmentToken {
-
- public InstanciationInstruction_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_MetaTypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("name",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInstanciationInstructionAccess().getNameStringWithoutQuotesTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInstanciationInstructionAccess().getNameStringWithoutQuotesTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "{"
-protected class InstanciationInstruction_LeftCurlyBracketKeyword_3 extends KeywordToken {
-
- public InstanciationInstruction_LeftCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getLeftCurlyBracketKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new InstanciationInstruction_MetaTypeAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// structuralFeatures+=StructuralFeatureAffectation*
-protected class InstanciationInstruction_StructuralFeaturesAssignment_4 extends AssignmentToken {
-
- public InstanciationInstruction_StructuralFeaturesAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getStructuralFeaturesAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("structuralFeatures",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("structuralFeatures");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstanciationInstructionAccess().getStructuralFeaturesStructuralFeatureAffectationParserRuleCall_4_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new InstanciationInstruction_StructuralFeaturesAssignment_4(lastRuleCallOrigin, next, actIndex, consumed);
- case 1: return new InstanciationInstruction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// "}"
-protected class InstanciationInstruction_RightCurlyBracketKeyword_5 extends KeywordToken {
-
- public InstanciationInstruction_RightCurlyBracketKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getRightCurlyBracketKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_StructuralFeaturesAssignment_4(lastRuleCallOrigin, this, 0, inst);
- case 1: return new InstanciationInstruction_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class InstanciationInstruction_LineBreakAssignment_6 extends AssignmentToken {
-
- public InstanciationInstruction_LineBreakAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanciationInstructionAccess().getLineBreakAssignment_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_RightCurlyBracketKeyword_5(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInstanciationInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_6_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInstanciationInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_6_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule InstanciationInstruction ****************/
-
-
-/************ begin Rule StructuralFeatureAffectation ****************
- *
- * StructuralFeatureAffectation returns modelingUnit::StructuralFeatureAffectation: //metaType=TypeReference
- * name=StringWithoutQuotes (usedOperator=AffectationOperator (values+=ValueForStructuralFeature | "["
- * values+=ValueForStructuralFeature ("," values+=ValueForStructuralFeature)* "]")) ";" lineBreak?=LINE_BREAK?;
- *
- **/
-
-// //metaType=TypeReference
-// name=StringWithoutQuotes (usedOperator=AffectationOperator (values+=ValueForStructuralFeature | "["
-// values+=ValueForStructuralFeature ("," values+=ValueForStructuralFeature)* "]")) ";" lineBreak?=LINE_BREAK?
-protected class StructuralFeatureAffectation_Group extends GroupToken {
-
- public StructuralFeatureAffectation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_LineBreakAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new StructuralFeatureAffectation_SemicolonKeyword_2(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// //metaType=TypeReference
-// name=StringWithoutQuotes
-protected class StructuralFeatureAffectation_NameAssignment_0 extends AssignmentToken {
-
- public StructuralFeatureAffectation_NameAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getNameAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("name",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getStructuralFeatureAffectationAccess().getNameStringWithoutQuotesTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getStructuralFeatureAffectationAccess().getNameStringWithoutQuotesTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// usedOperator=AffectationOperator (values+=ValueForStructuralFeature | "[" values+=ValueForStructuralFeature (","
-// values+=ValueForStructuralFeature)* "]")
-protected class StructuralFeatureAffectation_Group_1 extends GroupToken {
-
- public StructuralFeatureAffectation_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_Alternatives_1_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// usedOperator=AffectationOperator
-protected class StructuralFeatureAffectation_UsedOperatorAssignment_1_0 extends AssignmentToken {
-
- public StructuralFeatureAffectation_UsedOperatorAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getUsedOperatorAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_NameAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("usedOperator",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("usedOperator");
- if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getStructuralFeatureAffectationAccess().getUsedOperatorAffectationOperatorEnumRuleCall_1_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getStructuralFeatureAffectationAccess().getUsedOperatorAffectationOperatorEnumRuleCall_1_0_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// values+=ValueForStructuralFeature | "[" values+=ValueForStructuralFeature ("," values+=ValueForStructuralFeature)* "]"
-protected class StructuralFeatureAffectation_Alternatives_1_1 extends AlternativesToken {
-
- public StructuralFeatureAffectation_Alternatives_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getAlternatives_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_ValuesAssignment_1_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1: return new StructuralFeatureAffectation_Group_1_1_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// values+=ValueForStructuralFeature
-protected class StructuralFeatureAffectation_ValuesAssignment_1_1_0 extends AssignmentToken {
-
- public StructuralFeatureAffectation_ValuesAssignment_1_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getValuesAssignment_1_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ValueForStructuralFeature_Alternatives(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("values",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getValueForStructuralFeatureRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getStructuralFeatureAffectationAccess().getValuesValueForStructuralFeatureParserRuleCall_1_1_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new StructuralFeatureAffectation_UsedOperatorAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// "[" values+=ValueForStructuralFeature ("," values+=ValueForStructuralFeature)* "]"
-protected class StructuralFeatureAffectation_Group_1_1_1 extends GroupToken {
-
- public StructuralFeatureAffectation_Group_1_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getGroup_1_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_RightSquareBracketKeyword_1_1_1_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "["
-protected class StructuralFeatureAffectation_LeftSquareBracketKeyword_1_1_1_0 extends KeywordToken {
-
- public StructuralFeatureAffectation_LeftSquareBracketKeyword_1_1_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getLeftSquareBracketKeyword_1_1_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_UsedOperatorAssignment_1_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// values+=ValueForStructuralFeature
-protected class StructuralFeatureAffectation_ValuesAssignment_1_1_1_1 extends AssignmentToken {
-
- public StructuralFeatureAffectation_ValuesAssignment_1_1_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getValuesAssignment_1_1_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ValueForStructuralFeature_Alternatives(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("values",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getValueForStructuralFeatureRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getStructuralFeatureAffectationAccess().getValuesValueForStructuralFeatureParserRuleCall_1_1_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new StructuralFeatureAffectation_LeftSquareBracketKeyword_1_1_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// ("," values+=ValueForStructuralFeature)*
-protected class StructuralFeatureAffectation_Group_1_1_1_2 extends GroupToken {
-
- public StructuralFeatureAffectation_Group_1_1_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getGroup_1_1_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_ValuesAssignment_1_1_1_2_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// ","
-protected class StructuralFeatureAffectation_CommaKeyword_1_1_1_2_0 extends KeywordToken {
-
- public StructuralFeatureAffectation_CommaKeyword_1_1_1_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getCommaKeyword_1_1_1_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_Group_1_1_1_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new StructuralFeatureAffectation_ValuesAssignment_1_1_1_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// values+=ValueForStructuralFeature
-protected class StructuralFeatureAffectation_ValuesAssignment_1_1_1_2_1 extends AssignmentToken {
-
- public StructuralFeatureAffectation_ValuesAssignment_1_1_1_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getValuesAssignment_1_1_1_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ValueForStructuralFeature_Alternatives(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("values",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getValueForStructuralFeatureRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getStructuralFeatureAffectationAccess().getValuesValueForStructuralFeatureParserRuleCall_1_1_1_2_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new StructuralFeatureAffectation_CommaKeyword_1_1_1_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-
-// "]"
-protected class StructuralFeatureAffectation_RightSquareBracketKeyword_1_1_1_3 extends KeywordToken {
-
- public StructuralFeatureAffectation_RightSquareBracketKeyword_1_1_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getRightSquareBracketKeyword_1_1_1_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_Group_1_1_1_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new StructuralFeatureAffectation_ValuesAssignment_1_1_1_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-
-
-
-// ";"
-protected class StructuralFeatureAffectation_SemicolonKeyword_2 extends KeywordToken {
-
- public StructuralFeatureAffectation_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getSemicolonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_Group_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class StructuralFeatureAffectation_LineBreakAssignment_3 extends AssignmentToken {
-
- public StructuralFeatureAffectation_LineBreakAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStructuralFeatureAffectationAccess().getLineBreakAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new StructuralFeatureAffectation_SemicolonKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getStructuralFeatureAffectationAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getStructuralFeatureAffectationAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule StructuralFeatureAffectation ****************/
-
-
-/************ begin Rule NativeValueForStructuralFeature ****************
- *
- * NativeValueForStructuralFeature returns modelingUnit::NativeValueForStructuralFeature:
- * value=StringWithQuotes lineBreak?=LINE_BREAK?;
- *
- **/
-
-// value=StringWithQuotes lineBreak?=LINE_BREAK?
-protected class NativeValueForStructuralFeature_Group extends GroupToken {
-
- public NativeValueForStructuralFeature_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNativeValueForStructuralFeatureAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new NativeValueForStructuralFeature_LineBreakAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1: return new NativeValueForStructuralFeature_ValueAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getNativeValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// value=StringWithQuotes
-protected class NativeValueForStructuralFeature_ValueAssignment_0 extends AssignmentToken {
-
- public NativeValueForStructuralFeature_ValueAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNativeValueForStructuralFeatureAccess().getValueAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getNativeValueForStructuralFeatureAccess().getValueStringWithQuotesParserRuleCall_0_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getNativeValueForStructuralFeatureAccess().getValueStringWithQuotesParserRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class NativeValueForStructuralFeature_LineBreakAssignment_1 extends AssignmentToken {
-
- public NativeValueForStructuralFeature_LineBreakAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNativeValueForStructuralFeatureAccess().getLineBreakAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new NativeValueForStructuralFeature_ValueAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getNativeValueForStructuralFeatureAccess().getLineBreakLINE_BREAKTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getNativeValueForStructuralFeatureAccess().getLineBreakLINE_BREAKTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule NativeValueForStructuralFeature ****************/
-
-
-/************ begin Rule NewObjectValueForStructuralFeature ****************
- *
- * NewObjectValueForStructuralFeature returns modelingUnit::NewObjectValueForStructuralFeature:
- * value=InstanciationInstruction;
- *
- **/
-
-// value=InstanciationInstruction
-protected class NewObjectValueForStructuralFeature_ValueAssignment extends AssignmentToken {
-
- public NewObjectValueForStructuralFeature_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNewObjectValueForStructuralFeatureAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstruction_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getNewObjectValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getInstanciationInstructionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNewObjectValueForStructuralFeatureAccess().getValueInstanciationInstructionParserRuleCall_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
- }
- }
-}
-
-/************ end Rule NewObjectValueForStructuralFeature ****************/
-
-
-/************ begin Rule ReferenceValueForStructuralFeature ****************
- *
- * ReferenceValueForStructuralFeature returns modelingUnit::ReferenceValueForStructuralFeature:
- * referencedElement=InstanciationInstructionReference;
- *
- **/
-
-// referencedElement=InstanciationInstructionReference
-protected class ReferenceValueForStructuralFeature_ReferencedElementAssignment extends AssignmentToken {
-
- public ReferenceValueForStructuralFeature_ReferencedElementAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getReferenceValueForStructuralFeatureAccess().getReferencedElementAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstructionReference_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getReferenceValueForStructuralFeatureRule().getType().getClassifier())
- return null;
- if((value = eObjectConsumer.getConsumable("referencedElement",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referencedElement");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getInstanciationInstructionReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getReferenceValueForStructuralFeatureAccess().getReferencedElementInstanciationInstructionReferenceParserRuleCall_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
- }
- }
-}
-
-/************ end Rule ReferenceValueForStructuralFeature ****************/
-
-
-/************ begin Rule ContributionInstruction ****************
- *
- * ContributionInstruction returns modelingUnit::ContributionInstruction:
- * referencedElement=ModelingUnitInstructionReference "{" contributions+=ModelingUnitInstruction* "}"
- * lineBreak?=LINE_BREAK?;
- *
- **/
-
-// referencedElement=ModelingUnitInstructionReference "{" contributions+=ModelingUnitInstruction* "}"
-// lineBreak?=LINE_BREAK?
-protected class ContributionInstruction_Group extends GroupToken {
-
- public ContributionInstruction_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getContributionInstructionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ContributionInstruction_LineBreakAssignment_4(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ContributionInstruction_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getContributionInstructionRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// referencedElement=ModelingUnitInstructionReference
-protected class ContributionInstruction_ReferencedElementAssignment_0 extends AssignmentToken {
-
- public ContributionInstruction_ReferencedElementAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getContributionInstructionAccess().getReferencedElementAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnitInstructionReference_ModelingUnitInstructionReference_ImplParserRuleCall(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("referencedElement",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referencedElement");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getModelingUnitInstructionReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getContributionInstructionAccess().getReferencedElementModelingUnitInstructionReferenceParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
- }
- }
-}
-
-// "{"
-protected class ContributionInstruction_LeftCurlyBracketKeyword_1 extends KeywordToken {
-
- public ContributionInstruction_LeftCurlyBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getContributionInstructionAccess().getLeftCurlyBracketKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ContributionInstruction_ReferencedElementAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// contributions+=ModelingUnitInstruction*
-protected class ContributionInstruction_ContributionsAssignment_2 extends AssignmentToken {
-
- public ContributionInstruction_ContributionsAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getContributionInstructionAccess().getContributionsAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnitInstruction_Alternatives(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("contributions",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("contributions");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getModelingUnitInstructionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getContributionInstructionAccess().getContributionsModelingUnitInstructionParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new ContributionInstruction_ContributionsAssignment_2(lastRuleCallOrigin, next, actIndex, consumed);
- case 1: return new ContributionInstruction_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// "}"
-protected class ContributionInstruction_RightCurlyBracketKeyword_3 extends KeywordToken {
-
- public ContributionInstruction_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getContributionInstructionAccess().getRightCurlyBracketKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ContributionInstruction_ContributionsAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ContributionInstruction_LeftCurlyBracketKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class ContributionInstruction_LineBreakAssignment_4 extends AssignmentToken {
-
- public ContributionInstruction_LineBreakAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getContributionInstructionAccess().getLineBreakAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ContributionInstruction_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getContributionInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_4_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getContributionInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_4_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule ContributionInstruction ****************/
-
-
-/************ begin Rule TypeReference ****************
- *
- * TypeReference returns modelingUnit::TypeReference:
- * {modelingUnit::TypeReference} IntentHref=StringWithoutQuotes;
- *
- **/
-
-// {modelingUnit::TypeReference} IntentHref=StringWithoutQuotes
-protected class TypeReference_Group extends GroupToken {
-
- public TypeReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTypeReferenceAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new TypeReference_IntentHrefAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getTypeReferenceAccess().getTypeReferenceAction_0().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// {modelingUnit::TypeReference}
-protected class TypeReference_TypeReferenceAction_0 extends ActionToken {
-
- public TypeReference_TypeReferenceAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getTypeReferenceAccess().getTypeReferenceAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(!eObjectConsumer.isConsumed()) return null;
- return eObjectConsumer;
- }
-}
-
-// IntentHref=StringWithoutQuotes
-protected class TypeReference_IntentHrefAssignment_1 extends AssignmentToken {
-
- public TypeReference_IntentHrefAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTypeReferenceAccess().getIntentHrefAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new TypeReference_TypeReferenceAction_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getTypeReferenceAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getTypeReferenceAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule TypeReference ****************/
-
-
-/************ begin Rule InstanciationInstructionReference ****************
- *
- * InstanciationInstructionReference returns modelingUnit::InstanciationInstructionReference:
- * {modelingUnit::InstanciationInstructionReference} IntentHref=StringWithoutQuotes;
- *
- **/
-
-// {modelingUnit::InstanciationInstructionReference} IntentHref=StringWithoutQuotes
-protected class InstanciationInstructionReference_Group extends GroupToken {
-
- public InstanciationInstructionReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstanciationInstructionReferenceAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstructionReference_IntentHrefAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getInstanciationInstructionReferenceAccess().getInstanciationInstructionReferenceAction_0().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// {modelingUnit::InstanciationInstructionReference}
-protected class InstanciationInstructionReference_InstanciationInstructionReferenceAction_0 extends ActionToken {
-
- public InstanciationInstructionReference_InstanciationInstructionReferenceAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getInstanciationInstructionReferenceAccess().getInstanciationInstructionReferenceAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(!eObjectConsumer.isConsumed()) return null;
- return eObjectConsumer;
- }
-}
-
-// IntentHref=StringWithoutQuotes
-protected class InstanciationInstructionReference_IntentHrefAssignment_1 extends AssignmentToken {
-
- public InstanciationInstructionReference_IntentHrefAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanciationInstructionReferenceAccess().getIntentHrefAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new InstanciationInstructionReference_InstanciationInstructionReferenceAction_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInstanciationInstructionReferenceAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInstanciationInstructionReferenceAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule InstanciationInstructionReference ****************/
-
-
-/************ begin Rule KeyValForAnnotation ****************
- *
- * KeyValForAnnotation returns modelingUnit::KeyValForAnnotation:
- * {modelingUnit::KeyValForAnnotation} key=StringWithoutQuotes "=" value=EString;
- *
- **/
-
-// {modelingUnit::KeyValForAnnotation} key=StringWithoutQuotes "=" value=EString
-protected class KeyValForAnnotation_Group extends GroupToken {
-
- public KeyValForAnnotation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getKeyValForAnnotationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new KeyValForAnnotation_ValueAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getKeyValForAnnotationAccess().getKeyValForAnnotationAction_0().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// {modelingUnit::KeyValForAnnotation}
-protected class KeyValForAnnotation_KeyValForAnnotationAction_0 extends ActionToken {
-
- public KeyValForAnnotation_KeyValForAnnotationAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getKeyValForAnnotationAccess().getKeyValForAnnotationAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(!eObjectConsumer.isConsumed()) return null;
- return eObjectConsumer;
- }
-}
-
-// key=StringWithoutQuotes
-protected class KeyValForAnnotation_KeyAssignment_1 extends AssignmentToken {
-
- public KeyValForAnnotation_KeyAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getKeyValForAnnotationAccess().getKeyAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new KeyValForAnnotation_KeyValForAnnotationAction_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("key",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("key");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getKeyValForAnnotationAccess().getKeyStringWithoutQuotesTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getKeyValForAnnotationAccess().getKeyStringWithoutQuotesTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "="
-protected class KeyValForAnnotation_EqualsSignKeyword_2 extends KeywordToken {
-
- public KeyValForAnnotation_EqualsSignKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getKeyValForAnnotationAccess().getEqualsSignKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new KeyValForAnnotation_KeyAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// value=EString
-protected class KeyValForAnnotation_ValueAssignment_3 extends AssignmentToken {
-
- public KeyValForAnnotation_ValueAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getKeyValForAnnotationAccess().getValueAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new KeyValForAnnotation_EqualsSignKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getKeyValForAnnotationAccess().getValueEStringParserRuleCall_3_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getKeyValForAnnotationAccess().getValueEStringParserRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule KeyValForAnnotation ****************/
-
-
-/************ begin Rule ResourceReference ****************
- *
- * ResourceReference returns modelingUnit::ResourceReference:
- * "[" IntentHref=EString "]" lineBreak?=LINE_BREAK?;
- *
- **/
-
-// "[" IntentHref=EString "]" lineBreak?=LINE_BREAK?
-protected class ResourceReference_Group extends GroupToken {
-
- public ResourceReference_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getResourceReferenceAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceReference_LineBreakAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ResourceReference_RightSquareBracketKeyword_2(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getResourceReferenceRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// "["
-protected class ResourceReference_LeftSquareBracketKeyword_0 extends KeywordToken {
-
- public ResourceReference_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceReferenceAccess().getLeftSquareBracketKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
-}
-
-// IntentHref=EString
-protected class ResourceReference_IntentHrefAssignment_1 extends AssignmentToken {
-
- public ResourceReference_IntentHrefAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceReferenceAccess().getIntentHrefAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceReference_LeftSquareBracketKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("IntentHref",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("IntentHref");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResourceReferenceAccess().getIntentHrefEStringParserRuleCall_1_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getResourceReferenceAccess().getIntentHrefEStringParserRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "]"
-protected class ResourceReference_RightSquareBracketKeyword_2 extends KeywordToken {
-
- public ResourceReference_RightSquareBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceReferenceAccess().getRightSquareBracketKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceReference_IntentHrefAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// lineBreak?=LINE_BREAK?
-protected class ResourceReference_LineBreakAssignment_3 extends AssignmentToken {
-
- public ResourceReference_LineBreakAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceReferenceAccess().getLineBreakAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceReference_RightSquareBracketKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResourceReferenceAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getResourceReferenceAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule ResourceReference ****************/
-
-
-/************ begin Rule ResourceDeclaration ****************
- *
- * / * ------------ END INSTRUCTIONS FROM MODELING UNIT ------------ * / ResourceDeclaration returns
- * modelingUnit::ResourceDeclaration:
- * {modelingUnit::ResourceDeclaration} "Resource" name=StringWithoutQuotes? "{" LINE_BREAK? ("URI" "=" uri=URI ";"
- * LINE_BREAK?)? ("contentType" "=" contentType=EString ";" LINE_BREAK?)? ("content" "+="
- * content+=ModelingUnitInstructionReference ";" LINE_BREAK?)* "}" lineBreak?=LINE_BREAK?;
- *
- **/
-
-// {modelingUnit::ResourceDeclaration} "Resource" name=StringWithoutQuotes? "{" LINE_BREAK? ("URI" "=" uri=URI ";"
-// LINE_BREAK?)? ("contentType" "=" contentType=EString ";" LINE_BREAK?)? ("content" "+="
-// content+=ModelingUnitInstructionReference ";" LINE_BREAK?)* "}" lineBreak?=LINE_BREAK?
-// / * ------------ END INSTRUCTIONS FROM MODELING UNIT ------------ * /
-protected class ResourceDeclaration_Group extends GroupToken {
-
- public ResourceDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_LineBreakAssignment_9(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ResourceDeclaration_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getResourceDeclarationAccess().getResourceDeclarationAction_0().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// {modelingUnit::ResourceDeclaration}
-protected class ResourceDeclaration_ResourceDeclarationAction_0 extends ActionToken {
-
- public ResourceDeclaration_ResourceDeclarationAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getResourceDeclarationAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(!eObjectConsumer.isConsumed()) return null;
- return eObjectConsumer;
- }
-}
-
-// "Resource"
-protected class ResourceDeclaration_ResourceKeyword_1 extends KeywordToken {
-
- public ResourceDeclaration_ResourceKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getResourceKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_ResourceDeclarationAction_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// name=StringWithoutQuotes?
-protected class ResourceDeclaration_NameAssignment_2 extends AssignmentToken {
-
- public ResourceDeclaration_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_ResourceKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("name",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResourceDeclarationAccess().getNameStringWithoutQuotesTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getResourceDeclarationAccess().getNameStringWithoutQuotesTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// "{"
-protected class ResourceDeclaration_LeftCurlyBracketKeyword_3 extends KeywordToken {
-
- public ResourceDeclaration_LeftCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getLeftCurlyBracketKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ResourceDeclaration_ResourceKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// ("URI" "=" uri=URI ";" LINE_BREAK?)?
-protected class ResourceDeclaration_Group_5 extends GroupToken {
-
- public ResourceDeclaration_Group_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getGroup_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_SemicolonKeyword_5_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "URI"
-protected class ResourceDeclaration_URIKeyword_5_0 extends KeywordToken {
-
- public ResourceDeclaration_URIKeyword_5_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getURIKeyword_5_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "="
-protected class ResourceDeclaration_EqualsSignKeyword_5_1 extends KeywordToken {
-
- public ResourceDeclaration_EqualsSignKeyword_5_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getEqualsSignKeyword_5_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_URIKeyword_5_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// uri=URI
-protected class ResourceDeclaration_UriAssignment_5_2 extends AssignmentToken {
-
- public ResourceDeclaration_UriAssignment_5_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getUriAssignment_5_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_EqualsSignKeyword_5_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("uri",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("uri");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResourceDeclarationAccess().getUriURITerminalRuleCall_5_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getResourceDeclarationAccess().getUriURITerminalRuleCall_5_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// ";"
-protected class ResourceDeclaration_SemicolonKeyword_5_3 extends KeywordToken {
-
- public ResourceDeclaration_SemicolonKeyword_5_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getSemicolonKeyword_5_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_UriAssignment_5_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-
-// ("contentType" "=" contentType=EString ";" LINE_BREAK?)?
-protected class ResourceDeclaration_Group_6 extends GroupToken {
-
- public ResourceDeclaration_Group_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getGroup_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_SemicolonKeyword_6_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "contentType"
-protected class ResourceDeclaration_ContentTypeKeyword_6_0 extends KeywordToken {
-
- public ResourceDeclaration_ContentTypeKeyword_6_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getContentTypeKeyword_6_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_Group_5(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ResourceDeclaration_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
- }
-
-}
-
-// "="
-protected class ResourceDeclaration_EqualsSignKeyword_6_1 extends KeywordToken {
-
- public ResourceDeclaration_EqualsSignKeyword_6_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getEqualsSignKeyword_6_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_ContentTypeKeyword_6_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// contentType=EString
-protected class ResourceDeclaration_ContentTypeAssignment_6_2 extends AssignmentToken {
-
- public ResourceDeclaration_ContentTypeAssignment_6_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getContentTypeAssignment_6_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_EqualsSignKeyword_6_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("contentType",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("contentType");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResourceDeclarationAccess().getContentTypeEStringParserRuleCall_6_2_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getResourceDeclarationAccess().getContentTypeEStringParserRuleCall_6_2_0();
- return obj;
- }
- return null;
- }
-
-}
-
-// ";"
-protected class ResourceDeclaration_SemicolonKeyword_6_3 extends KeywordToken {
-
- public ResourceDeclaration_SemicolonKeyword_6_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getSemicolonKeyword_6_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_ContentTypeAssignment_6_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-
-// ("content" "+=" content+=ModelingUnitInstructionReference ";" LINE_BREAK?)*
-protected class ResourceDeclaration_Group_7 extends GroupToken {
-
- public ResourceDeclaration_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getGroup_7();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_SemicolonKeyword_7_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// "content"
-protected class ResourceDeclaration_ContentKeyword_7_0 extends KeywordToken {
-
- public ResourceDeclaration_ContentKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getContentKeyword_7_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_Group_7(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ResourceDeclaration_Group_6(lastRuleCallOrigin, this, 1, inst);
- case 2: return new ResourceDeclaration_Group_5(lastRuleCallOrigin, this, 2, inst);
- case 3: return new ResourceDeclaration_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 3, inst);
- default: return null;
- }
- }
-
-}
-
-// "+="
-protected class ResourceDeclaration_PlusSignEqualsSignKeyword_7_1 extends KeywordToken {
-
- public ResourceDeclaration_PlusSignEqualsSignKeyword_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getPlusSignEqualsSignKeyword_7_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_ContentKeyword_7_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-// content+=ModelingUnitInstructionReference
-protected class ResourceDeclaration_ContentAssignment_7_2 extends AssignmentToken {
-
- public ResourceDeclaration_ContentAssignment_7_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getContentAssignment_7_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ModelingUnitInstructionReference_ModelingUnitInstructionReference_ImplParserRuleCall(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("content",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("content");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getModelingUnitInstructionReferenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getResourceDeclarationAccess().getContentModelingUnitInstructionReferenceParserRuleCall_7_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new ResourceDeclaration_PlusSignEqualsSignKeyword_7_1(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-// ";"
-protected class ResourceDeclaration_SemicolonKeyword_7_3 extends KeywordToken {
-
- public ResourceDeclaration_SemicolonKeyword_7_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getSemicolonKeyword_7_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_ContentAssignment_7_2(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
-}
-
-
-// "}"
-protected class ResourceDeclaration_RightCurlyBracketKeyword_8 extends KeywordToken {
-
- public ResourceDeclaration_RightCurlyBracketKeyword_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getRightCurlyBracketKeyword_8();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_Group_7(lastRuleCallOrigin, this, 0, inst);
- case 1: return new ResourceDeclaration_Group_6(lastRuleCallOrigin, this, 1, inst);
- case 2: return new ResourceDeclaration_Group_5(lastRuleCallOrigin, this, 2, inst);
- case 3: return new ResourceDeclaration_LeftCurlyBracketKeyword_3(lastRuleCallOrigin, this, 3, inst);
- default: return null;
- }
- }
-
-}
-
-// / * ------------ END INSTRUCTIONS FROM MODELING UNIT ------------ * / lineBreak?=LINE_BREAK?
-protected class ResourceDeclaration_LineBreakAssignment_9 extends AssignmentToken {
-
- public ResourceDeclaration_LineBreakAssignment_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getResourceDeclarationAccess().getLineBreakAssignment_9();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new ResourceDeclaration_RightCurlyBracketKeyword_8(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("lineBreak",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lineBreak");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getResourceDeclarationAccess().getLineBreakLINE_BREAKTerminalRuleCall_9_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getResourceDeclarationAccess().getLineBreakLINE_BREAKTerminalRuleCall_9_0();
- return obj;
- }
- return null;
- }
-
-}
-
-
-/************ end Rule ResourceDeclaration ****************/
-
-}
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/ModelingUnitXTextGrammarAntlrTokenFileProvider.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/ModelingUnitXTextGrammarAntlrTokenFileProvider.java
deleted file mode 100644
index a2cbd3e..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/ModelingUnitXTextGrammarAntlrTokenFileProvider.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr;
-
-import java.io.InputStream;
-import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
-
-public class ModelingUnitXTextGrammarAntlrTokenFileProvider implements IAntlrTokenFileProvider {
-
- public InputStream getAntlrTokenFile() {
- ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.tokens");
- }
-}
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/ModelingUnitXTextGrammarParser.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/ModelingUnitXTextGrammarParser.java
deleted file mode 100644
index 84487b5..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/ModelingUnitXTextGrammarParser.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr;
-
-import org.antlr.runtime.CharStream;
-import org.antlr.runtime.TokenSource;
-import org.eclipse.xtext.parser.IParseResult;
-import org.eclipse.xtext.parser.ParseException;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-
-import com.google.inject.Inject;
-
-import org.eclipse.mylyn.docs.intent.parser.modelingunit.services.ModelingUnitXTextGrammarGrammarAccess;
-
-public class ModelingUnitXTextGrammarParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
-
- @Inject
- private ModelingUnitXTextGrammarGrammarAccess grammarAccess;
-
- @Override
- protected IParseResult parse(String ruleName, CharStream in) {
- TokenSource tokenSource = createLexer(in);
- XtextTokenStream tokenStream = createTokenStream(tokenSource);
- tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
- org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarParser parser = createParser(tokenStream);
- parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
- parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
- parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
- try {
- if(ruleName != null)
- return parser.parse(ruleName);
- return parser.parse();
- } catch (Exception re) {
- throw new ParseException(re.getMessage(),re);
- }
- }
-
- protected org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarParser createParser(XtextTokenStream stream) {
- return new org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal.InternalModelingUnitXTextGrammarParser(stream, getElementFactory(), getGrammarAccess());
- }
-
- @Override
- protected String getDefaultRuleName() {
- return "ModelingUnit";
- }
-
- public ModelingUnitXTextGrammarGrammarAccess getGrammarAccess() {
- return this.grammarAccess;
- }
-
- public void setGrammarAccess(ModelingUnitXTextGrammarGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
-}
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g
deleted file mode 100644
index 5c3b675..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g
+++ /dev/null
@@ -1,2576 +0,0 @@
-/*
-* generated by Xtext
-*/
-grammar InternalModelingUnitXTextGrammar;
-
-options {
- superClass=AbstractInternalAntlrParser;
-
-}
-
-@lexer::header {
-package org.eclipse.mylyn.docs.intent.parser.modelingunit.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 org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal;
-
-import java.io.InputStream;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.xtext.parsetree.*;
-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 org.eclipse.xtext.conversion.ValueConverterException;
-import org.eclipse.mylyn.docs.intent.parser.modelingunit.services.ModelingUnitXTextGrammarGrammarAccess;
-
-}
-
-@parser::members {
-
- private ModelingUnitXTextGrammarGrammarAccess grammarAccess;
-
- public InternalModelingUnitXTextGrammarParser(TokenStream input, IAstFactory factory, ModelingUnitXTextGrammarGrammarAccess grammarAccess) {
- this(input);
- this.factory = factory;
- registerRules(grammarAccess.getGrammar());
- this.grammarAccess = grammarAccess;
- }
-
- @Override
- protected InputStream getTokenFile() {
- ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.tokens");
- }
-
- @Override
- protected String getFirstRuleName() {
- return "ModelingUnit";
- }
-
- @Override
- protected ModelingUnitXTextGrammarGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-}
-
-@rulecatch {
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
-}
-
-
-
-
-// Entry rule entryRuleModelingUnit
-entryRuleModelingUnit returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getModelingUnitRule(), currentNode); }
- iv_ruleModelingUnit=ruleModelingUnit
- { $current=$iv_ruleModelingUnit.current; }
- EOF
-;
-
-// Rule ModelingUnit
-ruleModelingUnit returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
- {
- temp=factory.create(grammarAccess.getModelingUnitAccess().getModelingUnitAction_0().getType().getClassifier());
- $current = temp;
- temp = null;
- CompositeNode newNode = createCompositeNode(grammarAccess.getModelingUnitAccess().getModelingUnitAction_0(), currentNode.getParent());
- newNode.getChildren().add(currentNode);
- moveLookaheadInfo(currentNode, newNode);
- currentNode = newNode;
- associateNodeWithAstElement(currentNode, $current);
- }
-)(
-(
- lv_unitName_1_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getModelingUnitAccess().getUnitNameStringWithoutQuotesTerminalRuleCall_1_0(), "unitName");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "unitName",
- lv_unitName_1_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?(RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getModelingUnitAccess().getLINE_BREAKTerminalRuleCall_2(), null);
- }
-)?(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getResourceResourceReferenceParserRuleCall_3_0(), currentNode);
- }
- lv_resource_3_0=ruleResourceReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "resource",
- lv_resource_3_0,
- "ResourceReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)?(
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getInstructionsModelingUnitInstructionParserRuleCall_4_0_0(), currentNode);
- }
- lv_instructions_4_1=ruleModelingUnitInstruction {
- if ($current==null) {
- $current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "instructions",
- lv_instructions_4_1,
- "ModelingUnitInstruction",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
- | {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getInstructionsLabelReferenceInstructionParserRuleCall_4_0_1(), currentNode);
- }
- lv_instructions_4_2=ruleLabelReferenceInstruction {
- if ($current==null) {
- $current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "instructions",
- lv_instructions_4_2,
- "LabelReferenceInstruction",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
- | {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getInstructionsAdressedAnnotationParserRuleCall_4_0_2(), currentNode);
- }
- lv_instructions_4_3=ruleAdressedAnnotation {
- if ($current==null) {
- $current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "instructions",
- lv_instructions_4_3,
- "AdressedAnnotation",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-
-)
-)*)
-;
-
-
-
-
-
-
-
-// Entry rule entryRuleEString
-entryRuleEString returns [String current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getEStringRule(), currentNode); }
- iv_ruleEString=ruleEString
- { $current=$iv_ruleEString.current.getText(); }
- EOF
-;
-
-// Rule EString
-ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
- @init { setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
- {
- currentNode=createCompositeNode(grammarAccess.getEStringAccess().getStringWithQuotesParserRuleCall_0(), currentNode);
- }
- this_StringWithQuotes_0=ruleStringWithQuotes {
- $current.merge(this_StringWithQuotes_0);
- }
-
- {
- currentNode = currentNode.getParent();
- }
-
- | this_StringWithoutQuotes_1=RULE_STRINGWITHOUTQUOTES {
- $current.merge(this_StringWithoutQuotes_1);
- }
-
- {
- createLeafNode(grammarAccess.getEStringAccess().getStringWithoutQuotesTerminalRuleCall_1(), null);
- }
-)
- ;
-
-
-
-
-
-// Entry rule entryRuleStringWithQuotes
-entryRuleStringWithQuotes returns [String current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getStringWithQuotesRule(), currentNode); }
- iv_ruleStringWithQuotes=ruleStringWithQuotes
- { $current=$iv_ruleStringWithQuotes.current.getText(); }
- EOF
-;
-
-// Rule StringWithQuotes
-ruleStringWithQuotes returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
- @init { setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
- this_STRING_0=RULE_STRING {
- $current.merge(this_STRING_0);
- }
-
- {
- createLeafNode(grammarAccess.getStringWithQuotesAccess().getSTRINGTerminalRuleCall(), null);
- }
-
- ;
-
-
-
-
-
-
-
-// Entry rule entryRuleLabelReferenceInstruction
-entryRuleLabelReferenceInstruction returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getLabelReferenceInstructionRule(), currentNode); }
- iv_ruleLabelReferenceInstruction=ruleLabelReferenceInstruction
- { $current=$iv_ruleLabelReferenceInstruction.current; }
- EOF
-;
-
-// Rule LabelReferenceInstruction
-ruleLabelReferenceInstruction returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( '@see'
- {
- createLeafNode(grammarAccess.getLabelReferenceInstructionAccess().getSeeKeyword_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getLabelReferenceInstructionAccess().getTypeTypeLabelEnumRuleCall_1_0(), currentNode);
- }
- lv_type_1_0=ruleTypeLabel {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "type",
- lv_type_1_0,
- "TypeLabel",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getLabelReferenceInstructionAccess().getReferencedLabelLabelDeclarationReferenceParserRuleCall_2_0(), currentNode);
- }
- lv_referencedLabel_2_0=ruleLabelDeclarationReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "referencedLabel",
- lv_referencedLabel_2_0,
- "LabelDeclarationReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- lv_lineBreak_3_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getLabelReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSectionReferenceInstruction
-entryRuleSectionReferenceInstruction returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getSectionReferenceInstructionRule(), currentNode); }
- iv_ruleSectionReferenceInstruction=ruleSectionReferenceInstruction
- { $current=$iv_ruleSectionReferenceInstruction.current; }
- EOF
-;
-
-// Rule SectionReferenceInstruction
-ruleSectionReferenceInstruction returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( '@see'
- {
- createLeafNode(grammarAccess.getSectionReferenceInstructionAccess().getSeeKeyword_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceInstructionAccess().getReferencedObjectSectionOrParagraphReferenceParserRuleCall_1_0(), currentNode);
- }
- lv_referencedObject_1_0=ruleSectionOrParagraphReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "referencedObject",
- lv_referencedObject_1_0,
- "SectionOrParagraphReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceInstructionAccess().getTextToPrintEStringParserRuleCall_2_0(), currentNode);
- }
- lv_textToPrint_2_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "textToPrint",
- lv_textToPrint_2_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)?(
-(
- lv_lineBreak_3_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getSectionReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleAdressedAnnotation
-entryRuleAdressedAnnotation returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getAdressedAnnotationRule(), currentNode); }
- iv_ruleAdressedAnnotation=ruleAdressedAnnotation
- { $current=$iv_ruleAdressedAnnotation.current; }
- EOF
-;
-
-// Rule AdressedAnnotation
-ruleAdressedAnnotation returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
-(
- lv_lineBreak_0_0= 'lineBreak'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getLineBreakLineBreakKeyword_0_0(), "lineBreak");
- }
-
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
-
- try {
- set($current, "lineBreak", true, "lineBreak", lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)? 'AdressedAnnotation'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getAdressedAnnotationKeyword_1(), null);
- }
- '{'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getLeftCurlyBracketKeyword_2(), null);
- }
- 'receiver'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getReceiverKeyword_3(), null);
- }
- '{'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getLeftCurlyBracketKeyword_4(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_5_0(), currentNode);
- }
- lv_receiver_5_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "receiver",
- lv_receiver_5_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)( ','
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getCommaKeyword_6_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_6_1_0(), currentNode);
- }
- lv_receiver_7_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "receiver",
- lv_receiver_7_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-))* '}'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getRightCurlyBracketKeyword_7(), null);
- }
- 'source'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getSourceKeyword_8(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getSourceEStringParserRuleCall_9_0(), currentNode);
- }
- lv_source_10_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "source",
- lv_source_10_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) 'message'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getMessageKeyword_10(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getMessageEStringParserRuleCall_11_0(), currentNode);
- }
- lv_message_12_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "message",
- lv_message_12_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) 'type'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getTypeKeyword_12(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getTypeEStringParserRuleCall_13_0(), currentNode);
- }
- lv_type_14_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "type",
- lv_type_14_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) '}'
- {
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getRightCurlyBracketKeyword_14(), null);
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSectionOrParagraphReference
-entryRuleSectionOrParagraphReference returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getSectionOrParagraphReferenceRule(), currentNode); }
- iv_ruleSectionOrParagraphReference=ruleSectionOrParagraphReference
- { $current=$iv_ruleSectionOrParagraphReference.current; }
- EOF
-;
-
-// Rule SectionOrParagraphReference
-ruleSectionOrParagraphReference returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getSectionOrParagraphReferenceAccess().getIntentHrefStringWithQuotesParserRuleCall_0(), currentNode);
- }
- lv_IntentHref_0_0=ruleStringWithQuotes {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionOrParagraphReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "IntentHref",
- lv_IntentHref_0_0,
- "StringWithQuotes",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)
-;
-
-
-
-
-
-
-
-// Entry rule entryRuleLabelDeclarationReference
-entryRuleLabelDeclarationReference returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getLabelDeclarationReferenceRule(), currentNode); }
- iv_ruleLabelDeclarationReference=ruleLabelDeclarationReference
- { $current=$iv_ruleLabelDeclarationReference.current; }
- EOF
-;
-
-// Rule LabelDeclarationReference
-ruleLabelDeclarationReference returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( 'href'
- {
- createLeafNode(grammarAccess.getLabelDeclarationReferenceAccess().getHrefKeyword_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getLabelDeclarationReferenceAccess().getIntentHrefEStringParserRuleCall_1_0(), currentNode);
- }
- lv_IntentHref_1_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelDeclarationReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "IntentHref",
- lv_IntentHref_1_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)( 'referencedElement'
- {
- createLeafNode(grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementKeyword_2_0(), null);
- }
-(
-(
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelDeclarationReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- }
- {
- currentNode=createCompositeNode(grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementLabelDeclarationCrossReference_2_1_0(), currentNode);
- }
- ruleEString {
- currentNode = currentNode.getParent();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleModelingUnitInstructionReference
-entryRuleModelingUnitInstructionReference returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getModelingUnitInstructionReferenceRule(), currentNode); }
- iv_ruleModelingUnitInstructionReference=ruleModelingUnitInstructionReference
- { $current=$iv_ruleModelingUnitInstructionReference.current; }
- EOF
-;
-
-// Rule ModelingUnitInstructionReference
-ruleModelingUnitInstructionReference returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionReferenceAccess().getModelingUnitInstructionReference_ImplParserRuleCall(), currentNode);
- }
- this_ModelingUnitInstructionReference_Impl_0=ruleModelingUnitInstructionReference_Impl
- {
- $current = $this_ModelingUnitInstructionReference_Impl_0.current;
- currentNode = currentNode.getParent();
- }
-
-;
-
-
-
-
-
-// Entry rule entryRuleModelingUnitInstruction
-entryRuleModelingUnitInstruction returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getModelingUnitInstructionRule(), currentNode); }
- iv_ruleModelingUnitInstruction=ruleModelingUnitInstruction
- { $current=$iv_ruleModelingUnitInstruction.current; }
- EOF
-;
-
-// Rule ModelingUnitInstruction
-ruleModelingUnitInstruction returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getInstanceLevelInstructionParserRuleCall_0(), currentNode);
- }
- this_InstanceLevelInstruction_0=ruleInstanceLevelInstruction
- {
- $current = $this_InstanceLevelInstruction_0.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getResourceDeclarationParserRuleCall_1(), currentNode);
- }
- this_ResourceDeclaration_1=ruleResourceDeclaration
- {
- $current = $this_ResourceDeclaration_1.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getContributionInstructionParserRuleCall_2(), currentNode);
- }
- this_ContributionInstruction_2=ruleContributionInstruction
- {
- $current = $this_ContributionInstruction_2.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getAnnotationDeclarationParserRuleCall_3(), currentNode);
- }
- this_AnnotationDeclaration_3=ruleAnnotationDeclaration
- {
- $current = $this_AnnotationDeclaration_3.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getSectionReferenceinModelingUnitParserRuleCall_4(), currentNode);
- }
- this_SectionReferenceinModelingUnit_4=ruleSectionReferenceinModelingUnit
- {
- $current = $this_SectionReferenceinModelingUnit_4.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getLabelinModelingUnitParserRuleCall_5(), currentNode);
- }
- this_LabelinModelingUnit_5=ruleLabelinModelingUnit
- {
- $current = $this_LabelinModelingUnit_5.current;
- currentNode = currentNode.getParent();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleInstanceLevelInstruction
-entryRuleInstanceLevelInstruction returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getInstanceLevelInstructionRule(), currentNode); }
- iv_ruleInstanceLevelInstruction=ruleInstanceLevelInstruction
- { $current=$iv_ruleInstanceLevelInstruction.current; }
- EOF
-;
-
-// Rule InstanceLevelInstruction
-ruleInstanceLevelInstruction returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
- {
- currentNode=createCompositeNode(grammarAccess.getInstanceLevelInstructionAccess().getInstanciationInstructionParserRuleCall_0(), currentNode);
- }
- this_InstanciationInstruction_0=ruleInstanciationInstruction
- {
- $current = $this_InstanciationInstruction_0.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getInstanceLevelInstructionAccess().getStructuralFeatureAffectationParserRuleCall_1(), currentNode);
- }
- this_StructuralFeatureAffectation_1=ruleStructuralFeatureAffectation
- {
- $current = $this_StructuralFeatureAffectation_1.current;
- currentNode = currentNode.getParent();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleValueForStructuralFeature
-entryRuleValueForStructuralFeature returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getValueForStructuralFeatureRule(), currentNode); }
- iv_ruleValueForStructuralFeature=ruleValueForStructuralFeature
- { $current=$iv_ruleValueForStructuralFeature.current; }
- EOF
-;
-
-// Rule ValueForStructuralFeature
-ruleValueForStructuralFeature returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
- {
- currentNode=createCompositeNode(grammarAccess.getValueForStructuralFeatureAccess().getNativeValueForStructuralFeatureParserRuleCall_0(), currentNode);
- }
- this_NativeValueForStructuralFeature_0=ruleNativeValueForStructuralFeature
- {
- $current = $this_NativeValueForStructuralFeature_0.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getValueForStructuralFeatureAccess().getReferenceValueForStructuralFeatureParserRuleCall_1(), currentNode);
- }
- this_ReferenceValueForStructuralFeature_1=ruleReferenceValueForStructuralFeature
- {
- $current = $this_ReferenceValueForStructuralFeature_1.current;
- currentNode = currentNode.getParent();
- }
-
- |
- {
- currentNode=createCompositeNode(grammarAccess.getValueForStructuralFeatureAccess().getNewObjectValueForStructuralFeatureParserRuleCall_2(), currentNode);
- }
- this_NewObjectValueForStructuralFeature_2=ruleNewObjectValueForStructuralFeature
- {
- $current = $this_NewObjectValueForStructuralFeature_2.current;
- currentNode = currentNode.getParent();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleModelingUnitInstructionReference_Impl
-entryRuleModelingUnitInstructionReference_Impl returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getModelingUnitInstructionReference_ImplRule(), currentNode); }
- iv_ruleModelingUnitInstructionReference_Impl=ruleModelingUnitInstructionReference_Impl
- { $current=$iv_ruleModelingUnitInstructionReference_Impl.current; }
- EOF
-;
-
-// Rule ModelingUnitInstructionReference_Impl
-ruleModelingUnitInstructionReference_Impl returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
-(
- lv_IntentHref_0_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getModelingUnitInstructionReference_ImplAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_0(), "IntentHref");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getModelingUnitInstructionReference_ImplRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "IntentHref",
- lv_IntentHref_0_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSectionReferenceinModelingUnit
-entryRuleSectionReferenceinModelingUnit returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getSectionReferenceinModelingUnitRule(), currentNode); }
- iv_ruleSectionReferenceinModelingUnit=ruleSectionReferenceinModelingUnit
- { $current=$iv_ruleSectionReferenceinModelingUnit.current; }
- EOF
-;
-
-// Rule SectionReferenceinModelingUnit
-ruleSectionReferenceinModelingUnit returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( '@see'
- {
- createLeafNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getSeeKeyword_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getReferencedObjectSectionOrParagraphReferenceParserRuleCall_1_0(), currentNode);
- }
- lv_referencedObject_1_0=ruleSectionOrParagraphReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "referencedObject",
- lv_referencedObject_1_0,
- "SectionOrParagraphReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0(), currentNode);
- }
- lv_textToPrint_2_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "textToPrint",
- lv_textToPrint_2_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)?(
-(
- lv_lineBreak_3_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleLabelinModelingUnit
-entryRuleLabelinModelingUnit returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getLabelinModelingUnitRule(), currentNode); }
- iv_ruleLabelinModelingUnit=ruleLabelinModelingUnit
- { $current=$iv_ruleLabelinModelingUnit.current; }
- EOF
-;
-
-// Rule LabelinModelingUnit
-ruleLabelinModelingUnit returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
-(
- {
- currentNode=createCompositeNode(grammarAccess.getLabelinModelingUnitAccess().getTypeTypeLabelEnumRuleCall_0_0(), currentNode);
- }
- lv_type_0_0=ruleTypeLabel {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "type",
- lv_type_0_0,
- "TypeLabel",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getLabelinModelingUnitAccess().getLabelValueEStringParserRuleCall_1_0(), currentNode);
- }
- lv_labelValue_1_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "labelValue",
- lv_labelValue_1_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getLabelinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0(), currentNode);
- }
- lv_textToPrint_2_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "textToPrint",
- lv_textToPrint_2_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)?(
-(
- lv_lineBreak_3_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getLabelinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleAnnotationDeclaration
-entryRuleAnnotationDeclaration returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getAnnotationDeclarationRule(), currentNode); }
- iv_ruleAnnotationDeclaration=ruleAnnotationDeclaration
- { $current=$iv_ruleAnnotationDeclaration.current; }
- EOF
-;
-
-// Rule AnnotationDeclaration
-ruleAnnotationDeclaration returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( '@Annotation'
- {
- createLeafNode(grammarAccess.getAnnotationDeclarationAccess().getAnnotationKeyword_0(), null);
- }
-(
-(
- lv_annotationID_1_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getAnnotationDeclarationAccess().getAnnotationIDStringWithoutQuotesTerminalRuleCall_1_0(), "annotationID");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAnnotationDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "annotationID",
- lv_annotationID_1_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAnnotationDeclarationAccess().getMapKeyValForAnnotationParserRuleCall_2_0(), currentNode);
- }
- lv_map_2_0=ruleKeyValForAnnotation {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAnnotationDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "map",
- lv_map_2_0,
- "KeyValForAnnotation",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)( ','
- {
- createLeafNode(grammarAccess.getAnnotationDeclarationAccess().getCommaKeyword_3_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getAnnotationDeclarationAccess().getMapKeyValForAnnotationParserRuleCall_3_1_0(), currentNode);
- }
- lv_map_4_0=ruleKeyValForAnnotation {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAnnotationDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "map",
- lv_map_4_0,
- "KeyValForAnnotation",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-))*(
-(
- lv_lineBreak_5_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getAnnotationDeclarationAccess().getLineBreakLINE_BREAKTerminalRuleCall_4_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getAnnotationDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleInstanciationInstruction
-entryRuleInstanciationInstruction returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getInstanciationInstructionRule(), currentNode); }
- iv_ruleInstanciationInstruction=ruleInstanciationInstruction
- { $current=$iv_ruleInstanciationInstruction.current; }
- EOF
-;
-
-// Rule InstanciationInstruction
-ruleInstanciationInstruction returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( 'new'
- {
- createLeafNode(grammarAccess.getInstanciationInstructionAccess().getNewKeyword_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getInstanciationInstructionAccess().getMetaTypeTypeReferenceParserRuleCall_1_0(), currentNode);
- }
- lv_metaType_1_0=ruleTypeReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getInstanciationInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "metaType",
- lv_metaType_1_0,
- "TypeReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- lv_name_2_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getInstanciationInstructionAccess().getNameStringWithoutQuotesTerminalRuleCall_2_0(), "name");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getInstanciationInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "name",
- lv_name_2_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)? '{'
- {
- createLeafNode(grammarAccess.getInstanciationInstructionAccess().getLeftCurlyBracketKeyword_3(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getInstanciationInstructionAccess().getStructuralFeaturesStructuralFeatureAffectationParserRuleCall_4_0(), currentNode);
- }
- lv_structuralFeatures_4_0=ruleStructuralFeatureAffectation {
- if ($current==null) {
- $current = factory.create(grammarAccess.getInstanciationInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "structuralFeatures",
- lv_structuralFeatures_4_0,
- "StructuralFeatureAffectation",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)* '}'
- {
- createLeafNode(grammarAccess.getInstanciationInstructionAccess().getRightCurlyBracketKeyword_5(), null);
- }
-(
-(
- lv_lineBreak_6_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getInstanciationInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_6_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getInstanciationInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleStructuralFeatureAffectation
-entryRuleStructuralFeatureAffectation returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getStructuralFeatureAffectationRule(), currentNode); }
- iv_ruleStructuralFeatureAffectation=ruleStructuralFeatureAffectation
- { $current=$iv_ruleStructuralFeatureAffectation.current; }
- EOF
-;
-
-// Rule StructuralFeatureAffectation
-ruleStructuralFeatureAffectation returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
-(
- lv_name_0_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getStructuralFeatureAffectationAccess().getNameStringWithoutQuotesTerminalRuleCall_0_0(), "name");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "name",
- lv_name_0_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)((
-(
- {
- currentNode=createCompositeNode(grammarAccess.getStructuralFeatureAffectationAccess().getUsedOperatorAffectationOperatorEnumRuleCall_1_0_0(), currentNode);
- }
- lv_usedOperator_1_0=ruleAffectationOperator {
- if ($current==null) {
- $current = factory.create(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "usedOperator",
- lv_usedOperator_1_0,
- "AffectationOperator",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)((
-(
- {
- currentNode=createCompositeNode(grammarAccess.getStructuralFeatureAffectationAccess().getValuesValueForStructuralFeatureParserRuleCall_1_1_0_0(), currentNode);
- }
- lv_values_2_0=ruleValueForStructuralFeature {
- if ($current==null) {
- $current = factory.create(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "values",
- lv_values_2_0,
- "ValueForStructuralFeature",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)
- |( '['
- {
- createLeafNode(grammarAccess.getStructuralFeatureAffectationAccess().getLeftSquareBracketKeyword_1_1_1_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getStructuralFeatureAffectationAccess().getValuesValueForStructuralFeatureParserRuleCall_1_1_1_1_0(), currentNode);
- }
- lv_values_4_0=ruleValueForStructuralFeature {
- if ($current==null) {
- $current = factory.create(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "values",
- lv_values_4_0,
- "ValueForStructuralFeature",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)( ','
- {
- createLeafNode(grammarAccess.getStructuralFeatureAffectationAccess().getCommaKeyword_1_1_1_2_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getStructuralFeatureAffectationAccess().getValuesValueForStructuralFeatureParserRuleCall_1_1_1_2_1_0(), currentNode);
- }
- lv_values_6_0=ruleValueForStructuralFeature {
- if ($current==null) {
- $current = factory.create(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "values",
- lv_values_6_0,
- "ValueForStructuralFeature",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-))* ']'
- {
- createLeafNode(grammarAccess.getStructuralFeatureAffectationAccess().getRightSquareBracketKeyword_1_1_1_3(), null);
- }
-))) ';'
- {
- createLeafNode(grammarAccess.getStructuralFeatureAffectationAccess().getSemicolonKeyword_2(), null);
- }
-(
-(
- lv_lineBreak_9_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getStructuralFeatureAffectationAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getStructuralFeatureAffectationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleNativeValueForStructuralFeature
-entryRuleNativeValueForStructuralFeature returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getNativeValueForStructuralFeatureRule(), currentNode); }
- iv_ruleNativeValueForStructuralFeature=ruleNativeValueForStructuralFeature
- { $current=$iv_ruleNativeValueForStructuralFeature.current; }
- EOF
-;
-
-// Rule NativeValueForStructuralFeature
-ruleNativeValueForStructuralFeature returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
-(
- {
- currentNode=createCompositeNode(grammarAccess.getNativeValueForStructuralFeatureAccess().getValueStringWithQuotesParserRuleCall_0_0(), currentNode);
- }
- lv_value_0_0=ruleStringWithQuotes {
- if ($current==null) {
- $current = factory.create(grammarAccess.getNativeValueForStructuralFeatureRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "value",
- lv_value_0_0,
- "StringWithQuotes",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)(
-(
- lv_lineBreak_1_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getNativeValueForStructuralFeatureAccess().getLineBreakLINE_BREAKTerminalRuleCall_1_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getNativeValueForStructuralFeatureRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleNewObjectValueForStructuralFeature
-entryRuleNewObjectValueForStructuralFeature returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getNewObjectValueForStructuralFeatureRule(), currentNode); }
- iv_ruleNewObjectValueForStructuralFeature=ruleNewObjectValueForStructuralFeature
- { $current=$iv_ruleNewObjectValueForStructuralFeature.current; }
- EOF
-;
-
-// Rule NewObjectValueForStructuralFeature
-ruleNewObjectValueForStructuralFeature returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getNewObjectValueForStructuralFeatureAccess().getValueInstanciationInstructionParserRuleCall_0(), currentNode);
- }
- lv_value_0_0=ruleInstanciationInstruction {
- if ($current==null) {
- $current = factory.create(grammarAccess.getNewObjectValueForStructuralFeatureRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "value",
- lv_value_0_0,
- "InstanciationInstruction",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleReferenceValueForStructuralFeature
-entryRuleReferenceValueForStructuralFeature returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getReferenceValueForStructuralFeatureRule(), currentNode); }
- iv_ruleReferenceValueForStructuralFeature=ruleReferenceValueForStructuralFeature
- { $current=$iv_ruleReferenceValueForStructuralFeature.current; }
- EOF
-;
-
-// Rule ReferenceValueForStructuralFeature
-ruleReferenceValueForStructuralFeature returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getReferenceValueForStructuralFeatureAccess().getReferencedElementInstanciationInstructionReferenceParserRuleCall_0(), currentNode);
- }
- lv_referencedElement_0_0=ruleInstanciationInstructionReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getReferenceValueForStructuralFeatureRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "referencedElement",
- lv_referencedElement_0_0,
- "InstanciationInstructionReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleContributionInstruction
-entryRuleContributionInstruction returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getContributionInstructionRule(), currentNode); }
- iv_ruleContributionInstruction=ruleContributionInstruction
- { $current=$iv_ruleContributionInstruction.current; }
- EOF
-;
-
-// Rule ContributionInstruction
-ruleContributionInstruction returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
-(
- {
- currentNode=createCompositeNode(grammarAccess.getContributionInstructionAccess().getReferencedElementModelingUnitInstructionReferenceParserRuleCall_0_0(), currentNode);
- }
- lv_referencedElement_0_0=ruleModelingUnitInstructionReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getContributionInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "referencedElement",
- lv_referencedElement_0_0,
- "ModelingUnitInstructionReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) '{'
- {
- createLeafNode(grammarAccess.getContributionInstructionAccess().getLeftCurlyBracketKeyword_1(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getContributionInstructionAccess().getContributionsModelingUnitInstructionParserRuleCall_2_0(), currentNode);
- }
- lv_contributions_2_0=ruleModelingUnitInstruction {
- if ($current==null) {
- $current = factory.create(grammarAccess.getContributionInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "contributions",
- lv_contributions_2_0,
- "ModelingUnitInstruction",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-)* '}'
- {
- createLeafNode(grammarAccess.getContributionInstructionAccess().getRightCurlyBracketKeyword_3(), null);
- }
-(
-(
- lv_lineBreak_4_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getContributionInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_4_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getContributionInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleTypeReference
-entryRuleTypeReference returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getTypeReferenceRule(), currentNode); }
- iv_ruleTypeReference=ruleTypeReference
- { $current=$iv_ruleTypeReference.current; }
- EOF
-;
-
-// Rule TypeReference
-ruleTypeReference returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
- {
- temp=factory.create(grammarAccess.getTypeReferenceAccess().getTypeReferenceAction_0().getType().getClassifier());
- $current = temp;
- temp = null;
- CompositeNode newNode = createCompositeNode(grammarAccess.getTypeReferenceAccess().getTypeReferenceAction_0(), currentNode.getParent());
- newNode.getChildren().add(currentNode);
- moveLookaheadInfo(currentNode, newNode);
- currentNode = newNode;
- associateNodeWithAstElement(currentNode, $current);
- }
-)(
-(
- lv_IntentHref_1_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getTypeReferenceAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_1_0(), "IntentHref");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getTypeReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "IntentHref",
- lv_IntentHref_1_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleInstanciationInstructionReference
-entryRuleInstanciationInstructionReference returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getInstanciationInstructionReferenceRule(), currentNode); }
- iv_ruleInstanciationInstructionReference=ruleInstanciationInstructionReference
- { $current=$iv_ruleInstanciationInstructionReference.current; }
- EOF
-;
-
-// Rule InstanciationInstructionReference
-ruleInstanciationInstructionReference returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
- {
- temp=factory.create(grammarAccess.getInstanciationInstructionReferenceAccess().getInstanciationInstructionReferenceAction_0().getType().getClassifier());
- $current = temp;
- temp = null;
- CompositeNode newNode = createCompositeNode(grammarAccess.getInstanciationInstructionReferenceAccess().getInstanciationInstructionReferenceAction_0(), currentNode.getParent());
- newNode.getChildren().add(currentNode);
- moveLookaheadInfo(currentNode, newNode);
- currentNode = newNode;
- associateNodeWithAstElement(currentNode, $current);
- }
-)(
-(
- lv_IntentHref_1_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getInstanciationInstructionReferenceAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_1_0(), "IntentHref");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getInstanciationInstructionReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "IntentHref",
- lv_IntentHref_1_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleKeyValForAnnotation
-entryRuleKeyValForAnnotation returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getKeyValForAnnotationRule(), currentNode); }
- iv_ruleKeyValForAnnotation=ruleKeyValForAnnotation
- { $current=$iv_ruleKeyValForAnnotation.current; }
- EOF
-;
-
-// Rule KeyValForAnnotation
-ruleKeyValForAnnotation returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
- {
- temp=factory.create(grammarAccess.getKeyValForAnnotationAccess().getKeyValForAnnotationAction_0().getType().getClassifier());
- $current = temp;
- temp = null;
- CompositeNode newNode = createCompositeNode(grammarAccess.getKeyValForAnnotationAccess().getKeyValForAnnotationAction_0(), currentNode.getParent());
- newNode.getChildren().add(currentNode);
- moveLookaheadInfo(currentNode, newNode);
- currentNode = newNode;
- associateNodeWithAstElement(currentNode, $current);
- }
-)(
-(
- lv_key_1_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getKeyValForAnnotationAccess().getKeyStringWithoutQuotesTerminalRuleCall_1_0(), "key");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getKeyValForAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "key",
- lv_key_1_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-) '='
- {
- createLeafNode(grammarAccess.getKeyValForAnnotationAccess().getEqualsSignKeyword_2(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getKeyValForAnnotationAccess().getValueEStringParserRuleCall_3_0(), currentNode);
- }
- lv_value_3_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getKeyValForAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "value",
- lv_value_3_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleResourceReference
-entryRuleResourceReference returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getResourceReferenceRule(), currentNode); }
- iv_ruleResourceReference=ruleResourceReference
- { $current=$iv_ruleResourceReference.current; }
- EOF
-;
-
-// Rule ResourceReference
-ruleResourceReference returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-( '['
- {
- createLeafNode(grammarAccess.getResourceReferenceAccess().getLeftSquareBracketKeyword_0(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getResourceReferenceAccess().getIntentHrefEStringParserRuleCall_1_0(), currentNode);
- }
- lv_IntentHref_1_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "IntentHref",
- lv_IntentHref_1_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) ']'
- {
- createLeafNode(grammarAccess.getResourceReferenceAccess().getRightSquareBracketKeyword_2(), null);
- }
-(
-(
- lv_lineBreak_3_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getResourceReferenceAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleResourceDeclaration
-entryRuleResourceDeclaration returns [EObject current=null]
- :
- { currentNode = createCompositeNode(grammarAccess.getResourceDeclarationRule(), currentNode); }
- iv_ruleResourceDeclaration=ruleResourceDeclaration
- { $current=$iv_ruleResourceDeclaration.current; }
- EOF
-;
-
-// Rule ResourceDeclaration
-ruleResourceDeclaration returns [EObject current=null]
- @init { EObject temp=null; setCurrentLookahead(); resetLookahead();
- }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-((
- {
- temp=factory.create(grammarAccess.getResourceDeclarationAccess().getResourceDeclarationAction_0().getType().getClassifier());
- $current = temp;
- temp = null;
- CompositeNode newNode = createCompositeNode(grammarAccess.getResourceDeclarationAccess().getResourceDeclarationAction_0(), currentNode.getParent());
- newNode.getChildren().add(currentNode);
- moveLookaheadInfo(currentNode, newNode);
- currentNode = newNode;
- associateNodeWithAstElement(currentNode, $current);
- }
-) 'Resource'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getResourceKeyword_1(), null);
- }
-(
-(
- lv_name_2_0=RULE_STRINGWITHOUTQUOTES
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getNameStringWithoutQuotesTerminalRuleCall_2_0(), "name");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "name",
- lv_name_2_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)? '{'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getLeftCurlyBracketKeyword_3(), null);
- }
-(RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getLINE_BREAKTerminalRuleCall_4(), null);
- }
-)?( 'URI'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getURIKeyword_5_0(), null);
- }
- '='
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getEqualsSignKeyword_5_1(), null);
- }
-(
-(
- lv_uri_7_0=RULE_URI
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getUriURITerminalRuleCall_5_2_0(), "uri");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "uri",
- lv_uri_7_0,
- "URI",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-) ';'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getSemicolonKeyword_5_3(), null);
- }
-(RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getLINE_BREAKTerminalRuleCall_5_4(), null);
- }
-)?)?( 'contentType'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getContentTypeKeyword_6_0(), null);
- }
- '='
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getEqualsSignKeyword_6_1(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getResourceDeclarationAccess().getContentTypeEStringParserRuleCall_6_2_0(), currentNode);
- }
- lv_contentType_12_0=ruleEString {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- set(
- $current,
- "contentType",
- lv_contentType_12_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) ';'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getSemicolonKeyword_6_3(), null);
- }
-(RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getLINE_BREAKTerminalRuleCall_6_4(), null);
- }
-)?)?( 'content'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getContentKeyword_7_0(), null);
- }
- '+='
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getPlusSignEqualsSignKeyword_7_1(), null);
- }
-(
-(
- {
- currentNode=createCompositeNode(grammarAccess.getResourceDeclarationAccess().getContentModelingUnitInstructionReferenceParserRuleCall_7_2_0(), currentNode);
- }
- lv_content_17_0=ruleModelingUnitInstructionReference {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), $current);
- }
- try {
- add(
- $current,
- "content",
- lv_content_17_0,
- "ModelingUnitInstructionReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
- }
-
-)
-) ';'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getSemicolonKeyword_7_3(), null);
- }
-(RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getLINE_BREAKTerminalRuleCall_7_4(), null);
- }
-)?)* '}'
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getRightCurlyBracketKeyword_8(), null);
- }
-(
-(
- lv_lineBreak_21_0=RULE_LINE_BREAK
- {
- createLeafNode(grammarAccess.getResourceDeclarationAccess().getLineBreakLINE_BREAKTerminalRuleCall_9_0(), "lineBreak");
- }
- {
- if ($current==null) {
- $current = factory.create(grammarAccess.getResourceDeclarationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, $current);
- }
- try {
- set(
- $current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Rule TypeLabel
-ruleTypeLabel returns [Enumerator current=null]
- @init { setCurrentLookahead(); resetLookahead(); }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(( '@lazylabel'
- {
- $current = grammarAccess.getTypeLabelAccess().getLAZYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- createLeafNode(grammarAccess.getTypeLabelAccess().getLAZYEnumLiteralDeclaration_0(), null);
- }
-)
- |( '@label'
- {
- $current = grammarAccess.getTypeLabelAccess().getEXPLICITEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- createLeafNode(grammarAccess.getTypeLabelAccess().getEXPLICITEnumLiteralDeclaration_1(), null);
- }
-));
-
-
-
-// Rule AffectationOperator
-ruleAffectationOperator returns [Enumerator current=null]
- @init { setCurrentLookahead(); resetLookahead(); }
- @after { resetLookahead();
- lastConsumedNode = currentNode;
- }:
-(( '+='
- {
- $current = grammarAccess.getAffectationOperatorAccess().getMULTI_VALUED_AFFECTATIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- createLeafNode(grammarAccess.getAffectationOperatorAccess().getMULTI_VALUED_AFFECTATIONEnumLiteralDeclaration_0(), null);
- }
-)
- |( '='
- {
- $current = grammarAccess.getAffectationOperatorAccess().getSINGLE_VALUED_AFFECTATIONEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- createLeafNode(grammarAccess.getAffectationOperatorAccess().getSINGLE_VALUED_AFFECTATIONEnumLiteralDeclaration_1(), null);
- }
-));
-
-
-
-RULE_EINT : RULE_INT;
-
-RULE_STRINGWITHOUTQUOTES : ('a'..'z'|'A'..'Z'|'0'..'9'|'.'|':'|'_'|'-')+;
-
-RULE_URI : '"' ('file:/'|'platform:/'|'cdo:/') ('a'..'z'|'A'..'Z'|'0'..'9'|'.'|'/'|':'|'_'|'-')+ '"';
-
-RULE_LINE_BREAK : '\n';
-
-RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
-
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
-
-
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.tokens b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.tokens
deleted file mode 100644
index 6ae6762..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.tokens
+++ /dev/null
@@ -1,36 +0,0 @@
-RULE_ID=10
-RULE_STRING=6
-RULE_STRINGWITHOUTQUOTES=4
-RULE_ANY_OTHER=14
-RULE_EINT=9
-RULE_LINE_BREAK=5
-RULE_INT=8
-RULE_WS=13
-RULE_URI=7
-RULE_SL_COMMENT=12
-RULE_ML_COMMENT=11
-'AdressedAnnotation'=17
-'new'=28
-'type'=24
-'contentType'=35
-'URI'=34
-';'=31
-'='=32
-'@Annotation'=27
-'source'=22
-'}'=21
-'lineBreak'=16
-'referencedElement'=26
-'@lazylabel'=38
-'@label'=39
-'message'=23
-'+='=37
-'{'=18
-'receiver'=19
-'content'=36
-'['=29
-','=20
-'@see'=15
-'href'=25
-'Resource'=33
-']'=30
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammarLexer.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammarLexer.java
deleted file mode 100644
index 7234614..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammarLexer.java
+++ /dev/null
@@ -1,1782 +0,0 @@
-package org.eclipse.mylyn.docs.intent.parser.modelingunit.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 InternalModelingUnitXTextGrammarLexer extends Lexer {
- public static final int RULE_ID=10;
- public static final int RULE_ANY_OTHER=14;
- public static final int RULE_LINE_BREAK=5;
- public static final int T29=29;
- public static final int T28=28;
- public static final int T27=27;
- public static final int T26=26;
- public static final int T25=25;
- public static final int RULE_URI=7;
- public static final int Tokens=40;
- public static final int T24=24;
- public static final int EOF=-1;
- public static final int RULE_SL_COMMENT=12;
- public static final int T23=23;
- public static final int T22=22;
- public static final int T21=21;
- public static final int T20=20;
- public static final int RULE_ML_COMMENT=11;
- public static final int RULE_STRING=6;
- public static final int RULE_STRINGWITHOUTQUOTES=4;
- public static final int RULE_EINT=9;
- public static final int RULE_INT=8;
- public static final int T38=38;
- public static final int T37=37;
- public static final int T39=39;
- public static final int T34=34;
- public static final int RULE_WS=13;
- public static final int T15=15;
- public static final int T33=33;
- public static final int T16=16;
- public static final int T36=36;
- public static final int T17=17;
- public static final int T35=35;
- public static final int T18=18;
- public static final int T30=30;
- public static final int T19=19;
- public static final int T32=32;
- public static final int T31=31;
- public InternalModelingUnitXTextGrammarLexer() {;}
- public InternalModelingUnitXTextGrammarLexer(CharStream input) {
- super(input);
- }
- public String getGrammarFileName() { return "../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g"; }
-
- // $ANTLR start T15
- public final void mT15() throws RecognitionException {
- try {
- int _type = T15;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:10:5: ( '@see' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:10:7: '@see'
- {
- match("@see");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T15
-
- // $ANTLR start T16
- public final void mT16() throws RecognitionException {
- try {
- int _type = T16;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:11:5: ( 'lineBreak' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:11:7: 'lineBreak'
- {
- match("lineBreak");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T16
-
- // $ANTLR start T17
- public final void mT17() throws RecognitionException {
- try {
- int _type = T17;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:12:5: ( 'AdressedAnnotation' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:12:7: 'AdressedAnnotation'
- {
- match("AdressedAnnotation");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T17
-
- // $ANTLR start T18
- public final void mT18() throws RecognitionException {
- try {
- int _type = T18;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:13:5: ( '{' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:13:7: '{'
- {
- match('{');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T18
-
- // $ANTLR start T19
- public final void mT19() throws RecognitionException {
- try {
- int _type = T19;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:14:5: ( 'receiver' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:14:7: 'receiver'
- {
- match("receiver");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T19
-
- // $ANTLR start T20
- public final void mT20() throws RecognitionException {
- try {
- int _type = T20;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:15:5: ( ',' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:15:7: ','
- {
- match(',');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T20
-
- // $ANTLR start T21
- public final void mT21() throws RecognitionException {
- try {
- int _type = T21;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:16:5: ( '}' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:16:7: '}'
- {
- match('}');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T21
-
- // $ANTLR start T22
- public final void mT22() throws RecognitionException {
- try {
- int _type = T22;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:17:5: ( 'source' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:17:7: 'source'
- {
- match("source");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T22
-
- // $ANTLR start T23
- public final void mT23() throws RecognitionException {
- try {
- int _type = T23;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:18:5: ( 'message' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:18:7: 'message'
- {
- match("message");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T23
-
- // $ANTLR start T24
- public final void mT24() throws RecognitionException {
- try {
- int _type = T24;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:19:5: ( 'type' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:19:7: 'type'
- {
- match("type");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T24
-
- // $ANTLR start T25
- public final void mT25() throws RecognitionException {
- try {
- int _type = T25;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:20:5: ( 'href' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:20:7: 'href'
- {
- match("href");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T25
-
- // $ANTLR start T26
- public final void mT26() throws RecognitionException {
- try {
- int _type = T26;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:21:5: ( 'referencedElement' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:21:7: 'referencedElement'
- {
- match("referencedElement");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T26
-
- // $ANTLR start T27
- public final void mT27() throws RecognitionException {
- try {
- int _type = T27;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:22:5: ( '@Annotation' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:22:7: '@Annotation'
- {
- match("@Annotation");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T27
-
- // $ANTLR start T28
- public final void mT28() throws RecognitionException {
- try {
- int _type = T28;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:23:5: ( 'new' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:23:7: 'new'
- {
- match("new");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T28
-
- // $ANTLR start T29
- public final void mT29() throws RecognitionException {
- try {
- int _type = T29;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:24:5: ( '[' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:24:7: '['
- {
- match('[');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T29
-
- // $ANTLR start T30
- public final void mT30() throws RecognitionException {
- try {
- int _type = T30;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:25:5: ( ']' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:25:7: ']'
- {
- match(']');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T30
-
- // $ANTLR start T31
- public final void mT31() throws RecognitionException {
- try {
- int _type = T31;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:26:5: ( ';' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:26:7: ';'
- {
- match(';');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T31
-
- // $ANTLR start T32
- public final void mT32() throws RecognitionException {
- try {
- int _type = T32;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:27:5: ( '=' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:27:7: '='
- {
- match('=');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T32
-
- // $ANTLR start T33
- public final void mT33() throws RecognitionException {
- try {
- int _type = T33;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:28:5: ( 'Resource' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:28:7: 'Resource'
- {
- match("Resource");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T33
-
- // $ANTLR start T34
- public final void mT34() throws RecognitionException {
- try {
- int _type = T34;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:29:5: ( 'URI' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:29:7: 'URI'
- {
- match("URI");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T34
-
- // $ANTLR start T35
- public final void mT35() throws RecognitionException {
- try {
- int _type = T35;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:30:5: ( 'contentType' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:30:7: 'contentType'
- {
- match("contentType");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T35
-
- // $ANTLR start T36
- public final void mT36() throws RecognitionException {
- try {
- int _type = T36;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:31:5: ( 'content' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:31:7: 'content'
- {
- match("content");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T36
-
- // $ANTLR start T37
- public final void mT37() throws RecognitionException {
- try {
- int _type = T37;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:32:5: ( '+=' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:32:7: '+='
- {
- match("+=");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T37
-
- // $ANTLR start T38
- public final void mT38() throws RecognitionException {
- try {
- int _type = T38;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:33:5: ( '@lazylabel' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:33:7: '@lazylabel'
- {
- match("@lazylabel");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T38
-
- // $ANTLR start T39
- public final void mT39() throws RecognitionException {
- try {
- int _type = T39;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:34:5: ( '@label' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:34:7: '@label'
- {
- match("@label");
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end T39
-
- // $ANTLR start RULE_EINT
- public final void mRULE_EINT() throws RecognitionException {
- try {
- int _type = RULE_EINT;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2554:11: ( RULE_INT )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2554:13: RULE_INT
- {
- mRULE_INT();
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_EINT
-
- // $ANTLR start RULE_STRINGWITHOUTQUOTES
- public final void mRULE_STRINGWITHOUTQUOTES() throws RecognitionException {
- try {
- int _type = RULE_STRINGWITHOUTQUOTES;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2556:26: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '.' | ':' | '_' | '-' )+ )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2556:28: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '.' | ':' | '_' | '-' )+
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2556:28: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '.' | ':' | '_' | '-' )+
- int cnt1=0;
- loop1:
- do {
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( ((LA1_0>='-' && LA1_0<='.')||(LA1_0>='0' && LA1_0<=':')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {
- alt1=1;
- }
-
-
- switch (alt1) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:
- {
- if ( (input.LA(1)>='-' && input.LA(1)<='.')||(input.LA(1)>='0' && input.LA(1)<=':')||(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 :
- if ( cnt1 >= 1 ) break loop1;
- EarlyExitException eee =
- new EarlyExitException(1, input);
- throw eee;
- }
- cnt1++;
- } while (true);
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_STRINGWITHOUTQUOTES
-
- // $ANTLR start RULE_URI
- public final void mRULE_URI() throws RecognitionException {
- try {
- int _type = RULE_URI;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:10: ( '\"' ( 'file:/' | 'platform:/' | 'cdo:/' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '.' | '/' | ':' | '_' | '-' )+ '\"' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:12: '\"' ( 'file:/' | 'platform:/' | 'cdo:/' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '.' | '/' | ':' | '_' | '-' )+ '\"'
- {
- match('\"');
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:16: ( 'file:/' | 'platform:/' | 'cdo:/' )
- int alt2=3;
- switch ( input.LA(1) ) {
- case 'f':
- {
- alt2=1;
- }
- break;
- case 'p':
- {
- alt2=2;
- }
- break;
- case 'c':
- {
- alt2=3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("2558:16: ( 'file:/' | 'platform:/' | 'cdo:/' )", 2, 0, input);
-
- throw nvae;
- }
-
- switch (alt2) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:17: 'file:/'
- {
- match("file:/");
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:26: 'platform:/'
- {
- match("platform:/");
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:39: 'cdo:/'
- {
- match("cdo:/");
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2558:48: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '.' | '/' | ':' | '_' | '-' )+
- int cnt3=0;
- loop3:
- do {
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( ((LA3_0>='-' && LA3_0<=':')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {
- alt3=1;
- }
-
-
- switch (alt3) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:
- {
- if ( (input.LA(1)>='-' && input.LA(1)<=':')||(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 :
- if ( cnt3 >= 1 ) break loop3;
- EarlyExitException eee =
- new EarlyExitException(3, input);
- throw eee;
- }
- cnt3++;
- } while (true);
-
- match('\"');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_URI
-
- // $ANTLR start RULE_LINE_BREAK
- public final void mRULE_LINE_BREAK() throws RecognitionException {
- try {
- int _type = RULE_LINE_BREAK;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2560:17: ( '\\n' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2560:19: '\\n'
- {
- match('\n');
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_LINE_BREAK
-
- // $ANTLR start RULE_ID
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2562:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2562:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2562:11: ( '^' )?
- int alt4=2;
- int LA4_0 = input.LA(1);
-
- if ( (LA4_0=='^') ) {
- alt4=1;
- }
- switch (alt4) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2562: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;
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2562:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop5:
- do {
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( ((LA5_0>='0' && LA5_0<='9')||(LA5_0>='A' && LA5_0<='Z')||LA5_0=='_'||(LA5_0>='a' && LA5_0<='z')) ) {
- alt5=1;
- }
-
-
- switch (alt5) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.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 loop5;
- }
- } while (true);
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_ID
-
- // $ANTLR start RULE_INT
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2564:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2564:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2564:12: ( '0' .. '9' )+
- int cnt6=0;
- loop6:
- do {
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( ((LA6_0>='0' && LA6_0<='9')) ) {
- alt6=1;
- }
-
-
- switch (alt6) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2564:13: '0' .. '9'
- {
- matchRange('0','9');
-
- }
- break;
-
- default :
- if ( cnt6 >= 1 ) break loop6;
- EarlyExitException eee =
- new EarlyExitException(6, input);
- throw eee;
- }
- cnt6++;
- } while (true);
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_INT
-
- // $ANTLR start RULE_STRING
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0=='\"') ) {
- alt9=1;
- }
- else if ( (LA9_0=='\'') ) {
- alt9=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("2566:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 9, 0, input);
-
- throw nvae;
- }
- switch (alt9) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop7:
- do {
- int alt7=3;
- int LA7_0 = input.LA(1);
-
- if ( (LA7_0=='\\') ) {
- alt7=1;
- }
- else if ( ((LA7_0>='\u0000' && LA7_0<='!')||(LA7_0>='#' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFE')) ) {
- alt7=2;
- }
-
-
- switch (alt7) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
- {
- 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.consume();
-
- }
- else {
- MismatchedSetException mse =
- new MismatchedSetException(null,input);
- recover(mse); throw mse;
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:62: ~ ( ( '\\\\' | '\"' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse =
- new MismatchedSetException(null,input);
- recover(mse); throw mse;
- }
-
-
- }
- break;
-
- default :
- break loop7;
- }
- } while (true);
-
- match('\"');
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
- {
- match('\'');
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop8:
- do {
- int alt8=3;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0=='\\') ) {
- alt8=1;
- }
- else if ( ((LA8_0>='\u0000' && LA8_0<='&')||(LA8_0>='(' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\uFFFE')) ) {
- alt8=2;
- }
-
-
- switch (alt8) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
- {
- 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.consume();
-
- }
- else {
- MismatchedSetException mse =
- new MismatchedSetException(null,input);
- recover(mse); throw mse;
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2566:129: ~ ( ( '\\\\' | '\\'' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse =
- new MismatchedSetException(null,input);
- recover(mse); throw mse;
- }
-
-
- }
- break;
-
- default :
- break loop8;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_STRING
-
- // $ANTLR start RULE_ML_COMMENT
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2568:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2568:19: '/*' ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2568:24: ( options {greedy=false; } : . )*
- loop10:
- do {
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( (LA10_0=='*') ) {
- int LA10_1 = input.LA(2);
-
- if ( (LA10_1=='/') ) {
- alt10=2;
- }
- else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFE')) ) {
- alt10=1;
- }
-
-
- }
- else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFE')) ) {
- alt10=1;
- }
-
-
- switch (alt10) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2568:52: .
- {
- matchAny();
-
- }
- break;
-
- default :
- break loop10;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- this.type = _type;
- }
- 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;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop11:
- do {
- int alt11=2;
- int LA11_0 = input.LA(1);
-
- if ( ((LA11_0>='\u0000' && LA11_0<='\t')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\uFFFE')) ) {
- alt11=1;
- }
-
-
- switch (alt11) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570: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)<='\uFFFE') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse =
- new MismatchedSetException(null,input);
- recover(mse); throw mse;
- }
-
-
- }
- break;
-
- default :
- break loop11;
- }
- } while (true);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:40: ( ( '\\r' )? '\\n' )?
- int alt13=2;
- int LA13_0 = input.LA(1);
-
- if ( (LA13_0=='\n'||LA13_0=='\r') ) {
- alt13=1;
- }
- switch (alt13) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:41: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:41: ( '\\r' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
-
- if ( (LA12_0=='\r') ) {
- alt12=1;
- }
- switch (alt12) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2570:41: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_SL_COMMENT
-
- // $ANTLR start RULE_WS
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2572:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2572:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2572:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt14=0;
- loop14:
- do {
- int alt14=2;
- int LA14_0 = input.LA(1);
-
- if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {
- alt14=1;
- }
-
-
- switch (alt14) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.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 ( cnt14 >= 1 ) break loop14;
- EarlyExitException eee =
- new EarlyExitException(14, input);
- throw eee;
- }
- cnt14++;
- } while (true);
-
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_WS
-
- // $ANTLR start RULE_ANY_OTHER
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2574:16: ( . )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:2574:18: .
- {
- matchAny();
-
- }
-
- this.type = _type;
- }
- finally {
- }
- }
- // $ANTLR end RULE_ANY_OTHER
-
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:8: ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | RULE_EINT | RULE_STRINGWITHOUTQUOTES | RULE_URI | RULE_LINE_BREAK | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt15=36;
- alt15 = dfa15.predict(input);
- switch (alt15) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:10: T15
- {
- mT15();
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:14: T16
- {
- mT16();
-
- }
- break;
- case 3 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:18: T17
- {
- mT17();
-
- }
- break;
- case 4 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:22: T18
- {
- mT18();
-
- }
- break;
- case 5 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:26: T19
- {
- mT19();
-
- }
- break;
- case 6 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:30: T20
- {
- mT20();
-
- }
- break;
- case 7 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:34: T21
- {
- mT21();
-
- }
- break;
- case 8 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:38: T22
- {
- mT22();
-
- }
- break;
- case 9 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:42: T23
- {
- mT23();
-
- }
- break;
- case 10 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:46: T24
- {
- mT24();
-
- }
- break;
- case 11 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:50: T25
- {
- mT25();
-
- }
- break;
- case 12 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:54: T26
- {
- mT26();
-
- }
- break;
- case 13 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:58: T27
- {
- mT27();
-
- }
- break;
- case 14 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:62: T28
- {
- mT28();
-
- }
- break;
- case 15 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:66: T29
- {
- mT29();
-
- }
- break;
- case 16 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:70: T30
- {
- mT30();
-
- }
- break;
- case 17 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:74: T31
- {
- mT31();
-
- }
- break;
- case 18 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:78: T32
- {
- mT32();
-
- }
- break;
- case 19 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:82: T33
- {
- mT33();
-
- }
- break;
- case 20 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:86: T34
- {
- mT34();
-
- }
- break;
- case 21 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:90: T35
- {
- mT35();
-
- }
- break;
- case 22 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:94: T36
- {
- mT36();
-
- }
- break;
- case 23 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:98: T37
- {
- mT37();
-
- }
- break;
- case 24 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:102: T38
- {
- mT38();
-
- }
- break;
- case 25 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:106: T39
- {
- mT39();
-
- }
- break;
- case 26 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:110: RULE_EINT
- {
- mRULE_EINT();
-
- }
- break;
- case 27 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:120: RULE_STRINGWITHOUTQUOTES
- {
- mRULE_STRINGWITHOUTQUOTES();
-
- }
- break;
- case 28 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:145: RULE_URI
- {
- mRULE_URI();
-
- }
- break;
- case 29 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:154: RULE_LINE_BREAK
- {
- mRULE_LINE_BREAK();
-
- }
- break;
- case 30 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:170: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 31 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:178: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 32 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:187: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 33 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:199: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 34 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:215: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 35 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:231: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 36 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1:239: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA15 dfa15 = new DFA15(this);
- static final String DFA15_eotS =
- "\1\uffff\1\36\2\44\1\uffff\1\44\2\uffff\5\44\4\uffff\3\44\1\36\1"+
- "\67\1\44\1\36\1\75\1\36\1\uffff\2\36\5\uffff\2\44\1\uffff\1\44\1"+
- "\uffff\1\44\2\uffff\5\44\4\uffff\3\44\2\uffff\1\67\12\uffff\10\44"+
- "\1\134\1\44\1\136\1\44\5\uffff\6\44\1\151\1\152\1\uffff\1\44\1\uffff"+
- "\1\44\3\uffff\6\44\2\uffff\2\44\3\uffff\4\44\1\177\3\44\3\uffff"+
- "\4\44\1\uffff\1\u008a\1\44\1\u008d\3\uffff\2\44\1\u0092\1\44\1\uffff"+
- "\1\u0094\1\44\3\uffff\1\u0098\1\44\1\uffff\1\44\1\uffff\1\44\3\uffff"+
- "\3\44\1\uffff\2\44\1\u00a3\1\uffff\2\44\1\uffff\11\44\1\u00af\1"+
- "\u00b0\2\uffff";
- static final String DFA15_eofS =
- "\u00b1\uffff";
- static final String DFA15_minS =
- "\1\0\1\101\2\60\1\uffff\1\60\2\uffff\5\60\4\uffff\3\60\1\75\1\55"+
- "\1\60\1\0\1\11\1\101\1\uffff\1\0\1\52\3\uffff\1\141\1\uffff\2\60"+
- "\1\uffff\1\60\1\uffff\1\60\2\uffff\5\60\4\uffff\3\60\2\uffff\1\55"+
- "\3\0\6\uffff\1\142\10\60\1\55\1\60\1\55\1\60\3\0\2\uffff\6\60\2"+
- "\55\1\uffff\1\60\1\uffff\1\60\3\0\6\60\2\uffff\2\60\3\0\4\60\1\55"+
- "\3\60\3\0\4\60\1\uffff\1\55\1\60\1\55\3\0\2\60\1\55\1\60\1\uffff"+
- "\1\55\1\60\1\uffff\1\0\1\uffff\1\55\1\60\1\uffff\1\60\1\uffff\1"+
- "\60\1\0\2\uffff\3\60\1\0\2\60\1\55\1\0\2\60\1\uffff\11\60\2\55\2"+
- "\uffff";
- static final String DFA15_maxS =
- "\1\ufffe\1\163\2\172\1\uffff\1\172\2\uffff\5\172\4\uffff\3\172\1"+
- "\75\2\172\1\ufffe\1\40\1\172\1\uffff\1\ufffe\1\57\3\uffff\1\141"+
- "\1\uffff\2\172\1\uffff\1\172\1\uffff\1\172\2\uffff\5\172\4\uffff"+
- "\3\172\2\uffff\1\172\3\ufffe\6\uffff\15\172\3\ufffe\2\uffff\10\172"+
- "\1\uffff\1\172\1\uffff\1\172\3\ufffe\6\172\2\uffff\2\172\3\ufffe"+
- "\10\172\3\ufffe\4\172\1\uffff\3\172\3\ufffe\4\172\1\uffff\2\172"+
- "\1\uffff\1\ufffe\1\uffff\2\172\1\uffff\1\172\1\uffff\1\172\1\ufffe"+
- "\2\uffff\3\172\1\ufffe\3\172\1\ufffe\2\172\1\uffff\13\172\2\uffff";
- static final String DFA15_acceptS =
- "\4\uffff\1\4\1\uffff\1\6\1\7\5\uffff\1\17\1\20\1\21\1\22\11\uffff"+
- "\1\33\2\uffff\1\43\1\44\1\15\1\uffff\1\1\2\uffff\1\33\1\uffff\1"+
- "\4\1\uffff\1\6\1\7\5\uffff\1\17\1\20\1\21\1\22\3\uffff\1\27\1\32"+
- "\4\uffff\1\40\1\35\1\43\1\36\1\42\1\41\20\uffff\1\30\1\31\10\uffff"+
- "\1\16\1\uffff\1\24\12\uffff\1\12\1\13\24\uffff\1\10\12\uffff\1\11"+
- "\2\uffff\1\26\1\uffff\1\34\2\uffff\1\5\1\uffff\1\23\2\uffff\1\34"+
- "\1\2\12\uffff\1\25\13\uffff\1\14\1\3";
- static final String DFA15_specialS =
- "\u00b1\uffff}>";
- static final String[] DFA15_transitionS = {
- "\11\36\1\35\1\30\2\36\1\35\22\36\1\35\1\36\1\27\4\36\1\33\3"+
- "\36\1\24\1\6\2\32\1\34\12\25\1\32\1\17\1\36\1\20\2\36\1\1\1"+
- "\3\20\26\1\21\2\26\1\22\5\26\1\15\1\36\1\16\1\31\1\26\1\36\2"+
- "\26\1\23\4\26\1\13\3\26\1\2\1\11\1\14\3\26\1\5\1\10\1\12\6\26"+
- "\1\4\1\36\1\7\uff81\36",
- "\1\37\52\uffff\1\40\6\uffff\1\41",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\10\43\1\42\21\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\3\43\1\45\26\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\47\25\43",
- "",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\16\43\1\52\13\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\53\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\30\43\1\54\1\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\55\10\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\56\25\43",
- "",
- "",
- "",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\63\25\43",
- "\12\43\7\uffff\21\43\1\64\10\43\4\uffff\1\43\1\uffff\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\16\43\1\65\13\43",
- "\1\66",
- "\2\44\1\uffff\12\70\1\44\6\uffff\32\44\4\uffff\1\44\1\uffff"+
- "\32\44",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "\143\74\1\73\2\74\1\71\11\74\1\72\uff8e\74",
- "\2\76\2\uffff\1\76\22\uffff\1\76",
- "\32\77\4\uffff\1\77\1\uffff\32\77",
- "",
- "\uffff\74",
- "\1\101\4\uffff\1\100",
- "",
- "",
- "",
- "\1\102",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\103\14\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\104\10\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\2\43\1\105\2\43\1"+
- "\106\24\43",
- "",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\24\43\1\107\5\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\22\43\1\110\7\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\17\43\1\111\12\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\112\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\26\43\1\113\3\43",
- "",
- "",
- "",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\22\43\1\114\7\43",
- "\12\43\7\uffff\10\43\1\115\21\43\4\uffff\1\43\1\uffff\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\116\14\43",
- "",
- "",
- "\2\44\1\uffff\12\70\1\44\6\uffff\32\44\4\uffff\1\44\1\uffff"+
- "\32\44",
- "\151\74\1\117\uff95\74",
- "\154\74\1\120\uff92\74",
- "\144\74\1\121\uff9a\74",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\123\27\uffff\1\122",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\124\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\125\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\126\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\127\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\130\10\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\22\43\1\131\7\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\132\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\5\43\1\133\24\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\16\43\1\135\13\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\23\43\1\137\6\43",
- "\154\74\1\140\uff92\74",
- "\141\74\1\141\uff9d\74",
- "\157\74\1\142\uff8f\74",
- "",
- "",
- "\12\43\7\uffff\1\43\1\143\30\43\4\uffff\1\43\1\uffff\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\22\43\1\144\7\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\10\43\1\145\21\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\146\10\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\2\43\1\147\27\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\1\150\31\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\24\43\1\153\5\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\154\25\43",
- "\145\74\1\155\uff99\74",
- "\164\74\1\156\uff8a\74",
- "\72\74\1\157\uffc4\74",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\160\10\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\22\43\1\161\7\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\25\43\1\162\4\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\163\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\164\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\6\43\1\165\23\43",
- "",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\166\10\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\167\14\43",
- "\72\74\1\170\uffc4\74",
- "\146\74\1\171\uff98\74",
- "\57\74\1\172\uffcf\74",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\173\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\174\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\175\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\176\14\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\u0080\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\2\43\1\u0081\27\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\23\43\1\u0082\6\43",
- "\57\74\1\u0083\uffcf\74",
- "\157\74\1\u0084\uff8f\74",
- "\55\74\16\u0085\6\74\32\u0085\4\74\1\u0085\1\74\32\u0085\uff84"+
- "\74",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\1\u0086\31\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\3\43\1\u0087\26\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\21\43\1\u0088\10\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\2\43\1\u0089\27\43",
- "",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\u008b\25\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\23\43\1\u008c\6\43\4\uffff"+
- "\1\43\1\uffff\32\43",
- "\55\74\16\u0085\6\74\32\u0085\4\74\1\u0085\1\74\32\u0085\uff84"+
- "\74",
- "\162\74\1\u008e\uff8c\74",
- "\42\74\1\u008f\12\74\16\u0085\6\74\32\u0085\4\74\1\u0085\1\74"+
- "\32\u0085\uff84\74",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\12\43\1\u0090\17\43",
- "\12\43\7\uffff\1\u0091\31\43\4\uffff\1\43\1\uffff\32\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\u0093\25\43",
- "",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\30\43\1\u0095\1\43",
- "",
- "\155\74\1\u0096\uff91\74",
- "",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\u0099\14\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\3\43\1\u009a\26\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\17\43\1\u009b\12\43",
- "\72\74\1\u009c\uffc4\74",
- "",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\u009d\14\43",
- "\12\43\7\uffff\4\43\1\u009e\25\43\4\uffff\1\43\1\uffff\32\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\u009f\25\43",
- "\57\74\1\u00a0\uffcf\74",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\16\43\1\u00a1\13\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\13\43\1\u00a2\16\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\55\74\16\u0085\6\74\32\u0085\4\74\1\u0085\1\74\32\u0085\uff84"+
- "\74",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\23\43\1\u00a4\6\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\u00a5\25\43",
- "",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\1\u00a6\31\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\14\43\1\u00a7\15\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\23\43\1\u00a8\6\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\4\43\1\u00a9\25\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\10\43\1\u00aa\21\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\u00ab\14\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\16\43\1\u00ac\13\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\23\43\1\u00ad\6\43",
- "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\15\43\1\u00ae\14\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "\2\44\1\uffff\12\43\1\44\6\uffff\32\43\4\uffff\1\43\1\uffff"+
- "\32\43",
- "",
- ""
- };
-
- static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS);
- static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS);
- static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS);
- static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS);
- static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS);
- static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS);
- static final short[][] DFA15_transition;
-
- static {
- int numStates = DFA15_transitionS.length;
- DFA15_transition = new short[numStates][];
- for (int i=0; i<numStates; i++) {
- DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]);
- }
- }
-
- class DFA15 extends DFA {
-
- public DFA15(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 15;
- this.eot = DFA15_eot;
- this.eof = DFA15_eof;
- this.min = DFA15_min;
- this.max = DFA15_max;
- this.accept = DFA15_accept;
- this.special = DFA15_special;
- this.transition = DFA15_transition;
- }
- public String getDescription() {
- return "1:1: Tokens : ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | RULE_EINT | RULE_STRINGWITHOUTQUOTES | RULE_URI | RULE_LINE_BREAK | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
- }
- }
-
-
-}
\ No newline at end of file
diff --git a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammarParser.java b/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammarParser.java
deleted file mode 100644
index ceab1c2..0000000
--- a/plugins/org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammarParser.java
+++ /dev/null
@@ -1,5747 +0,0 @@
-package org.eclipse.mylyn.docs.intent.parser.modelingunit.parser.antlr.internal;
-
-import java.io.InputStream;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.xtext.parsetree.*;
-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 org.eclipse.xtext.conversion.ValueConverterException;
-import org.eclipse.mylyn.docs.intent.parser.modelingunit.services.ModelingUnitXTextGrammarGrammarAccess;
-
-
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
-@SuppressWarnings("all")
-public class InternalModelingUnitXTextGrammarParser extends AbstractInternalAntlrParser {
- public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRINGWITHOUTQUOTES", "RULE_LINE_BREAK", "RULE_STRING", "RULE_URI", "RULE_INT", "RULE_EINT", "RULE_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@see'", "'lineBreak'", "'AdressedAnnotation'", "'{'", "'receiver'", "','", "'}'", "'source'", "'message'", "'type'", "'href'", "'referencedElement'", "'@Annotation'", "'new'", "'['", "']'", "';'", "'='", "'Resource'", "'URI'", "'contentType'", "'content'", "'+='", "'@lazylabel'", "'@label'"
- };
- public static final int RULE_ID=10;
- public static final int RULE_STRING=6;
- public static final int RULE_STRINGWITHOUTQUOTES=4;
- public static final int RULE_ANY_OTHER=14;
- public static final int RULE_EINT=9;
- public static final int RULE_LINE_BREAK=5;
- public static final int RULE_INT=8;
- public static final int RULE_WS=13;
- public static final int RULE_URI=7;
- public static final int RULE_SL_COMMENT=12;
- public static final int EOF=-1;
- public static final int RULE_ML_COMMENT=11;
-
- public InternalModelingUnitXTextGrammarParser(TokenStream input) {
- super(input);
- }
-
-
- public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g"; }
-
-
-
- private ModelingUnitXTextGrammarGrammarAccess grammarAccess;
-
- public InternalModelingUnitXTextGrammarParser(TokenStream input, IAstFactory factory, ModelingUnitXTextGrammarGrammarAccess grammarAccess) {
- this(input);
- this.factory = factory;
- registerRules(grammarAccess.getGrammar());
- this.grammarAccess = grammarAccess;
- }
-
- @Override
- protected InputStream getTokenFile() {
- ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.tokens");
- }
-
- @Override
- protected String getFirstRuleName() {
- return "ModelingUnit";
- }
-
- @Override
- protected ModelingUnitXTextGrammarGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-
-
-
- // $ANTLR start entryRuleModelingUnit
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:78:1: entryRuleModelingUnit returns [EObject current=null] : iv_ruleModelingUnit= ruleModelingUnit EOF ;
- public final EObject entryRuleModelingUnit() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleModelingUnit = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:79:2: (iv_ruleModelingUnit= ruleModelingUnit EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:80:2: iv_ruleModelingUnit= ruleModelingUnit EOF
- {
- currentNode = createCompositeNode(grammarAccess.getModelingUnitRule(), currentNode);
- pushFollow(FOLLOW_ruleModelingUnit_in_entryRuleModelingUnit75);
- iv_ruleModelingUnit=ruleModelingUnit();
- _fsp--;
-
- current =iv_ruleModelingUnit;
- match(input,EOF,FOLLOW_EOF_in_entryRuleModelingUnit85);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleModelingUnit
-
-
- // $ANTLR start ruleModelingUnit
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:87:1: ruleModelingUnit returns [EObject current=null] : ( () ( (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES ) )? ( RULE_LINE_BREAK )? ( (lv_resource_3_0= ruleResourceReference ) )? ( ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) ) )* ) ;
- public final EObject ruleModelingUnit() throws RecognitionException {
- EObject current = null;
-
- Token lv_unitName_1_0=null;
- EObject lv_resource_3_0 = null;
-
- EObject lv_instructions_4_1 = null;
-
- EObject lv_instructions_4_2 = null;
-
- EObject lv_instructions_4_3 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:92:6: ( ( () ( (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES ) )? ( RULE_LINE_BREAK )? ( (lv_resource_3_0= ruleResourceReference ) )? ( ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) ) )* ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:93:1: ( () ( (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES ) )? ( RULE_LINE_BREAK )? ( (lv_resource_3_0= ruleResourceReference ) )? ( ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) ) )* )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:93:1: ( () ( (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES ) )? ( RULE_LINE_BREAK )? ( (lv_resource_3_0= ruleResourceReference ) )? ( ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) ) )* )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:93:2: () ( (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES ) )? ( RULE_LINE_BREAK )? ( (lv_resource_3_0= ruleResourceReference ) )? ( ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) ) )*
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:93:2: ()
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:94:5:
- {
-
- temp=factory.create(grammarAccess.getModelingUnitAccess().getModelingUnitAction_0().getType().getClassifier());
- current = temp;
- temp = null;
- CompositeNode newNode = createCompositeNode(grammarAccess.getModelingUnitAccess().getModelingUnitAction_0(), currentNode.getParent());
- newNode.getChildren().add(currentNode);
- moveLookaheadInfo(currentNode, newNode);
- currentNode = newNode;
- associateNodeWithAstElement(currentNode, current);
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:104:2: ( (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES ) )?
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( (LA1_0==RULE_STRINGWITHOUTQUOTES) ) {
- int LA1_1 = input.LA(2);
-
- if ( (LA1_1==EOF||(LA1_1>=RULE_STRINGWITHOUTQUOTES && LA1_1<=RULE_LINE_BREAK)||(LA1_1>=15 && LA1_1<=17)||(LA1_1>=27 && LA1_1<=29)||LA1_1==33||(LA1_1>=38 && LA1_1<=39)) ) {
- alt1=1;
- }
- }
- switch (alt1) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:105:1: (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:105:1: (lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:106:3: lv_unitName_1_0= RULE_STRINGWITHOUTQUOTES
- {
- lv_unitName_1_0=(Token)input.LT(1);
- match(input,RULE_STRINGWITHOUTQUOTES,FOLLOW_RULE_STRINGWITHOUTQUOTES_in_ruleModelingUnit136);
-
- createLeafNode(grammarAccess.getModelingUnitAccess().getUnitNameStringWithoutQuotesTerminalRuleCall_1_0(), "unitName");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
- try {
- set(
- current,
- "unitName",
- lv_unitName_1_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:128:3: ( RULE_LINE_BREAK )?
- int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0==RULE_LINE_BREAK) ) {
- alt2=1;
- }
- switch (alt2) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:128:4: RULE_LINE_BREAK
- {
- match(input,RULE_LINE_BREAK,FOLLOW_RULE_LINE_BREAK_in_ruleModelingUnit152);
-
- createLeafNode(grammarAccess.getModelingUnitAccess().getLINE_BREAKTerminalRuleCall_2(), null);
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:132:3: ( (lv_resource_3_0= ruleResourceReference ) )?
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0==29) ) {
- alt3=1;
- }
- switch (alt3) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:133:1: (lv_resource_3_0= ruleResourceReference )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:133:1: (lv_resource_3_0= ruleResourceReference )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:134:3: lv_resource_3_0= ruleResourceReference
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getResourceResourceReferenceParserRuleCall_3_0(), currentNode);
-
- pushFollow(FOLLOW_ruleResourceReference_in_ruleModelingUnit174);
- lv_resource_3_0=ruleResourceReference();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "resource",
- lv_resource_3_0,
- "ResourceReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:156:3: ( ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) ) )*
- loop5:
- do {
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( (LA5_0==RULE_STRINGWITHOUTQUOTES||(LA5_0>=15 && LA5_0<=17)||(LA5_0>=27 && LA5_0<=28)||LA5_0==33||(LA5_0>=38 && LA5_0<=39)) ) {
- alt5=1;
- }
-
-
- switch (alt5) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:157:1: ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:157:1: ( (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:158:1: (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:158:1: (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation )
- int alt4=3;
- switch ( input.LA(1) ) {
- case RULE_STRINGWITHOUTQUOTES:
- case 27:
- case 28:
- case 33:
- case 38:
- case 39:
- {
- alt4=1;
- }
- break;
- case 15:
- {
- int LA4_2 = input.LA(2);
-
- if ( ((LA4_2>=38 && LA4_2<=39)) ) {
- alt4=2;
- }
- else if ( (LA4_2==RULE_STRING) ) {
- alt4=1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("158:1: (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation )", 4, 2, input);
-
- throw nvae;
- }
- }
- break;
- case 16:
- case 17:
- {
- alt4=3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("158:1: (lv_instructions_4_1= ruleModelingUnitInstruction | lv_instructions_4_2= ruleLabelReferenceInstruction | lv_instructions_4_3= ruleAdressedAnnotation )", 4, 0, input);
-
- throw nvae;
- }
-
- switch (alt4) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:159:3: lv_instructions_4_1= ruleModelingUnitInstruction
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getInstructionsModelingUnitInstructionParserRuleCall_4_0_0(), currentNode);
-
- pushFollow(FOLLOW_ruleModelingUnitInstruction_in_ruleModelingUnit198);
- lv_instructions_4_1=ruleModelingUnitInstruction();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- add(
- current,
- "instructions",
- lv_instructions_4_1,
- "ModelingUnitInstruction",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:180:8: lv_instructions_4_2= ruleLabelReferenceInstruction
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getInstructionsLabelReferenceInstructionParserRuleCall_4_0_1(), currentNode);
-
- pushFollow(FOLLOW_ruleLabelReferenceInstruction_in_ruleModelingUnit217);
- lv_instructions_4_2=ruleLabelReferenceInstruction();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- add(
- current,
- "instructions",
- lv_instructions_4_2,
- "LabelReferenceInstruction",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:201:8: lv_instructions_4_3= ruleAdressedAnnotation
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitAccess().getInstructionsAdressedAnnotationParserRuleCall_4_0_2(), currentNode);
-
- pushFollow(FOLLOW_ruleAdressedAnnotation_in_ruleModelingUnit236);
- lv_instructions_4_3=ruleAdressedAnnotation();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- add(
- current,
- "instructions",
- lv_instructions_4_3,
- "AdressedAnnotation",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop5;
- }
- } while (true);
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleModelingUnit
-
-
- // $ANTLR start entryRuleEString
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:235:1: entryRuleEString returns [String current=null] : iv_ruleEString= ruleEString EOF ;
- public final String entryRuleEString() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleEString = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:236:2: (iv_ruleEString= ruleEString EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:237:2: iv_ruleEString= ruleEString EOF
- {
- currentNode = createCompositeNode(grammarAccess.getEStringRule(), currentNode);
- pushFollow(FOLLOW_ruleEString_in_entryRuleEString279);
- iv_ruleEString=ruleEString();
- _fsp--;
-
- current =iv_ruleEString.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleEString290);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleEString
-
-
- // $ANTLR start ruleEString
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:244:1: ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_StringWithQuotes_0= ruleStringWithQuotes | this_StringWithoutQuotes_1= RULE_STRINGWITHOUTQUOTES ) ;
- public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token this_StringWithoutQuotes_1=null;
- AntlrDatatypeRuleToken this_StringWithQuotes_0 = null;
-
-
- setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:249:6: ( (this_StringWithQuotes_0= ruleStringWithQuotes | this_StringWithoutQuotes_1= RULE_STRINGWITHOUTQUOTES ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:250:1: (this_StringWithQuotes_0= ruleStringWithQuotes | this_StringWithoutQuotes_1= RULE_STRINGWITHOUTQUOTES )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:250:1: (this_StringWithQuotes_0= ruleStringWithQuotes | this_StringWithoutQuotes_1= RULE_STRINGWITHOUTQUOTES )
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( (LA6_0==RULE_STRING) ) {
- alt6=1;
- }
- else if ( (LA6_0==RULE_STRINGWITHOUTQUOTES) ) {
- alt6=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("250:1: (this_StringWithQuotes_0= ruleStringWithQuotes | this_StringWithoutQuotes_1= RULE_STRINGWITHOUTQUOTES )", 6, 0, input);
-
- throw nvae;
- }
- switch (alt6) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:251:5: this_StringWithQuotes_0= ruleStringWithQuotes
- {
-
- currentNode=createCompositeNode(grammarAccess.getEStringAccess().getStringWithQuotesParserRuleCall_0(), currentNode);
-
- pushFollow(FOLLOW_ruleStringWithQuotes_in_ruleEString337);
- this_StringWithQuotes_0=ruleStringWithQuotes();
- _fsp--;
-
-
- current.merge(this_StringWithQuotes_0);
-
-
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:262:10: this_StringWithoutQuotes_1= RULE_STRINGWITHOUTQUOTES
- {
- this_StringWithoutQuotes_1=(Token)input.LT(1);
- match(input,RULE_STRINGWITHOUTQUOTES,FOLLOW_RULE_STRINGWITHOUTQUOTES_in_ruleEString363);
-
- current.merge(this_StringWithoutQuotes_1);
-
-
- createLeafNode(grammarAccess.getEStringAccess().getStringWithoutQuotesTerminalRuleCall_1(), null);
-
-
- }
- break;
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleEString
-
-
- // $ANTLR start entryRuleStringWithQuotes
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:277:1: entryRuleStringWithQuotes returns [String current=null] : iv_ruleStringWithQuotes= ruleStringWithQuotes EOF ;
- public final String entryRuleStringWithQuotes() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleStringWithQuotes = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:278:2: (iv_ruleStringWithQuotes= ruleStringWithQuotes EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:279:2: iv_ruleStringWithQuotes= ruleStringWithQuotes EOF
- {
- currentNode = createCompositeNode(grammarAccess.getStringWithQuotesRule(), currentNode);
- pushFollow(FOLLOW_ruleStringWithQuotes_in_entryRuleStringWithQuotes409);
- iv_ruleStringWithQuotes=ruleStringWithQuotes();
- _fsp--;
-
- current =iv_ruleStringWithQuotes.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleStringWithQuotes420);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleStringWithQuotes
-
-
- // $ANTLR start ruleStringWithQuotes
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:286:1: ruleStringWithQuotes returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
- public final AntlrDatatypeRuleToken ruleStringWithQuotes() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token this_STRING_0=null;
-
- setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:291:6: (this_STRING_0= RULE_STRING )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:292:5: this_STRING_0= RULE_STRING
- {
- this_STRING_0=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringWithQuotes459);
-
- current.merge(this_STRING_0);
-
-
- createLeafNode(grammarAccess.getStringWithQuotesAccess().getSTRINGTerminalRuleCall(), null);
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleStringWithQuotes
-
-
- // $ANTLR start entryRuleLabelReferenceInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:309:1: entryRuleLabelReferenceInstruction returns [EObject current=null] : iv_ruleLabelReferenceInstruction= ruleLabelReferenceInstruction EOF ;
- public final EObject entryRuleLabelReferenceInstruction() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLabelReferenceInstruction = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:310:2: (iv_ruleLabelReferenceInstruction= ruleLabelReferenceInstruction EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:311:2: iv_ruleLabelReferenceInstruction= ruleLabelReferenceInstruction EOF
- {
- currentNode = createCompositeNode(grammarAccess.getLabelReferenceInstructionRule(), currentNode);
- pushFollow(FOLLOW_ruleLabelReferenceInstruction_in_entryRuleLabelReferenceInstruction505);
- iv_ruleLabelReferenceInstruction=ruleLabelReferenceInstruction();
- _fsp--;
-
- current =iv_ruleLabelReferenceInstruction;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLabelReferenceInstruction515);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleLabelReferenceInstruction
-
-
- // $ANTLR start ruleLabelReferenceInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:318:1: ruleLabelReferenceInstruction returns [EObject current=null] : ( '@see' ( (lv_type_1_0= ruleTypeLabel ) ) ( (lv_referencedLabel_2_0= ruleLabelDeclarationReference ) ) ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) ;
- public final EObject ruleLabelReferenceInstruction() throws RecognitionException {
- EObject current = null;
-
- Token lv_lineBreak_3_0=null;
- Enumerator lv_type_1_0 = null;
-
- EObject lv_referencedLabel_2_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:323:6: ( ( '@see' ( (lv_type_1_0= ruleTypeLabel ) ) ( (lv_referencedLabel_2_0= ruleLabelDeclarationReference ) ) ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:324:1: ( '@see' ( (lv_type_1_0= ruleTypeLabel ) ) ( (lv_referencedLabel_2_0= ruleLabelDeclarationReference ) ) ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:324:1: ( '@see' ( (lv_type_1_0= ruleTypeLabel ) ) ( (lv_referencedLabel_2_0= ruleLabelDeclarationReference ) ) ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:324:3: '@see' ( (lv_type_1_0= ruleTypeLabel ) ) ( (lv_referencedLabel_2_0= ruleLabelDeclarationReference ) ) ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- {
- match(input,15,FOLLOW_15_in_ruleLabelReferenceInstruction550);
-
- createLeafNode(grammarAccess.getLabelReferenceInstructionAccess().getSeeKeyword_0(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:328:1: ( (lv_type_1_0= ruleTypeLabel ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:329:1: (lv_type_1_0= ruleTypeLabel )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:329:1: (lv_type_1_0= ruleTypeLabel )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:330:3: lv_type_1_0= ruleTypeLabel
- {
-
- currentNode=createCompositeNode(grammarAccess.getLabelReferenceInstructionAccess().getTypeTypeLabelEnumRuleCall_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleTypeLabel_in_ruleLabelReferenceInstruction571);
- lv_type_1_0=ruleTypeLabel();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "type",
- lv_type_1_0,
- "TypeLabel",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:352:2: ( (lv_referencedLabel_2_0= ruleLabelDeclarationReference ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:353:1: (lv_referencedLabel_2_0= ruleLabelDeclarationReference )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:353:1: (lv_referencedLabel_2_0= ruleLabelDeclarationReference )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:354:3: lv_referencedLabel_2_0= ruleLabelDeclarationReference
- {
-
- currentNode=createCompositeNode(grammarAccess.getLabelReferenceInstructionAccess().getReferencedLabelLabelDeclarationReferenceParserRuleCall_2_0(), currentNode);
-
- pushFollow(FOLLOW_ruleLabelDeclarationReference_in_ruleLabelReferenceInstruction592);
- lv_referencedLabel_2_0=ruleLabelDeclarationReference();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "referencedLabel",
- lv_referencedLabel_2_0,
- "LabelDeclarationReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:376:2: ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( (LA7_0==RULE_LINE_BREAK) ) {
- alt7=1;
- }
- switch (alt7) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:377:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:377:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:378:3: lv_lineBreak_3_0= RULE_LINE_BREAK
- {
- lv_lineBreak_3_0=(Token)input.LT(1);
- match(input,RULE_LINE_BREAK,FOLLOW_RULE_LINE_BREAK_in_ruleLabelReferenceInstruction609);
-
- createLeafNode(grammarAccess.getLabelReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
- try {
- set(
- current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleLabelReferenceInstruction
-
-
- // $ANTLR start entryRuleSectionReferenceInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:408:1: entryRuleSectionReferenceInstruction returns [EObject current=null] : iv_ruleSectionReferenceInstruction= ruleSectionReferenceInstruction EOF ;
- public final EObject entryRuleSectionReferenceInstruction() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSectionReferenceInstruction = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:409:2: (iv_ruleSectionReferenceInstruction= ruleSectionReferenceInstruction EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:410:2: iv_ruleSectionReferenceInstruction= ruleSectionReferenceInstruction EOF
- {
- currentNode = createCompositeNode(grammarAccess.getSectionReferenceInstructionRule(), currentNode);
- pushFollow(FOLLOW_ruleSectionReferenceInstruction_in_entryRuleSectionReferenceInstruction651);
- iv_ruleSectionReferenceInstruction=ruleSectionReferenceInstruction();
- _fsp--;
-
- current =iv_ruleSectionReferenceInstruction;
- match(input,EOF,FOLLOW_EOF_in_entryRuleSectionReferenceInstruction661);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleSectionReferenceInstruction
-
-
- // $ANTLR start ruleSectionReferenceInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:417:1: ruleSectionReferenceInstruction returns [EObject current=null] : ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) ;
- public final EObject ruleSectionReferenceInstruction() throws RecognitionException {
- EObject current = null;
-
- Token lv_lineBreak_3_0=null;
- EObject lv_referencedObject_1_0 = null;
-
- AntlrDatatypeRuleToken lv_textToPrint_2_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:422:6: ( ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:423:1: ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:423:1: ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:423:3: '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- {
- match(input,15,FOLLOW_15_in_ruleSectionReferenceInstruction696);
-
- createLeafNode(grammarAccess.getSectionReferenceInstructionAccess().getSeeKeyword_0(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:427:1: ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:428:1: (lv_referencedObject_1_0= ruleSectionOrParagraphReference )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:428:1: (lv_referencedObject_1_0= ruleSectionOrParagraphReference )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:429:3: lv_referencedObject_1_0= ruleSectionOrParagraphReference
- {
-
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceInstructionAccess().getReferencedObjectSectionOrParagraphReferenceParserRuleCall_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleSectionOrParagraphReference_in_ruleSectionReferenceInstruction717);
- lv_referencedObject_1_0=ruleSectionOrParagraphReference();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "referencedObject",
- lv_referencedObject_1_0,
- "SectionOrParagraphReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:451:2: ( (lv_textToPrint_2_0= ruleEString ) )?
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0==RULE_STRINGWITHOUTQUOTES||LA8_0==RULE_STRING) ) {
- alt8=1;
- }
- switch (alt8) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:452:1: (lv_textToPrint_2_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:452:1: (lv_textToPrint_2_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:453:3: lv_textToPrint_2_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceInstructionAccess().getTextToPrintEStringParserRuleCall_2_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleSectionReferenceInstruction738);
- lv_textToPrint_2_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "textToPrint",
- lv_textToPrint_2_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:475:3: ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0==RULE_LINE_BREAK) ) {
- alt9=1;
- }
- switch (alt9) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:476:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:476:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:477:3: lv_lineBreak_3_0= RULE_LINE_BREAK
- {
- lv_lineBreak_3_0=(Token)input.LT(1);
- match(input,RULE_LINE_BREAK,FOLLOW_RULE_LINE_BREAK_in_ruleSectionReferenceInstruction756);
-
- createLeafNode(grammarAccess.getSectionReferenceInstructionAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionReferenceInstructionRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
- try {
- set(
- current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleSectionReferenceInstruction
-
-
- // $ANTLR start entryRuleAdressedAnnotation
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:507:1: entryRuleAdressedAnnotation returns [EObject current=null] : iv_ruleAdressedAnnotation= ruleAdressedAnnotation EOF ;
- public final EObject entryRuleAdressedAnnotation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAdressedAnnotation = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:508:2: (iv_ruleAdressedAnnotation= ruleAdressedAnnotation EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:509:2: iv_ruleAdressedAnnotation= ruleAdressedAnnotation EOF
- {
- currentNode = createCompositeNode(grammarAccess.getAdressedAnnotationRule(), currentNode);
- pushFollow(FOLLOW_ruleAdressedAnnotation_in_entryRuleAdressedAnnotation798);
- iv_ruleAdressedAnnotation=ruleAdressedAnnotation();
- _fsp--;
-
- current =iv_ruleAdressedAnnotation;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAdressedAnnotation808);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleAdressedAnnotation
-
-
- // $ANTLR start ruleAdressedAnnotation
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:516:1: ruleAdressedAnnotation returns [EObject current=null] : ( ( (lv_lineBreak_0_0= 'lineBreak' ) )? 'AdressedAnnotation' '{' 'receiver' '{' ( (lv_receiver_5_0= ruleEString ) ) ( ',' ( (lv_receiver_7_0= ruleEString ) ) )* '}' 'source' ( (lv_source_10_0= ruleEString ) ) 'message' ( (lv_message_12_0= ruleEString ) ) 'type' ( (lv_type_14_0= ruleEString ) ) '}' ) ;
- public final EObject ruleAdressedAnnotation() throws RecognitionException {
- EObject current = null;
-
- Token lv_lineBreak_0_0=null;
- AntlrDatatypeRuleToken lv_receiver_5_0 = null;
-
- AntlrDatatypeRuleToken lv_receiver_7_0 = null;
-
- AntlrDatatypeRuleToken lv_source_10_0 = null;
-
- AntlrDatatypeRuleToken lv_message_12_0 = null;
-
- AntlrDatatypeRuleToken lv_type_14_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:521:6: ( ( ( (lv_lineBreak_0_0= 'lineBreak' ) )? 'AdressedAnnotation' '{' 'receiver' '{' ( (lv_receiver_5_0= ruleEString ) ) ( ',' ( (lv_receiver_7_0= ruleEString ) ) )* '}' 'source' ( (lv_source_10_0= ruleEString ) ) 'message' ( (lv_message_12_0= ruleEString ) ) 'type' ( (lv_type_14_0= ruleEString ) ) '}' ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:522:1: ( ( (lv_lineBreak_0_0= 'lineBreak' ) )? 'AdressedAnnotation' '{' 'receiver' '{' ( (lv_receiver_5_0= ruleEString ) ) ( ',' ( (lv_receiver_7_0= ruleEString ) ) )* '}' 'source' ( (lv_source_10_0= ruleEString ) ) 'message' ( (lv_message_12_0= ruleEString ) ) 'type' ( (lv_type_14_0= ruleEString ) ) '}' )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:522:1: ( ( (lv_lineBreak_0_0= 'lineBreak' ) )? 'AdressedAnnotation' '{' 'receiver' '{' ( (lv_receiver_5_0= ruleEString ) ) ( ',' ( (lv_receiver_7_0= ruleEString ) ) )* '}' 'source' ( (lv_source_10_0= ruleEString ) ) 'message' ( (lv_message_12_0= ruleEString ) ) 'type' ( (lv_type_14_0= ruleEString ) ) '}' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:522:2: ( (lv_lineBreak_0_0= 'lineBreak' ) )? 'AdressedAnnotation' '{' 'receiver' '{' ( (lv_receiver_5_0= ruleEString ) ) ( ',' ( (lv_receiver_7_0= ruleEString ) ) )* '}' 'source' ( (lv_source_10_0= ruleEString ) ) 'message' ( (lv_message_12_0= ruleEString ) ) 'type' ( (lv_type_14_0= ruleEString ) ) '}'
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:522:2: ( (lv_lineBreak_0_0= 'lineBreak' ) )?
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( (LA10_0==16) ) {
- alt10=1;
- }
- switch (alt10) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:523:1: (lv_lineBreak_0_0= 'lineBreak' )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:523:1: (lv_lineBreak_0_0= 'lineBreak' )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:524:3: lv_lineBreak_0_0= 'lineBreak'
- {
- lv_lineBreak_0_0=(Token)input.LT(1);
- match(input,16,FOLLOW_16_in_ruleAdressedAnnotation851);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getLineBreakLineBreakKeyword_0_0(), "lineBreak");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
-
- try {
- set(current, "lineBreak", true, "lineBreak", lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- match(input,17,FOLLOW_17_in_ruleAdressedAnnotation875);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getAdressedAnnotationKeyword_1(), null);
-
- match(input,18,FOLLOW_18_in_ruleAdressedAnnotation885);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getLeftCurlyBracketKeyword_2(), null);
-
- match(input,19,FOLLOW_19_in_ruleAdressedAnnotation895);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getReceiverKeyword_3(), null);
-
- match(input,18,FOLLOW_18_in_ruleAdressedAnnotation905);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getLeftCurlyBracketKeyword_4(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:559:1: ( (lv_receiver_5_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:560:1: (lv_receiver_5_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:560:1: (lv_receiver_5_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:561:3: lv_receiver_5_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_5_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleAdressedAnnotation926);
- lv_receiver_5_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- add(
- current,
- "receiver",
- lv_receiver_5_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:583:2: ( ',' ( (lv_receiver_7_0= ruleEString ) ) )*
- loop11:
- do {
- int alt11=2;
- int LA11_0 = input.LA(1);
-
- if ( (LA11_0==20) ) {
- alt11=1;
- }
-
-
- switch (alt11) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:583:4: ',' ( (lv_receiver_7_0= ruleEString ) )
- {
- match(input,20,FOLLOW_20_in_ruleAdressedAnnotation937);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getCommaKeyword_6_0(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:587:1: ( (lv_receiver_7_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:588:1: (lv_receiver_7_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:588:1: (lv_receiver_7_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:589:3: lv_receiver_7_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getReceiverEStringParserRuleCall_6_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleAdressedAnnotation958);
- lv_receiver_7_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- add(
- current,
- "receiver",
- lv_receiver_7_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop11;
- }
- } while (true);
-
- match(input,21,FOLLOW_21_in_ruleAdressedAnnotation970);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getRightCurlyBracketKeyword_7(), null);
-
- match(input,22,FOLLOW_22_in_ruleAdressedAnnotation980);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getSourceKeyword_8(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:619:1: ( (lv_source_10_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:620:1: (lv_source_10_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:620:1: (lv_source_10_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:621:3: lv_source_10_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getSourceEStringParserRuleCall_9_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleAdressedAnnotation1001);
- lv_source_10_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "source",
- lv_source_10_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- match(input,23,FOLLOW_23_in_ruleAdressedAnnotation1011);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getMessageKeyword_10(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:647:1: ( (lv_message_12_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:648:1: (lv_message_12_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:648:1: (lv_message_12_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:649:3: lv_message_12_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getMessageEStringParserRuleCall_11_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleAdressedAnnotation1032);
- lv_message_12_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "message",
- lv_message_12_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- match(input,24,FOLLOW_24_in_ruleAdressedAnnotation1042);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getTypeKeyword_12(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:675:1: ( (lv_type_14_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:676:1: (lv_type_14_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:676:1: (lv_type_14_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:677:3: lv_type_14_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getAdressedAnnotationAccess().getTypeEStringParserRuleCall_13_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleAdressedAnnotation1063);
- lv_type_14_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getAdressedAnnotationRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "type",
- lv_type_14_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- match(input,21,FOLLOW_21_in_ruleAdressedAnnotation1073);
-
- createLeafNode(grammarAccess.getAdressedAnnotationAccess().getRightCurlyBracketKeyword_14(), null);
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleAdressedAnnotation
-
-
- // $ANTLR start entryRuleSectionOrParagraphReference
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:711:1: entryRuleSectionOrParagraphReference returns [EObject current=null] : iv_ruleSectionOrParagraphReference= ruleSectionOrParagraphReference EOF ;
- public final EObject entryRuleSectionOrParagraphReference() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSectionOrParagraphReference = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:712:2: (iv_ruleSectionOrParagraphReference= ruleSectionOrParagraphReference EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:713:2: iv_ruleSectionOrParagraphReference= ruleSectionOrParagraphReference EOF
- {
- currentNode = createCompositeNode(grammarAccess.getSectionOrParagraphReferenceRule(), currentNode);
- pushFollow(FOLLOW_ruleSectionOrParagraphReference_in_entryRuleSectionOrParagraphReference1109);
- iv_ruleSectionOrParagraphReference=ruleSectionOrParagraphReference();
- _fsp--;
-
- current =iv_ruleSectionOrParagraphReference;
- match(input,EOF,FOLLOW_EOF_in_entryRuleSectionOrParagraphReference1119);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleSectionOrParagraphReference
-
-
- // $ANTLR start ruleSectionOrParagraphReference
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:720:1: ruleSectionOrParagraphReference returns [EObject current=null] : ( (lv_IntentHref_0_0= ruleStringWithQuotes ) ) ;
- public final EObject ruleSectionOrParagraphReference() throws RecognitionException {
- EObject current = null;
-
- AntlrDatatypeRuleToken lv_IntentHref_0_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:725:6: ( ( (lv_IntentHref_0_0= ruleStringWithQuotes ) ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:726:1: ( (lv_IntentHref_0_0= ruleStringWithQuotes ) )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:726:1: ( (lv_IntentHref_0_0= ruleStringWithQuotes ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:727:1: (lv_IntentHref_0_0= ruleStringWithQuotes )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:727:1: (lv_IntentHref_0_0= ruleStringWithQuotes )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:728:3: lv_IntentHref_0_0= ruleStringWithQuotes
- {
-
- currentNode=createCompositeNode(grammarAccess.getSectionOrParagraphReferenceAccess().getIntentHrefStringWithQuotesParserRuleCall_0(), currentNode);
-
- pushFollow(FOLLOW_ruleStringWithQuotes_in_ruleSectionOrParagraphReference1164);
- lv_IntentHref_0_0=ruleStringWithQuotes();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionOrParagraphReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "IntentHref",
- lv_IntentHref_0_0,
- "StringWithQuotes",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleSectionOrParagraphReference
-
-
- // $ANTLR start entryRuleLabelDeclarationReference
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:760:1: entryRuleLabelDeclarationReference returns [EObject current=null] : iv_ruleLabelDeclarationReference= ruleLabelDeclarationReference EOF ;
- public final EObject entryRuleLabelDeclarationReference() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLabelDeclarationReference = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:761:2: (iv_ruleLabelDeclarationReference= ruleLabelDeclarationReference EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:762:2: iv_ruleLabelDeclarationReference= ruleLabelDeclarationReference EOF
- {
- currentNode = createCompositeNode(grammarAccess.getLabelDeclarationReferenceRule(), currentNode);
- pushFollow(FOLLOW_ruleLabelDeclarationReference_in_entryRuleLabelDeclarationReference1201);
- iv_ruleLabelDeclarationReference=ruleLabelDeclarationReference();
- _fsp--;
-
- current =iv_ruleLabelDeclarationReference;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLabelDeclarationReference1211);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleLabelDeclarationReference
-
-
- // $ANTLR start ruleLabelDeclarationReference
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:769:1: ruleLabelDeclarationReference returns [EObject current=null] : ( 'href' ( (lv_IntentHref_1_0= ruleEString ) ) ( 'referencedElement' ( ( ruleEString ) ) )? ) ;
- public final EObject ruleLabelDeclarationReference() throws RecognitionException {
- EObject current = null;
-
- AntlrDatatypeRuleToken lv_IntentHref_1_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:774:6: ( ( 'href' ( (lv_IntentHref_1_0= ruleEString ) ) ( 'referencedElement' ( ( ruleEString ) ) )? ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:775:1: ( 'href' ( (lv_IntentHref_1_0= ruleEString ) ) ( 'referencedElement' ( ( ruleEString ) ) )? )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:775:1: ( 'href' ( (lv_IntentHref_1_0= ruleEString ) ) ( 'referencedElement' ( ( ruleEString ) ) )? )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:775:3: 'href' ( (lv_IntentHref_1_0= ruleEString ) ) ( 'referencedElement' ( ( ruleEString ) ) )?
- {
- match(input,25,FOLLOW_25_in_ruleLabelDeclarationReference1246);
-
- createLeafNode(grammarAccess.getLabelDeclarationReferenceAccess().getHrefKeyword_0(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:779:1: ( (lv_IntentHref_1_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:780:1: (lv_IntentHref_1_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:780:1: (lv_IntentHref_1_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:781:3: lv_IntentHref_1_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getLabelDeclarationReferenceAccess().getIntentHrefEStringParserRuleCall_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleLabelDeclarationReference1267);
- lv_IntentHref_1_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelDeclarationReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "IntentHref",
- lv_IntentHref_1_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:803:2: ( 'referencedElement' ( ( ruleEString ) ) )?
- int alt12=2;
- int LA12_0 = input.LA(1);
-
- if ( (LA12_0==26) ) {
- alt12=1;
- }
- switch (alt12) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:803:4: 'referencedElement' ( ( ruleEString ) )
- {
- match(input,26,FOLLOW_26_in_ruleLabelDeclarationReference1278);
-
- createLeafNode(grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementKeyword_2_0(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:807:1: ( ( ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:808:1: ( ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:808:1: ( ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:809:3: ruleEString
- {
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelDeclarationReferenceRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
-
-
- currentNode=createCompositeNode(grammarAccess.getLabelDeclarationReferenceAccess().getReferencedElementLabelDeclarationCrossReference_2_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleLabelDeclarationReference1301);
- ruleEString();
- _fsp--;
-
-
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleLabelDeclarationReference
-
-
- // $ANTLR start entryRuleModelingUnitInstructionReference
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:831:1: entryRuleModelingUnitInstructionReference returns [EObject current=null] : iv_ruleModelingUnitInstructionReference= ruleModelingUnitInstructionReference EOF ;
- public final EObject entryRuleModelingUnitInstructionReference() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleModelingUnitInstructionReference = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:832:2: (iv_ruleModelingUnitInstructionReference= ruleModelingUnitInstructionReference EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:833:2: iv_ruleModelingUnitInstructionReference= ruleModelingUnitInstructionReference EOF
- {
- currentNode = createCompositeNode(grammarAccess.getModelingUnitInstructionReferenceRule(), currentNode);
- pushFollow(FOLLOW_ruleModelingUnitInstructionReference_in_entryRuleModelingUnitInstructionReference1339);
- iv_ruleModelingUnitInstructionReference=ruleModelingUnitInstructionReference();
- _fsp--;
-
- current =iv_ruleModelingUnitInstructionReference;
- match(input,EOF,FOLLOW_EOF_in_entryRuleModelingUnitInstructionReference1349);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleModelingUnitInstructionReference
-
-
- // $ANTLR start ruleModelingUnitInstructionReference
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:840:1: ruleModelingUnitInstructionReference returns [EObject current=null] : this_ModelingUnitInstructionReference_Impl_0= ruleModelingUnitInstructionReference_Impl ;
- public final EObject ruleModelingUnitInstructionReference() throws RecognitionException {
- EObject current = null;
-
- EObject this_ModelingUnitInstructionReference_Impl_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:845:6: (this_ModelingUnitInstructionReference_Impl_0= ruleModelingUnitInstructionReference_Impl )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:847:5: this_ModelingUnitInstructionReference_Impl_0= ruleModelingUnitInstructionReference_Impl
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionReferenceAccess().getModelingUnitInstructionReference_ImplParserRuleCall(), currentNode);
-
- pushFollow(FOLLOW_ruleModelingUnitInstructionReference_Impl_in_ruleModelingUnitInstructionReference1395);
- this_ModelingUnitInstructionReference_Impl_0=ruleModelingUnitInstructionReference_Impl();
- _fsp--;
-
-
- current = this_ModelingUnitInstructionReference_Impl_0;
- currentNode = currentNode.getParent();
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleModelingUnitInstructionReference
-
-
- // $ANTLR start entryRuleModelingUnitInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:863:1: entryRuleModelingUnitInstruction returns [EObject current=null] : iv_ruleModelingUnitInstruction= ruleModelingUnitInstruction EOF ;
- public final EObject entryRuleModelingUnitInstruction() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleModelingUnitInstruction = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:864:2: (iv_ruleModelingUnitInstruction= ruleModelingUnitInstruction EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:865:2: iv_ruleModelingUnitInstruction= ruleModelingUnitInstruction EOF
- {
- currentNode = createCompositeNode(grammarAccess.getModelingUnitInstructionRule(), currentNode);
- pushFollow(FOLLOW_ruleModelingUnitInstruction_in_entryRuleModelingUnitInstruction1429);
- iv_ruleModelingUnitInstruction=ruleModelingUnitInstruction();
- _fsp--;
-
- current =iv_ruleModelingUnitInstruction;
- match(input,EOF,FOLLOW_EOF_in_entryRuleModelingUnitInstruction1439);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleModelingUnitInstruction
-
-
- // $ANTLR start ruleModelingUnitInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:872:1: ruleModelingUnitInstruction returns [EObject current=null] : (this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction | this_ResourceDeclaration_1= ruleResourceDeclaration | this_ContributionInstruction_2= ruleContributionInstruction | this_AnnotationDeclaration_3= ruleAnnotationDeclaration | this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit | this_LabelinModelingUnit_5= ruleLabelinModelingUnit ) ;
- public final EObject ruleModelingUnitInstruction() throws RecognitionException {
- EObject current = null;
-
- EObject this_InstanceLevelInstruction_0 = null;
-
- EObject this_ResourceDeclaration_1 = null;
-
- EObject this_ContributionInstruction_2 = null;
-
- EObject this_AnnotationDeclaration_3 = null;
-
- EObject this_SectionReferenceinModelingUnit_4 = null;
-
- EObject this_LabelinModelingUnit_5 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:877:6: ( (this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction | this_ResourceDeclaration_1= ruleResourceDeclaration | this_ContributionInstruction_2= ruleContributionInstruction | this_AnnotationDeclaration_3= ruleAnnotationDeclaration | this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit | this_LabelinModelingUnit_5= ruleLabelinModelingUnit ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:878:1: (this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction | this_ResourceDeclaration_1= ruleResourceDeclaration | this_ContributionInstruction_2= ruleContributionInstruction | this_AnnotationDeclaration_3= ruleAnnotationDeclaration | this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit | this_LabelinModelingUnit_5= ruleLabelinModelingUnit )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:878:1: (this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction | this_ResourceDeclaration_1= ruleResourceDeclaration | this_ContributionInstruction_2= ruleContributionInstruction | this_AnnotationDeclaration_3= ruleAnnotationDeclaration | this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit | this_LabelinModelingUnit_5= ruleLabelinModelingUnit )
- int alt13=6;
- switch ( input.LA(1) ) {
- case 28:
- {
- alt13=1;
- }
- break;
- case RULE_STRINGWITHOUTQUOTES:
- {
- int LA13_2 = input.LA(2);
-
- if ( (LA13_2==18) ) {
- alt13=3;
- }
- else if ( (LA13_2==32||LA13_2==37) ) {
- alt13=1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("878:1: (this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction | this_ResourceDeclaration_1= ruleResourceDeclaration | this_ContributionInstruction_2= ruleContributionInstruction | this_AnnotationDeclaration_3= ruleAnnotationDeclaration | this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit | this_LabelinModelingUnit_5= ruleLabelinModelingUnit )", 13, 2, input);
-
- throw nvae;
- }
- }
- break;
- case 33:
- {
- alt13=2;
- }
- break;
- case 27:
- {
- alt13=4;
- }
- break;
- case 15:
- {
- alt13=5;
- }
- break;
- case 38:
- case 39:
- {
- alt13=6;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("878:1: (this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction | this_ResourceDeclaration_1= ruleResourceDeclaration | this_ContributionInstruction_2= ruleContributionInstruction | this_AnnotationDeclaration_3= ruleAnnotationDeclaration | this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit | this_LabelinModelingUnit_5= ruleLabelinModelingUnit )", 13, 0, input);
-
- throw nvae;
- }
-
- switch (alt13) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:879:5: this_InstanceLevelInstruction_0= ruleInstanceLevelInstruction
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getInstanceLevelInstructionParserRuleCall_0(), currentNode);
-
- pushFollow(FOLLOW_ruleInstanceLevelInstruction_in_ruleModelingUnitInstruction1486);
- this_InstanceLevelInstruction_0=ruleInstanceLevelInstruction();
- _fsp--;
-
-
- current = this_InstanceLevelInstruction_0;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:889:5: this_ResourceDeclaration_1= ruleResourceDeclaration
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getResourceDeclarationParserRuleCall_1(), currentNode);
-
- pushFollow(FOLLOW_ruleResourceDeclaration_in_ruleModelingUnitInstruction1513);
- this_ResourceDeclaration_1=ruleResourceDeclaration();
- _fsp--;
-
-
- current = this_ResourceDeclaration_1;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:899:5: this_ContributionInstruction_2= ruleContributionInstruction
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getContributionInstructionParserRuleCall_2(), currentNode);
-
- pushFollow(FOLLOW_ruleContributionInstruction_in_ruleModelingUnitInstruction1540);
- this_ContributionInstruction_2=ruleContributionInstruction();
- _fsp--;
-
-
- current = this_ContributionInstruction_2;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:909:5: this_AnnotationDeclaration_3= ruleAnnotationDeclaration
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getAnnotationDeclarationParserRuleCall_3(), currentNode);
-
- pushFollow(FOLLOW_ruleAnnotationDeclaration_in_ruleModelingUnitInstruction1567);
- this_AnnotationDeclaration_3=ruleAnnotationDeclaration();
- _fsp--;
-
-
- current = this_AnnotationDeclaration_3;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 5 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:919:5: this_SectionReferenceinModelingUnit_4= ruleSectionReferenceinModelingUnit
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getSectionReferenceinModelingUnitParserRuleCall_4(), currentNode);
-
- pushFollow(FOLLOW_ruleSectionReferenceinModelingUnit_in_ruleModelingUnitInstruction1594);
- this_SectionReferenceinModelingUnit_4=ruleSectionReferenceinModelingUnit();
- _fsp--;
-
-
- current = this_SectionReferenceinModelingUnit_4;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 6 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:929:5: this_LabelinModelingUnit_5= ruleLabelinModelingUnit
- {
-
- currentNode=createCompositeNode(grammarAccess.getModelingUnitInstructionAccess().getLabelinModelingUnitParserRuleCall_5(), currentNode);
-
- pushFollow(FOLLOW_ruleLabelinModelingUnit_in_ruleModelingUnitInstruction1621);
- this_LabelinModelingUnit_5=ruleLabelinModelingUnit();
- _fsp--;
-
-
- current = this_LabelinModelingUnit_5;
- currentNode = currentNode.getParent();
-
-
- }
- break;
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleModelingUnitInstruction
-
-
- // $ANTLR start entryRuleInstanceLevelInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:945:1: entryRuleInstanceLevelInstruction returns [EObject current=null] : iv_ruleInstanceLevelInstruction= ruleInstanceLevelInstruction EOF ;
- public final EObject entryRuleInstanceLevelInstruction() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleInstanceLevelInstruction = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:946:2: (iv_ruleInstanceLevelInstruction= ruleInstanceLevelInstruction EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:947:2: iv_ruleInstanceLevelInstruction= ruleInstanceLevelInstruction EOF
- {
- currentNode = createCompositeNode(grammarAccess.getInstanceLevelInstructionRule(), currentNode);
- pushFollow(FOLLOW_ruleInstanceLevelInstruction_in_entryRuleInstanceLevelInstruction1656);
- iv_ruleInstanceLevelInstruction=ruleInstanceLevelInstruction();
- _fsp--;
-
- current =iv_ruleInstanceLevelInstruction;
- match(input,EOF,FOLLOW_EOF_in_entryRuleInstanceLevelInstruction1666);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleInstanceLevelInstruction
-
-
- // $ANTLR start ruleInstanceLevelInstruction
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:954:1: ruleInstanceLevelInstruction returns [EObject current=null] : (this_InstanciationInstruction_0= ruleInstanciationInstruction | this_StructuralFeatureAffectation_1= ruleStructuralFeatureAffectation ) ;
- public final EObject ruleInstanceLevelInstruction() throws RecognitionException {
- EObject current = null;
-
- EObject this_InstanciationInstruction_0 = null;
-
- EObject this_StructuralFeatureAffectation_1 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:959:6: ( (this_InstanciationInstruction_0= ruleInstanciationInstruction | this_StructuralFeatureAffectation_1= ruleStructuralFeatureAffectation ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:960:1: (this_InstanciationInstruction_0= ruleInstanciationInstruction | this_StructuralFeatureAffectation_1= ruleStructuralFeatureAffectation )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:960:1: (this_InstanciationInstruction_0= ruleInstanciationInstruction | this_StructuralFeatureAffectation_1= ruleStructuralFeatureAffectation )
- int alt14=2;
- int LA14_0 = input.LA(1);
-
- if ( (LA14_0==28) ) {
- alt14=1;
- }
- else if ( (LA14_0==RULE_STRINGWITHOUTQUOTES) ) {
- alt14=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("960:1: (this_InstanciationInstruction_0= ruleInstanciationInstruction | this_StructuralFeatureAffectation_1= ruleStructuralFeatureAffectation )", 14, 0, input);
-
- throw nvae;
- }
- switch (alt14) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:961:5: this_InstanciationInstruction_0= ruleInstanciationInstruction
- {
-
- currentNode=createCompositeNode(grammarAccess.getInstanceLevelInstructionAccess().getInstanciationInstructionParserRuleCall_0(), currentNode);
-
- pushFollow(FOLLOW_ruleInstanciationInstruction_in_ruleInstanceLevelInstruction1713);
- this_InstanciationInstruction_0=ruleInstanciationInstruction();
- _fsp--;
-
-
- current = this_InstanciationInstruction_0;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:971:5: this_StructuralFeatureAffectation_1= ruleStructuralFeatureAffectation
- {
-
- currentNode=createCompositeNode(grammarAccess.getInstanceLevelInstructionAccess().getStructuralFeatureAffectationParserRuleCall_1(), currentNode);
-
- pushFollow(FOLLOW_ruleStructuralFeatureAffectation_in_ruleInstanceLevelInstruction1740);
- this_StructuralFeatureAffectation_1=ruleStructuralFeatureAffectation();
- _fsp--;
-
-
- current = this_StructuralFeatureAffectation_1;
- currentNode = currentNode.getParent();
-
-
- }
- break;
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleInstanceLevelInstruction
-
-
- // $ANTLR start entryRuleValueForStructuralFeature
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:987:1: entryRuleValueForStructuralFeature returns [EObject current=null] : iv_ruleValueForStructuralFeature= ruleValueForStructuralFeature EOF ;
- public final EObject entryRuleValueForStructuralFeature() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleValueForStructuralFeature = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:988:2: (iv_ruleValueForStructuralFeature= ruleValueForStructuralFeature EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:989:2: iv_ruleValueForStructuralFeature= ruleValueForStructuralFeature EOF
- {
- currentNode = createCompositeNode(grammarAccess.getValueForStructuralFeatureRule(), currentNode);
- pushFollow(FOLLOW_ruleValueForStructuralFeature_in_entryRuleValueForStructuralFeature1775);
- iv_ruleValueForStructuralFeature=ruleValueForStructuralFeature();
- _fsp--;
-
- current =iv_ruleValueForStructuralFeature;
- match(input,EOF,FOLLOW_EOF_in_entryRuleValueForStructuralFeature1785);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleValueForStructuralFeature
-
-
- // $ANTLR start ruleValueForStructuralFeature
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:996:1: ruleValueForStructuralFeature returns [EObject current=null] : (this_NativeValueForStructuralFeature_0= ruleNativeValueForStructuralFeature | this_ReferenceValueForStructuralFeature_1= ruleReferenceValueForStructuralFeature | this_NewObjectValueForStructuralFeature_2= ruleNewObjectValueForStructuralFeature ) ;
- public final EObject ruleValueForStructuralFeature() throws RecognitionException {
- EObject current = null;
-
- EObject this_NativeValueForStructuralFeature_0 = null;
-
- EObject this_ReferenceValueForStructuralFeature_1 = null;
-
- EObject this_NewObjectValueForStructuralFeature_2 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1001:6: ( (this_NativeValueForStructuralFeature_0= ruleNativeValueForStructuralFeature | this_ReferenceValueForStructuralFeature_1= ruleReferenceValueForStructuralFeature | this_NewObjectValueForStructuralFeature_2= ruleNewObjectValueForStructuralFeature ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1002:1: (this_NativeValueForStructuralFeature_0= ruleNativeValueForStructuralFeature | this_ReferenceValueForStructuralFeature_1= ruleReferenceValueForStructuralFeature | this_NewObjectValueForStructuralFeature_2= ruleNewObjectValueForStructuralFeature )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1002:1: (this_NativeValueForStructuralFeature_0= ruleNativeValueForStructuralFeature | this_ReferenceValueForStructuralFeature_1= ruleReferenceValueForStructuralFeature | this_NewObjectValueForStructuralFeature_2= ruleNewObjectValueForStructuralFeature )
- int alt15=3;
- switch ( input.LA(1) ) {
- case RULE_STRING:
- {
- alt15=1;
- }
- break;
- case RULE_STRINGWITHOUTQUOTES:
- {
- alt15=2;
- }
- break;
- case 28:
- {
- alt15=3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("1002:1: (this_NativeValueForStructuralFeature_0= ruleNativeValueForStructuralFeature | this_ReferenceValueForStructuralFeature_1= ruleReferenceValueForStructuralFeature | this_NewObjectValueForStructuralFeature_2= ruleNewObjectValueForStructuralFeature )", 15, 0, input);
-
- throw nvae;
- }
-
- switch (alt15) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1003:5: this_NativeValueForStructuralFeature_0= ruleNativeValueForStructuralFeature
- {
-
- currentNode=createCompositeNode(grammarAccess.getValueForStructuralFeatureAccess().getNativeValueForStructuralFeatureParserRuleCall_0(), currentNode);
-
- pushFollow(FOLLOW_ruleNativeValueForStructuralFeature_in_ruleValueForStructuralFeature1832);
- this_NativeValueForStructuralFeature_0=ruleNativeValueForStructuralFeature();
- _fsp--;
-
-
- current = this_NativeValueForStructuralFeature_0;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1013:5: this_ReferenceValueForStructuralFeature_1= ruleReferenceValueForStructuralFeature
- {
-
- currentNode=createCompositeNode(grammarAccess.getValueForStructuralFeatureAccess().getReferenceValueForStructuralFeatureParserRuleCall_1(), currentNode);
-
- pushFollow(FOLLOW_ruleReferenceValueForStructuralFeature_in_ruleValueForStructuralFeature1859);
- this_ReferenceValueForStructuralFeature_1=ruleReferenceValueForStructuralFeature();
- _fsp--;
-
-
- current = this_ReferenceValueForStructuralFeature_1;
- currentNode = currentNode.getParent();
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1023:5: this_NewObjectValueForStructuralFeature_2= ruleNewObjectValueForStructuralFeature
- {
-
- currentNode=createCompositeNode(grammarAccess.getValueForStructuralFeatureAccess().getNewObjectValueForStructuralFeatureParserRuleCall_2(), currentNode);
-
- pushFollow(FOLLOW_ruleNewObjectValueForStructuralFeature_in_ruleValueForStructuralFeature1886);
- this_NewObjectValueForStructuralFeature_2=ruleNewObjectValueForStructuralFeature();
- _fsp--;
-
-
- current = this_NewObjectValueForStructuralFeature_2;
- currentNode = currentNode.getParent();
-
-
- }
- break;
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleValueForStructuralFeature
-
-
- // $ANTLR start entryRuleModelingUnitInstructionReference_Impl
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1039:1: entryRuleModelingUnitInstructionReference_Impl returns [EObject current=null] : iv_ruleModelingUnitInstructionReference_Impl= ruleModelingUnitInstructionReference_Impl EOF ;
- public final EObject entryRuleModelingUnitInstructionReference_Impl() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleModelingUnitInstructionReference_Impl = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1040:2: (iv_ruleModelingUnitInstructionReference_Impl= ruleModelingUnitInstructionReference_Impl EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1041:2: iv_ruleModelingUnitInstructionReference_Impl= ruleModelingUnitInstructionReference_Impl EOF
- {
- currentNode = createCompositeNode(grammarAccess.getModelingUnitInstructionReference_ImplRule(), currentNode);
- pushFollow(FOLLOW_ruleModelingUnitInstructionReference_Impl_in_entryRuleModelingUnitInstructionReference_Impl1921);
- iv_ruleModelingUnitInstructionReference_Impl=ruleModelingUnitInstructionReference_Impl();
- _fsp--;
-
- current =iv_ruleModelingUnitInstructionReference_Impl;
- match(input,EOF,FOLLOW_EOF_in_entryRuleModelingUnitInstructionReference_Impl1931);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleModelingUnitInstructionReference_Impl
-
-
- // $ANTLR start ruleModelingUnitInstructionReference_Impl
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1048:1: ruleModelingUnitInstructionReference_Impl returns [EObject current=null] : ( (lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES ) ) ;
- public final EObject ruleModelingUnitInstructionReference_Impl() throws RecognitionException {
- EObject current = null;
-
- Token lv_IntentHref_0_0=null;
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1053:6: ( ( (lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES ) ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1054:1: ( (lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES ) )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1054:1: ( (lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1055:1: (lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1055:1: (lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1056:3: lv_IntentHref_0_0= RULE_STRINGWITHOUTQUOTES
- {
- lv_IntentHref_0_0=(Token)input.LT(1);
- match(input,RULE_STRINGWITHOUTQUOTES,FOLLOW_RULE_STRINGWITHOUTQUOTES_in_ruleModelingUnitInstructionReference_Impl1972);
-
- createLeafNode(grammarAccess.getModelingUnitInstructionReference_ImplAccess().getIntentHrefStringWithoutQuotesTerminalRuleCall_0(), "IntentHref");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getModelingUnitInstructionReference_ImplRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
- try {
- set(
- current,
- "IntentHref",
- lv_IntentHref_0_0,
- "StringWithoutQuotes",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleModelingUnitInstructionReference_Impl
-
-
- // $ANTLR start entryRuleSectionReferenceinModelingUnit
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1086:1: entryRuleSectionReferenceinModelingUnit returns [EObject current=null] : iv_ruleSectionReferenceinModelingUnit= ruleSectionReferenceinModelingUnit EOF ;
- public final EObject entryRuleSectionReferenceinModelingUnit() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSectionReferenceinModelingUnit = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1087:2: (iv_ruleSectionReferenceinModelingUnit= ruleSectionReferenceinModelingUnit EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1088:2: iv_ruleSectionReferenceinModelingUnit= ruleSectionReferenceinModelingUnit EOF
- {
- currentNode = createCompositeNode(grammarAccess.getSectionReferenceinModelingUnitRule(), currentNode);
- pushFollow(FOLLOW_ruleSectionReferenceinModelingUnit_in_entryRuleSectionReferenceinModelingUnit2012);
- iv_ruleSectionReferenceinModelingUnit=ruleSectionReferenceinModelingUnit();
- _fsp--;
-
- current =iv_ruleSectionReferenceinModelingUnit;
- match(input,EOF,FOLLOW_EOF_in_entryRuleSectionReferenceinModelingUnit2022);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleSectionReferenceinModelingUnit
-
-
- // $ANTLR start ruleSectionReferenceinModelingUnit
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1095:1: ruleSectionReferenceinModelingUnit returns [EObject current=null] : ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) ;
- public final EObject ruleSectionReferenceinModelingUnit() throws RecognitionException {
- EObject current = null;
-
- Token lv_lineBreak_3_0=null;
- EObject lv_referencedObject_1_0 = null;
-
- AntlrDatatypeRuleToken lv_textToPrint_2_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1100:6: ( ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1101:1: ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1101:1: ( '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1101:3: '@see' ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- {
- match(input,15,FOLLOW_15_in_ruleSectionReferenceinModelingUnit2057);
-
- createLeafNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getSeeKeyword_0(), null);
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1105:1: ( (lv_referencedObject_1_0= ruleSectionOrParagraphReference ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1106:1: (lv_referencedObject_1_0= ruleSectionOrParagraphReference )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1106:1: (lv_referencedObject_1_0= ruleSectionOrParagraphReference )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1107:3: lv_referencedObject_1_0= ruleSectionOrParagraphReference
- {
-
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getReferencedObjectSectionOrParagraphReferenceParserRuleCall_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleSectionOrParagraphReference_in_ruleSectionReferenceinModelingUnit2078);
- lv_referencedObject_1_0=ruleSectionOrParagraphReference();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "referencedObject",
- lv_referencedObject_1_0,
- "SectionOrParagraphReference",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1129:2: ( (lv_textToPrint_2_0= ruleEString ) )?
- int alt16=2;
- int LA16_0 = input.LA(1);
-
- if ( (LA16_0==RULE_STRING) ) {
- alt16=1;
- }
- else if ( (LA16_0==RULE_STRINGWITHOUTQUOTES) ) {
- int LA16_2 = input.LA(2);
-
- if ( (LA16_2==EOF||(LA16_2>=RULE_STRINGWITHOUTQUOTES && LA16_2<=RULE_LINE_BREAK)||(LA16_2>=15 && LA16_2<=17)||LA16_2==21||(LA16_2>=27 && LA16_2<=28)||LA16_2==33||(LA16_2>=38 && LA16_2<=39)) ) {
- alt16=1;
- }
- }
- switch (alt16) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1130:1: (lv_textToPrint_2_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1130:1: (lv_textToPrint_2_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1131:3: lv_textToPrint_2_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleSectionReferenceinModelingUnit2099);
- lv_textToPrint_2_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "textToPrint",
- lv_textToPrint_2_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1153:3: ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- int alt17=2;
- int LA17_0 = input.LA(1);
-
- if ( (LA17_0==RULE_LINE_BREAK) ) {
- alt17=1;
- }
- switch (alt17) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1154:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1154:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1155:3: lv_lineBreak_3_0= RULE_LINE_BREAK
- {
- lv_lineBreak_3_0=(Token)input.LT(1);
- match(input,RULE_LINE_BREAK,FOLLOW_RULE_LINE_BREAK_in_ruleSectionReferenceinModelingUnit2117);
-
- createLeafNode(grammarAccess.getSectionReferenceinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getSectionReferenceinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
- try {
- set(
- current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleSectionReferenceinModelingUnit
-
-
- // $ANTLR start entryRuleLabelinModelingUnit
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1185:1: entryRuleLabelinModelingUnit returns [EObject current=null] : iv_ruleLabelinModelingUnit= ruleLabelinModelingUnit EOF ;
- public final EObject entryRuleLabelinModelingUnit() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLabelinModelingUnit = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1186:2: (iv_ruleLabelinModelingUnit= ruleLabelinModelingUnit EOF )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1187:2: iv_ruleLabelinModelingUnit= ruleLabelinModelingUnit EOF
- {
- currentNode = createCompositeNode(grammarAccess.getLabelinModelingUnitRule(), currentNode);
- pushFollow(FOLLOW_ruleLabelinModelingUnit_in_entryRuleLabelinModelingUnit2159);
- iv_ruleLabelinModelingUnit=ruleLabelinModelingUnit();
- _fsp--;
-
- current =iv_ruleLabelinModelingUnit;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLabelinModelingUnit2169);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end entryRuleLabelinModelingUnit
-
-
- // $ANTLR start ruleLabelinModelingUnit
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1194:1: ruleLabelinModelingUnit returns [EObject current=null] : ( ( (lv_type_0_0= ruleTypeLabel ) ) ( (lv_labelValue_1_0= ruleEString ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) ;
- public final EObject ruleLabelinModelingUnit() throws RecognitionException {
- EObject current = null;
-
- Token lv_lineBreak_3_0=null;
- Enumerator lv_type_0_0 = null;
-
- AntlrDatatypeRuleToken lv_labelValue_1_0 = null;
-
- AntlrDatatypeRuleToken lv_textToPrint_2_0 = null;
-
-
- EObject temp=null; setCurrentLookahead(); resetLookahead();
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1199:6: ( ( ( (lv_type_0_0= ruleTypeLabel ) ) ( (lv_labelValue_1_0= ruleEString ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1200:1: ( ( (lv_type_0_0= ruleTypeLabel ) ) ( (lv_labelValue_1_0= ruleEString ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1200:1: ( ( (lv_type_0_0= ruleTypeLabel ) ) ( (lv_labelValue_1_0= ruleEString ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )? )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1200:2: ( (lv_type_0_0= ruleTypeLabel ) ) ( (lv_labelValue_1_0= ruleEString ) ) ( (lv_textToPrint_2_0= ruleEString ) )? ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1200:2: ( (lv_type_0_0= ruleTypeLabel ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1201:1: (lv_type_0_0= ruleTypeLabel )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1201:1: (lv_type_0_0= ruleTypeLabel )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1202:3: lv_type_0_0= ruleTypeLabel
- {
-
- currentNode=createCompositeNode(grammarAccess.getLabelinModelingUnitAccess().getTypeTypeLabelEnumRuleCall_0_0(), currentNode);
-
- pushFollow(FOLLOW_ruleTypeLabel_in_ruleLabelinModelingUnit2215);
- lv_type_0_0=ruleTypeLabel();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "type",
- lv_type_0_0,
- "TypeLabel",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1224:2: ( (lv_labelValue_1_0= ruleEString ) )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1225:1: (lv_labelValue_1_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1225:1: (lv_labelValue_1_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1226:3: lv_labelValue_1_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getLabelinModelingUnitAccess().getLabelValueEStringParserRuleCall_1_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleLabelinModelingUnit2236);
- lv_labelValue_1_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "labelValue",
- lv_labelValue_1_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1248:2: ( (lv_textToPrint_2_0= ruleEString ) )?
- int alt18=2;
- int LA18_0 = input.LA(1);
-
- if ( (LA18_0==RULE_STRING) ) {
- alt18=1;
- }
- else if ( (LA18_0==RULE_STRINGWITHOUTQUOTES) ) {
- int LA18_2 = input.LA(2);
-
- if ( (LA18_2==EOF||(LA18_2>=RULE_STRINGWITHOUTQUOTES && LA18_2<=RULE_LINE_BREAK)||(LA18_2>=15 && LA18_2<=17)||LA18_2==21||(LA18_2>=27 && LA18_2<=28)||LA18_2==33||(LA18_2>=38 && LA18_2<=39)) ) {
- alt18=1;
- }
- }
- switch (alt18) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1249:1: (lv_textToPrint_2_0= ruleEString )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1249:1: (lv_textToPrint_2_0= ruleEString )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1250:3: lv_textToPrint_2_0= ruleEString
- {
-
- currentNode=createCompositeNode(grammarAccess.getLabelinModelingUnitAccess().getTextToPrintEStringParserRuleCall_2_0(), currentNode);
-
- pushFollow(FOLLOW_ruleEString_in_ruleLabelinModelingUnit2257);
- lv_textToPrint_2_0=ruleEString();
- _fsp--;
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode.getParent(), current);
- }
- try {
- set(
- current,
- "textToPrint",
- lv_textToPrint_2_0,
- "EString",
- currentNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
- currentNode = currentNode.getParent();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1272:3: ( (lv_lineBreak_3_0= RULE_LINE_BREAK ) )?
- int alt19=2;
- int LA19_0 = input.LA(1);
-
- if ( (LA19_0==RULE_LINE_BREAK) ) {
- alt19=1;
- }
- switch (alt19) {
- case 1 :
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1273:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1273:1: (lv_lineBreak_3_0= RULE_LINE_BREAK )
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1274:3: lv_lineBreak_3_0= RULE_LINE_BREAK
- {
- lv_lineBreak_3_0=(Token)input.LT(1);
- match(input,RULE_LINE_BREAK,FOLLOW_RULE_LINE_BREAK_in_ruleLabelinModelingUnit2275);
-
- createLeafNode(grammarAccess.getLabelinModelingUnitAccess().getLineBreakLINE_BREAKTerminalRuleCall_3_0(), "lineBreak");
-
-
- if (current==null) {
- current = factory.create(grammarAccess.getLabelinModelingUnitRule().getType().getClassifier());
- associateNodeWithAstElement(currentNode, current);
- }
- try {
- set(
- current,
- "lineBreak",
- true,
- "LINE_BREAK",
- lastConsumedNode);
- } catch (ValueConverterException vce) {
- handleValueConverterException(vce);
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- resetLookahead();
- lastConsumedNode = currentNode;
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end ruleLabelinModelingUnit
-
-
- // $ANTLR start entryRuleAnnotationDeclaration
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modelingunit/parser/antlr/internal/InternalModelingUnitXTextGrammar.g:1304:1: entryRuleAnnotationDeclaration returns [EObject current=null] : iv_ruleAnnotationDeclaration= ruleAnnotationDeclaration EOF ;
- public final EObject entryRuleAnnotationDeclaration() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAnnotationDeclaration = null;
-
-
- try {
- // ../org.eclipse.mylyn.docs.intent.parser/src-gen/org/eclipse/mylyn/docs/intent/parser/modeling