summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhubner2009-01-13 11:19:06 (EST)
committer dhubner2009-01-13 11:19:06 (EST)
commit33bc34267a66e770dde757420631c158e7be3c86 (patch)
tree7728da9445475d112a2ee4946be7ad089a0242e2
parenta5532e407d09b902d2479a8e86ddc98522ee1e5c (diff)
downloadorg.eclipse.mwe-33bc34267a66e770dde757420631c158e7be3c86.zip
org.eclipse.mwe-33bc34267a66e770dde757420631c158e7be3c86.tar.gz
org.eclipse.mwe-33bc34267a66e770dde757420631c158e7be3c86.tar.bz2
regeneration due to template changes
-rw-r--r--plugins/org.eclipse.emf.mwe.di.ui/.classpath1
-rw-r--r--plugins/org.eclipse.emf.mwe.di.ui/META-INF/MANIFEST.MF4
-rw-r--r--plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/GenMWEUiConfig.java6
-rw-r--r--plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEGenProposalProvider.java154
-rw-r--r--plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEUiConfig.java24
-rw-r--r--plugins/org.eclipse.emf.mwe.di.ui/src/org/eclipse/emf/mwe/di/MWEUiConfig.java17
-rw-r--r--plugins/org.eclipse.emf.mwe.di/META-INF/MANIFEST.MF1
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/AbstractMWERuntimeConfig.java13
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/MWEAntlrTokenFileProvider.java (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/MWEAntlrTokenFileProvider.java)4
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/MWEParser.java (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/MWEParser.java)8
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g)14
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.tokens (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.tokens)0
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWELexer.java (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWELexer.java)164
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWEParser.java (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWEParser.java)438
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE__.g (renamed from plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE__.g)16
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEPackratParser.java22
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEParserConfiguration.java294
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignableConsumer.java75
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignmentConsumer.java124
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEComplexValueConsumer.java161
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEFileConsumer.java108
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEGenericImportConsumer.java94
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEIdRefConsumer.java61
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEImportConsumer.java75
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEJavaImportConsumer.java132
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWELocalVariableConsumer.java138
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertiesFileImportConsumer.java113
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertyConsumer.java75
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEQualifiedNameConsumer.java102
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWESimpleValueConsumer.java61
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEValueConsumer.java109
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEWorkflowRefConsumer.java137
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parsetree/reconstr/MWEParseTreeConstructor.java136
33 files changed, 2367 insertions, 514 deletions
diff --git a/plugins/org.eclipse.emf.mwe.di.ui/.classpath b/plugins/org.eclipse.emf.mwe.di.ui/.classpath
index 64c5e31..59cf397 100644
--- a/plugins/org.eclipse.emf.mwe.di.ui/.classpath
+++ b/plugins/org.eclipse.emf.mwe.di.ui/.classpath
@@ -3,5 +3,6 @@
<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"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="src-gen"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/plugins/org.eclipse.emf.mwe.di.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.mwe.di.ui/META-INF/MANIFEST.MF
index 9342132..e3a0a83 100644
--- a/plugins/org.eclipse.emf.mwe.di.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.mwe.di.ui/META-INF/MANIFEST.MF
@@ -8,7 +8,9 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.emf.mwe.di;bundle-version="1.0.0",
org.eclipse.core.runtime;bundle-version="3.4.0",
org.eclipse.xtext.ui.core,
- org.apache.commons.logging;bundle-version="1.0.4"
+ org.apache.commons.logging;bundle-version="1.0.4",
+ org.eclipse.emf.mwe.di.tests,
+ org.eclipse.xtext.ui.common
Export-Package: org.eclipse.emf.mwe.di.ui,
org.eclipse.emf.mwe.di.ui.analyze;x-friends:="org.eclipse.emf.mwe.di.ui.tests",
org.eclipse.emf.mwe.di.ui.analyze.internal;x-friends:="org.eclipse.emf.mwe.di.ui.tests",
diff --git a/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/GenMWEUiConfig.java b/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/GenMWEUiConfig.java
index 9a21603..411e4af 100644
--- a/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/GenMWEUiConfig.java
+++ b/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/GenMWEUiConfig.java
@@ -14,10 +14,10 @@ public class GenMWEUiConfig extends AbstractServiceRegistrationFactory {
public Set<IServiceRegistration> registrations() {
return scope(org.eclipse.emf.mwe.di.IMWE.SCOPE)
- .with(org.eclipse.xtext.ui.common.editor.codecompletion.IProposalProvider.class, org.eclipse.emf.mwe.di.MWEGenProposalProvider.class)
+ .with(org.eclipse.xtext.ui.common.editor.contentassist.IProposalProvider.class, org.eclipse.emf.mwe.di.MWEGenProposalProvider.class)
.with(org.eclipse.jface.text.contentassist.IContentAssistant.class, org.eclipse.jface.text.contentassist.ContentAssistant.class)
- .with(org.eclipse.jface.text.contentassist.IContentAssistProcessor.class, org.eclipse.xtext.ui.common.editor.codecompletion.DefaultContentAssistProcessor.class)
- .with(org.eclipse.xtext.ui.common.editor.codecompletion.ILinkingCandidatesService.class, org.eclipse.xtext.ui.common.editor.codecompletion.impl.DefaultLinkingCandidatesService.class)
+ .with(org.eclipse.jface.text.contentassist.IContentAssistProcessor.class, org.eclipse.xtext.ui.common.editor.contentassist.impl.DefaultContentAssistProcessor.class)
+ .with(org.eclipse.xtext.ui.common.editor.contentassist.ILinkingCandidatesService.class, org.eclipse.xtext.ui.common.editor.contentassist.impl.DefaultLinkingCandidatesService.class)
.registrations();
}
diff --git a/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEGenProposalProvider.java b/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEGenProposalProvider.java
index 290ffbb..d3cc8e9 100644
--- a/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEGenProposalProvider.java
+++ b/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEGenProposalProvider.java
@@ -6,237 +6,237 @@ package org.eclipse.emf.mwe.di;
import java.util.Collections;
import java.util.List;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.CrossReference;
import org.eclipse.xtext.RuleCall;
-import org.eclipse.xtext.ui.common.editor.codecompletion.AbstractProposalProvider;
-import org.eclipse.xtext.ui.common.editor.codecompletion.IProposalProvider;
+import org.eclipse.xtext.ui.common.editor.contentassist.AbstractProposalProvider;
+import org.eclipse.xtext.ui.common.editor.contentassist.IProposalProvider;
+import org.eclipse.xtext.ui.common.editor.contentassist.IContentAssistContext;
/**
* Represents a generated, default implementation of interface {@link IProposalProvider}.
*
- * In addition to the declared methods, the framework tries to call grammar dependent methods for assignments using reflection.
- * The signature of such methods invoked reflectively follows the following pattern:
- *
- * public List<ICompletionProposal> complete[Typename][featureName](Assignment ele, EObject model, String prefix)
- *
- * <b>Example</b>
- * Given the following grammar :
- * <code>
- * RuleA returns MyType :
- * "myType" name=ID;
- * </code>
- *
- * One could provide the following method in an implementation of this interface:
- * <code>
- * public List<ICompletionProposal> completeMyTypeName(Assignment ele, EObject model, String prefix, IDocument doc) {...}
- * </code>
- * Note that if you have generated Java classes for your domain model (meta model) you can alternatively declare the second parameter using
- * a specific type:
- * <code>
- * public List<ICompletionProposal> completeMyTypeName(Assignment ele, MyType model, String prefix, IDocument doc) {...}
- * </code>
- *
+ * @see org.eclipse.xtext.ui.common.editor.contentassist.IProposalProvider
*/
public class MWEGenProposalProvider extends AbstractProposalProvider {
// constants
private static final String UI_PLUGIN_ID = "org.eclipse.emf.mwe.di.ui";
- public List<? extends ICompletionProposal> completeFileImports(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeFileImports(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeFileImports feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeFileProperties(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeFileProperties(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeFileProperties feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeFileValue(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeFileValue(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeFileValue feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeJavaImportJavaImport(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeJavaImportJavaImport(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeJavaImportJavaImport feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeJavaImportWildcard(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeJavaImportWildcard(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeJavaImportWildcard feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeGenericImportValue(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeGenericImportValue(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeGenericImportValue feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"\"GenericImportValue\"", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "\"GenericImportValue\"", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeLocalVariableName(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeLocalVariableName(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeLocalVariableName feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"LocalVariableName", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "LocalVariableName", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeLocalVariableValue(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeLocalVariableValue(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeLocalVariableValue feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completePropertiesFileImportFile(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completePropertiesFileImportFile(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completePropertiesFileImportFile feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"\"PropertiesFileImportFile\"", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "\"PropertiesFileImportFile\"", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeSimpleValueValue(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeSimpleValueValue(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeSimpleValueValue feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"\"SimpleValueValue\"", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "\"SimpleValueValue\"", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeComplexValueClassName(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeComplexValueClassName(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeComplexValueClassName feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeComplexValueId(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeComplexValueId(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeComplexValueId feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"ComplexValueId", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "ComplexValueId", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeComplexValueFooBar(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeComplexValueFooBar(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeComplexValueFooBar feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeComplexValueAssignments(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeComplexValueAssignments(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeComplexValueAssignments feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeWorkflowRefUri(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeWorkflowRefUri(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeWorkflowRefUri feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"\"WorkflowRefUri\"", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "\"WorkflowRefUri\"", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeWorkflowRefAssignments(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeWorkflowRefAssignments(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeWorkflowRefAssignments feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeIdRefId(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeIdRefId(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeIdRefId feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"IdRefId", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "IdRefId", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeAssignmentFeature(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeAssignmentFeature(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeAssignmentFeature feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"AssignmentFeature", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "AssignmentFeature", contentAssistContext));
}
- public List<? extends ICompletionProposal> completeAssignmentOperator(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeAssignmentOperator(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeAssignmentOperator feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeAssignmentValue(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeAssignmentValue(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeAssignmentValue feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
return Collections.emptyList();
}
- public List<? extends ICompletionProposal> completeQualifiedNameParts(Assignment assignment, EObject model, String prefix, IDocument doc,int offset) {
+ public List<? extends ICompletionProposal> completeQualifiedNameParts(Assignment assignment, IContentAssistContext contentAssistContext) {
if (logger.isDebugEnabled()) {
logger.debug("completeQualifiedNameParts feature '" + assignment.getFeature() + "' terminal '"
+ assignment.getTerminal() + "' cardinality '" + assignment.getCardinality() + "' and prefix '"
- + prefix.trim() + "'");
+ + contentAssistContext.getMatchString().trim() + "'");
}
- return Collections.singletonList(createCompletionProposal(assignment,model,"QualifiedNameParts", offset));
+ return Collections.singletonList(createCompletionProposal(assignment, "QualifiedNameParts", contentAssistContext));
}
+
+ public List<? extends ICompletionProposal> complete(RuleCall ruleCall, IContentAssistContext contentAssistContext) {
+ if (logger.isDebugEnabled()) {
+ logger.debug("complete '" + ruleCall.getRule().getName() + "' cardinality '" + ruleCall.getCardinality()
+ + "' for model '" + contentAssistContext.getModel() + "' and prefix '" + contentAssistContext.getMatchString() + "'");
+ }
+ return Collections.emptyList();
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@Override
protected String getDefaultImageFilePath() {
return "icons/editor.gif";
diff --git a/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEUiConfig.java b/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEUiConfig.java
deleted file mode 100644
index 88ce9e0..0000000
--- a/plugins/org.eclipse.emf.mwe.di.ui/src-gen/org/eclipse/emf/mwe/di/MWEUiConfig.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-Generated with Xtext
-*/
-package org.eclipse.emf.mwe.di;
-
-import java.util.Set;
-
-import org.eclipse.xtext.service.AbstractServiceRegistrationFactory;
-
-/**
- * used to register components to be used at runtime.
- */
-public class MWEUiConfig extends AbstractServiceRegistrationFactory {
-
- public Set<IServiceRegistration> registrations() {
- return scope(org.eclipse.emf.mwe.di.IMWE.SCOPE)
- .with(org.eclipse.xtext.ui.common.editor.codecompletion.IProposalProvider.class, org.eclipse.emf.mwe.di.MWEGenProposalProvider.class)
- .with(org.eclipse.jface.text.contentassist.IContentAssistant.class, org.eclipse.jface.text.contentassist.ContentAssistant.class)
- .with(org.eclipse.jface.text.contentassist.IContentAssistProcessor.class, org.eclipse.xtext.ui.common.editor.codecompletion.DefaultContentAssistProcessor.class)
-
- .registrations();
- }
-
-}
diff --git a/plugins/org.eclipse.emf.mwe.di.ui/src/org/eclipse/emf/mwe/di/MWEUiConfig.java b/plugins/org.eclipse.emf.mwe.di.ui/src/org/eclipse/emf/mwe/di/MWEUiConfig.java
new file mode 100644
index 0000000..01fa791
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di.ui/src/org/eclipse/emf/mwe/di/MWEUiConfig.java
@@ -0,0 +1,17 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di;
+
+import java.util.Set;
+
+/**
+ * used to register components to be used within the IDE.
+ */
+public class MWEUiConfig extends GenMWEUiConfig {
+
+ public Set<IServiceRegistration> registrations() {
+ return super.registrations();
+ }
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.mwe.di/META-INF/MANIFEST.MF
index 739e9bb..9393f34 100644
--- a/plugins/org.eclipse.emf.mwe.di/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.mwe.di/META-INF/MANIFEST.MF
@@ -10,7 +10,6 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.eclipse.emf.mwe,
org.eclipse.emf.mwe.di,
org.eclipse.emf.mwe.di.execution,
- org.eclipse.emf.mwe.di.parser,
org.eclipse.emf.mwe.di.services,
org.eclipse.emf.mwe.di.types,
org.eclipse.emf.mwe.di.types.emf,
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/AbstractMWERuntimeConfig.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/AbstractMWERuntimeConfig.java
index ce4393b..50654d7 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/AbstractMWERuntimeConfig.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/AbstractMWERuntimeConfig.java
@@ -17,16 +17,20 @@ public abstract class AbstractMWERuntimeConfig extends AbstractServiceRegistrati
return org.eclipse.emf.mwe.di.services.MWEGrammarAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.parser.packrat.IPackratParser> getIPackratParser() {
+ return org.eclipse.emf.mwe.di.parser.packrat.MWEPackratParser.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
- return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
+ return org.eclipse.xtext.parser.antlr.AntlrEcoreElementFactory.class;
}
protected Class<? extends org.eclipse.xtext.parser.IParser> getIParser() {
- return org.eclipse.emf.mwe.di.parser.MWEParser.class;
+ return org.eclipse.emf.mwe.di.parser.antlr.MWEParser.class;
}
protected Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> getIAntlrTokenFileProvider() {
- return org.eclipse.emf.mwe.di.parser.MWEAntlrTokenFileProvider.class;
+ return org.eclipse.emf.mwe.di.parser.antlr.MWEAntlrTokenFileProvider.class;
}
protected Class<? extends org.eclipse.xtext.resource.IResourceFactory> getIResourceFactory() {
@@ -50,7 +54,7 @@ public abstract class AbstractMWERuntimeConfig extends AbstractServiceRegistrati
}
protected Class<? extends org.eclipse.xtext.parser.antlr.Lexer> getLexer() {
- return org.eclipse.emf.mwe.di.parser.internal.InternalMWELexer.class;
+ return org.eclipse.emf.mwe.di.parser.antlr.internal.InternalMWELexer.class;
}
@@ -58,6 +62,7 @@ public abstract class AbstractMWERuntimeConfig extends AbstractServiceRegistrati
return scope(org.eclipse.emf.mwe.di.IMWE.SCOPE)
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
.with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
+ .with(org.eclipse.xtext.parser.packrat.IPackratParser.class, getIPackratParser())
.with(org.eclipse.xtext.parser.IAstFactory.class, getIAstFactory())
.with(org.eclipse.xtext.parser.IParser.class, getIParser())
.with(org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider.class, getIAntlrTokenFileProvider())
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/MWEAntlrTokenFileProvider.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/MWEAntlrTokenFileProvider.java
index 72295f5..25ae3ee 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/MWEAntlrTokenFileProvider.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/MWEAntlrTokenFileProvider.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.emf.mwe.di.parser;
+package org.eclipse.emf.mwe.di.parser.antlr;
import java.io.InputStream;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
@@ -10,6 +10,6 @@ public class MWEAntlrTokenFileProvider implements IAntlrTokenFileProvider {
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = MWEAntlrTokenFileProvider.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/emf/mwe/di/parser/internal/InternalMWE.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.tokens");
}
}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/MWEParser.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/MWEParser.java
index 8ac2276..29b473c 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/MWEParser.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/MWEParser.java
@@ -1,7 +1,7 @@
/*
Generated with Xtext
*/
-package org.eclipse.emf.mwe.di.parser;
+package org.eclipse.emf.mwe.di.parser.antlr;
import org.antlr.runtime.ANTLRInputStream;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
@@ -11,10 +11,10 @@ import org.eclipse.xtext.parser.ParseException;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.service.Inject;
-import org.eclipse.emf.mwe.di.parser.internal.InternalMWELexer;
-import org.eclipse.emf.mwe.di.parser.internal.InternalMWEParser;
+import org.eclipse.emf.mwe.di.parser.antlr.internal.InternalMWELexer;
+import org.eclipse.emf.mwe.di.parser.antlr.internal.InternalMWEParser;
-public class MWEParser extends org.eclipse.xtext.parser.AbstractParser {
+public class MWEParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
protected AntlrTokenDefProvider antlrTokenDefProvider;
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g
index c395edc..0488e2e 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g
@@ -4,11 +4,11 @@ Generated with Xtext
grammar InternalMWE;
options {
- superClass=AbstractAntlrParser;
+ superClass=AbstractInternalAntlrParser;
}
@lexer::header {
-package org.eclipse.emf.mwe.di.parser.internal;
+package org.eclipse.emf.mwe.di.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.
@@ -16,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer;
}
@parser::header {
-package org.eclipse.emf.mwe.di.parser.internal;
+package org.eclipse.emf.mwe.di.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -25,10 +25,10 @@ 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.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
}
@@ -43,7 +43,7 @@ import org.eclipse.xtext.parser.antlr.ValueConverterException;
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalMWEParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/emf/mwe/di/parser/internal/InternalMWE.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.tokens");
}
@Override
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.tokens b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.tokens
index 0f9ad55..0f9ad55 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.tokens
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.tokens
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWELexer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWELexer.java
index 381c7c9..52e92ee 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWELexer.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWELexer.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g 2009-01-04 17:03:35
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g 2009-01-13 09:51:31
-package org.eclipse.emf.mwe.di.parser.internal;
+package org.eclipse.emf.mwe.di.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.
@@ -37,14 +37,14 @@ public class InternalMWELexer extends Lexer {
public InternalMWELexer(CharStream input) {
super(input);
}
- public String getGrammarFileName() { return "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g"; }
// $ANTLR start T11
public final void mT11() throws RecognitionException {
try {
int _type = T11;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:10:5: ( 'import' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:10:7: 'import'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:10:5: ( 'import' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:10:7: 'import'
{
match("import");
@@ -62,8 +62,8 @@ public class InternalMWELexer extends Lexer {
public final void mT12() throws RecognitionException {
try {
int _type = T12;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:11:5: ( '.' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:11:7: '.'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:11:5: ( '.' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:11:7: '.'
{
match('.');
@@ -80,8 +80,8 @@ public class InternalMWELexer extends Lexer {
public final void mT13() throws RecognitionException {
try {
int _type = T13;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:12:5: ( '*' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:12:7: '*'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:12:5: ( '*' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:12:7: '*'
{
match('*');
@@ -98,8 +98,8 @@ public class InternalMWELexer extends Lexer {
public final void mT14() throws RecognitionException {
try {
int _type = T14;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:13:5: ( ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:13:7: ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:13:5: ( ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:13:7: ';'
{
match(';');
@@ -116,8 +116,8 @@ public class InternalMWELexer extends Lexer {
public final void mT15() throws RecognitionException {
try {
int _type = T15;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:14:5: ( 'var' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:14:7: 'var'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:14:5: ( 'var' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:14:7: 'var'
{
match("var");
@@ -135,8 +135,8 @@ public class InternalMWELexer extends Lexer {
public final void mT16() throws RecognitionException {
try {
int _type = T16;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:15:5: ( '=' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:15:7: '='
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:15:5: ( '=' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:15:7: '='
{
match('=');
@@ -153,8 +153,8 @@ public class InternalMWELexer extends Lexer {
public final void mT17() throws RecognitionException {
try {
int _type = T17;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:16:5: ( 'file' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:16:7: 'file'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:16:5: ( 'file' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:16:7: 'file'
{
match("file");
@@ -172,8 +172,8 @@ public class InternalMWELexer extends Lexer {
public final void mT18() throws RecognitionException {
try {
int _type = T18;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:17:5: ( ':' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:17:7: ':'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:17:5: ( ':' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:17:7: ':'
{
match(':');
@@ -190,8 +190,8 @@ public class InternalMWELexer extends Lexer {
public final void mT19() throws RecognitionException {
try {
int _type = T19;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:18:5: ( '{' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:18:7: '{'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:18:5: ( '{' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:18:7: '{'
{
match('{');
@@ -208,8 +208,8 @@ public class InternalMWELexer extends Lexer {
public final void mT20() throws RecognitionException {
try {
int _type = T20;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:19:5: ( '}' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:19:7: '}'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:19:5: ( '}' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:19:7: '}'
{
match('}');
@@ -226,8 +226,8 @@ public class InternalMWELexer extends Lexer {
public final void mT21() throws RecognitionException {
try {
int _type = T21;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:20:5: ( '+=' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:20:7: '+='
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:20:5: ( '+=' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:20:7: '+='
{
match("+=");
@@ -245,10 +245,10 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:938:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:938:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:938:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:938:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:938:11: ( '^' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:938:11: ( '^' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -257,7 +257,7 @@ public class InternalMWELexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:938:12: '^'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:938:12: '^'
{
match('^');
@@ -276,7 +276,7 @@ public class InternalMWELexer extends Lexer {
recover(mse); throw mse;
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:938:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:938:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -289,7 +289,7 @@ public class InternalMWELexer extends Lexer {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.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();
@@ -324,10 +324,10 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_INT() throws RecognitionException {
try {
int _type = RULE_INT;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:940:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:940:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:940:10: ( ( '0' .. '9' )+ )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:940:12: ( '0' .. '9' )+
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:940:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:940:12: ( '0' .. '9' )+
int cnt3=0;
loop3:
do {
@@ -341,7 +341,7 @@ public class InternalMWELexer extends Lexer {
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:940:13: '0' .. '9'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:940:13: '0' .. '9'
{
matchRange('0','9');
@@ -371,7 +371,7 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_STRING() throws RecognitionException {
try {
int _type = RULE_STRING;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -389,10 +389,10 @@ public class InternalMWELexer extends Lexer {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
loop4:
do {
int alt4=3;
@@ -408,7 +408,7 @@ public class InternalMWELexer extends Lexer {
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942: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' ) {
@@ -425,7 +425,7 @@ public class InternalMWELexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:65: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -451,10 +451,10 @@ public class InternalMWELexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
loop5:
do {
int alt5=3;
@@ -470,7 +470,7 @@ public class InternalMWELexer extends Lexer {
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:108: '\\\\' ( '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' ) {
@@ -487,7 +487,7 @@ public class InternalMWELexer extends Lexer {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:942:152: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -525,12 +525,12 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_ML_COMMENT() throws RecognitionException {
try {
int _type = RULE_ML_COMMENT;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:944:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:944:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:944:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:944:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:944:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:944:24: ( options {greedy=false; } : . )*
loop7:
do {
int alt7=2;
@@ -555,7 +555,7 @@ public class InternalMWELexer extends Lexer {
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:944:52: .
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:944:52: .
{
matchAny();
@@ -584,12 +584,12 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_SL_COMMENT() throws RecognitionException {
try {
int _type = RULE_SL_COMMENT;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:24: (~ ( '\\n' | '\\r' ) )*
loop8:
do {
int alt8=2;
@@ -602,7 +602,7 @@ public class InternalMWELexer extends Lexer {
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946: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();
@@ -623,7 +623,7 @@ public class InternalMWELexer extends Lexer {
}
} while (true);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:38: ( ( '\\r' )? '\\n' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -632,9 +632,9 @@ public class InternalMWELexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:39: ( '\\r' )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -643,7 +643,7 @@ public class InternalMWELexer extends Lexer {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:39: '\\r'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:946:39: '\\r'
{
match('\r');
@@ -674,10 +674,10 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:948:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:948:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:948:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:948:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:948:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:948:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -691,7 +691,7 @@ public class InternalMWELexer extends Lexer {
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
@@ -731,8 +731,8 @@ public class InternalMWELexer extends Lexer {
public final void mRULE_ANY_OTHER() throws RecognitionException {
try {
int _type = RULE_ANY_OTHER;
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:950:16: ( . )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:950:18: .
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:950:16: ( . )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:950:18: .
{
matchAny();
@@ -746,7 +746,7 @@ public class InternalMWELexer extends Lexer {
// $ANTLR end RULE_ANY_OTHER
public void mTokens() throws RecognitionException {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
int alt12=18;
int LA12_0 = input.LA(1);
@@ -930,126 +930,126 @@ public class InternalMWELexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:10: T11
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:10: T11
{
mT11();
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:14: T12
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:14: T12
{
mT12();
}
break;
case 3 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:18: T13
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:18: T13
{
mT13();
}
break;
case 4 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:22: T14
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:22: T14
{
mT14();
}
break;
case 5 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:26: T15
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:26: T15
{
mT15();
}
break;
case 6 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:30: T16
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:30: T16
{
mT16();
}
break;
case 7 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:34: T17
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:34: T17
{
mT17();
}
break;
case 8 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:38: T18
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:38: T18
{
mT18();
}
break;
case 9 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:42: T19
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:42: T19
{
mT19();
}
break;
case 10 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:46: T20
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:46: T20
{
mT20();
}
break;
case 11 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:50: T21
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:50: T21
{
mT21();
}
break;
case 12 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:54: RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:54: RULE_ID
{
mRULE_ID();
}
break;
case 13 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:62: RULE_INT
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:62: RULE_INT
{
mRULE_INT();
}
break;
case 14 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:71: RULE_STRING
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:71: RULE_STRING
{
mRULE_STRING();
}
break;
case 15 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:83: RULE_ML_COMMENT
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:83: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
case 16 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:99: RULE_SL_COMMENT
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:99: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
case 17 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:115: RULE_WS
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:115: RULE_WS
{
mRULE_WS();
}
break;
case 18 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:1:123: RULE_ANY_OTHER
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:1:123: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1063,4 +1063,4 @@ public class InternalMWELexer extends Lexer {
-} \ No newline at end of file
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWEParser.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWEParser.java
index 3d3fca4..c09d1fe 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWEParser.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWEParser.java
@@ -1,6 +1,6 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g 2009-01-04 17:03:34
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g 2009-01-13 09:51:31
-package org.eclipse.emf.mwe.di.parser.internal;
+package org.eclipse.emf.mwe.di.parser.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -9,10 +9,10 @@ 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.xtext.parser.antlr.AbstractAntlrParser;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
-import org.eclipse.xtext.parser.antlr.ValueConverterException;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.xtext.conversion.ValueConverterException;
@@ -21,7 +21,7 @@ import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-public class InternalMWEParser extends AbstractAntlrParser {
+public class InternalMWEParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import'", "'.'", "'*'", "';'", "'var'", "'='", "'file'", "':'", "'{'", "'}'", "'+='"
};
@@ -40,7 +40,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g"; }
+ public String getGrammarFileName() { return "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g"; }
@@ -53,7 +53,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
@Override
protected InputStream getTokenFile() {
ClassLoader classLoader = InternalMWEParser.class.getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/emf/mwe/di/parser/internal/InternalMWE.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.tokens");
}
@Override
@@ -64,7 +64,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleFile
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:66:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:66:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
public final EObject entryRuleFile() throws RecognitionException {
EObject current = null;
@@ -72,8 +72,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:66:46: (iv_ruleFile= ruleFile EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:67:2: iv_ruleFile= ruleFile EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:66:46: (iv_ruleFile= ruleFile EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:67:2: iv_ruleFile= ruleFile EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleFile_in_entryRuleFile71);
@@ -99,7 +99,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleFile
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:74:1: ruleFile returns [EObject current=null] : ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:74:1: ruleFile returns [EObject current=null] : ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) ) ;
public final EObject ruleFile() throws RecognitionException {
EObject current = null;
@@ -112,16 +112,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:76:33: ( ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:1: ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:76:33: ( ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:77:1: ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:1: ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:2: ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:77:1: ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:77:2: ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:2: ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:3: (lv_imports= ruleImport )* (lv_properties= ruleProperty )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:77:2: ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:77:3: (lv_imports= ruleImport )* (lv_properties= ruleProperty )*
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:3: (lv_imports= ruleImport )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:77:3: (lv_imports= ruleImport )*
loop1:
do {
int alt1=2;
@@ -134,7 +134,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:80:6: lv_imports= ruleImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:80:6: lv_imports= ruleImport
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, currentNode);
@@ -165,7 +165,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
} while (true);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:98:3: (lv_properties= ruleProperty )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:98:3: (lv_properties= ruleProperty )*
loop2:
do {
int alt2=2;
@@ -178,7 +178,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:101:6: lv_properties= ruleProperty
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:101:6: lv_properties= ruleProperty
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -212,8 +212,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:119:4: (lv_value= ruleComplexValue )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:122:6: lv_value= ruleComplexValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:119:4: (lv_value= ruleComplexValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:122:6: lv_value= ruleComplexValue
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -259,7 +259,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:147:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:147:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -267,8 +267,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:147:48: (iv_ruleImport= ruleImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:148:2: iv_ruleImport= ruleImport EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:147:48: (iv_ruleImport= ruleImport EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:148:2: iv_ruleImport= ruleImport EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.1" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleImport_in_entryRuleImport257);
@@ -294,7 +294,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:155:1: ruleImport returns [EObject current=null] : (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:155:1: ruleImport returns [EObject current=null] : (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
@@ -305,10 +305,10 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:157:33: ( (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:158:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:157:33: ( (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:158:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:158:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:158:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )
int alt3=2;
int LA3_0 = input.LA(1);
@@ -336,7 +336,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:159:5: this_JavaImport= ruleJavaImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:159:5: this_JavaImport= ruleJavaImport
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.1/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
@@ -353,7 +353,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:169:5: this_GenericImport= ruleGenericImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:169:5: this_GenericImport= ruleGenericImport
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.1/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
@@ -390,7 +390,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleJavaImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:184:1: entryRuleJavaImport returns [EObject current=null] : iv_ruleJavaImport= ruleJavaImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:184:1: entryRuleJavaImport returns [EObject current=null] : iv_ruleJavaImport= ruleJavaImport EOF ;
public final EObject entryRuleJavaImport() throws RecognitionException {
EObject current = null;
@@ -398,8 +398,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:184:52: (iv_ruleJavaImport= ruleJavaImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:185:2: iv_ruleJavaImport= ruleJavaImport EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:184:52: (iv_ruleJavaImport= ruleJavaImport EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:185:2: iv_ruleJavaImport= ruleJavaImport EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleJavaImport_in_entryRuleJavaImport373);
@@ -425,7 +425,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleJavaImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:192:1: ruleJavaImport returns [EObject current=null] : ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:192:1: ruleJavaImport returns [EObject current=null] : ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' ) ;
public final EObject ruleJavaImport() throws RecognitionException {
EObject current = null;
@@ -435,24 +435,24 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:194:33: ( ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:1: ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:194:33: ( ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:1: ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:1: ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:2: ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:1: ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:2: ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:2: ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:3: ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:2: ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:3: ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )?
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:3: ( 'import' (lv_javaImport= ruleQualifiedName ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:195:4: 'import' (lv_javaImport= ruleQualifiedName )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:3: ( 'import' (lv_javaImport= ruleQualifiedName ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:195:4: 'import' (lv_javaImport= ruleQualifiedName )
{
match(input,11,FOLLOW_11_in_ruleJavaImport419);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:199:1: (lv_javaImport= ruleQualifiedName )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:202:6: lv_javaImport= ruleQualifiedName
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:199:1: (lv_javaImport= ruleQualifiedName )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:202:6: lv_javaImport= ruleQualifiedName
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -480,7 +480,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:220:3: ( '.' (lv_wildcard= '*' ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:220:3: ( '.' (lv_wildcard= '*' ) )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -489,14 +489,14 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:220:4: '.' (lv_wildcard= '*' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:220:4: '.' (lv_wildcard= '*' )
{
match(input,12,FOLLOW_12_in_ruleJavaImport468);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:224:1: (lv_wildcard= '*' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:226:6: lv_wildcard= '*'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:224:1: (lv_wildcard= '*' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:226:6: lv_wildcard= '*'
{
lv_wildcard=(Token)input.LT(1);
match(input,13,FOLLOW_13_in_ruleJavaImport489);
@@ -552,7 +552,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleGenericImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:255:1: entryRuleGenericImport returns [EObject current=null] : iv_ruleGenericImport= ruleGenericImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:255:1: entryRuleGenericImport returns [EObject current=null] : iv_ruleGenericImport= ruleGenericImport EOF ;
public final EObject entryRuleGenericImport() throws RecognitionException {
EObject current = null;
@@ -560,8 +560,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:255:55: (iv_ruleGenericImport= ruleGenericImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:256:2: iv_ruleGenericImport= ruleGenericImport EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:255:55: (iv_ruleGenericImport= ruleGenericImport EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:256:2: iv_ruleGenericImport= ruleGenericImport EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.3" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleGenericImport_in_entryRuleGenericImport546);
@@ -587,7 +587,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleGenericImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:263:1: ruleGenericImport returns [EObject current=null] : ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:263:1: ruleGenericImport returns [EObject current=null] : ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) ;
public final EObject ruleGenericImport() throws RecognitionException {
EObject current = null;
@@ -595,21 +595,21 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:265:33: ( ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:266:1: ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:265:33: ( ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:266:1: ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:266:1: ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:266:2: ( 'import' (lv_value= RULE_STRING ) ) ( ';' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:266:1: ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:266:2: ( 'import' (lv_value= RULE_STRING ) ) ( ';' )?
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:266:2: ( 'import' (lv_value= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:266:3: 'import' (lv_value= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:266:2: ( 'import' (lv_value= RULE_STRING ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:266:3: 'import' (lv_value= RULE_STRING )
{
match(input,11,FOLLOW_11_in_ruleGenericImport591);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:270:1: (lv_value= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:272:6: lv_value= RULE_STRING
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:270:1: (lv_value= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:272:6: lv_value= RULE_STRING
{
lv_value=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGenericImport612);
@@ -634,7 +634,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:290:3: ( ';' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:290:3: ( ';' )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -643,7 +643,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:290:4: ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:290:4: ';'
{
match(input,14,FOLLOW_14_in_ruleGenericImport634);
@@ -676,7 +676,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleProperty
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:301:1: entryRuleProperty returns [EObject current=null] : iv_ruleProperty= ruleProperty EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:301:1: entryRuleProperty returns [EObject current=null] : iv_ruleProperty= ruleProperty EOF ;
public final EObject entryRuleProperty() throws RecognitionException {
EObject current = null;
@@ -684,8 +684,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:301:50: (iv_ruleProperty= ruleProperty EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:302:2: iv_ruleProperty= ruleProperty EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:301:50: (iv_ruleProperty= ruleProperty EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:302:2: iv_ruleProperty= ruleProperty EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.4" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleProperty_in_entryRuleProperty669);
@@ -711,7 +711,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleProperty
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:309:1: ruleProperty returns [EObject current=null] : (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:309:1: ruleProperty returns [EObject current=null] : (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport ) ;
public final EObject ruleProperty() throws RecognitionException {
EObject current = null;
@@ -722,10 +722,10 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:311:33: ( (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:312:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:311:33: ( (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:312:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:312:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:312:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -753,7 +753,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:313:5: this_LocalVariable= ruleLocalVariable
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:313:5: this_LocalVariable= ruleLocalVariable
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.4/@alternatives/@groups.0" /* xtext::RuleCall */, currentNode);
@@ -770,7 +770,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:323:5: this_PropertiesFileImport= rulePropertiesFileImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:323:5: this_PropertiesFileImport= rulePropertiesFileImport
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.4/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
@@ -807,7 +807,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleLocalVariable
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:338:1: entryRuleLocalVariable returns [EObject current=null] : iv_ruleLocalVariable= ruleLocalVariable EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:338:1: entryRuleLocalVariable returns [EObject current=null] : iv_ruleLocalVariable= ruleLocalVariable EOF ;
public final EObject entryRuleLocalVariable() throws RecognitionException {
EObject current = null;
@@ -815,8 +815,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:338:55: (iv_ruleLocalVariable= ruleLocalVariable EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:339:2: iv_ruleLocalVariable= ruleLocalVariable EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:338:55: (iv_ruleLocalVariable= ruleLocalVariable EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:339:2: iv_ruleLocalVariable= ruleLocalVariable EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleLocalVariable_in_entryRuleLocalVariable785);
@@ -842,7 +842,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleLocalVariable
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:346:1: ruleLocalVariable returns [EObject current=null] : ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:346:1: ruleLocalVariable returns [EObject current=null] : ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' ) ;
public final EObject ruleLocalVariable() throws RecognitionException {
EObject current = null;
@@ -852,24 +852,24 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:348:33: ( ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:1: ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:348:33: ( ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:1: ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:1: ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:2: ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:1: ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:2: ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:2: ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:3: ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:2: ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:3: ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )?
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:3: ( 'var' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:349:4: 'var' (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:3: ( 'var' (lv_name= RULE_ID ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:349:4: 'var' (lv_name= RULE_ID )
{
match(input,15,FOLLOW_15_in_ruleLocalVariable831);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:353:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:355:6: lv_name= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:353:1: (lv_name= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:355:6: lv_name= RULE_ID
{
lv_name=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLocalVariable852);
@@ -894,7 +894,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:373:3: ( '=' (lv_value= ruleValue ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:373:3: ( '=' (lv_value= ruleValue ) )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -903,14 +903,14 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:373:4: '=' (lv_value= ruleValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:373:4: '=' (lv_value= ruleValue )
{
match(input,16,FOLLOW_16_in_ruleLocalVariable874);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:377:1: (lv_value= ruleValue )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:380:6: lv_value= ruleValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:377:1: (lv_value= ruleValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:380:6: lv_value= ruleValue
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -969,7 +969,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRulePropertiesFileImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:409:1: entryRulePropertiesFileImport returns [EObject current=null] : iv_rulePropertiesFileImport= rulePropertiesFileImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:409:1: entryRulePropertiesFileImport returns [EObject current=null] : iv_rulePropertiesFileImport= rulePropertiesFileImport EOF ;
public final EObject entryRulePropertiesFileImport() throws RecognitionException {
EObject current = null;
@@ -977,8 +977,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:409:62: (iv_rulePropertiesFileImport= rulePropertiesFileImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:410:2: iv_rulePropertiesFileImport= rulePropertiesFileImport EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:409:62: (iv_rulePropertiesFileImport= rulePropertiesFileImport EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:410:2: iv_rulePropertiesFileImport= rulePropertiesFileImport EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_rulePropertiesFileImport_in_entryRulePropertiesFileImport957);
@@ -1004,7 +1004,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start rulePropertiesFileImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:417:1: rulePropertiesFileImport returns [EObject current=null] : ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:417:1: rulePropertiesFileImport returns [EObject current=null] : ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' ) ;
public final EObject rulePropertiesFileImport() throws RecognitionException {
EObject current = null;
@@ -1012,17 +1012,17 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:419:33: ( ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:1: ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:419:33: ( ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:1: ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:1: ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:2: ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:1: ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:2: ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:2: ( ( 'var' 'file' ) (lv_file= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:3: ( 'var' 'file' ) (lv_file= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:2: ( ( 'var' 'file' ) (lv_file= RULE_STRING ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:3: ( 'var' 'file' ) (lv_file= RULE_STRING )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:3: ( 'var' 'file' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:420:4: 'var' 'file'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:3: ( 'var' 'file' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:420:4: 'var' 'file'
{
match(input,15,FOLLOW_15_in_rulePropertiesFileImport1003);
@@ -1035,8 +1035,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:428:2: (lv_file= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:430:6: lv_file= RULE_STRING
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:428:2: (lv_file= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:430:6: lv_file= RULE_STRING
{
lv_file=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePropertiesFileImport1034);
@@ -1086,7 +1086,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:459:1: entryRuleValue returns [EObject current=null] : iv_ruleValue= ruleValue EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:459:1: entryRuleValue returns [EObject current=null] : iv_ruleValue= ruleValue EOF ;
public final EObject entryRuleValue() throws RecognitionException {
EObject current = null;
@@ -1094,8 +1094,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:459:47: (iv_ruleValue= ruleValue EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:460:2: iv_ruleValue= ruleValue EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:459:47: (iv_ruleValue= ruleValue EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:460:2: iv_ruleValue= ruleValue EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.7" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleValue_in_entryRuleValue1088);
@@ -1121,7 +1121,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:467:1: ruleValue returns [EObject current=null] : ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:467:1: ruleValue returns [EObject current=null] : ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef ) ;
public final EObject ruleValue() throws RecognitionException {
EObject current = null;
@@ -1136,10 +1136,10 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:469:33: ( ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:469:33: ( ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:470:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:470:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1157,9 +1157,9 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:470:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:470:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1190,9 +1190,9 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:3: (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:470:3: (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:3: (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:470:3: (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -1210,7 +1210,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:471:5: this_SimpleValue= ruleSimpleValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:471:5: this_SimpleValue= ruleSimpleValue
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.7/@alternatives/@groups.0/@groups.0/@groups.0" /* xtext::RuleCall */, currentNode);
@@ -1227,7 +1227,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:481:5: this_ComplexValue= ruleComplexValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:481:5: this_ComplexValue= ruleComplexValue
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.7/@alternatives/@groups.0/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
@@ -1250,7 +1250,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:491:5: this_IdRef= ruleIdRef
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:491:5: this_IdRef= ruleIdRef
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.7/@alternatives/@groups.0/@groups.1" /* xtext::RuleCall */, currentNode);
@@ -1273,7 +1273,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:501:5: this_WorkflowRef= ruleWorkflowRef
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:501:5: this_WorkflowRef= ruleWorkflowRef
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.7/@alternatives/@groups.1" /* xtext::RuleCall */, currentNode);
@@ -1310,7 +1310,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleSimpleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:516:1: entryRuleSimpleValue returns [EObject current=null] : iv_ruleSimpleValue= ruleSimpleValue EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:516:1: entryRuleSimpleValue returns [EObject current=null] : iv_ruleSimpleValue= ruleSimpleValue EOF ;
public final EObject entryRuleSimpleValue() throws RecognitionException {
EObject current = null;
@@ -1318,8 +1318,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:516:53: (iv_ruleSimpleValue= ruleSimpleValue EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:517:2: iv_ruleSimpleValue= ruleSimpleValue EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:516:53: (iv_ruleSimpleValue= ruleSimpleValue EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:517:2: iv_ruleSimpleValue= ruleSimpleValue EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.8" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleSimpleValue_in_entryRuleSimpleValue1262);
@@ -1345,7 +1345,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleSimpleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:524:1: ruleSimpleValue returns [EObject current=null] : (lv_value= RULE_STRING ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:524:1: ruleSimpleValue returns [EObject current=null] : (lv_value= RULE_STRING ) ;
public final EObject ruleSimpleValue() throws RecognitionException {
EObject current = null;
@@ -1353,11 +1353,11 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:526:33: ( (lv_value= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:527:1: (lv_value= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:526:33: ( (lv_value= RULE_STRING ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:527:1: (lv_value= RULE_STRING )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:527:1: (lv_value= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:529:6: lv_value= RULE_STRING
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:527:1: (lv_value= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:529:6: lv_value= RULE_STRING
{
lv_value=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSimpleValue1317);
@@ -1397,7 +1397,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleComplexValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:556:1: entryRuleComplexValue returns [EObject current=null] : iv_ruleComplexValue= ruleComplexValue EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:556:1: entryRuleComplexValue returns [EObject current=null] : iv_ruleComplexValue= ruleComplexValue EOF ;
public final EObject entryRuleComplexValue() throws RecognitionException {
EObject current = null;
@@ -1405,8 +1405,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:556:54: (iv_ruleComplexValue= ruleComplexValue EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:557:2: iv_ruleComplexValue= ruleComplexValue EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:556:54: (iv_ruleComplexValue= ruleComplexValue EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:557:2: iv_ruleComplexValue= ruleComplexValue EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleComplexValue_in_entryRuleComplexValue1362);
@@ -1432,7 +1432,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleComplexValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:564:1: ruleComplexValue returns [EObject current=null] : ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:564:1: ruleComplexValue returns [EObject current=null] : ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' ) ;
public final EObject ruleComplexValue() throws RecognitionException {
EObject current = null;
@@ -1445,22 +1445,22 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:566:33: ( ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:1: ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:566:33: ( ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:1: ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:1: ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:2: ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:1: ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:2: ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:2: ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:3: ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:2: ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:3: ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )*
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:3: ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:4: ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:3: ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:4: ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:4: ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:5: (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:4: ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:5: (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )?
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:5: (lv_className= ruleQualifiedName )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:567:5: (lv_className= ruleQualifiedName )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1469,7 +1469,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:570:6: lv_className= ruleQualifiedName
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:570:6: lv_className= ruleQualifiedName
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, currentNode);
@@ -1497,7 +1497,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:588:3: ( ':' (lv_id= RULE_ID ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:588:3: ( ':' (lv_id= RULE_ID ) )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -1506,14 +1506,14 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:588:4: ':' (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:588:4: ':' (lv_id= RULE_ID )
{
match(input,18,FOLLOW_18_in_ruleComplexValue1449);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:592:1: (lv_id= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:594:6: lv_id= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:592:1: (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:594:6: lv_id= RULE_ID
{
lv_id=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleComplexValue1470);
@@ -1544,8 +1544,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:612:5: (lv_fooBar= '{' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:614:6: lv_fooBar= '{'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:612:5: (lv_fooBar= '{' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:614:6: lv_fooBar= '{'
{
lv_fooBar=(Token)input.LT(1);
match(input,19,FOLLOW_19_in_ruleComplexValue1505);
@@ -1570,7 +1570,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:632:3: (lv_assignments= ruleAssignment )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:632:3: (lv_assignments= ruleAssignment )*
loop13:
do {
int alt13=2;
@@ -1583,7 +1583,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt13) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:635:6: lv_assignments= ruleAssignment
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:635:6: lv_assignments= ruleAssignment
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -1642,7 +1642,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleWorkflowRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:664:1: entryRuleWorkflowRef returns [EObject current=null] : iv_ruleWorkflowRef= ruleWorkflowRef EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:664:1: entryRuleWorkflowRef returns [EObject current=null] : iv_ruleWorkflowRef= ruleWorkflowRef EOF ;
public final EObject entryRuleWorkflowRef() throws RecognitionException {
EObject current = null;
@@ -1650,8 +1650,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:664:53: (iv_ruleWorkflowRef= ruleWorkflowRef EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:665:2: iv_ruleWorkflowRef= ruleWorkflowRef EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:664:53: (iv_ruleWorkflowRef= ruleWorkflowRef EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:665:2: iv_ruleWorkflowRef= ruleWorkflowRef EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleWorkflowRef_in_entryRuleWorkflowRef1600);
@@ -1677,7 +1677,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleWorkflowRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:672:1: ruleWorkflowRef returns [EObject current=null] : ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:672:1: ruleWorkflowRef returns [EObject current=null] : ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' ) ;
public final EObject ruleWorkflowRef() throws RecognitionException {
EObject current = null;
@@ -1687,27 +1687,27 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:674:33: ( ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:1: ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:674:33: ( ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:1: ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:1: ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:2: ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:1: ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:2: ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:2: ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:3: ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:2: ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:3: ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )*
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:3: ( ( 'file' (lv_uri= RULE_STRING ) ) '{' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:4: ( 'file' (lv_uri= RULE_STRING ) ) '{'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:3: ( ( 'file' (lv_uri= RULE_STRING ) ) '{' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:4: ( 'file' (lv_uri= RULE_STRING ) ) '{'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:4: ( 'file' (lv_uri= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:675:5: 'file' (lv_uri= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:4: ( 'file' (lv_uri= RULE_STRING ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:675:5: 'file' (lv_uri= RULE_STRING )
{
match(input,17,FOLLOW_17_in_ruleWorkflowRef1647);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:679:1: (lv_uri= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:681:6: lv_uri= RULE_STRING
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:679:1: (lv_uri= RULE_STRING )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:681:6: lv_uri= RULE_STRING
{
lv_uri=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleWorkflowRef1668);
@@ -1739,7 +1739,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:703:2: (lv_assignments= ruleAssignment )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:703:2: (lv_assignments= ruleAssignment )*
loop14:
do {
int alt14=2;
@@ -1752,7 +1752,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt14) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:706:6: lv_assignments= ruleAssignment
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:706:6: lv_assignments= ruleAssignment
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -1811,7 +1811,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleIdRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:735:1: entryRuleIdRef returns [EObject current=null] : iv_ruleIdRef= ruleIdRef EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:735:1: entryRuleIdRef returns [EObject current=null] : iv_ruleIdRef= ruleIdRef EOF ;
public final EObject entryRuleIdRef() throws RecognitionException {
EObject current = null;
@@ -1819,8 +1819,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:735:47: (iv_ruleIdRef= ruleIdRef EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:736:2: iv_ruleIdRef= ruleIdRef EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:735:47: (iv_ruleIdRef= ruleIdRef EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:736:2: iv_ruleIdRef= ruleIdRef EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.12" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleIdRef_in_entryRuleIdRef1772);
@@ -1846,7 +1846,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleIdRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:743:1: ruleIdRef returns [EObject current=null] : (lv_id= RULE_ID ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:743:1: ruleIdRef returns [EObject current=null] : (lv_id= RULE_ID ) ;
public final EObject ruleIdRef() throws RecognitionException {
EObject current = null;
@@ -1854,11 +1854,11 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:745:33: ( (lv_id= RULE_ID ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:746:1: (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:745:33: ( (lv_id= RULE_ID ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:746:1: (lv_id= RULE_ID )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:746:1: (lv_id= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:748:6: lv_id= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:746:1: (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:748:6: lv_id= RULE_ID
{
lv_id=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleIdRef1827);
@@ -1898,7 +1898,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleAssignment
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:773:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:773:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
public final EObject entryRuleAssignment() throws RecognitionException {
EObject current = null;
@@ -1906,8 +1906,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:773:52: (iv_ruleAssignment= ruleAssignment EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:774:2: iv_ruleAssignment= ruleAssignment EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:773:52: (iv_ruleAssignment= ruleAssignment EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:774:2: iv_ruleAssignment= ruleAssignment EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment1870);
@@ -1933,7 +1933,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleAssignment
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:781:1: ruleAssignment returns [EObject current=null] : ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:781:1: ruleAssignment returns [EObject current=null] : ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? ) ;
public final EObject ruleAssignment() throws RecognitionException {
EObject current = null;
@@ -1944,19 +1944,19 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:783:33: ( ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:1: ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:783:33: ( ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:1: ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:1: ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:2: ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:1: ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:2: ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )?
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:2: ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:3: ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:2: ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:3: ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:3: ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:4: (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:3: ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:4: (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:4: (lv_feature= RULE_ID )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:784:4: (lv_feature= RULE_ID )?
int alt15=2;
int LA15_0 = input.LA(1);
@@ -1965,7 +1965,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt15) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:786:6: lv_feature= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:786:6: lv_feature= RULE_ID
{
lv_feature=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment1928);
@@ -1990,10 +1990,10 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:804:3: (lv_operator= ( '=' | '+=' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:806:6: lv_operator= ( '=' | '+=' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:804:3: (lv_operator= ( '=' | '+=' ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:806:6: lv_operator= ( '=' | '+=' )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:806:18: ( '=' | '+=' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:806:18: ( '=' | '+=' )
int alt16=2;
int LA16_0 = input.LA(1);
@@ -2011,7 +2011,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt16) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:806:19: '='
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:806:19: '='
{
match(input,16,FOLLOW_16_in_ruleAssignment1962);
@@ -2021,7 +2021,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:811:6: '+='
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:811:6: '+='
{
match(input,21,FOLLOW_21_in_ruleAssignment1977);
@@ -2051,8 +2051,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:829:3: (lv_value= ruleValue )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:832:6: lv_value= ruleValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:829:3: (lv_value= ruleValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:832:6: lv_value= ruleValue
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
@@ -2080,7 +2080,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:850:3: ( ';' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:850:3: ( ';' )?
int alt17=2;
int LA17_0 = input.LA(1);
@@ -2089,7 +2089,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt17) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:850:4: ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:850:4: ';'
{
match(input,14,FOLLOW_14_in_ruleAssignment2040);
@@ -2122,7 +2122,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleQualifiedName
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:861:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:861:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final EObject entryRuleQualifiedName() throws RecognitionException {
EObject current = null;
@@ -2130,8 +2130,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:861:55: (iv_ruleQualifiedName= ruleQualifiedName EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:862:2: iv_ruleQualifiedName= ruleQualifiedName EOF
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:861:55: (iv_ruleQualifiedName= ruleQualifiedName EOF )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:862:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.14" /* xtext::ParserRule */, currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2075);
@@ -2157,7 +2157,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleQualifiedName
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:869:1: ruleQualifiedName returns [EObject current=null] : ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:869:1: ruleQualifiedName returns [EObject current=null] : ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* ) ;
public final EObject ruleQualifiedName() throws RecognitionException {
EObject current = null;
@@ -2165,14 +2165,14 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:871:33: ( ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:872:1: ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:871:33: ( ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* ) )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:872:1: ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:872:1: ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:872:2: (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:872:1: ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:872:2: (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )*
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:872:2: (lv_parts= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:874:6: lv_parts= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:872:2: (lv_parts= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:874:6: lv_parts= RULE_ID
{
lv_parts=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2131);
@@ -2194,7 +2194,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:892:2: ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:892:2: ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )*
loop18:
do {
int alt18=2;
@@ -2213,10 +2213,10 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt18) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:892:3: (lv_parts= '.' ) (lv_parts= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:892:3: (lv_parts= '.' ) (lv_parts= RULE_ID )
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:892:3: (lv_parts= '.' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:894:6: lv_parts= '.'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:892:3: (lv_parts= '.' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:894:6: lv_parts= '.'
{
lv_parts=(Token)input.LT(1);
match(input,12,FOLLOW_12_in_ruleQualifiedName2164);
@@ -2238,8 +2238,8 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:912:2: (lv_parts= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:914:6: lv_parts= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:912:2: (lv_parts= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g:914:6: lv_parts= RULE_ID
{
lv_parts=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2197);
@@ -2370,4 +2370,4 @@ public class InternalMWEParser extends AbstractAntlrParser {
public static final BitSet FOLLOW_12_in_ruleQualifiedName2164 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName2197 = new BitSet(new long[]{0x0000000000001002L});
-} \ No newline at end of file
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE__.g b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE__.g
index 3e22f84..b407d3e 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE__.g
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE__.g
@@ -1,6 +1,6 @@
lexer grammar InternalMWE;
@header {
-package org.eclipse.emf.mwe.di.parser.internal;
+package org.eclipse.emf.mwe.di.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.
@@ -19,25 +19,25 @@ T19 : '{' ;
T20 : '}' ;
T21 : '+=' ;
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 938
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 938
RULE_ID : ('^')?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 940
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 940
RULE_INT : ('0'..'9')+;
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 942
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 942
RULE_STRING : '"' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'"') )* '"' | '\'' ( '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\') | ~('\\'|'\'') )* '\'';
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 944
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 944
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 946
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 946
RULE_SL_COMMENT : '//' ~('\n'|'\r')* ('\r'? '\n')? {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 948
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 948
RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 950
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/antlr/internal/InternalMWE.g" 950
RULE_ANY_OTHER : .;
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEPackratParser.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEPackratParser.java
new file mode 100644
index 0000000..5fc198a
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEPackratParser.java
@@ -0,0 +1,22 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractPackratParser;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+public class MWEPackratParser extends AbstractPackratParser {
+
+ @Override
+ protected MWEParserConfiguration createParserConfiguration(ICharSequenceWithOffset input,
+ IMarkerFactory markerFactory, IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler,
+ IConsumerUtility consumerUtil) {
+ return new MWEParserConfiguration(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEParserConfiguration.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEParserConfiguration.java
new file mode 100644
index 0000000..fb40989
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/MWEParserConfiguration.java
@@ -0,0 +1,294 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat;
+
+import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+
+import org.eclipse.xtext.builtin.parser.packrat.XtextBuiltinParserConfiguration;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEFileConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEImportConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEJavaImportConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEGenericImportConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEPropertyConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWELocalVariableConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEPropertiesFileImportConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEValueConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWESimpleValueConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEAssignableConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEComplexValueConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEWorkflowRefConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEIdRefConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEAssignmentConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEQualifiedNameConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinINTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinML_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSL_COMMENTConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinWSConsumer;
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinANY_OTHERConsumer;
+
+public class MWEParserConfiguration extends AbstractParserConfiguration {
+
+ private XtextBuiltinParserConfiguration xtextBuiltinConfiguration;
+
+ private MWEFileConsumer fileConsumer;
+ private MWEImportConsumer importConsumer;
+ private MWEJavaImportConsumer javaImportConsumer;
+ private MWEGenericImportConsumer genericImportConsumer;
+ private MWEPropertyConsumer propertyConsumer;
+ private MWELocalVariableConsumer localVariableConsumer;
+ private MWEPropertiesFileImportConsumer propertiesFileImportConsumer;
+ private MWEValueConsumer valueConsumer;
+ private MWESimpleValueConsumer simpleValueConsumer;
+ private MWEAssignableConsumer assignableConsumer;
+ private MWEComplexValueConsumer complexValueConsumer;
+ private MWEWorkflowRefConsumer workflowRefConsumer;
+ private MWEIdRefConsumer idRefConsumer;
+ private MWEAssignmentConsumer assignmentConsumer;
+ private MWEQualifiedNameConsumer qualifiedNameConsumer;
+
+ public MWEParserConfiguration(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ this.xtextBuiltinConfiguration = new XtextBuiltinParserConfiguration(
+ input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil);
+ }
+
+ public MWEFileConsumer getRootConsumer() {
+ return fileConsumer;
+ }
+
+ public void createNonTerminalConsumers() {
+ getXtextBuiltinConfiguration().createNonTerminalConsumers();
+ fileConsumer = new MWEFileConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(),
+ new ITerminalConsumer[]{ getWsConsumer(), getMlCommentConsumer(), getSlCommentConsumer() }
+ );
+ importConsumer = new MWEImportConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ javaImportConsumer = new MWEJavaImportConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ genericImportConsumer = new MWEGenericImportConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ propertyConsumer = new MWEPropertyConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ localVariableConsumer = new MWELocalVariableConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ propertiesFileImportConsumer = new MWEPropertiesFileImportConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ valueConsumer = new MWEValueConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ simpleValueConsumer = new MWESimpleValueConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ assignableConsumer = new MWEAssignableConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ complexValueConsumer = new MWEComplexValueConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ workflowRefConsumer = new MWEWorkflowRefConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ idRefConsumer = new MWEIdRefConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ assignmentConsumer = new MWEAssignmentConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ qualifiedNameConsumer = new MWEQualifiedNameConsumer(
+ getInput(), getMarkerFactory(), getTokenAcceptor(), getHiddenTokenHandler(), getConsumerUtil(), null
+ );
+ }
+
+ public void createTerminalConsumers() {
+ getXtextBuiltinConfiguration().createTerminalConsumers();
+ }
+
+ public void configureConsumers() {
+ getFileConsumer().setImportConsumer(getImportConsumer());
+ getFileConsumer().setComplexValueConsumer(getComplexValueConsumer());
+ getFileConsumer().setPropertyConsumer(getPropertyConsumer());
+
+ getImportConsumer().setJavaImportConsumer(getJavaImportConsumer());
+ getImportConsumer().setGenericImportConsumer(getGenericImportConsumer());
+
+ getJavaImportConsumer().setQualifiedNameConsumer(getQualifiedNameConsumer());
+
+ getGenericImportConsumer().setStringConsumer(getStringConsumer());
+
+ getPropertyConsumer().setLocalVariableConsumer(getLocalVariableConsumer());
+ getPropertyConsumer().setPropertiesFileImportConsumer(getPropertiesFileImportConsumer());
+
+ getLocalVariableConsumer().setIdConsumer(getIdConsumer());
+ getLocalVariableConsumer().setValueConsumer(getValueConsumer());
+
+ getPropertiesFileImportConsumer().setStringConsumer(getStringConsumer());
+
+ getValueConsumer().setSimpleValueConsumer(getSimpleValueConsumer());
+ getValueConsumer().setIdRefConsumer(getIdRefConsumer());
+ getValueConsumer().setWorkflowRefConsumer(getWorkflowRefConsumer());
+ getValueConsumer().setComplexValueConsumer(getComplexValueConsumer());
+
+ getSimpleValueConsumer().setStringConsumer(getStringConsumer());
+
+ getAssignableConsumer().setWorkflowRefConsumer(getWorkflowRefConsumer());
+ getAssignableConsumer().setComplexValueConsumer(getComplexValueConsumer());
+
+ getComplexValueConsumer().setIdConsumer(getIdConsumer());
+ getComplexValueConsumer().setQualifiedNameConsumer(getQualifiedNameConsumer());
+ getComplexValueConsumer().setAssignmentConsumer(getAssignmentConsumer());
+
+ getWorkflowRefConsumer().setStringConsumer(getStringConsumer());
+ getWorkflowRefConsumer().setAssignmentConsumer(getAssignmentConsumer());
+
+ getIdRefConsumer().setIdConsumer(getIdConsumer());
+
+ getAssignmentConsumer().setIdConsumer(getIdConsumer());
+ getAssignmentConsumer().setValueConsumer(getValueConsumer());
+
+ getQualifiedNameConsumer().setIdConsumer(getIdConsumer());
+
+ getIdConsumer().initFields(this);
+ getIntConsumer().initFields(this);
+ getStringConsumer().initFields(this);
+ getMlCommentConsumer().initFields(this);
+ getSlCommentConsumer().initFields(this);
+ getWsConsumer().initFields(this);
+ getAnyOtherConsumer().initFields(this);
+ }
+
+ // TODO collect superGrammars transitive
+ public XtextBuiltinParserConfiguration getXtextBuiltinConfiguration() {
+ return xtextBuiltinConfiguration;
+ }
+
+ public MWEFileConsumer getFileConsumer() {
+ return fileConsumer;
+ }
+
+
+ public MWEImportConsumer getImportConsumer() {
+ return importConsumer;
+ }
+
+
+ public MWEJavaImportConsumer getJavaImportConsumer() {
+ return javaImportConsumer;
+ }
+
+
+ public MWEGenericImportConsumer getGenericImportConsumer() {
+ return genericImportConsumer;
+ }
+
+
+ public MWEPropertyConsumer getPropertyConsumer() {
+ return propertyConsumer;
+ }
+
+
+ public MWELocalVariableConsumer getLocalVariableConsumer() {
+ return localVariableConsumer;
+ }
+
+
+ public MWEPropertiesFileImportConsumer getPropertiesFileImportConsumer() {
+ return propertiesFileImportConsumer;
+ }
+
+
+ public MWEValueConsumer getValueConsumer() {
+ return valueConsumer;
+ }
+
+
+ public MWESimpleValueConsumer getSimpleValueConsumer() {
+ return simpleValueConsumer;
+ }
+
+
+ public MWEAssignableConsumer getAssignableConsumer() {
+ return assignableConsumer;
+ }
+
+
+ public MWEComplexValueConsumer getComplexValueConsumer() {
+ return complexValueConsumer;
+ }
+
+
+ public MWEWorkflowRefConsumer getWorkflowRefConsumer() {
+ return workflowRefConsumer;
+ }
+
+
+ public MWEIdRefConsumer getIdRefConsumer() {
+ return idRefConsumer;
+ }
+
+
+ public MWEAssignmentConsumer getAssignmentConsumer() {
+ return assignmentConsumer;
+ }
+
+
+ public MWEQualifiedNameConsumer getQualifiedNameConsumer() {
+ return qualifiedNameConsumer;
+ }
+
+
+ public XtextBuiltinIDConsumer getIdConsumer() {
+ return getXtextBuiltinConfiguration().getIdConsumer();
+ }
+
+
+ public XtextBuiltinINTConsumer getIntConsumer() {
+ return getXtextBuiltinConfiguration().getIntConsumer();
+ }
+
+
+ public XtextBuiltinSTRINGConsumer getStringConsumer() {
+ return getXtextBuiltinConfiguration().getStringConsumer();
+ }
+
+
+ public XtextBuiltinML_COMMENTConsumer getMlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getMlCommentConsumer();
+ }
+
+
+ public XtextBuiltinSL_COMMENTConsumer getSlCommentConsumer() {
+ return getXtextBuiltinConfiguration().getSlCommentConsumer();
+ }
+
+
+ public XtextBuiltinWSConsumer getWsConsumer() {
+ return getXtextBuiltinConfiguration().getWsConsumer();
+ }
+
+
+ public XtextBuiltinANY_OTHERConsumer getAnyOtherConsumer() {
+ return getXtextBuiltinConfiguration().getAnyOtherConsumer();
+ }
+
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignableConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignableConsumer.java
new file mode 100644
index 0000000..e57110e
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignableConsumer.java
@@ -0,0 +1,75 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.AssignableElements;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEWorkflowRefConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEComplexValueConsumer;
+
+public final class MWEAssignableConsumer extends NonTerminalConsumer {
+
+ private MWEWorkflowRefConsumer workflowRefConsumer;
+ private MWEComplexValueConsumer complexValueConsumer;
+
+ public MWEAssignableConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ALTERNATIVES$1SUCCESS: {
+ ALTERNATIVES$1FAILURE: {
+ RULECALL$2SUCCESS: {
+ if (!consumeNonTerminal(complexValueConsumer, null, false, false, getRule().ele0ParserRuleCallComplexValue()))
+ break RULECALL$2SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ RULECALL$3SUCCESS: {
+ if (!consumeNonTerminal(workflowRefConsumer, null, false, false, getRule().ele1ParserRuleCallWorkflowRef()))
+ break RULECALL$3SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ break ALTERNATIVES$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public AssignableElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prAssignable();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Assignable";
+ }
+
+ public void setWorkflowRefConsumer(MWEWorkflowRefConsumer workflowRefConsumer) {
+ this.workflowRefConsumer = workflowRefConsumer;
+ }
+
+ public void setComplexValueConsumer(MWEComplexValueConsumer complexValueConsumer) {
+ this.complexValueConsumer = complexValueConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignmentConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignmentConsumer.java
new file mode 100644
index 0000000..d448e55
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEAssignmentConsumer.java
@@ -0,0 +1,124 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.AssignmentElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEValueConsumer;
+
+public final class MWEAssignmentConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private MWEValueConsumer valueConsumer;
+
+ public MWEAssignmentConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ ASSIGNMENT$4SUCCESS: {
+ ASSIGNMENT$4FAILURE: {
+ if (consumeTerminal(idConsumer, "feature", false, false, getRule().ele0000LexerRuleCallID()))
+ break ASSIGNMENT$4FAILURE;
+ break ASSIGNMENT$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$6SUCCESS: {
+ ASSIGNMENT$6FAILURE: {
+ if (consumeKeyword(getRule().ele00100KeywordEqualsSign(), "operator", false, false))
+ break ASSIGNMENT$6FAILURE;
+ if (consumeKeyword(getRule().ele00101KeywordPlusSignEqualsSign(), "operator", false, false))
+ break ASSIGNMENT$6FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$6SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$10SUCCESS: {
+ ASSIGNMENT$10FAILURE: {
+ if (consumeNonTerminal(valueConsumer, "value", false, false , getRule().ele010ParserRuleCallValue()))
+ break ASSIGNMENT$10FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$10SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$12SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordSemicolon(), null, false, false))
+ break KEYWORD$12SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public AssignmentElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prAssignment();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Assignment";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setValueConsumer(MWEValueConsumer valueConsumer) {
+ this.valueConsumer = valueConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEComplexValueConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEComplexValueConsumer.java
new file mode 100644
index 0000000..9494846
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEComplexValueConsumer.java
@@ -0,0 +1,161 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.ComplexValueElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEQualifiedNameConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEAssignmentConsumer;
+
+public final class MWEComplexValueConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private MWEQualifiedNameConsumer qualifiedNameConsumer;
+ private MWEAssignmentConsumer assignmentConsumer;
+
+ public MWEComplexValueConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ ASSIGNMENT$5SUCCESS: {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeNonTerminal(qualifiedNameConsumer, "className", false, false , getRule().ele00000ParserRuleCallQualifiedName()))
+ break ASSIGNMENT$5FAILURE;
+ break ASSIGNMENT$5SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ }
+ GROUP$4FAILURE: {
+ GROUP$7SUCCESS: {
+ IMarker mGROUP$7 = mark();
+ GROUP$7FAILURE: {
+ KEYWORD$8SUCCESS: {
+ if (!consumeKeyword(getRule().ele00010KeywordColon(), null, false, false))
+ break KEYWORD$8SUCCESS;
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ GROUP$7FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeTerminal(idConsumer, "id", false, false, getRule().ele000110LexerRuleCallID()))
+ break ASSIGNMENT$9FAILURE;
+ mGROUP$7.rollback();
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ }
+ break GROUP$3FAILURE;
+ }
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$11SUCCESS: {
+ ASSIGNMENT$11FAILURE: {
+ if (consumeKeyword(getRule().ele0010KeywordLeftCurlyBracket(), "fooBar", false, true))
+ break ASSIGNMENT$11FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$11SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$13SUCCESS: while(true) {
+ ASSIGNMENT$13FAILURE: {
+ if (consumeNonTerminal(assignmentConsumer, "assignments", true, false , getRule().ele010ParserRuleCallAssignment()))
+ break ASSIGNMENT$13FAILURE;
+ break ASSIGNMENT$13SUCCESS;
+ }
+ continue ASSIGNMENT$13SUCCESS;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$15SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightCurlyBracket(), null, false, false))
+ break KEYWORD$15SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public ComplexValueElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prComplexValue();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "ComplexValue";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setQualifiedNameConsumer(MWEQualifiedNameConsumer qualifiedNameConsumer) {
+ this.qualifiedNameConsumer = qualifiedNameConsumer;
+ }
+
+ public void setAssignmentConsumer(MWEAssignmentConsumer assignmentConsumer) {
+ this.assignmentConsumer = assignmentConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEFileConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEFileConsumer.java
new file mode 100644
index 0000000..d756f31
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEFileConsumer.java
@@ -0,0 +1,108 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.FileElements;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEImportConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEComplexValueConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEPropertyConsumer;
+
+public final class MWEFileConsumer extends NonTerminalConsumer {
+
+ private MWEImportConsumer importConsumer;
+ private MWEComplexValueConsumer complexValueConsumer;
+ private MWEPropertyConsumer propertyConsumer;
+
+ public MWEFileConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ ASSIGNMENT$3SUCCESS: while(true) {
+ ASSIGNMENT$3FAILURE: {
+ if (consumeNonTerminal(importConsumer, "imports", true, false , getRule().ele000ParserRuleCallImport()))
+ break ASSIGNMENT$3FAILURE;
+ break ASSIGNMENT$3SUCCESS;
+ }
+ continue ASSIGNMENT$3SUCCESS;
+ }
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$5SUCCESS: while(true) {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeNonTerminal(propertyConsumer, "properties", true, false , getRule().ele010ParserRuleCallProperty()))
+ break ASSIGNMENT$5FAILURE;
+ break ASSIGNMENT$5SUCCESS;
+ }
+ continue ASSIGNMENT$5SUCCESS;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ }
+ GROUP$1FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeNonTerminal(complexValueConsumer, "value", false, false , getRule().ele10ParserRuleCallComplexValue()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public FileElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prFile();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "File";
+ }
+
+ public void setImportConsumer(MWEImportConsumer importConsumer) {
+ this.importConsumer = importConsumer;
+ }
+
+ public void setComplexValueConsumer(MWEComplexValueConsumer complexValueConsumer) {
+ this.complexValueConsumer = complexValueConsumer;
+ }
+
+ public void setPropertyConsumer(MWEPropertyConsumer propertyConsumer) {
+ this.propertyConsumer = propertyConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEGenericImportConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEGenericImportConsumer.java
new file mode 100644
index 0000000..6d9fc7e
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEGenericImportConsumer.java
@@ -0,0 +1,94 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.GenericImportElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+
+public final class MWEGenericImportConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+
+ public MWEGenericImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ KEYWORD$3SUCCESS: {
+ if (!consumeKeyword(getRule().ele00KeywordImport(), null, false, false))
+ break KEYWORD$3SUCCESS;
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$4SUCCESS: {
+ ASSIGNMENT$4FAILURE: {
+ if (consumeTerminal(stringConsumer, "value", false, false, getRule().ele010LexerRuleCallSTRING()))
+ break ASSIGNMENT$4FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$4SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$6SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordSemicolon(), null, false, false))
+ break KEYWORD$6SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public GenericImportElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prGenericImport();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "GenericImport";
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEIdRefConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEIdRefConsumer.java
new file mode 100644
index 0000000..9d5d472
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEIdRefConsumer.java
@@ -0,0 +1,61 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.IdRefElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class MWEIdRefConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public MWEIdRefConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ASSIGNMENT$1SUCCESS: {
+ ASSIGNMENT$1FAILURE: {
+ if (consumeTerminal(idConsumer, "id", false, false, getRule().ele0LexerRuleCallID()))
+ break ASSIGNMENT$1FAILURE;
+ break ASSIGNMENT$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public IdRefElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prIdRef();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "IdRef";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEImportConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEImportConsumer.java
new file mode 100644
index 0000000..a94def0
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEImportConsumer.java
@@ -0,0 +1,75 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.ImportElements;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEJavaImportConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEGenericImportConsumer;
+
+public final class MWEImportConsumer extends NonTerminalConsumer {
+
+ private MWEJavaImportConsumer javaImportConsumer;
+ private MWEGenericImportConsumer genericImportConsumer;
+
+ public MWEImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ALTERNATIVES$1SUCCESS: {
+ ALTERNATIVES$1FAILURE: {
+ RULECALL$2SUCCESS: {
+ if (!consumeNonTerminal(javaImportConsumer, null, false, false, getRule().ele0ParserRuleCallJavaImport()))
+ break RULECALL$2SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ RULECALL$3SUCCESS: {
+ if (!consumeNonTerminal(genericImportConsumer, null, false, false, getRule().ele1ParserRuleCallGenericImport()))
+ break RULECALL$3SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ break ALTERNATIVES$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public ImportElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prImport();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Import";
+ }
+
+ public void setJavaImportConsumer(MWEJavaImportConsumer javaImportConsumer) {
+ this.javaImportConsumer = javaImportConsumer;
+ }
+
+ public void setGenericImportConsumer(MWEGenericImportConsumer genericImportConsumer) {
+ this.genericImportConsumer = genericImportConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEJavaImportConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEJavaImportConsumer.java
new file mode 100644
index 0000000..4753001
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEJavaImportConsumer.java
@@ -0,0 +1,132 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.JavaImportElements;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEQualifiedNameConsumer;
+
+public final class MWEJavaImportConsumer extends NonTerminalConsumer {
+
+ private MWEQualifiedNameConsumer qualifiedNameConsumer;
+
+ public MWEJavaImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ KEYWORD$4SUCCESS: {
+ if (!consumeKeyword(getRule().ele000KeywordImport(), null, false, false))
+ break KEYWORD$4SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$5SUCCESS: {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeNonTerminal(qualifiedNameConsumer, "javaImport", false, false , getRule().ele0010ParserRuleCallQualifiedName()))
+ break ASSIGNMENT$5FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$5SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ GROUP$7SUCCESS: {
+ IMarker mGROUP$7 = mark();
+ GROUP$7FAILURE: {
+ KEYWORD$8SUCCESS: {
+ if (!consumeKeyword(getRule().ele010KeywordFullStop(), null, false, false))
+ break KEYWORD$8SUCCESS;
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ GROUP$7FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeKeyword(getRule().ele0110KeywordAsterisk(), "wildcard", false, true))
+ break ASSIGNMENT$9FAILURE;
+ mGROUP$7.rollback();
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordSemicolon(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public JavaImportElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prJavaImport();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "JavaImport";
+ }
+
+ public void setQualifiedNameConsumer(MWEQualifiedNameConsumer qualifiedNameConsumer) {
+ this.qualifiedNameConsumer = qualifiedNameConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWELocalVariableConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWELocalVariableConsumer.java
new file mode 100644
index 0000000..1c713a8
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWELocalVariableConsumer.java
@@ -0,0 +1,138 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.LocalVariableElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEValueConsumer;
+
+public final class MWELocalVariableConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+ private MWEValueConsumer valueConsumer;
+
+ public MWELocalVariableConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ KEYWORD$4SUCCESS: {
+ if (!consumeKeyword(getRule().ele000KeywordVar(), null, false, false))
+ break KEYWORD$4SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ ASSIGNMENT$5SUCCESS: {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeTerminal(idConsumer, "name", false, false, getRule().ele0010LexerRuleCallID()))
+ break ASSIGNMENT$5FAILURE;
+ mGROUP$3.rollback();
+ break ASSIGNMENT$5SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ GROUP$7SUCCESS: {
+ IMarker mGROUP$7 = mark();
+ GROUP$7FAILURE: {
+ KEYWORD$8SUCCESS: {
+ if (!consumeKeyword(getRule().ele010KeywordEqualsSign(), null, false, false))
+ break KEYWORD$8SUCCESS;
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ GROUP$7FAILURE: {
+ ASSIGNMENT$9SUCCESS: {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeNonTerminal(valueConsumer, "value", false, false , getRule().ele0110ParserRuleCallValue()))
+ break ASSIGNMENT$9FAILURE;
+ mGROUP$7.rollback();
+ break ASSIGNMENT$9SUCCESS;
+ }
+ break GROUP$7FAILURE;
+ }
+ mGROUP$7.rollback();
+ break GROUP$7SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordSemicolon(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public LocalVariableElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prLocalVariable();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "LocalVariable";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+ public void setValueConsumer(MWEValueConsumer valueConsumer) {
+ this.valueConsumer = valueConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertiesFileImportConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertiesFileImportConsumer.java
new file mode 100644
index 0000000..980e5ac
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertiesFileImportConsumer.java
@@ -0,0 +1,113 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.PropertiesFileImportElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+
+public final class MWEPropertiesFileImportConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+
+ public MWEPropertiesFileImportConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ KEYWORD$4SUCCESS: {
+ if (!consumeKeyword(getRule().ele000KeywordVar(), null, false, false))
+ break KEYWORD$4SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ KEYWORD$5SUCCESS: {
+ if (!consumeKeyword(getRule().ele001KeywordFile(), null, false, false))
+ break KEYWORD$5SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$6SUCCESS: {
+ ASSIGNMENT$6FAILURE: {
+ if (consumeTerminal(stringConsumer, "file", false, false, getRule().ele010LexerRuleCallSTRING()))
+ break ASSIGNMENT$6FAILURE;
+ mGROUP$2.rollback();
+ break ASSIGNMENT$6SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$8SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordSemicolon(), null, false, false))
+ break KEYWORD$8SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public PropertiesFileImportElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prPropertiesFileImport();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "PropertiesFileImport";
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertyConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertyConsumer.java
new file mode 100644
index 0000000..3abf41d
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEPropertyConsumer.java
@@ -0,0 +1,75 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.PropertyElements;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWELocalVariableConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEPropertiesFileImportConsumer;
+
+public final class MWEPropertyConsumer extends NonTerminalConsumer {
+
+ private MWELocalVariableConsumer localVariableConsumer;
+ private MWEPropertiesFileImportConsumer propertiesFileImportConsumer;
+
+ public MWEPropertyConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ALTERNATIVES$1SUCCESS: {
+ ALTERNATIVES$1FAILURE: {
+ RULECALL$2SUCCESS: {
+ if (!consumeNonTerminal(localVariableConsumer, null, false, false, getRule().ele0ParserRuleCallLocalVariable()))
+ break RULECALL$2SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ RULECALL$3SUCCESS: {
+ if (!consumeNonTerminal(propertiesFileImportConsumer, null, false, false, getRule().ele1ParserRuleCallPropertiesFileImport()))
+ break RULECALL$3SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ break ALTERNATIVES$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public PropertyElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prProperty();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Property";
+ }
+
+ public void setLocalVariableConsumer(MWELocalVariableConsumer localVariableConsumer) {
+ this.localVariableConsumer = localVariableConsumer;
+ }
+
+ public void setPropertiesFileImportConsumer(MWEPropertiesFileImportConsumer propertiesFileImportConsumer) {
+ this.propertiesFileImportConsumer = propertiesFileImportConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEQualifiedNameConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEQualifiedNameConsumer.java
new file mode 100644
index 0000000..eff0a8d
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEQualifiedNameConsumer.java
@@ -0,0 +1,102 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.QualifiedNameElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinIDConsumer;
+
+public final class MWEQualifiedNameConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinIDConsumer idConsumer;
+
+ public MWEQualifiedNameConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ ASSIGNMENT$2SUCCESS: {
+ ASSIGNMENT$2FAILURE: {
+ if (consumeTerminal(idConsumer, "parts", true, false, getRule().ele00LexerRuleCallID()))
+ break ASSIGNMENT$2FAILURE;
+ mGROUP$1.rollback();
+ break ASSIGNMENT$2SUCCESS;
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ GROUP$4SUCCESS: while(true) {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ ASSIGNMENT$5SUCCESS: {
+ ASSIGNMENT$5FAILURE: {
+ if (consumeKeyword(getRule().ele100KeywordFullStop(), "parts", true, false))
+ break ASSIGNMENT$5FAILURE;
+ mGROUP$4.rollback();
+ break ASSIGNMENT$5SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ ASSIGNMENT$7SUCCESS: {
+ ASSIGNMENT$7FAILURE: {
+ if (consumeTerminal(idConsumer, "parts", true, false, getRule().ele110LexerRuleCallID()))
+ break ASSIGNMENT$7FAILURE;
+ mGROUP$4.rollback();
+ break ASSIGNMENT$7SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ continue GROUP$4SUCCESS;
+ }
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public QualifiedNameElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prQualifiedName();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "QualifiedName";
+ }
+
+ public void setIdConsumer(XtextBuiltinIDConsumer idConsumer) {
+ this.idConsumer = idConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWESimpleValueConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWESimpleValueConsumer.java
new file mode 100644
index 0000000..72e0b9b
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWESimpleValueConsumer.java
@@ -0,0 +1,61 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.SimpleValueElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+
+public final class MWESimpleValueConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+
+ public MWESimpleValueConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ASSIGNMENT$1SUCCESS: {
+ ASSIGNMENT$1FAILURE: {
+ if (consumeTerminal(stringConsumer, "value", false, false, getRule().ele0LexerRuleCallSTRING()))
+ break ASSIGNMENT$1FAILURE;
+ break ASSIGNMENT$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public SimpleValueElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prSimpleValue();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "SimpleValue";
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEValueConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEValueConsumer.java
new file mode 100644
index 0000000..ac6880b
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEValueConsumer.java
@@ -0,0 +1,109 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.ValueElements;
+
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWESimpleValueConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEIdRefConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEWorkflowRefConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEComplexValueConsumer;
+
+public final class MWEValueConsumer extends NonTerminalConsumer {
+
+ private MWESimpleValueConsumer simpleValueConsumer;
+ private MWEIdRefConsumer idRefConsumer;
+ private MWEWorkflowRefConsumer workflowRefConsumer;
+ private MWEComplexValueConsumer complexValueConsumer;
+
+ public MWEValueConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ ALTERNATIVES$1SUCCESS: {
+ ALTERNATIVES$1FAILURE: {
+ ALTERNATIVES$2SUCCESS: {
+ ALTERNATIVES$2FAILURE: {
+ ALTERNATIVES$3SUCCESS: {
+ ALTERNATIVES$3FAILURE: {
+ RULECALL$4SUCCESS: {
+ if (!consumeNonTerminal(simpleValueConsumer, null, false, false, getRule().ele000ParserRuleCallSimpleValue()))
+ break RULECALL$4SUCCESS;
+ break ALTERNATIVES$3FAILURE;
+ }
+ RULECALL$5SUCCESS: {
+ if (!consumeNonTerminal(complexValueConsumer, null, false, false, getRule().ele001ParserRuleCallComplexValue()))
+ break RULECALL$5SUCCESS;
+ break ALTERNATIVES$3FAILURE;
+ }
+ break ALTERNATIVES$3SUCCESS;
+ }
+ break ALTERNATIVES$2FAILURE;
+ }
+ RULECALL$6SUCCESS: {
+ if (!consumeNonTerminal(idRefConsumer, null, false, false, getRule().ele01ParserRuleCallIdRef()))
+ break RULECALL$6SUCCESS;
+ break ALTERNATIVES$2FAILURE;
+ }
+ break ALTERNATIVES$2SUCCESS;
+ }
+ break ALTERNATIVES$1FAILURE;
+ }
+ RULECALL$7SUCCESS: {
+ if (!consumeNonTerminal(workflowRefConsumer, null, false, false, getRule().ele1ParserRuleCallWorkflowRef()))
+ break RULECALL$7SUCCESS;
+ break ALTERNATIVES$1FAILURE;
+ }
+ break ALTERNATIVES$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public ValueElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prValue();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "Value";
+ }
+
+ public void setSimpleValueConsumer(MWESimpleValueConsumer simpleValueConsumer) {
+ this.simpleValueConsumer = simpleValueConsumer;
+ }
+
+ public void setIdRefConsumer(MWEIdRefConsumer idRefConsumer) {
+ this.idRefConsumer = idRefConsumer;
+ }
+
+ public void setWorkflowRefConsumer(MWEWorkflowRefConsumer workflowRefConsumer) {
+ this.workflowRefConsumer = workflowRefConsumer;
+ }
+
+ public void setComplexValueConsumer(MWEComplexValueConsumer complexValueConsumer) {
+ this.complexValueConsumer = complexValueConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEWorkflowRefConsumer.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEWorkflowRefConsumer.java
new file mode 100644
index 0000000..1f748a1
--- /dev/null
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/packrat/consumers/MWEWorkflowRefConsumer.java
@@ -0,0 +1,137 @@
+/*
+Generated with Xtext
+*/
+package org.eclipse.emf.mwe.di.parser.packrat.consumers;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
+import org.eclipse.xtext.parser.packrat.IHiddenTokenHandler;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory;
+import org.eclipse.xtext.parser.packrat.IMarkerFactory.IMarker;
+import org.eclipse.xtext.parser.packrat.consumers.IConsumerUtility;
+import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
+import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
+import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
+import org.eclipse.emf.mwe.di.services.MWEGrammarAccess.WorkflowRefElements;
+
+import org.eclipse.xtext.builtin.parser.packrat.consumers.XtextBuiltinSTRINGConsumer;
+import org.eclipse.emf.mwe.di.parser.packrat.consumers.MWEAssignmentConsumer;
+
+public final class MWEWorkflowRefConsumer extends NonTerminalConsumer {
+
+ private XtextBuiltinSTRINGConsumer stringConsumer;
+ private MWEAssignmentConsumer assignmentConsumer;
+
+ public MWEWorkflowRefConsumer(ICharSequenceWithOffset input, IMarkerFactory markerFactory,
+ IParsedTokenAcceptor tokenAcceptor, IHiddenTokenHandler hiddenTokenHandler, IConsumerUtility consumerUtil,
+ ITerminalConsumer[] hiddenTokens) {
+ super(input, markerFactory, tokenAcceptor, hiddenTokenHandler, consumerUtil, hiddenTokens);
+ }
+
+ @SuppressWarnings("unused")
+ protected boolean doConsume() throws Exception {
+ GROUP$1SUCCESS: {
+ IMarker mGROUP$1 = mark();
+ GROUP$1FAILURE: {
+ GROUP$2SUCCESS: {
+ IMarker mGROUP$2 = mark();
+ GROUP$2FAILURE: {
+ GROUP$3SUCCESS: {
+ IMarker mGROUP$3 = mark();
+ GROUP$3FAILURE: {
+ GROUP$4SUCCESS: {
+ IMarker mGROUP$4 = mark();
+ GROUP$4FAILURE: {
+ KEYWORD$5SUCCESS: {
+ if (!consumeKeyword(getRule().ele0000KeywordFile(), null, false, false))
+ break KEYWORD$5SUCCESS;
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ GROUP$4FAILURE: {
+ ASSIGNMENT$6SUCCESS: {
+ ASSIGNMENT$6FAILURE: {
+ if (consumeTerminal(stringConsumer, "uri", false, false, getRule().ele00010LexerRuleCallSTRING()))
+ break ASSIGNMENT$6FAILURE;
+ mGROUP$4.rollback();
+ break ASSIGNMENT$6SUCCESS;
+ }
+ break GROUP$4FAILURE;
+ }
+ mGROUP$4.rollback();
+ break GROUP$4SUCCESS;
+ }
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ GROUP$3FAILURE: {
+ KEYWORD$8SUCCESS: {
+ if (!consumeKeyword(getRule().ele001KeywordLeftCurlyBracket(), null, false, false))
+ break KEYWORD$8SUCCESS;
+ break GROUP$3FAILURE;
+ }
+ mGROUP$3.rollback();
+ break GROUP$3SUCCESS;
+ }
+ break GROUP$2FAILURE;
+ }
+ mGROUP$2.rollback();
+ break GROUP$2SUCCESS;
+ }
+ GROUP$2FAILURE: {
+ ASSIGNMENT$9SUCCESS: while(true) {
+ ASSIGNMENT$9FAILURE: {
+ if (consumeNonTerminal(assignmentConsumer, "assignments", true, false , getRule().ele010ParserRuleCallAssignment()))
+ break ASSIGNMENT$9FAILURE;
+ break ASSIGNMENT$9SUCCESS;
+ }
+ continue ASSIGNMENT$9SUCCESS;
+ }
+ }
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ GROUP$1FAILURE: {
+ KEYWORD$11SUCCESS: {
+ if (!consumeKeyword(getRule().ele1KeywordRightCurlyBracket(), null, false, false))
+ break KEYWORD$11SUCCESS;
+ break GROUP$1FAILURE;
+ }
+ mGROUP$1.rollback();
+ break GROUP$1SUCCESS;
+ }
+ return true;
+ }
+ return false;
+ }
+
+ public WorkflowRefElements getRule() {
+ return MWEGrammarAccess.INSTANCE.prWorkflowRef();
+ }
+
+ protected EObject getGrammarElement() {
+ return getRule().getRule();
+ }
+
+ @Override
+ protected String getDefaultTypeName() {
+ return "WorkflowRef";
+ }
+
+ public void setStringConsumer(XtextBuiltinSTRINGConsumer stringConsumer) {
+ this.stringConsumer = stringConsumer;
+ }
+
+ public void setAssignmentConsumer(MWEAssignmentConsumer assignmentConsumer) {
+ this.assignmentConsumer = assignmentConsumer;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parsetree/reconstr/MWEParseTreeConstructor.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parsetree/reconstr/MWEParseTreeConstructor.java
index e28c55a..39aecbc 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parsetree/reconstr/MWEParseTreeConstructor.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parsetree/reconstr/MWEParseTreeConstructor.java
@@ -14,62 +14,25 @@ import org.eclipse.emf.mwe.di.services.MWEGrammarAccess;
public class MWEParseTreeConstructor extends AbstractParseTreeConstructor {
-
- public IAbstractToken serialize(EObject object) {
- if(object == null) throw new IllegalArgumentException("The to-be-serialialized model is null");
- Solution t = internalSerialize(object);
- if(t == null) throw new XtextSerializationException(getDescr(object), "No rule found for serialization");
- return t.getPredecessor();
- }
-
+
protected Solution internalSerialize(EObject obj) {
IInstanceDescription inst = getDescr(obj);
Solution s;
-
- if(inst.isInstanceOf("File") && (s = new File_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("Import") && (s = new Import_Alternatives(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("JavaImport") && (s = new JavaImport_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("GenericImport") && (s = new GenericImport_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("Property") && (s = new Property_Alternatives(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("LocalVariable") && (s = new LocalVariable_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("PropertiesFileImport") && (s = new PropertiesFileImport_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("Value") && (s = new Value_Alternatives(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("SimpleValue") && (s = new SimpleValue_Assignment_value(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("Assignable") && (s = new Assignable_Alternatives(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("ComplexValue") && (s = new ComplexValue_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("WorkflowRef") && (s = new WorkflowRef_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("IdRef") && (s = new IdRef_Assignment_id(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("Assignment") && (s = new Assignment_Group(inst, null).firstSolution()) != null) return s;
-
-
- if(inst.isInstanceOf("QualifiedName") && (s = new QualifiedName_Group(inst, null).firstSolution()) != null) return s;
-
+ if(inst.isInstanceOf("File") && (s = new File_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("Import") && (s = new Import_Alternatives(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("JavaImport") && (s = new JavaImport_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("GenericImport") && (s = new GenericImport_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("Property") && (s = new Property_Alternatives(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("LocalVariable") && (s = new LocalVariable_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("PropertiesFileImport") && (s = new PropertiesFileImport_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("Value") && (s = new Value_Alternatives(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("SimpleValue") && (s = new SimpleValue_Assignment_value(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("Assignable") && (s = new Assignable_Alternatives(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("ComplexValue") && (s = new ComplexValue_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("WorkflowRef") && (s = new WorkflowRef_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("IdRef") && (s = new IdRef_Assignment_id(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("Assignment") && (s = new Assignment_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
+ if(inst.isInstanceOf("QualifiedName") && (s = new QualifiedName_Group(inst, null).firstSolution()) != null && isConsumed(s,null)) return s;
return null;
}
@@ -97,7 +60,7 @@ protected class File_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new File_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -125,7 +88,7 @@ protected class File_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new File_0_0_Assignment_imports(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -156,6 +119,7 @@ protected class File_0_0_Assignment_imports extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Import")) {
Solution s = new Import_Alternatives(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -186,6 +150,7 @@ protected class File_0_1_Assignment_properties extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Property")) {
Solution s = new Property_Alternatives(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -217,6 +182,7 @@ protected class File_1_Assignment_value extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("ComplexValue")) {
Solution s = new ComplexValue_Group(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -323,7 +289,7 @@ protected class JavaImport_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new JavaImport_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -351,7 +317,7 @@ protected class JavaImport_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new JavaImport_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -379,7 +345,7 @@ protected class JavaImport_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new JavaImport_0_0_0_Keyword_import(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -422,6 +388,7 @@ protected class JavaImport_0_0_1_Assignment_javaImport extends AssignmentToken
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("QualifiedName")) {
Solution s = new QualifiedName_Group(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -450,7 +417,7 @@ protected class JavaImport_0_1_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new JavaImport_0_1_0_Keyword(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -538,7 +505,7 @@ protected class GenericImport_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new GenericImport_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -566,7 +533,7 @@ protected class GenericImport_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new GenericImport_0_0_Keyword_import(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -721,7 +688,7 @@ protected class LocalVariable_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new LocalVariable_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -749,7 +716,7 @@ protected class LocalVariable_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new LocalVariable_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -777,7 +744,7 @@ protected class LocalVariable_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new LocalVariable_0_0_0_Keyword_var(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -841,7 +808,7 @@ protected class LocalVariable_0_1_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new LocalVariable_0_1_0_Keyword(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -884,6 +851,7 @@ protected class LocalVariable_0_1_1_Assignment_value extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Value")) {
Solution s = new Value_Alternatives(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -936,7 +904,7 @@ protected class PropertiesFileImport_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new PropertiesFileImport_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -964,7 +932,7 @@ protected class PropertiesFileImport_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new PropertiesFileImport_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -992,7 +960,7 @@ protected class PropertiesFileImport_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new PropertiesFileImport_0_0_0_Keyword_var(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1341,7 +1309,7 @@ protected class ComplexValue_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new ComplexValue_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1369,7 +1337,7 @@ protected class ComplexValue_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new ComplexValue_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1397,7 +1365,7 @@ protected class ComplexValue_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new ComplexValue_0_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1425,7 +1393,7 @@ protected class ComplexValue_0_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new ComplexValue_0_0_0_0_Assignment_className(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1456,6 +1424,7 @@ protected class ComplexValue_0_0_0_0_Assignment_className extends AssignmentToke
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("QualifiedName")) {
Solution s = new QualifiedName_Group(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -1483,7 +1452,7 @@ protected class ComplexValue_0_0_0_1_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new ComplexValue_0_0_0_1_0_Keyword(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1575,6 +1544,7 @@ protected class ComplexValue_0_1_Assignment_assignments extends AssignmentToken
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Assignment")) {
Solution s = new Assignment_Group(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -1626,7 +1596,7 @@ protected class WorkflowRef_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new WorkflowRef_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1654,7 +1624,7 @@ protected class WorkflowRef_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new WorkflowRef_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1682,7 +1652,7 @@ protected class WorkflowRef_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new WorkflowRef_0_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1710,7 +1680,7 @@ protected class WorkflowRef_0_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new WorkflowRef_0_0_0_0_Keyword_file(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1790,6 +1760,7 @@ protected class WorkflowRef_0_1_Assignment_assignments extends AssignmentToken
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Assignment")) {
Solution s = new Assignment_Group(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -1874,7 +1845,7 @@ protected class Assignment_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new Assignment_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1902,7 +1873,7 @@ protected class Assignment_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new Assignment_0_0_Group(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -1930,7 +1901,7 @@ protected class Assignment_0_0_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new Assignment_0_0_0_Assignment_feature(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -2013,6 +1984,7 @@ protected class Assignment_0_1_Assignment_value extends AssignmentToken {
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Value")) {
Solution s = new Value_Alternatives(param, this).firstSolution();
+ while(s != null && !isConsumed(s,this)) s = s.getPredecessor().nextSolution(this,s);
if(s != null) {
type = AssignmentType.PRC;
return new Solution(obj,s.getPredecessor());
@@ -2064,7 +2036,7 @@ protected class QualifiedName_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new QualifiedName_0_Assignment_parts(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();
@@ -2115,7 +2087,7 @@ protected class QualifiedName_1_Group extends GroupToken {
while(s1 != null) {
Solution s2 = new QualifiedName_1_0_Assignment_parts(s1.getCurrent(), s1.getPredecessor()).firstSolution();
if(s2 == null) {
- s1 = s1.getPredecessor().nextSolution(this);
+ s1 = s1.getPredecessor().nextSolution(this,s1);
if(s1 == null) return null;
} else {
last = s2.getPredecessor();