summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhubner2009-01-05 06:17:10 (EST)
committer dhubner2009-01-05 06:17:10 (EST)
commit97f84e139a51db1aa310c082b34481c5602994dd (patch)
treea97bf2a81645a41f0496e0c172a98f3e77844e1e
parenta85aee730e2c8597eefdf994200ae76f495d107f (diff)
downloadorg.eclipse.mwe-97f84e139a51db1aa310c082b34481c5602994dd.zip
org.eclipse.mwe-97f84e139a51db1aa310c082b34481c5602994dd.tar.gz
org.eclipse.mwe-97f84e139a51db1aa310c082b34481c5602994dd.tar.bz2
applying patch
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/AbstractMWERuntimeConfig.java10
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/MWE.xmi51
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/mwe.ecore20
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g279
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWELexer.java74
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWEParser.java971
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE__.g14
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/parsetree/reconstr/MWEParseTreeConstructor.java95
-rw-r--r--plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/services/MWEGrammarAccess.java750
9 files changed, 1171 insertions, 1093 deletions
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 9125092..ce4393b 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
@@ -9,14 +9,14 @@ import org.eclipse.xtext.service.AbstractServiceRegistrationFactory;
*/
public abstract class AbstractMWERuntimeConfig extends AbstractServiceRegistrationFactory {
- protected Class<? extends org.eclipse.xtext.IGrammarAccess> getIGrammarAccess() {
- return org.eclipse.emf.mwe.di.services.MWEGrammarAccess.class;
- }
-
protected Class<? extends org.eclipse.xtext.IMetamodelAccess> getIMetamodelAccess() {
return org.eclipse.emf.mwe.di.services.MWEMetamodelAccess.class;
}
+ protected Class<? extends org.eclipse.xtext.IGrammarAccess> getIGrammarAccess() {
+ return org.eclipse.emf.mwe.di.services.MWEGrammarAccess.class;
+ }
+
protected Class<? extends org.eclipse.xtext.parser.IAstFactory> getIAstFactory() {
return org.eclipse.xtext.parser.GenericEcoreElementFactory.class;
}
@@ -56,8 +56,8 @@ public abstract class AbstractMWERuntimeConfig extends AbstractServiceRegistrati
public Set<IServiceRegistration> registrations() {
return scope(org.eclipse.emf.mwe.di.IMWE.SCOPE)
- .with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
.with(org.eclipse.xtext.IMetamodelAccess.class, getIMetamodelAccess())
+ .with(org.eclipse.xtext.IGrammarAccess.class, getIGrammarAccess())
.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/MWE.xmi b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/MWE.xmi
index af21b6a..5abb6fc 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/MWE.xmi
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/MWE.xmi
@@ -1,13 +1,18 @@
<?xml version="1.0" encoding="ASCII"?>
-<xtext:Grammar xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xtext="http://www.eclipse.org/2008/Xtext">
+<xtext:Grammar xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext">
<idElements>org</idElements>
<idElements>eclipse</idElements>
<idElements>emf</idElements>
<idElements>mwe</idElements>
<idElements>di</idElements>
<idElements>MWE</idElements>
- <metamodelDeclarations xsi:type="xtext:GeneratedMetamodel" name="mwe" nsURI="http://www.eclipse.org/emf/mwe/di"/>
+ <metamodelDeclarations xsi:type="xtext:GeneratedMetamodel" name="mwe">
+ <ePackage href="http://www.eclipse.org/emf/mwe/di#/"/>
+ </metamodelDeclarations>
<rules xsi:type="xtext:ParserRule" name="File">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//File"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Assignment" cardinality="*" feature="imports" operator="+=">
@@ -23,12 +28,18 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Import">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//Import"/>
+ </type>
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:RuleCall" rule="//@rules.2"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.3"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="JavaImport">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//JavaImport"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
@@ -48,6 +59,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="GenericImport">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//GenericImport"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Keyword" value="import"/>
@@ -61,12 +75,18 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Property">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//Property"/>
+ </type>
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:RuleCall" rule="//@rules.5"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.6"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="LocalVariable">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//LocalVariable"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
@@ -88,6 +108,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="PropertiesFileImport">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//PropertiesFileImport"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
@@ -104,6 +127,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Value">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//Value"/>
+ </type>
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:Alternatives">
@@ -116,6 +142,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="SimpleValue">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//SimpleValue"/>
+ </type>
<alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
<terminal xsi:type="xtext:RuleCall">
<rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.2"/>
@@ -123,12 +152,18 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Assignable">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//Assignable"/>
+ </type>
<alternatives xsi:type="xtext:Alternatives">
<groups xsi:type="xtext:RuleCall" rule="//@rules.10"/>
<groups xsi:type="xtext:RuleCall" rule="//@rules.11"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="ComplexValue">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//ComplexValue"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
@@ -157,6 +192,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="WorkflowRef">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//WorkflowRef"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
@@ -178,6 +216,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="IdRef">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//IdRef"/>
+ </type>
<alternatives xsi:type="xtext:Assignment" feature="id" operator="=">
<terminal xsi:type="xtext:RuleCall">
<rule href="classpath:/org/eclipse/xtext/builtin/XtextBuiltin.xmi#//@rules.0"/>
@@ -185,6 +226,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Assignment">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//Assignment"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Group">
@@ -208,6 +252,9 @@
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="QualifiedName">
+ <type metamodel="//@metamodelDeclarations.0">
+ <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/mwe/di#//QualifiedName"/>
+ </type>
<alternatives xsi:type="xtext:Group">
<abstractTokens xsi:type="xtext:Assignment" feature="parts" operator="+=">
<terminal xsi:type="xtext:RuleCall">
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/mwe.ecore b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/mwe.ecore
index 2f7c083..00bf969 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/mwe.ecore
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/mwe.ecore
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ASCII"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="mwe" nsURI="http://www.eclipse.org/emf/mwe/di" nsPrefix="mwe">
<eClassifiers xsi:type="ecore:EClass" name="File">
- <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" eType="//Import" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="properties" upperBound="-1" eType="//Property" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="imports" unique="false" upperBound="-1" eType="//Import" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="properties" unique="false" upperBound="-1" eType="//Property" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="//ComplexValue" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Import"/>
@@ -35,6 +35,7 @@
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Assignable"/>
<eClassifiers xsi:type="ecore:EClass" name="ComplexValue" eSuperTypes="//Value //Assignable">
<eStructuralFeatures xsi:type="ecore:EReference" name="className" eType="//QualifiedName" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id">
@@ -43,20 +44,19 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="fooBar">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" upperBound="-1" eType="//Assignment" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" unique="false" upperBound="-1" eType="//Assignment" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IdRef" eSuperTypes="//Value">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id">
+ <eClassifiers xsi:type="ecore:EClass" name="WorkflowRef" eSuperTypes="//Value //Assignable">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="uri">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" unique="false" upperBound="-1" eType="//Assignment" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="WorkflowRef" eSuperTypes="//Value //Assignable">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="uri">
+ <eClassifiers xsi:type="ecore:EClass" name="IdRef" eSuperTypes="//Value">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" upperBound="-1" eType="//Assignment" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Assignable"/>
<eClassifiers xsi:type="ecore:EClass" name="Assignment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="feature">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
@@ -67,7 +67,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="//Value" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="parts" upperBound="-1">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="parts" unique="false" upperBound="-1">
<eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
</eClassifiers>
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/internal/InternalMWE.g
index f98bf4a..c395edc 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/internal/InternalMWE.g
@@ -27,6 +27,9 @@ 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.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
+import org.eclipse.xtext.parser.antlr.ValueConverterException;
+
}
@parser::members {
@@ -58,6 +61,7 @@ import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+
// Entry rule entryRuleFile
entryRuleFile returns [EObject current=null] :
{ currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0" /* xtext::ParserRule */, currentNode); }
@@ -78,14 +82,18 @@ ruleFile returns [EObject current=null]
}
lv_imports=ruleImport
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("File");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.add($current, "imports", lv_imports,null);
- }
+ try {
+ factory.add($current, "imports", lv_imports, "Import", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
)*(
@@ -95,14 +103,18 @@ ruleFile returns [EObject current=null]
}
lv_properties=ruleProperty
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("File");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.add($current, "properties", lv_properties,null);
- }
+ try {
+ factory.add($current, "properties", lv_properties, "Property", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
)*)(
@@ -112,17 +124,23 @@ ruleFile returns [EObject current=null]
}
lv_value=ruleComplexValue
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("File");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.set($current, "value", lv_value,null);
- }
+ try {
+ factory.set($current, "value", lv_value, "ComplexValue", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
));
-
+
+
+
// Entry rule entryRuleImport
@@ -157,7 +175,9 @@ ruleImport returns [EObject current=null]
currentNode = currentNode.getParent();
}
);
-
+
+
+
// Entry rule entryRuleJavaImport
@@ -184,14 +204,18 @@ ruleJavaImport returns [EObject current=null]
}
lv_javaImport=ruleQualifiedName
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("JavaImport");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.set($current, "javaImport", lv_javaImport,null);
- }
+ try {
+ factory.set($current, "javaImport", lv_javaImport, "QualifiedName", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
))('.'
{
@@ -210,15 +234,21 @@ ruleJavaImport returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "wildcard", true,"*");
- }
+ try {
+ factory.set($current, "wildcard", true, "*", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))?)';'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
-
+
+
+
// Entry rule entryRuleGenericImport
@@ -250,15 +280,21 @@ ruleGenericImport returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "value", lv_value,"STRING");
- }
+ try {
+ factory.set($current, "value", lv_value, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))(';'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.3/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
)?);
-
+
+
+
// Entry rule entryRuleProperty
@@ -293,7 +329,9 @@ ruleProperty returns [EObject current=null]
currentNode = currentNode.getParent();
}
);
-
+
+
+
// Entry rule entryRuleLocalVariable
@@ -325,8 +363,12 @@ ruleLocalVariable returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "name", lv_name,"ID");
- }
+ try {
+ factory.set($current, "name", lv_name, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))('='
{
@@ -340,21 +382,27 @@ ruleLocalVariable returns [EObject current=null]
}
lv_value=ruleValue
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("LocalVariable");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.set($current, "value", lv_value,null);
- }
+ try {
+ factory.set($current, "value", lv_value, "Value", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
))?)';'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
-
+
+
+
// Entry rule entryRulePropertiesFileImport
@@ -390,15 +438,21 @@ rulePropertiesFileImport returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "file", lv_file,"STRING");
- }
+ try {
+ factory.set($current, "file", lv_file, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))';'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
-
+
+
+
// Entry rule entryRuleValue
@@ -453,7 +507,9 @@ ruleValue returns [EObject current=null]
currentNode = currentNode.getParent();
}
);
-
+
+
+
// Entry rule entryRuleSimpleValue
@@ -481,11 +537,17 @@ ruleSimpleValue returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "value", lv_value,"STRING");
- }
+ try {
+ factory.set($current, "value", lv_value, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
);
-
+
+
+
@@ -510,14 +572,18 @@ ruleComplexValue returns [EObject current=null]
}
lv_className=ruleQualifiedName
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("ComplexValue");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.set($current, "className", lv_className,null);
- }
+ try {
+ factory.set($current, "className", lv_className, "QualifiedName", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
)?(':'
{
@@ -536,8 +602,12 @@ ruleComplexValue returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "id", lv_id,"ID");
- }
+ try {
+ factory.set($current, "id", lv_id, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))?)(
@@ -552,8 +622,12 @@ ruleComplexValue returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "fooBar", true,"{");
- }
+ try {
+ factory.set($current, "fooBar", true, "{", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))(
@@ -563,21 +637,27 @@ ruleComplexValue returns [EObject current=null]
}
lv_assignments=ruleAssignment
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("ComplexValue");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.add($current, "assignments", lv_assignments,null);
- }
+ try {
+ factory.add($current, "assignments", lv_assignments, "Assignment", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
)*)'}'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
-
+
+
+
// Entry rule entryRuleWorkflowRef
@@ -609,8 +689,12 @@ ruleWorkflowRef returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "uri", lv_uri,"STRING");
- }
+ try {
+ factory.set($current, "uri", lv_uri, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))'{'
{
@@ -624,21 +708,27 @@ ruleWorkflowRef returns [EObject current=null]
}
lv_assignments=ruleAssignment
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("WorkflowRef");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.add($current, "assignments", lv_assignments,null);
- }
+ try {
+ factory.add($current, "assignments", lv_assignments, "Assignment", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
)*)'}'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
);
-
+
+
+
// Entry rule entryRuleIdRef
@@ -666,11 +756,17 @@ ruleIdRef returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "id", lv_id,"ID");
- }
+ try {
+ factory.set($current, "id", lv_id, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
);
-
+
+
+
// Entry rule entryRuleAssignment
@@ -698,8 +794,12 @@ ruleAssignment returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "feature", lv_feature,"ID");
- }
+ try {
+ factory.set($current, "feature", lv_feature, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
)?(
@@ -719,8 +819,12 @@ ruleAssignment returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.set($current, "operator", input.LT(-1),null);
- }
+ try {
+ factory.set($current, "operator", input.LT(-1), null, currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))(
@@ -730,21 +834,27 @@ ruleAssignment returns [EObject current=null]
}
lv_value=ruleValue
{
- currentNode = currentNode.getParent();
if ($current==null) {
$current = factory.create("Assignment");
- associateNodeWithAstElement(currentNode, $current);
+ associateNodeWithAstElement(currentNode.getParent(), $current);
}
- factory.set($current, "value", lv_value,null);
- }
+ try {
+ factory.set($current, "value", lv_value, "Value", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+ }
))(';'
{
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
}
)?);
-
+
+
+
// Entry rule entryRuleQualifiedName
@@ -772,8 +882,12 @@ ruleQualifiedName returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.add($current, "parts", lv_parts,"ID");
- }
+ try {
+ factory.add($current, "parts", lv_parts, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
)((
@@ -788,8 +902,12 @@ ruleQualifiedName returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.add($current, "parts", input.LT(-1),".");
- }
+ try {
+ factory.add($current, "parts", input.LT(-1), ".", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
)(
@@ -804,11 +922,16 @@ ruleQualifiedName returns [EObject current=null]
associateNodeWithAstElement(currentNode, $current);
}
- factory.add($current, "parts", lv_parts,"ID");
- }
+ try {
+ factory.add($current, "parts", lv_parts, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ }
))*);
-
+
+
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/internal/InternalMWELexer.java
index 44674f1..381c7c9 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/internal/InternalMWELexer.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g 2008-12-08 18:00:15
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g 2009-01-04 17:03:35
package org.eclipse.emf.mwe.di.parser.internal;
@@ -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:815:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:815:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./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/internal/InternalMWE.g:815:11: ( '^' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:815:12: '^'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:815:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:938:41: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -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:817:10: ( ( '0' .. '9' )+ )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:817:12: ( '0' .. '9' )+
+ // ./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/internal/InternalMWE.g:817:12: ( '0' .. '9' )+
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:817:13: '0' .. '9'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:819:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -383,16 +383,16 @@ public class InternalMWELexer extends Lexer {
}
else {
NoViableAltException nvae =
- new NoViableAltException("819:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
+ new NoViableAltException("942:1: RULE_STRING : ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\'' );", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:819:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:819:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\"' ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:819:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:819:65: ~ ( '\\\\' | '\"' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:819:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:942:101: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\'');
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:819:106: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | ~ ( '\\\\' | '\\'' ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:819:108: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:819:152: ~ ( '\\\\' | '\\'' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:821:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:821:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ./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; } : . )* '*/'
{
match("/*");
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:821:24: ( options {greedy=false; } : . )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:821:52: .
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:823:17: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:823:19: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' )?
+ // ./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' )?
{
match("//");
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:823:24: (~ ( '\\n' | '\\r' ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:823:24: ~ ( '\\n' | '\\r' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:823:38: ( ( '\\r' )? '\\n' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:823:39: ( '\\r' )? '\\n'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:946:39: ( '\\r' )? '\\n'
{
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:823:39: ( '\\r' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:823:39: '\\r'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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:825:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:825:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./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/internal/InternalMWE.g:825:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:948:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt11=0;
loop11:
do {
@@ -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:827:16: ( . )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:827:18: .
+ // ./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: .
{
matchAny();
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/internal/InternalMWEParser.java
index 69f5225..3d3fca4 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/internal/InternalMWEParser.java
@@ -1,4 +1,4 @@
-// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g 2008-12-08 18:00:15
+// $ANTLR 3.0.1 ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g 2009-01-04 17:03:34
package org.eclipse.emf.mwe.di.parser.internal;
@@ -11,6 +11,9 @@ 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.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.DatatypeRuleToken;
+import org.eclipse.xtext.parser.antlr.ValueConverterException;
+
import org.antlr.runtime.*;
@@ -61,7 +64,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleFile
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:62:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:66:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
public final EObject entryRuleFile() throws RecognitionException {
EObject current = null;
@@ -69,16 +72,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:62:46: (iv_ruleFile= ruleFile EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:63:2: iv_ruleFile= ruleFile EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleFile_in_entryRuleFile70);
+ pushFollow(FOLLOW_ruleFile_in_entryRuleFile71);
iv_ruleFile=ruleFile();
_fsp--;
current =iv_ruleFile;
- match(input,EOF,FOLLOW_EOF_in_entryRuleFile80);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleFile81);
}
@@ -96,7 +99,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleFile
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:70:1: ruleFile returns [EObject current=null] : ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) ) ;
+ // ./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 ) ) ;
public final EObject ruleFile() throws RecognitionException {
EObject current = null;
@@ -109,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:72:33: ( ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:73:1: ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) )
+ // ./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/internal/InternalMWE.g:73:1: ( ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* ) (lv_value= ruleComplexValue ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:73:2: ( (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/internal/InternalMWE.g:73:2: ( (lv_imports= ruleImport )* (lv_properties= ruleProperty )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:73:3: (lv_imports= ruleImport )* (lv_properties= ruleProperty )*
+ // ./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/internal/InternalMWE.g:73:3: (lv_imports= ruleImport )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:77:3: (lv_imports= ruleImport )*
loop1:
do {
int alt1=2;
@@ -131,24 +134,28 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt1) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:76:6: lv_imports= ruleImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleImport_in_ruleFile140);
+ pushFollow(FOLLOW_ruleImport_in_ruleFile141);
lv_imports=ruleImport();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("File");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.add(current, "imports", lv_imports,null);
-
+ try {
+ factory.add(current, "imports", lv_imports, "Import", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
break;
@@ -158,7 +165,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
} while (true);
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:90:3: (lv_properties= ruleProperty )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:98:3: (lv_properties= ruleProperty )*
loop2:
do {
int alt2=2;
@@ -171,24 +178,28 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt2) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:93:6: lv_properties= ruleProperty
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleProperty_in_ruleFile179);
+ pushFollow(FOLLOW_ruleProperty_in_ruleFile180);
lv_properties=ruleProperty();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("File");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.add(current, "properties", lv_properties,null);
-
+ try {
+ factory.add(current, "properties", lv_properties, "Property", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
break;
@@ -201,25 +212,29 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:107:4: (lv_value= ruleComplexValue )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:110:6: lv_value= ruleComplexValue
+ // ./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
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.0/@alternatives/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleComplexValue_in_ruleFile219);
+ pushFollow(FOLLOW_ruleComplexValue_in_ruleFile220);
lv_value=ruleComplexValue();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("File");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.set(current, "value", lv_value,null);
-
+ try {
+ factory.set(current, "value", lv_value, "ComplexValue", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
@@ -244,7 +259,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:129:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:147:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -252,16 +267,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:129:48: (iv_ruleImport= ruleImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:130:2: iv_ruleImport= ruleImport EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.1" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleImport_in_entryRuleImport258);
+ pushFollow(FOLLOW_ruleImport_in_entryRuleImport257);
iv_ruleImport=ruleImport();
_fsp--;
current =iv_ruleImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleImport268);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImport267);
}
@@ -279,7 +294,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:137:1: ruleImport returns [EObject current=null] : (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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;
@@ -290,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:139:33: ( (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:140:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )
+ // ./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/internal/InternalMWE.g:140: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 )
int alt3=2;
int LA3_0 = input.LA(1);
@@ -308,25 +323,25 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("140:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )", 3, 1, input);
+ new NoViableAltException("158:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )", 3, 1, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("140:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )", 3, 0, input);
+ new NoViableAltException("158:1: (this_JavaImport= ruleJavaImport | this_GenericImport= ruleGenericImport )", 3, 0, input);
throw nvae;
}
switch (alt3) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:141:5: this_JavaImport= ruleJavaImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleJavaImport_in_ruleImport315);
+ pushFollow(FOLLOW_ruleJavaImport_in_ruleImport314);
this_JavaImport=ruleJavaImport();
_fsp--;
@@ -338,12 +353,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:151:5: this_GenericImport= ruleGenericImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleGenericImport_in_ruleImport342);
+ pushFollow(FOLLOW_ruleGenericImport_in_ruleImport341);
this_GenericImport=ruleGenericImport();
_fsp--;
@@ -375,7 +390,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleJavaImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:164:1: entryRuleJavaImport returns [EObject current=null] : iv_ruleJavaImport= ruleJavaImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:184:1: entryRuleJavaImport returns [EObject current=null] : iv_ruleJavaImport= ruleJavaImport EOF ;
public final EObject entryRuleJavaImport() throws RecognitionException {
EObject current = null;
@@ -383,16 +398,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:164:52: (iv_ruleJavaImport= ruleJavaImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:165:2: iv_ruleJavaImport= ruleJavaImport EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleJavaImport_in_entryRuleJavaImport376);
+ pushFollow(FOLLOW_ruleJavaImport_in_entryRuleJavaImport373);
iv_ruleJavaImport=ruleJavaImport();
_fsp--;
current =iv_ruleJavaImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleJavaImport386);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleJavaImport383);
}
@@ -410,7 +425,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleJavaImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:172:1: ruleJavaImport returns [EObject current=null] : ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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;
@@ -420,48 +435,52 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:174:33: ( ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:175:1: ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' )
+ // ./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/internal/InternalMWE.g:175:1: ( ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? ) ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:175:2: ( ( '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/internal/InternalMWE.g:175:2: ( ( 'import' (lv_javaImport= ruleQualifiedName ) ) ( '.' (lv_wildcard= '*' ) )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:175:3: ( '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/internal/InternalMWE.g:175:3: ( 'import' (lv_javaImport= ruleQualifiedName ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:175:4: 'import' (lv_javaImport= ruleQualifiedName )
+ // ./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 )
{
- match(input,11,FOLLOW_11_in_ruleJavaImport422);
+ 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:179:1: (lv_javaImport= ruleQualifiedName )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:182:6: lv_javaImport= ruleQualifiedName
+ // ./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
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleQualifiedName_in_ruleJavaImport456);
+ pushFollow(FOLLOW_ruleQualifiedName_in_ruleJavaImport453);
lv_javaImport=ruleQualifiedName();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("JavaImport");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.set(current, "javaImport", lv_javaImport,null);
-
+ try {
+ factory.set(current, "javaImport", lv_javaImport, "QualifiedName", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:196:3: ( '.' (lv_wildcard= '*' ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:220:3: ( '.' (lv_wildcard= '*' ) )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -470,17 +489,17 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt4) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:196:4: '.' (lv_wildcard= '*' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:220:4: '.' (lv_wildcard= '*' )
{
- match(input,12,FOLLOW_12_in_ruleJavaImport471);
+ 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:200:1: (lv_wildcard= '*' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:202:6: lv_wildcard= '*'
+ // ./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= '*'
{
lv_wildcard=(Token)input.LT(1);
- match(input,13,FOLLOW_13_in_ruleJavaImport492);
+ match(input,13,FOLLOW_13_in_ruleJavaImport489);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::Keyword */, "wildcard");
@@ -490,8 +509,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "wildcard", true,"*");
-
+ try {
+ factory.set(current, "wildcard", true, "*", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
@@ -504,7 +527,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- match(input,14,FOLLOW_14_in_ruleJavaImport516);
+ match(input,14,FOLLOW_14_in_ruleJavaImport513);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.2/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -529,7 +552,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleGenericImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:225:1: entryRuleGenericImport returns [EObject current=null] : iv_ruleGenericImport= ruleGenericImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:255:1: entryRuleGenericImport returns [EObject current=null] : iv_ruleGenericImport= ruleGenericImport EOF ;
public final EObject entryRuleGenericImport() throws RecognitionException {
EObject current = null;
@@ -537,16 +560,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:225:55: (iv_ruleGenericImport= ruleGenericImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:226:2: iv_ruleGenericImport= ruleGenericImport EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.3" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleGenericImport_in_entryRuleGenericImport551);
+ pushFollow(FOLLOW_ruleGenericImport_in_entryRuleGenericImport546);
iv_ruleGenericImport=ruleGenericImport();
_fsp--;
current =iv_ruleGenericImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleGenericImport561);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleGenericImport556);
}
@@ -564,7 +587,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleGenericImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:233:1: ruleGenericImport returns [EObject current=null] : ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:263:1: ruleGenericImport returns [EObject current=null] : ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) ;
public final EObject ruleGenericImport() throws RecognitionException {
EObject current = null;
@@ -572,24 +595,24 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:235:33: ( ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:236:1: ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? )
+ // ./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/internal/InternalMWE.g:236:1: ( ( 'import' (lv_value= RULE_STRING ) ) ( ';' )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:236:2: ( '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/internal/InternalMWE.g:236:2: ( 'import' (lv_value= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:236:3: '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 )
{
- match(input,11,FOLLOW_11_in_ruleGenericImport596);
+ 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:240:1: (lv_value= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:242:6: lv_value= RULE_STRING
+ // ./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
{
lv_value=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGenericImport617);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGenericImport612);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.3/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "value");
@@ -599,15 +622,19 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "value", lv_value,"STRING");
-
+ try {
+ factory.set(current, "value", lv_value, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:256:3: ( ';' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:290:3: ( ';' )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -616,9 +643,9 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt5) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:256:4: ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:290:4: ';'
{
- match(input,14,FOLLOW_14_in_ruleGenericImport639);
+ match(input,14,FOLLOW_14_in_ruleGenericImport634);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.3/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -649,7 +676,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleProperty
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:265:1: entryRuleProperty returns [EObject current=null] : iv_ruleProperty= ruleProperty EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:301:1: entryRuleProperty returns [EObject current=null] : iv_ruleProperty= ruleProperty EOF ;
public final EObject entryRuleProperty() throws RecognitionException {
EObject current = null;
@@ -657,16 +684,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:265:50: (iv_ruleProperty= ruleProperty EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:266:2: iv_ruleProperty= ruleProperty EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.4" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleProperty_in_entryRuleProperty676);
+ pushFollow(FOLLOW_ruleProperty_in_entryRuleProperty669);
iv_ruleProperty=ruleProperty();
_fsp--;
current =iv_ruleProperty;
- match(input,EOF,FOLLOW_EOF_in_entryRuleProperty686);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleProperty679);
}
@@ -684,7 +711,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleProperty
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:273:1: ruleProperty returns [EObject current=null] : (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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;
@@ -695,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:275:33: ( (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:276:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )
+ // ./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/internal/InternalMWE.g:276: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 )
int alt6=2;
int LA6_0 = input.LA(1);
@@ -713,25 +740,25 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("276:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )", 6, 1, input);
+ new NoViableAltException("312:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )", 6, 1, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("276:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )", 6, 0, input);
+ new NoViableAltException("312:1: (this_LocalVariable= ruleLocalVariable | this_PropertiesFileImport= rulePropertiesFileImport )", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:277:5: this_LocalVariable= ruleLocalVariable
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleLocalVariable_in_ruleProperty733);
+ pushFollow(FOLLOW_ruleLocalVariable_in_ruleProperty726);
this_LocalVariable=ruleLocalVariable();
_fsp--;
@@ -743,12 +770,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:287:5: this_PropertiesFileImport= rulePropertiesFileImport
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_rulePropertiesFileImport_in_ruleProperty760);
+ pushFollow(FOLLOW_rulePropertiesFileImport_in_ruleProperty753);
this_PropertiesFileImport=rulePropertiesFileImport();
_fsp--;
@@ -780,7 +807,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleLocalVariable
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:300:1: entryRuleLocalVariable returns [EObject current=null] : iv_ruleLocalVariable= ruleLocalVariable EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:338:1: entryRuleLocalVariable returns [EObject current=null] : iv_ruleLocalVariable= ruleLocalVariable EOF ;
public final EObject entryRuleLocalVariable() throws RecognitionException {
EObject current = null;
@@ -788,16 +815,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:300:55: (iv_ruleLocalVariable= ruleLocalVariable EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:301:2: iv_ruleLocalVariable= ruleLocalVariable EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleLocalVariable_in_entryRuleLocalVariable794);
+ pushFollow(FOLLOW_ruleLocalVariable_in_entryRuleLocalVariable785);
iv_ruleLocalVariable=ruleLocalVariable();
_fsp--;
current =iv_ruleLocalVariable;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLocalVariable804);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLocalVariable795);
}
@@ -815,7 +842,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleLocalVariable
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:308:1: ruleLocalVariable returns [EObject current=null] : ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' ) ;
+ // ./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 ) )? ) ';' ) ;
public final EObject ruleLocalVariable() throws RecognitionException {
EObject current = null;
@@ -825,27 +852,27 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:310:33: ( ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:311:1: ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' )
+ // ./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/internal/InternalMWE.g:311:1: ( ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? ) ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:311:2: ( ( '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/internal/InternalMWE.g:311:2: ( ( 'var' (lv_name= RULE_ID ) ) ( '=' (lv_value= ruleValue ) )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:311:3: ( '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/internal/InternalMWE.g:311:3: ( 'var' (lv_name= RULE_ID ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:311:4: 'var' (lv_name= RULE_ID )
+ // ./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 )
{
- match(input,15,FOLLOW_15_in_ruleLocalVariable840);
+ 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:315:1: (lv_name= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:317:6: lv_name= RULE_ID
+ // ./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
{
lv_name=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLocalVariable861);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLocalVariable852);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "name");
@@ -855,15 +882,19 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "name", lv_name,"ID");
-
+ try {
+ factory.set(current, "name", lv_name, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:331:3: ( '=' (lv_value= ruleValue ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:373:3: ( '=' (lv_value= ruleValue ) )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -872,31 +903,35 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt7) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:331:4: '=' (lv_value= ruleValue )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:373:4: '=' (lv_value= ruleValue )
{
- match(input,16,FOLLOW_16_in_ruleLocalVariable883);
+ 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:335:1: (lv_value= ruleValue )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:338:6: lv_value= ruleValue
+ // ./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
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleValue_in_ruleLocalVariable917);
+ pushFollow(FOLLOW_ruleValue_in_ruleLocalVariable908);
lv_value=ruleValue();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("LocalVariable");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.set(current, "value", lv_value,null);
-
+ try {
+ factory.set(current, "value", lv_value, "Value", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
@@ -909,7 +944,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- match(input,14,FOLLOW_14_in_ruleLocalVariable933);
+ match(input,14,FOLLOW_14_in_ruleLocalVariable924);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.5/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -934,7 +969,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRulePropertiesFileImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:361:1: entryRulePropertiesFileImport returns [EObject current=null] : iv_rulePropertiesFileImport= rulePropertiesFileImport EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:409:1: entryRulePropertiesFileImport returns [EObject current=null] : iv_rulePropertiesFileImport= rulePropertiesFileImport EOF ;
public final EObject entryRulePropertiesFileImport() throws RecognitionException {
EObject current = null;
@@ -942,16 +977,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:361:62: (iv_rulePropertiesFileImport= rulePropertiesFileImport EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:362:2: iv_rulePropertiesFileImport= rulePropertiesFileImport EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_rulePropertiesFileImport_in_entryRulePropertiesFileImport968);
+ pushFollow(FOLLOW_rulePropertiesFileImport_in_entryRulePropertiesFileImport957);
iv_rulePropertiesFileImport=rulePropertiesFileImport();
_fsp--;
current =iv_rulePropertiesFileImport;
- match(input,EOF,FOLLOW_EOF_in_entryRulePropertiesFileImport978);
+ match(input,EOF,FOLLOW_EOF_in_entryRulePropertiesFileImport967);
}
@@ -969,7 +1004,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start rulePropertiesFileImport
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:369:1: rulePropertiesFileImport returns [EObject current=null] : ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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;
@@ -977,34 +1012,34 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:371:33: ( ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:372:1: ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' )
+ // ./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/internal/InternalMWE.g:372:1: ( ( ( 'var' 'file' ) (lv_file= RULE_STRING ) ) ';' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:372:2: ( ( '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/internal/InternalMWE.g:372:2: ( ( 'var' 'file' ) (lv_file= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:372:3: ( '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/internal/InternalMWE.g:372:3: ( 'var' 'file' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:372:4: 'var' 'file'
+ // ./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'
{
- match(input,15,FOLLOW_15_in_rulePropertiesFileImport1014);
+ match(input,15,FOLLOW_15_in_rulePropertiesFileImport1003);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0" /* xtext::Keyword */, null);
- match(input,17,FOLLOW_17_in_rulePropertiesFileImport1023);
+ match(input,17,FOLLOW_17_in_rulePropertiesFileImport1012);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:380:2: (lv_file= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:382:6: lv_file= RULE_STRING
+ // ./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
{
lv_file=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePropertiesFileImport1045);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePropertiesFileImport1034);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "file");
@@ -1014,15 +1049,19 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "file", lv_file,"STRING");
-
+ try {
+ factory.set(current, "file", lv_file, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
}
- match(input,14,FOLLOW_14_in_rulePropertiesFileImport1066);
+ match(input,14,FOLLOW_14_in_rulePropertiesFileImport1055);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.6/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -1047,7 +1086,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:405:1: entryRuleValue returns [EObject current=null] : iv_ruleValue= ruleValue EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:459:1: entryRuleValue returns [EObject current=null] : iv_ruleValue= ruleValue EOF ;
public final EObject entryRuleValue() throws RecognitionException {
EObject current = null;
@@ -1055,16 +1094,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:405:47: (iv_ruleValue= ruleValue EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:406:2: iv_ruleValue= ruleValue EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.7" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleValue_in_entryRuleValue1101);
+ pushFollow(FOLLOW_ruleValue_in_entryRuleValue1088);
iv_ruleValue=ruleValue();
_fsp--;
current =iv_ruleValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleValue1111);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleValue1098);
}
@@ -1082,7 +1121,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:413: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/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;
@@ -1097,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:415:33: ( ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:416:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )
+ // ./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/internal/InternalMWE.g:416: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 )
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1112,15 +1151,15 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("416:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )", 10, 0, input);
+ new NoViableAltException("470:1: ( ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef ) | this_WorkflowRef= ruleWorkflowRef )", 10, 0, input);
throw nvae;
}
switch (alt10) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:416: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/internal/InternalMWE.g:416: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 )
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1138,22 +1177,22 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("416:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )", 9, 2, input);
+ new NoViableAltException("470:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )", 9, 2, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("416:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )", 9, 0, input);
+ new NoViableAltException("470:2: ( (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue ) | this_IdRef= ruleIdRef )", 9, 0, input);
throw nvae;
}
switch (alt9) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:416: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/internal/InternalMWE.g:416: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 )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -1165,18 +1204,18 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("416:3: (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue )", 8, 0, input);
+ new NoViableAltException("470:3: (this_SimpleValue= ruleSimpleValue | this_ComplexValue= ruleComplexValue )", 8, 0, input);
throw nvae;
}
switch (alt8) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:417:5: this_SimpleValue= ruleSimpleValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleSimpleValue_in_ruleValue1160);
+ pushFollow(FOLLOW_ruleSimpleValue_in_ruleValue1147);
this_SimpleValue=ruleSimpleValue();
_fsp--;
@@ -1188,12 +1227,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:427:5: this_ComplexValue= ruleComplexValue
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleComplexValue_in_ruleValue1187);
+ pushFollow(FOLLOW_ruleComplexValue_in_ruleValue1174);
this_ComplexValue=ruleComplexValue();
_fsp--;
@@ -1211,12 +1250,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:437:5: this_IdRef= ruleIdRef
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleIdRef_in_ruleValue1215);
+ pushFollow(FOLLOW_ruleIdRef_in_ruleValue1202);
this_IdRef=ruleIdRef();
_fsp--;
@@ -1234,12 +1273,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:447:5: this_WorkflowRef= ruleWorkflowRef
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleWorkflowRef_in_ruleValue1243);
+ pushFollow(FOLLOW_ruleWorkflowRef_in_ruleValue1230);
this_WorkflowRef=ruleWorkflowRef();
_fsp--;
@@ -1271,7 +1310,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleSimpleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:460:1: entryRuleSimpleValue returns [EObject current=null] : iv_ruleSimpleValue= ruleSimpleValue EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:516:1: entryRuleSimpleValue returns [EObject current=null] : iv_ruleSimpleValue= ruleSimpleValue EOF ;
public final EObject entryRuleSimpleValue() throws RecognitionException {
EObject current = null;
@@ -1279,16 +1318,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:460:53: (iv_ruleSimpleValue= ruleSimpleValue EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:461:2: iv_ruleSimpleValue= ruleSimpleValue EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.8" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleSimpleValue_in_entryRuleSimpleValue1277);
+ pushFollow(FOLLOW_ruleSimpleValue_in_entryRuleSimpleValue1262);
iv_ruleSimpleValue=ruleSimpleValue();
_fsp--;
current =iv_ruleSimpleValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleValue1287);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleValue1272);
}
@@ -1306,7 +1345,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleSimpleValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:468:1: ruleSimpleValue returns [EObject current=null] : (lv_value= RULE_STRING ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:524:1: ruleSimpleValue returns [EObject current=null] : (lv_value= RULE_STRING ) ;
public final EObject ruleSimpleValue() throws RecognitionException {
EObject current = null;
@@ -1314,14 +1353,14 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:470:33: ( (lv_value= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:471:1: (lv_value= RULE_STRING )
+ // ./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/internal/InternalMWE.g:471:1: (lv_value= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:473:6: 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
{
lv_value=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSimpleValue1332);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleSimpleValue1317);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.8/@alternatives/@terminal" /* xtext::RuleCall */, "value");
@@ -1331,8 +1370,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "value", lv_value,"STRING");
-
+ try {
+ factory.set(current, "value", lv_value, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
@@ -1354,7 +1397,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleComplexValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:494:1: entryRuleComplexValue returns [EObject current=null] : iv_ruleComplexValue= ruleComplexValue EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:556:1: entryRuleComplexValue returns [EObject current=null] : iv_ruleComplexValue= ruleComplexValue EOF ;
public final EObject entryRuleComplexValue() throws RecognitionException {
EObject current = null;
@@ -1362,16 +1405,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:494:54: (iv_ruleComplexValue= ruleComplexValue EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:495:2: iv_ruleComplexValue= ruleComplexValue EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleComplexValue_in_entryRuleComplexValue1379);
+ pushFollow(FOLLOW_ruleComplexValue_in_entryRuleComplexValue1362);
iv_ruleComplexValue=ruleComplexValue();
_fsp--;
current =iv_ruleComplexValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleComplexValue1389);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleComplexValue1372);
}
@@ -1389,7 +1432,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleComplexValue
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:502: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/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;
@@ -1402,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:504:33: ( ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:505:1: ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' )
+ // ./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/internal/InternalMWE.g:505:1: ( ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* ) '}' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:505: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: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/internal/InternalMWE.g:505:2: ( ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) ) (lv_assignments= ruleAssignment )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:505: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: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/internal/InternalMWE.g:505:3: ( ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:505:4: ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? ) (lv_fooBar= '{' )
+ // ./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/internal/InternalMWE.g:505:4: ( (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:505:5: (lv_className= ruleQualifiedName )? ( ':' (lv_id= RULE_ID ) )?
+ // ./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/internal/InternalMWE.g:505:5: (lv_className= ruleQualifiedName )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:567:5: (lv_className= ruleQualifiedName )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1426,31 +1469,35 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt11) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:508:6: lv_className= ruleQualifiedName
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleQualifiedName_in_ruleComplexValue1451);
+ pushFollow(FOLLOW_ruleQualifiedName_in_ruleComplexValue1434);
lv_className=ruleQualifiedName();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("ComplexValue");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.set(current, "className", lv_className,null);
-
+ try {
+ factory.set(current, "className", lv_className, "QualifiedName", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
break;
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:522:3: ( ':' (lv_id= RULE_ID ) )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:588:3: ( ':' (lv_id= RULE_ID ) )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -1459,17 +1506,17 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt12) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:522:4: ':' (lv_id= RULE_ID )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:588:4: ':' (lv_id= RULE_ID )
{
- match(input,18,FOLLOW_18_in_ruleComplexValue1466);
+ 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:526:1: (lv_id= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:528:6: lv_id= RULE_ID
+ // ./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
{
lv_id=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleComplexValue1487);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleComplexValue1470);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "id");
@@ -1479,8 +1526,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "id", lv_id,"ID");
-
+ try {
+ factory.set(current, "id", lv_id, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
@@ -1493,11 +1544,11 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:542:5: (lv_fooBar= '{' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:544:6: lv_fooBar= '{'
+ // ./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= '{'
{
lv_fooBar=(Token)input.LT(1);
- match(input,19,FOLLOW_19_in_ruleComplexValue1522);
+ match(input,19,FOLLOW_19_in_ruleComplexValue1505);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::Keyword */, "fooBar");
@@ -1507,15 +1558,19 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "fooBar", true,"{");
-
+ try {
+ factory.set(current, "fooBar", true, "{", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:558:3: (lv_assignments= ruleAssignment )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:632:3: (lv_assignments= ruleAssignment )*
loop13:
do {
int alt13=2;
@@ -1528,24 +1583,28 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt13) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:561:6: lv_assignments= ruleAssignment
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleAssignment_in_ruleComplexValue1569);
+ pushFollow(FOLLOW_ruleAssignment_in_ruleComplexValue1552);
lv_assignments=ruleAssignment();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("ComplexValue");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.add(current, "assignments", lv_assignments,null);
-
+ try {
+ factory.add(current, "assignments", lv_assignments, "Assignment", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
break;
@@ -1558,7 +1617,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- match(input,20,FOLLOW_20_in_ruleComplexValue1584);
+ match(input,20,FOLLOW_20_in_ruleComplexValue1567);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.10/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -1583,7 +1642,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleWorkflowRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:584:1: entryRuleWorkflowRef returns [EObject current=null] : iv_ruleWorkflowRef= ruleWorkflowRef EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:664:1: entryRuleWorkflowRef returns [EObject current=null] : iv_ruleWorkflowRef= ruleWorkflowRef EOF ;
public final EObject entryRuleWorkflowRef() throws RecognitionException {
EObject current = null;
@@ -1591,16 +1650,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:584:53: (iv_ruleWorkflowRef= ruleWorkflowRef EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:585:2: iv_ruleWorkflowRef= ruleWorkflowRef EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleWorkflowRef_in_entryRuleWorkflowRef1619);
+ pushFollow(FOLLOW_ruleWorkflowRef_in_entryRuleWorkflowRef1600);
iv_ruleWorkflowRef=ruleWorkflowRef();
_fsp--;
current =iv_ruleWorkflowRef;
- match(input,EOF,FOLLOW_EOF_in_entryRuleWorkflowRef1629);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleWorkflowRef1610);
}
@@ -1618,7 +1677,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleWorkflowRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:592:1: ruleWorkflowRef returns [EObject current=null] : ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' ) ;
+ // ./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 )* ) '}' ) ;
public final EObject ruleWorkflowRef() throws RecognitionException {
EObject current = null;
@@ -1628,30 +1687,30 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:594:33: ( ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:595:1: ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' )
+ // ./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/internal/InternalMWE.g:595:1: ( ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* ) '}' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:595:2: ( ( ( '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/internal/InternalMWE.g:595:2: ( ( ( 'file' (lv_uri= RULE_STRING ) ) '{' ) (lv_assignments= ruleAssignment )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:595:3: ( ( '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/internal/InternalMWE.g:595:3: ( ( 'file' (lv_uri= RULE_STRING ) ) '{' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:595:4: ( 'file' (lv_uri= RULE_STRING ) ) '{'
+ // ./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/internal/InternalMWE.g:595:4: ( 'file' (lv_uri= RULE_STRING ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:595:5: '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 )
{
- match(input,17,FOLLOW_17_in_ruleWorkflowRef1666);
+ 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:599:1: (lv_uri= RULE_STRING )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:601:6: lv_uri= RULE_STRING
+ // ./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
{
lv_uri=(Token)input.LT(1);
- match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleWorkflowRef1687);
+ match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleWorkflowRef1668);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "uri");
@@ -1661,22 +1720,26 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "uri", lv_uri,"STRING");
-
+ try {
+ factory.set(current, "uri", lv_uri, "STRING", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
}
- match(input,19,FOLLOW_19_in_ruleWorkflowRef1708);
+ match(input,19,FOLLOW_19_in_ruleWorkflowRef1689);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1" /* xtext::Keyword */, null);
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:619:2: (lv_assignments= ruleAssignment )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:703:2: (lv_assignments= ruleAssignment )*
loop14:
do {
int alt14=2;
@@ -1689,24 +1752,28 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt14) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:622:6: lv_assignments= ruleAssignment
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/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);
- pushFollow(FOLLOW_ruleAssignment_in_ruleWorkflowRef1743);
+ pushFollow(FOLLOW_ruleAssignment_in_ruleWorkflowRef1724);
lv_assignments=ruleAssignment();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("WorkflowRef");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.add(current, "assignments", lv_assignments,null);
-
+ try {
+ factory.add(current, "assignments", lv_assignments, "Assignment", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
break;
@@ -1719,7 +1786,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
- match(input,20,FOLLOW_20_in_ruleWorkflowRef1758);
+ match(input,20,FOLLOW_20_in_ruleWorkflowRef1739);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.11/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -1744,7 +1811,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleIdRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:645:1: entryRuleIdRef returns [EObject current=null] : iv_ruleIdRef= ruleIdRef EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:735:1: entryRuleIdRef returns [EObject current=null] : iv_ruleIdRef= ruleIdRef EOF ;
public final EObject entryRuleIdRef() throws RecognitionException {
EObject current = null;
@@ -1752,16 +1819,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:645:47: (iv_ruleIdRef= ruleIdRef EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:646:2: iv_ruleIdRef= ruleIdRef EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.12" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleIdRef_in_entryRuleIdRef1793);
+ pushFollow(FOLLOW_ruleIdRef_in_entryRuleIdRef1772);
iv_ruleIdRef=ruleIdRef();
_fsp--;
current =iv_ruleIdRef;
- match(input,EOF,FOLLOW_EOF_in_entryRuleIdRef1803);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleIdRef1782);
}
@@ -1779,7 +1846,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleIdRef
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:653:1: ruleIdRef returns [EObject current=null] : (lv_id= RULE_ID ) ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:743:1: ruleIdRef returns [EObject current=null] : (lv_id= RULE_ID ) ;
public final EObject ruleIdRef() throws RecognitionException {
EObject current = null;
@@ -1787,14 +1854,14 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:655:33: ( (lv_id= RULE_ID ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:656:1: (lv_id= RULE_ID )
+ // ./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/internal/InternalMWE.g:656:1: (lv_id= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:658:6: 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
{
lv_id=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleIdRef1848);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleIdRef1827);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.12/@alternatives/@terminal" /* xtext::RuleCall */, "id");
@@ -1804,8 +1871,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "id", lv_id,"ID");
-
+ try {
+ factory.set(current, "id", lv_id, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
@@ -1827,7 +1898,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleAssignment
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:677:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:773:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ;
public final EObject entryRuleAssignment() throws RecognitionException {
EObject current = null;
@@ -1835,16 +1906,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:677:52: (iv_ruleAssignment= ruleAssignment EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:678:2: iv_ruleAssignment= ruleAssignment EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment1893);
+ pushFollow(FOLLOW_ruleAssignment_in_entryRuleAssignment1870);
iv_ruleAssignment=ruleAssignment();
_fsp--;
current =iv_ruleAssignment;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment1903);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAssignment1880);
}
@@ -1862,7 +1933,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleAssignment
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:685:1: ruleAssignment returns [EObject current=null] : ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? ) ;
+ // ./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 ) ) ( ';' )? ) ;
public final EObject ruleAssignment() throws RecognitionException {
EObject current = null;
@@ -1873,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:687:33: ( ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:688:1: ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? )
+ // ./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/internal/InternalMWE.g:688:1: ( ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) ) ( ';' )? )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:688:2: ( ( (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/internal/InternalMWE.g:688:2: ( ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) ) (lv_value= ruleValue ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:688:3: ( (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/internal/InternalMWE.g:688:3: ( (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:688:4: (lv_feature= RULE_ID )? (lv_operator= ( '=' | '+=' ) )
+ // ./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/internal/InternalMWE.g:688:4: (lv_feature= RULE_ID )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:784:4: (lv_feature= RULE_ID )?
int alt15=2;
int LA15_0 = input.LA(1);
@@ -1894,10 +1965,10 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt15) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:690:6: lv_feature= RULE_ID
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:786:6: lv_feature= RULE_ID
{
lv_feature=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment1951);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAssignment1928);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "feature");
@@ -1907,18 +1978,22 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "feature", lv_feature,"ID");
-
+ try {
+ factory.set(current, "feature", lv_feature, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
break;
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:704:3: (lv_operator= ( '=' | '+=' ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:706:6: lv_operator= ( '=' | '+=' )
+ // ./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/internal/InternalMWE.g:706:18: ( '=' | '+=' )
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:806:18: ( '=' | '+=' )
int alt16=2;
int LA16_0 = input.LA(1);
@@ -1930,15 +2005,15 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("706:18: ( '=' | '+=' )", 16, 0, input);
+ new NoViableAltException("806:18: ( '=' | '+=' )", 16, 0, input);
throw nvae;
}
switch (alt16) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:706:19: '='
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:806:19: '='
{
- match(input,16,FOLLOW_16_in_ruleAssignment1985);
+ match(input,16,FOLLOW_16_in_ruleAssignment1962);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.0" /* xtext::Keyword */, "operator");
@@ -1946,9 +2021,9 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
break;
case 2 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:711:6: '+='
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:811:6: '+='
{
- match(input,21,FOLLOW_21_in_ruleAssignment2000);
+ match(input,21,FOLLOW_21_in_ruleAssignment1977);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.0/@abstractTokens.0/@abstractTokens.1/@terminal/@groups.1" /* xtext::Keyword */, "operator");
@@ -1964,40 +2039,48 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.set(current, "operator", input.LT(-1),null);
-
+ try {
+ factory.set(current, "operator", input.LT(-1), null, currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:725:3: (lv_value= ruleValue )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:728:6: lv_value= ruleValue
+ // ./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
{
currentNode=createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.0/@abstractTokens.1/@terminal" /* xtext::RuleCall */, currentNode);
- pushFollow(FOLLOW_ruleValue_in_ruleAssignment2048);
+ pushFollow(FOLLOW_ruleValue_in_ruleAssignment2025);
lv_value=ruleValue();
_fsp--;
- currentNode = currentNode.getParent();
if (current==null) {
current = factory.create("Assignment");
- associateNodeWithAstElement(currentNode, current);
+ associateNodeWithAstElement(currentNode.getParent(), current);
}
- factory.set(current, "value", lv_value,null);
-
+ try {
+ factory.set(current, "value", lv_value, "Value", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+ currentNode = currentNode.getParent();
+
}
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:742:3: ( ';' )?
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:850:3: ( ';' )?
int alt17=2;
int LA17_0 = input.LA(1);
@@ -2006,9 +2089,9 @@ public class InternalMWEParser extends AbstractAntlrParser {
}
switch (alt17) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:742:4: ';'
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:850:4: ';'
{
- match(input,14,FOLLOW_14_in_ruleAssignment2063);
+ match(input,14,FOLLOW_14_in_ruleAssignment2040);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.13/@alternatives/@abstractTokens.1" /* xtext::Keyword */, null);
@@ -2039,7 +2122,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start entryRuleQualifiedName
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:751:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:861:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final EObject entryRuleQualifiedName() throws RecognitionException {
EObject current = null;
@@ -2047,16 +2130,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:751:55: (iv_ruleQualifiedName= ruleQualifiedName EOF )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:752:2: iv_ruleQualifiedName= ruleQualifiedName EOF
+ // ./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
{
currentNode = createCompositeNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.14" /* xtext::ParserRule */, currentNode);
- pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2100);
+ pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2075);
iv_ruleQualifiedName=ruleQualifiedName();
_fsp--;
current =iv_ruleQualifiedName;
- match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName2110);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName2085);
}
@@ -2074,7 +2157,7 @@ public class InternalMWEParser extends AbstractAntlrParser {
// $ANTLR start ruleQualifiedName
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:759:1: ruleQualifiedName returns [EObject current=null] : ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* ) ;
+ // ./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 ) )* ) ;
public final EObject ruleQualifiedName() throws RecognitionException {
EObject current = null;
@@ -2082,17 +2165,17 @@ public class InternalMWEParser extends AbstractAntlrParser {
EObject temp=null; setCurrentLookahead(); resetLookahead();
try {
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:761:33: ( ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* ) )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:762:1: ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* )
+ // ./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/internal/InternalMWE.g:762:1: ( (lv_parts= RULE_ID ) ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )* )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:762:2: (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/internal/InternalMWE.g:762:2: (lv_parts= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:764:6: 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
{
lv_parts=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2156);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2131);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.14/@alternatives/@abstractTokens.0/@terminal" /* xtext::RuleCall */, "parts");
@@ -2102,12 +2185,16 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.add(current, "parts", lv_parts,"ID");
-
+ try {
+ factory.add(current, "parts", lv_parts, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:778:2: ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )*
+ // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:892:2: ( (lv_parts= '.' ) (lv_parts= RULE_ID ) )*
loop18:
do {
int alt18=2;
@@ -2126,13 +2213,13 @@ public class InternalMWEParser extends AbstractAntlrParser {
switch (alt18) {
case 1 :
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:778:3: (lv_parts= '.' ) (lv_parts= RULE_ID )
+ // ./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/internal/InternalMWE.g:778:3: (lv_parts= '.' )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:780:6: lv_parts= '.'
+ // ./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= '.'
{
lv_parts=(Token)input.LT(1);
- match(input,12,FOLLOW_12_in_ruleQualifiedName2189);
+ match(input,12,FOLLOW_12_in_ruleQualifiedName2164);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.14/@alternatives/@abstractTokens.1/@abstractTokens.0/@terminal" /* xtext::Keyword */, "parts");
@@ -2142,16 +2229,20 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.add(current, "parts", input.LT(-1),".");
-
+ try {
+ factory.add(current, "parts", input.LT(-1), ".", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:794:2: (lv_parts= RULE_ID )
- // ./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g:796:6: lv_parts= RULE_ID
+ // ./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
{
lv_parts=(Token)input.LT(1);
- match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2222);
+ match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2197);
createLeafNode("classpath:/org/eclipse/emf/mwe/di/MWE.xmi#//@rules.14/@alternatives/@abstractTokens.1/@abstractTokens.1/@terminal" /* xtext::RuleCall */, "parts");
@@ -2161,8 +2252,12 @@ public class InternalMWEParser extends AbstractAntlrParser {
associateNodeWithAstElement(currentNode, current);
}
- factory.add(current, "parts", lv_parts,"ID");
-
+ try {
+ factory.add(current, "parts", lv_parts, "ID", currentNode);
+ } catch (ValueConverterException vce) {
+ handleValueConverterException(vce);
+ }
+
}
@@ -2197,82 +2292,82 @@ public class InternalMWEParser extends AbstractAntlrParser {
- public static final BitSet FOLLOW_ruleFile_in_entryRuleFile70 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleFile80 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImport_in_ruleFile140 = new BitSet(new long[]{0x00000000000C8820L});
- public static final BitSet FOLLOW_ruleProperty_in_ruleFile179 = new BitSet(new long[]{0x00000000000C8020L});
- public static final BitSet FOLLOW_ruleComplexValue_in_ruleFile219 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImport_in_entryRuleImport258 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImport268 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleJavaImport_in_ruleImport315 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGenericImport_in_ruleImport342 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleJavaImport_in_entryRuleJavaImport376 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleJavaImport386 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_11_in_ruleJavaImport422 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_ruleQualifiedName_in_ruleJavaImport456 = new BitSet(new long[]{0x0000000000005000L});
- public static final BitSet FOLLOW_12_in_ruleJavaImport471 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleJavaImport492 = new BitSet(new long[]{0x0000000000004000L});
- public static final BitSet FOLLOW_14_in_ruleJavaImport516 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleGenericImport_in_entryRuleGenericImport551 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleGenericImport561 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_11_in_ruleGenericImport596 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleGenericImport617 = new BitSet(new long[]{0x0000000000004002L});
- public static final BitSet FOLLOW_14_in_ruleGenericImport639 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleProperty_in_entryRuleProperty676 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleProperty686 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLocalVariable_in_ruleProperty733 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePropertiesFileImport_in_ruleProperty760 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLocalVariable_in_entryRuleLocalVariable794 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLocalVariable804 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleLocalVariable840 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleLocalVariable861 = new BitSet(new long[]{0x0000000000014000L});
- public static final BitSet FOLLOW_16_in_ruleLocalVariable883 = new BitSet(new long[]{0x00000000000E0030L});
- public static final BitSet FOLLOW_ruleValue_in_ruleLocalVariable917 = new BitSet(new long[]{0x0000000000004000L});
- public static final BitSet FOLLOW_14_in_ruleLocalVariable933 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePropertiesFileImport_in_entryRulePropertiesFileImport968 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePropertiesFileImport978 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_rulePropertiesFileImport1014 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_rulePropertiesFileImport1023 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_STRING_in_rulePropertiesFileImport1045 = new BitSet(new long[]{0x0000000000004000L});
- public static final BitSet FOLLOW_14_in_rulePropertiesFileImport1066 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleValue_in_entryRuleValue1101 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleValue1111 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSimpleValue_in_ruleValue1160 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleComplexValue_in_ruleValue1187 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIdRef_in_ruleValue1215 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleWorkflowRef_in_ruleValue1243 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSimpleValue_in_entryRuleSimpleValue1277 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleSimpleValue1287 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleSimpleValue1332 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleComplexValue_in_entryRuleComplexValue1379 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleComplexValue1389 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleQualifiedName_in_ruleComplexValue1451 = new BitSet(new long[]{0x00000000000C0000L});
- public static final BitSet FOLLOW_18_in_ruleComplexValue1466 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleComplexValue1487 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleComplexValue1522 = new BitSet(new long[]{0x0000000000310020L});
- public static final BitSet FOLLOW_ruleAssignment_in_ruleComplexValue1569 = new BitSet(new long[]{0x0000000000310020L});
- public static final BitSet FOLLOW_20_in_ruleComplexValue1584 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleWorkflowRef_in_entryRuleWorkflowRef1619 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleWorkflowRef1629 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_17_in_ruleWorkflowRef1666 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleWorkflowRef1687 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleWorkflowRef1708 = new BitSet(new long[]{0x0000000000310020L});
- public static final BitSet FOLLOW_ruleAssignment_in_ruleWorkflowRef1743 = new BitSet(new long[]{0x0000000000310020L});
- public static final BitSet FOLLOW_20_in_ruleWorkflowRef1758 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIdRef_in_entryRuleIdRef1793 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleIdRef1803 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleIdRef1848 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAssignment_in_entryRuleAssignment1893 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAssignment1903 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAssignment1951 = new BitSet(new long[]{0x0000000000210000L});
- public static final BitSet FOLLOW_16_in_ruleAssignment1985 = new BitSet(new long[]{0x00000000000E0030L});
- public static final BitSet FOLLOW_21_in_ruleAssignment2000 = new BitSet(new long[]{0x00000000000E0030L});
- public static final BitSet FOLLOW_ruleValue_in_ruleAssignment2048 = new BitSet(new long[]{0x0000000000004002L});
- public static final BitSet FOLLOW_14_in_ruleAssignment2063 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2100 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName2110 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName2156 = new BitSet(new long[]{0x0000000000001002L});
- public static final BitSet FOLLOW_12_in_ruleQualifiedName2189 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName2222 = new BitSet(new long[]{0x0000000000001002L});
+ public static final BitSet FOLLOW_ruleFile_in_entryRuleFile71 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleFile81 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImport_in_ruleFile141 = new BitSet(new long[]{0x00000000000C8820L});
+ public static final BitSet FOLLOW_ruleProperty_in_ruleFile180 = new BitSet(new long[]{0x00000000000C8020L});
+ public static final BitSet FOLLOW_ruleComplexValue_in_ruleFile220 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImport_in_entryRuleImport257 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImport267 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleJavaImport_in_ruleImport314 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGenericImport_in_ruleImport341 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleJavaImport_in_entryRuleJavaImport373 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleJavaImport383 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_11_in_ruleJavaImport419 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_ruleQualifiedName_in_ruleJavaImport453 = new BitSet(new long[]{0x0000000000005000L});
+ public static final BitSet FOLLOW_12_in_ruleJavaImport468 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleJavaImport489 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleJavaImport513 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleGenericImport_in_entryRuleGenericImport546 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleGenericImport556 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_11_in_ruleGenericImport591 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleGenericImport612 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_14_in_ruleGenericImport634 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleProperty_in_entryRuleProperty669 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleProperty679 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLocalVariable_in_ruleProperty726 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePropertiesFileImport_in_ruleProperty753 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLocalVariable_in_entryRuleLocalVariable785 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLocalVariable795 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleLocalVariable831 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleLocalVariable852 = new BitSet(new long[]{0x0000000000014000L});
+ public static final BitSet FOLLOW_16_in_ruleLocalVariable874 = new BitSet(new long[]{0x00000000000E0030L});
+ public static final BitSet FOLLOW_ruleValue_in_ruleLocalVariable908 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleLocalVariable924 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePropertiesFileImport_in_entryRulePropertiesFileImport957 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePropertiesFileImport967 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_rulePropertiesFileImport1003 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_17_in_rulePropertiesFileImport1012 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_STRING_in_rulePropertiesFileImport1034 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_rulePropertiesFileImport1055 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleValue_in_entryRuleValue1088 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleValue1098 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSimpleValue_in_ruleValue1147 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleComplexValue_in_ruleValue1174 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIdRef_in_ruleValue1202 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleWorkflowRef_in_ruleValue1230 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSimpleValue_in_entryRuleSimpleValue1262 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSimpleValue1272 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleSimpleValue1317 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleComplexValue_in_entryRuleComplexValue1362 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleComplexValue1372 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleQualifiedName_in_ruleComplexValue1434 = new BitSet(new long[]{0x00000000000C0000L});
+ public static final BitSet FOLLOW_18_in_ruleComplexValue1449 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleComplexValue1470 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_ruleComplexValue1505 = new BitSet(new long[]{0x0000000000310020L});
+ public static final BitSet FOLLOW_ruleAssignment_in_ruleComplexValue1552 = new BitSet(new long[]{0x0000000000310020L});
+ public static final BitSet FOLLOW_20_in_ruleComplexValue1567 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleWorkflowRef_in_entryRuleWorkflowRef1600 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleWorkflowRef1610 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_17_in_ruleWorkflowRef1647 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleWorkflowRef1668 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_ruleWorkflowRef1689 = new BitSet(new long[]{0x0000000000310020L});
+ public static final BitSet FOLLOW_ruleAssignment_in_ruleWorkflowRef1724 = new BitSet(new long[]{0x0000000000310020L});
+ public static final BitSet FOLLOW_20_in_ruleWorkflowRef1739 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIdRef_in_entryRuleIdRef1772 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleIdRef1782 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleIdRef1827 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAssignment_in_entryRuleAssignment1870 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAssignment1880 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAssignment1928 = new BitSet(new long[]{0x0000000000210000L});
+ public static final BitSet FOLLOW_16_in_ruleAssignment1962 = new BitSet(new long[]{0x00000000000E0030L});
+ public static final BitSet FOLLOW_21_in_ruleAssignment1977 = new BitSet(new long[]{0x00000000000E0030L});
+ public static final BitSet FOLLOW_ruleValue_in_ruleAssignment2025 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_14_in_ruleAssignment2040 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2075 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName2085 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName2131 = new BitSet(new long[]{0x0000000000001002L});
+ 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/internal/InternalMWE__.g
index ec8a57d..3e22f84 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/internal/InternalMWE__.g
@@ -19,25 +19,25 @@ T19 : '{' ;
T20 : '}' ;
T21 : '+=' ;
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 815
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/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" 817
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 940
RULE_INT : ('0'..'9')+;
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 819
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/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" 821
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/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" 823
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/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" 825
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 948
RULE_WS : (' '|'\t'|'\r'|'\n')+ {$channel=HIDDEN;};
-// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 827
+// $ANTLR src "./src-gen/org/eclipse/emf/mwe/di/parser/internal/InternalMWE.g" 950
RULE_ANY_OTHER : .;
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 88de2e4..e28c55a 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
@@ -25,24 +25,55 @@ public class MWEParseTreeConstructor extends AbstractParseTreeConstructor {
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;
+
return null;
}
+
/************ begin Rule File ****************
*
* File : ( imports += Import ) * ( properties += Property ) * value = ComplexValue ;
@@ -120,6 +151,7 @@ protected class File_0_0_Assignment_imports extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("imports",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("imports");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Import")) {
@@ -130,6 +162,7 @@ protected class File_0_0_Assignment_imports extends AssignmentToken {
}
}
}
+
return null;
}
}
@@ -148,6 +181,7 @@ protected class File_0_1_Assignment_properties extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("properties",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("properties");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Property")) {
@@ -158,6 +192,7 @@ protected class File_0_1_Assignment_properties extends AssignmentToken {
}
}
}
+
return null;
}
}
@@ -177,6 +212,7 @@ protected class File_1_Assignment_value extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("value");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("ComplexValue")) {
@@ -187,6 +223,7 @@ protected class File_1_Assignment_value extends AssignmentToken {
}
}
}
+
return null;
}
}
@@ -194,6 +231,7 @@ protected class File_1_Assignment_value extends AssignmentToken {
/************ end Rule File ****************/
+
/************ begin Rule Import ****************
*
* Import : JavaImport | GenericImport ;
@@ -261,6 +299,7 @@ protected class Import_1_RuleCall_GenericImport extends RuleCallToken {
/************ end Rule Import ****************/
+
/************ begin Rule JavaImport ****************
*
* JavaImport : 'import' javaImport = QualifiedName ( '.' wildcard ?= '*' ) ? ';' ;
@@ -378,6 +417,7 @@ protected class JavaImport_0_0_1_Assignment_javaImport extends AssignmentToken
protected Solution createSolution() {
if((value = current.getConsumable("javaImport",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("javaImport");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("QualifiedName")) {
@@ -388,6 +428,7 @@ protected class JavaImport_0_0_1_Assignment_javaImport extends AssignmentToken
}
}
}
+
return null;
}
}
@@ -429,7 +470,7 @@ protected class JavaImport_0_1_0_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prJavaImport().ele010Keyword();
+ return MWEGrammarAccess.INSTANCE.prJavaImport().ele010KeywordFullStop();
}
}
@@ -449,7 +490,7 @@ protected class JavaImport_0_1_1_Assignment_wildcard extends AssignmentToken {
IInstanceDescription obj = current.cloneAndConsume("wildcard");
if("*".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
- element = MWEGrammarAccess.INSTANCE.prJavaImport().ele0110Keyword();
+ element = MWEGrammarAccess.INSTANCE.prJavaImport().ele0110KeywordAsterisk();
return new Solution(obj);
}
return null;
@@ -466,13 +507,14 @@ protected class JavaImport_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prJavaImport().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prJavaImport().ele1KeywordSemicolon();
}
}
/************ end Rule JavaImport ****************/
+
/************ begin Rule GenericImport ****************
*
* GenericImport : 'import' value = STRING ';' ? ;
@@ -580,13 +622,14 @@ protected class GenericImport_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prGenericImport().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prGenericImport().ele1KeywordSemicolon();
}
}
/************ end Rule GenericImport ****************/
+
/************ begin Rule Property ****************
*
* Property : LocalVariable | PropertiesFileImport ;
@@ -654,6 +697,7 @@ protected class Property_1_RuleCall_PropertiesFileImport extends RuleCallToken {
/************ end Rule Property ****************/
+
/************ begin Rule LocalVariable ****************
*
* LocalVariable : 'var' name = ID ( '=' value = Value ) ? ';' ;
@@ -817,7 +861,7 @@ protected class LocalVariable_0_1_0_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prLocalVariable().ele010Keyword();
+ return MWEGrammarAccess.INSTANCE.prLocalVariable().ele010KeywordEqualsSign();
}
}
@@ -835,6 +879,7 @@ protected class LocalVariable_0_1_1_Assignment_value extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("value",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("value");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Value")) {
@@ -845,6 +890,7 @@ protected class LocalVariable_0_1_1_Assignment_value extends AssignmentToken {
}
}
}
+
return null;
}
}
@@ -859,13 +905,14 @@ protected class LocalVariable_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prLocalVariable().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prLocalVariable().ele1KeywordSemicolon();
}
}
/************ end Rule LocalVariable ****************/
+
/************ begin Rule PropertiesFileImport ****************
*
* PropertiesFileImport : 'var' 'file' file = STRING ';' ;
@@ -1014,13 +1061,14 @@ protected class PropertiesFileImport_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prPropertiesFileImport().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prPropertiesFileImport().ele1KeywordSemicolon();
}
}
/************ end Rule PropertiesFileImport ****************/
+
/************ begin Rule Value ****************
*
* Value : SimpleValue | ComplexValue | IdRef | WorkflowRef ;
@@ -1168,6 +1216,7 @@ protected class Value_1_RuleCall_WorkflowRef extends RuleCallToken {
/************ end Rule Value ****************/
+
/************ begin Rule SimpleValue ****************
*
* SimpleValue : value = STRING ;
@@ -1200,6 +1249,7 @@ protected class SimpleValue_Assignment_value extends AssignmentToken {
/************ end Rule SimpleValue ****************/
+
/************ begin Rule Assignable ****************
*
* Assignable : ComplexValue | WorkflowRef ;
@@ -1267,6 +1317,7 @@ protected class Assignable_1_RuleCall_WorkflowRef extends RuleCallToken {
/************ end Rule Assignable ****************/
+
/************ begin Rule ComplexValue ****************
*
* ComplexValue : ( className = QualifiedName ) ? ( ':' id = ID ) ? fooBar ?= '{' ( assignments += Assignment ) * '}' ;
@@ -1400,6 +1451,7 @@ protected class ComplexValue_0_0_0_0_Assignment_className extends AssignmentToke
protected Solution createSolution() {
if((value = current.getConsumable("className",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("className");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("QualifiedName")) {
@@ -1410,6 +1462,7 @@ protected class ComplexValue_0_0_0_0_Assignment_className extends AssignmentToke
}
}
}
+
return null;
}
}
@@ -1450,7 +1503,7 @@ protected class ComplexValue_0_0_0_1_0_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prComplexValue().ele00010Keyword();
+ return MWEGrammarAccess.INSTANCE.prComplexValue().ele00010KeywordColon();
}
}
@@ -1495,7 +1548,7 @@ protected class ComplexValue_0_0_1_Assignment_fooBar extends AssignmentToken {
IInstanceDescription obj = current.cloneAndConsume("fooBar");
if("{".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
- element = MWEGrammarAccess.INSTANCE.prComplexValue().ele0010Keyword();
+ element = MWEGrammarAccess.INSTANCE.prComplexValue().ele0010KeywordLeftCurlyBracket();
return new Solution(obj);
}
return null;
@@ -1517,6 +1570,7 @@ protected class ComplexValue_0_1_Assignment_assignments extends AssignmentToken
protected Solution createSolution() {
if((value = current.getConsumable("assignments",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("assignments");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Assignment")) {
@@ -1527,6 +1581,7 @@ protected class ComplexValue_0_1_Assignment_assignments extends AssignmentToken
}
}
}
+
return null;
}
}
@@ -1540,13 +1595,14 @@ protected class ComplexValue_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prComplexValue().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prComplexValue().ele1KeywordRightCurlyBracket();
}
}
/************ end Rule ComplexValue ****************/
+
/************ begin Rule WorkflowRef ****************
*
* WorkflowRef : 'file' uri = STRING '{' ( assignments += Assignment ) * '}' ;
@@ -1710,7 +1766,7 @@ protected class WorkflowRef_0_0_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prWorkflowRef().ele001Keyword();
+ return MWEGrammarAccess.INSTANCE.prWorkflowRef().ele001KeywordLeftCurlyBracket();
}
}
@@ -1729,6 +1785,7 @@ protected class WorkflowRef_0_1_Assignment_assignments extends AssignmentToken
protected Solution createSolution() {
if((value = current.getConsumable("assignments",!IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("assignments");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Assignment")) {
@@ -1739,6 +1796,7 @@ protected class WorkflowRef_0_1_Assignment_assignments extends AssignmentToken
}
}
}
+
return null;
}
}
@@ -1752,13 +1810,14 @@ protected class WorkflowRef_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prWorkflowRef().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prWorkflowRef().ele1KeywordRightCurlyBracket();
}
}
/************ end Rule WorkflowRef ****************/
+
/************ begin Rule IdRef ****************
*
* IdRef : id = ID ;
@@ -1791,6 +1850,7 @@ protected class IdRef_Assignment_id extends AssignmentToken {
/************ end Rule IdRef ****************/
+
/************ begin Rule Assignment ****************
*
* Assignment : ( feature = ID ) ? operator = ( '=' | '+=' ) value = Value ';' ? ;
@@ -1921,12 +1981,12 @@ protected class Assignment_0_0_1_Assignment_operator extends AssignmentToken {
IInstanceDescription obj = current.cloneAndConsume("operator");
if("=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
- element = MWEGrammarAccess.INSTANCE.prAssignment().ele00100Keyword();
+ element = MWEGrammarAccess.INSTANCE.prAssignment().ele00100KeywordEqualsSign();
return new Solution(obj);
}
if("+=".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
- element = MWEGrammarAccess.INSTANCE.prAssignment().ele00101Keyword();
+ element = MWEGrammarAccess.INSTANCE.prAssignment().ele00101KeywordPlusSignEqualsSign();
return new Solution(obj);
}
return null;
@@ -1948,6 +2008,7 @@ protected class Assignment_0_1_Assignment_value extends AssignmentToken {
protected Solution createSolution() {
if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null;
IInstanceDescription obj = current.cloneAndConsume("value");
+
if(value instanceof EObject) { // xtext::RuleCall
IInstanceDescription param = getDescr((EObject)value);
if(param.isInstanceOf("Value")) {
@@ -1958,6 +2019,7 @@ protected class Assignment_0_1_Assignment_value extends AssignmentToken {
}
}
}
+
return null;
}
}
@@ -1971,13 +2033,14 @@ protected class Assignment_1_Keyword extends KeywordToken {
}
public Keyword getGrammarElement() {
- return MWEGrammarAccess.INSTANCE.prAssignment().ele1Keyword();
+ return MWEGrammarAccess.INSTANCE.prAssignment().ele1KeywordSemicolon();
}
}
/************ end Rule Assignment ****************/
+
/************ begin Rule QualifiedName ****************
*
* QualifiedName : parts += ID ( parts += '.' parts += ID ) * ;
@@ -2080,7 +2143,7 @@ protected class QualifiedName_1_0_Assignment_parts extends AssignmentToken {
IInstanceDescription obj = current.cloneAndConsume("parts");
if(".".equals(value)) { // xtext::Keyword
type = AssignmentType.KW;
- element = MWEGrammarAccess.INSTANCE.prQualifiedName().ele100Keyword();
+ element = MWEGrammarAccess.INSTANCE.prQualifiedName().ele100KeywordFullStop();
return new Solution(obj);
}
return null;
diff --git a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/services/MWEGrammarAccess.java b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/services/MWEGrammarAccess.java
index 4e096b8..a3c30de 100644
--- a/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/services/MWEGrammarAccess.java
+++ b/plugins/org.eclipse.emf.mwe.di/src-gen/org/eclipse/emf/mwe/di/services/MWEGrammarAccess.java
@@ -11,798 +11,548 @@ import org.eclipse.xtext.builtin.XtextBuiltinGrammarAccess;
public class MWEGrammarAccess extends BaseEPackageAccess implements IGrammarAccess {
public class FileElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Assignment c00AssignmentImports;
- private RuleCall c000ParserRuleCallImport;
- private Assignment c01AssignmentProperties;
- private RuleCall c010ParserRuleCallProperty;
- private Assignment c1AssignmentValue;
- private RuleCall c10ParserRuleCallComplexValue;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(1);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Assignment c00AssignmentImports = (Assignment)c0Group.eContents().get(0);
+ private final RuleCall c000ParserRuleCallImport = (RuleCall)c00AssignmentImports.eContents().get(0);
+ private final Assignment c01AssignmentProperties = (Assignment)c0Group.eContents().get(1);
+ private final RuleCall c010ParserRuleCallProperty = (RuleCall)c01AssignmentProperties.eContents().get(0);
+ private final Assignment c1AssignmentValue = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall c10ParserRuleCallComplexValue = (RuleCall)c1AssignmentValue.eContents().get(0);
// File : ( imports += Import ) * ( properties += Property ) * value = ComplexValue ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(1));
- }
+ public ParserRule getRule() { return rule; }
// ( imports += Import ) * ( properties += Property ) * value = ComplexValue
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// ( imports += Import ) * ( properties += Property ) *
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// ( imports += Import ) *
- public Assignment ele00AssignmentImports() {
- return (c00AssignmentImports != null) ? c00AssignmentImports : (c00AssignmentImports = (Assignment)ele0Group().eContents().get(0));
- }
+ public Assignment ele00AssignmentImports() { return c00AssignmentImports; }
// Import
- public RuleCall ele000ParserRuleCallImport() {
- return (c000ParserRuleCallImport != null) ? c000ParserRuleCallImport : (c000ParserRuleCallImport = (RuleCall)ele00AssignmentImports().eContents().get(0));
- }
+ public RuleCall ele000ParserRuleCallImport() { return c000ParserRuleCallImport; }
// ( properties += Property ) *
- public Assignment ele01AssignmentProperties() {
- return (c01AssignmentProperties != null) ? c01AssignmentProperties : (c01AssignmentProperties = (Assignment)ele0Group().eContents().get(1));
- }
+ public Assignment ele01AssignmentProperties() { return c01AssignmentProperties; }
// Property
- public RuleCall ele010ParserRuleCallProperty() {
- return (c010ParserRuleCallProperty != null) ? c010ParserRuleCallProperty : (c010ParserRuleCallProperty = (RuleCall)ele01AssignmentProperties().eContents().get(0));
- }
+ public RuleCall ele010ParserRuleCallProperty() { return c010ParserRuleCallProperty; }
// value = ComplexValue
- public Assignment ele1AssignmentValue() {
- return (c1AssignmentValue != null) ? c1AssignmentValue : (c1AssignmentValue = (Assignment)eleGroup().eContents().get(1));
- }
+ public Assignment ele1AssignmentValue() { return c1AssignmentValue; }
// ComplexValue
- public RuleCall ele10ParserRuleCallComplexValue() {
- return (c10ParserRuleCallComplexValue != null) ? c10ParserRuleCallComplexValue : (c10ParserRuleCallComplexValue = (RuleCall)ele1AssignmentValue().eContents().get(0));
- }
+ public RuleCall ele10ParserRuleCallComplexValue() { return c10ParserRuleCallComplexValue; }
}
public class ImportElements implements IParserRuleAccess {
- private ParserRule rule;
- private Alternatives cAlternatives;
- private RuleCall c0ParserRuleCallJavaImport;
- private RuleCall c1ParserRuleCallGenericImport;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(2);
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall c0ParserRuleCallJavaImport = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall c1ParserRuleCallGenericImport = (RuleCall)cAlternatives.eContents().get(1);
// Import : JavaImport | GenericImport ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(2));
- }
+ public ParserRule getRule() { return rule; }
// JavaImport | GenericImport
- public Alternatives eleAlternatives() {
- return (cAlternatives != null) ? cAlternatives : (cAlternatives = (Alternatives)getRule().eContents().get(0));
- }
+ public Alternatives eleAlternatives() { return cAlternatives; }
// JavaImport
- public RuleCall ele0ParserRuleCallJavaImport() {
- return (c0ParserRuleCallJavaImport != null) ? c0ParserRuleCallJavaImport : (c0ParserRuleCallJavaImport = (RuleCall)eleAlternatives().eContents().get(0));
- }
+ public RuleCall ele0ParserRuleCallJavaImport() { return c0ParserRuleCallJavaImport; }
// GenericImport
- public RuleCall ele1ParserRuleCallGenericImport() {
- return (c1ParserRuleCallGenericImport != null) ? c1ParserRuleCallGenericImport : (c1ParserRuleCallGenericImport = (RuleCall)eleAlternatives().eContents().get(1));
- }
+ public RuleCall ele1ParserRuleCallGenericImport() { return c1ParserRuleCallGenericImport; }
}
public class JavaImportElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Group c00Group;
- private Keyword c000KeywordImport;
- private Assignment c001AssignmentJavaImport;
- private RuleCall c0010ParserRuleCallQualifiedName;
- private Group c01Group;
- private Keyword c010Keyword;
- private Assignment c011AssignmentWildcard;
- private Keyword c0110Keyword;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(3);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Keyword c000KeywordImport = (Keyword)c00Group.eContents().get(0);
+ private final Assignment c001AssignmentJavaImport = (Assignment)c00Group.eContents().get(1);
+ private final RuleCall c0010ParserRuleCallQualifiedName = (RuleCall)c001AssignmentJavaImport.eContents().get(0);
+ private final Group c01Group = (Group)c0Group.eContents().get(1);
+ private final Keyword c010KeywordFullStop = (Keyword)c01Group.eContents().get(0);
+ private final Assignment c011AssignmentWildcard = (Assignment)c01Group.eContents().get(1);
+ private final Keyword c0110KeywordAsterisk = (Keyword)c011AssignmentWildcard.eContents().get(0);
+ private final Keyword c1KeywordSemicolon = (Keyword)cGroup.eContents().get(1);
// JavaImport : 'import' javaImport = QualifiedName ( '.' wildcard ?= '*' ) ? ';' ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(3));
- }
+ public ParserRule getRule() { return rule; }
// 'import' javaImport = QualifiedName ( '.' wildcard ?= '*' ) ? ';'
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// 'import' javaImport = QualifiedName ( '.' wildcard ?= '*' ) ?
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// 'import' javaImport = QualifiedName
- public Group ele00Group() {
- return (c00Group != null) ? c00Group : (c00Group = (Group)ele0Group().eContents().get(0));
- }
+ public Group ele00Group() { return c00Group; }
// 'import'
- public Keyword ele000KeywordImport() {
- return (c000KeywordImport != null) ? c000KeywordImport : (c000KeywordImport = (Keyword)ele00Group().eContents().get(0));
- }
+ public Keyword ele000KeywordImport() { return c000KeywordImport; }
// javaImport = QualifiedName
- public Assignment ele001AssignmentJavaImport() {
- return (c001AssignmentJavaImport != null) ? c001AssignmentJavaImport : (c001AssignmentJavaImport = (Assignment)ele00Group().eContents().get(1));
- }
+ public Assignment ele001AssignmentJavaImport() { return c001AssignmentJavaImport; }
// QualifiedName
- public RuleCall ele0010ParserRuleCallQualifiedName() {
- return (c0010ParserRuleCallQualifiedName != null) ? c0010ParserRuleCallQualifiedName : (c0010ParserRuleCallQualifiedName = (RuleCall)ele001AssignmentJavaImport().eContents().get(0));
- }
+ public RuleCall ele0010ParserRuleCallQualifiedName() { return c0010ParserRuleCallQualifiedName; }
// ( '.' wildcard ?= '*' ) ?
- public Group ele01Group() {
- return (c01Group != null) ? c01Group : (c01Group = (Group)ele0Group().eContents().get(1));
- }
+ public Group ele01Group() { return c01Group; }
// '.'
- public Keyword ele010Keyword() {
- return (c010Keyword != null) ? c010Keyword : (c010Keyword = (Keyword)ele01Group().eContents().get(0));
- }
+ public Keyword ele010KeywordFullStop() { return c010KeywordFullStop; }
// wildcard ?= '*'
- public Assignment ele011AssignmentWildcard() {
- return (c011AssignmentWildcard != null) ? c011AssignmentWildcard : (c011AssignmentWildcard = (Assignment)ele01Group().eContents().get(1));
- }
+ public Assignment ele011AssignmentWildcard() { return c011AssignmentWildcard; }
// '*'
- public Keyword ele0110Keyword() {
- return (c0110Keyword != null) ? c0110Keyword : (c0110Keyword = (Keyword)ele011AssignmentWildcard().eContents().get(0));
- }
+ public Keyword ele0110KeywordAsterisk() { return c0110KeywordAsterisk; }
// ';'
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordSemicolon() { return c1KeywordSemicolon; }
}
public class GenericImportElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Keyword c00KeywordImport;
- private Assignment c01AssignmentValue;
- private RuleCall c010LexerRuleCallSTRING;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(4);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Keyword c00KeywordImport = (Keyword)c0Group.eContents().get(0);
+ private final Assignment c01AssignmentValue = (Assignment)c0Group.eContents().get(1);
+ private final RuleCall c010LexerRuleCallSTRING = (RuleCall)c01AssignmentValue.eContents().get(0);
+ private final Keyword c1KeywordSemicolon = (Keyword)cGroup.eContents().get(1);
// GenericImport : 'import' value = STRING ';' ? ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(4));
- }
+ public ParserRule getRule() { return rule; }
// 'import' value = STRING ';' ?
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// 'import' value = STRING
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// 'import'
- public Keyword ele00KeywordImport() {
- return (c00KeywordImport != null) ? c00KeywordImport : (c00KeywordImport = (Keyword)ele0Group().eContents().get(0));
- }
+ public Keyword ele00KeywordImport() { return c00KeywordImport; }
// value = STRING
- public Assignment ele01AssignmentValue() {
- return (c01AssignmentValue != null) ? c01AssignmentValue : (c01AssignmentValue = (Assignment)ele0Group().eContents().get(1));
- }
+ public Assignment ele01AssignmentValue() { return c01AssignmentValue; }
// STRING
- public RuleCall ele010LexerRuleCallSTRING() {
- return (c010LexerRuleCallSTRING != null) ? c010LexerRuleCallSTRING : (c010LexerRuleCallSTRING = (RuleCall)ele01AssignmentValue().eContents().get(0));
- }
+ public RuleCall ele010LexerRuleCallSTRING() { return c010LexerRuleCallSTRING; }
// ';' ?
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordSemicolon() { return c1KeywordSemicolon; }
}
public class PropertyElements implements IParserRuleAccess {
- private ParserRule rule;
- private Alternatives cAlternatives;
- private RuleCall c0ParserRuleCallLocalVariable;
- private RuleCall c1ParserRuleCallPropertiesFileImport;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(5);
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall c0ParserRuleCallLocalVariable = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall c1ParserRuleCallPropertiesFileImport = (RuleCall)cAlternatives.eContents().get(1);
// Property : LocalVariable | PropertiesFileImport ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(5));
- }
+ public ParserRule getRule() { return rule; }
// LocalVariable | PropertiesFileImport
- public Alternatives eleAlternatives() {
- return (cAlternatives != null) ? cAlternatives : (cAlternatives = (Alternatives)getRule().eContents().get(0));
- }
+ public Alternatives eleAlternatives() { return cAlternatives; }
// LocalVariable
- public RuleCall ele0ParserRuleCallLocalVariable() {
- return (c0ParserRuleCallLocalVariable != null) ? c0ParserRuleCallLocalVariable : (c0ParserRuleCallLocalVariable = (RuleCall)eleAlternatives().eContents().get(0));
- }
+ public RuleCall ele0ParserRuleCallLocalVariable() { return c0ParserRuleCallLocalVariable; }
// PropertiesFileImport
- public RuleCall ele1ParserRuleCallPropertiesFileImport() {
- return (c1ParserRuleCallPropertiesFileImport != null) ? c1ParserRuleCallPropertiesFileImport : (c1ParserRuleCallPropertiesFileImport = (RuleCall)eleAlternatives().eContents().get(1));
- }
+ public RuleCall ele1ParserRuleCallPropertiesFileImport() { return c1ParserRuleCallPropertiesFileImport; }
}
public class LocalVariableElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Group c00Group;
- private Keyword c000KeywordVar;
- private Assignment c001AssignmentName;
- private RuleCall c0010LexerRuleCallID;
- private Group c01Group;
- private Keyword c010Keyword;
- private Assignment c011AssignmentValue;
- private RuleCall c0110ParserRuleCallValue;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(6);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Keyword c000KeywordVar = (Keyword)c00Group.eContents().get(0);
+ private final Assignment c001AssignmentName = (Assignment)c00Group.eContents().get(1);
+ private final RuleCall c0010LexerRuleCallID = (RuleCall)c001AssignmentName.eContents().get(0);
+ private final Group c01Group = (Group)c0Group.eContents().get(1);
+ private final Keyword c010KeywordEqualsSign = (Keyword)c01Group.eContents().get(0);
+ private final Assignment c011AssignmentValue = (Assignment)c01Group.eContents().get(1);
+ private final RuleCall c0110ParserRuleCallValue = (RuleCall)c011AssignmentValue.eContents().get(0);
+ private final Keyword c1KeywordSemicolon = (Keyword)cGroup.eContents().get(1);
// LocalVariable : 'var' name = ID ( '=' value = Value ) ? ';' ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(6));
- }
+ public ParserRule getRule() { return rule; }
// 'var' name = ID ( '=' value = Value ) ? ';'
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// 'var' name = ID ( '=' value = Value ) ?
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// 'var' name = ID
- public Group ele00Group() {
- return (c00Group != null) ? c00Group : (c00Group = (Group)ele0Group().eContents().get(0));
- }
+ public Group ele00Group() { return c00Group; }
// 'var'
- public Keyword ele000KeywordVar() {
- return (c000KeywordVar != null) ? c000KeywordVar : (c000KeywordVar = (Keyword)ele00Group().eContents().get(0));
- }
+ public Keyword ele000KeywordVar() { return c000KeywordVar; }
// name = ID
- public Assignment ele001AssignmentName() {
- return (c001AssignmentName != null) ? c001AssignmentName : (c001AssignmentName = (Assignment)ele00Group().eContents().get(1));
- }
+ public Assignment ele001AssignmentName() { return c001AssignmentName; }
// ID
- public RuleCall ele0010LexerRuleCallID() {
- return (c0010LexerRuleCallID != null) ? c0010LexerRuleCallID : (c0010LexerRuleCallID = (RuleCall)ele001AssignmentName().eContents().get(0));
- }
+ public RuleCall ele0010LexerRuleCallID() { return c0010LexerRuleCallID; }
// ( '=' value = Value ) ?
- public Group ele01Group() {
- return (c01Group != null) ? c01Group : (c01Group = (Group)ele0Group().eContents().get(1));
- }
+ public Group ele01Group() { return c01Group; }
// '='
- public Keyword ele010Keyword() {
- return (c010Keyword != null) ? c010Keyword : (c010Keyword = (Keyword)ele01Group().eContents().get(0));
- }
+ public Keyword ele010KeywordEqualsSign() { return c010KeywordEqualsSign; }
// value = Value
- public Assignment ele011AssignmentValue() {
- return (c011AssignmentValue != null) ? c011AssignmentValue : (c011AssignmentValue = (Assignment)ele01Group().eContents().get(1));
- }
+ public Assignment ele011AssignmentValue() { return c011AssignmentValue; }
// Value
- public RuleCall ele0110ParserRuleCallValue() {
- return (c0110ParserRuleCallValue != null) ? c0110ParserRuleCallValue : (c0110ParserRuleCallValue = (RuleCall)ele011AssignmentValue().eContents().get(0));
- }
+ public RuleCall ele0110ParserRuleCallValue() { return c0110ParserRuleCallValue; }
// ';'
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordSemicolon() { return c1KeywordSemicolon; }
}
public class PropertiesFileImportElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Group c00Group;
- private Keyword c000KeywordVar;
- private Keyword c001KeywordFile;
- private Assignment c01AssignmentFile;
- private RuleCall c010LexerRuleCallSTRING;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(7);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Keyword c000KeywordVar = (Keyword)c00Group.eContents().get(0);
+ private final Keyword c001KeywordFile = (Keyword)c00Group.eContents().get(1);
+ private final Assignment c01AssignmentFile = (Assignment)c0Group.eContents().get(1);
+ private final RuleCall c010LexerRuleCallSTRING = (RuleCall)c01AssignmentFile.eContents().get(0);
+ private final Keyword c1KeywordSemicolon = (Keyword)cGroup.eContents().get(1);
// PropertiesFileImport : 'var' 'file' file = STRING ';' ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(7));
- }
+ public ParserRule getRule() { return rule; }
// 'var' 'file' file = STRING ';'
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// 'var' 'file' file = STRING
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// 'var' 'file'
- public Group ele00Group() {
- return (c00Group != null) ? c00Group : (c00Group = (Group)ele0Group().eContents().get(0));
- }
+ public Group ele00Group() { return c00Group; }
// 'var'
- public Keyword ele000KeywordVar() {
- return (c000KeywordVar != null) ? c000KeywordVar : (c000KeywordVar = (Keyword)ele00Group().eContents().get(0));
- }
+ public Keyword ele000KeywordVar() { return c000KeywordVar; }
// 'file'
- public Keyword ele001KeywordFile() {
- return (c001KeywordFile != null) ? c001KeywordFile : (c001KeywordFile = (Keyword)ele00Group().eContents().get(1));
- }
+ public Keyword ele001KeywordFile() { return c001KeywordFile; }
// file = STRING
- public Assignment ele01AssignmentFile() {
- return (c01AssignmentFile != null) ? c01AssignmentFile : (c01AssignmentFile = (Assignment)ele0Group().eContents().get(1));
- }
+ public Assignment ele01AssignmentFile() { return c01AssignmentFile; }
// STRING
- public RuleCall ele010LexerRuleCallSTRING() {
- return (c010LexerRuleCallSTRING != null) ? c010LexerRuleCallSTRING : (c010LexerRuleCallSTRING = (RuleCall)ele01AssignmentFile().eContents().get(0));
- }
+ public RuleCall ele010LexerRuleCallSTRING() { return c010LexerRuleCallSTRING; }
// ';'
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordSemicolon() { return c1KeywordSemicolon; }
}
public class ValueElements implements IParserRuleAccess {
- private ParserRule rule;
- private Alternatives cAlternatives;
- private Alternatives c0Alternatives;
- private Alternatives c00Alternatives;
- private RuleCall c000ParserRuleCallSimpleValue;
- private RuleCall c001ParserRuleCallComplexValue;
- private RuleCall c01ParserRuleCallIdRef;
- private RuleCall c1ParserRuleCallWorkflowRef;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(8);
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final Alternatives c0Alternatives = (Alternatives)cAlternatives.eContents().get(0);
+ private final Alternatives c00Alternatives = (Alternatives)c0Alternatives.eContents().get(0);
+ private final RuleCall c000ParserRuleCallSimpleValue = (RuleCall)c00Alternatives.eContents().get(0);
+ private final RuleCall c001ParserRuleCallComplexValue = (RuleCall)c00Alternatives.eContents().get(1);
+ private final RuleCall c01ParserRuleCallIdRef = (RuleCall)c0Alternatives.eContents().get(1);
+ private final RuleCall c1ParserRuleCallWorkflowRef = (RuleCall)cAlternatives.eContents().get(1);
// Value : SimpleValue | ComplexValue | IdRef | WorkflowRef ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(8));
- }
+ public ParserRule getRule() { return rule; }
// SimpleValue | ComplexValue | IdRef | WorkflowRef
- public Alternatives eleAlternatives() {
- return (cAlternatives != null) ? cAlternatives : (cAlternatives = (Alternatives)getRule().eContents().get(0));
- }
+ public Alternatives eleAlternatives() { return cAlternatives; }
// SimpleValue | ComplexValue | IdRef
- public Alternatives ele0Alternatives() {
- return (c0Alternatives != null) ? c0Alternatives : (c0Alternatives = (Alternatives)eleAlternatives().eContents().get(0));
- }
+ public Alternatives ele0Alternatives() { return c0Alternatives; }
// SimpleValue | ComplexValue
- public Alternatives ele00Alternatives() {
- return (c00Alternatives != null) ? c00Alternatives : (c00Alternatives = (Alternatives)ele0Alternatives().eContents().get(0));
- }
+ public Alternatives ele00Alternatives() { return c00Alternatives; }
// SimpleValue
- public RuleCall ele000ParserRuleCallSimpleValue() {
- return (c000ParserRuleCallSimpleValue != null) ? c000ParserRuleCallSimpleValue : (c000ParserRuleCallSimpleValue = (RuleCall)ele00Alternatives().eContents().get(0));
- }
+ public RuleCall ele000ParserRuleCallSimpleValue() { return c000ParserRuleCallSimpleValue; }
// ComplexValue
- public RuleCall ele001ParserRuleCallComplexValue() {
- return (c001ParserRuleCallComplexValue != null) ? c001ParserRuleCallComplexValue : (c001ParserRuleCallComplexValue = (RuleCall)ele00Alternatives().eContents().get(1));
- }
+ public RuleCall ele001ParserRuleCallComplexValue() { return c001ParserRuleCallComplexValue; }
// IdRef
- public RuleCall ele01ParserRuleCallIdRef() {
- return (c01ParserRuleCallIdRef != null) ? c01ParserRuleCallIdRef : (c01ParserRuleCallIdRef = (RuleCall)ele0Alternatives().eContents().get(1));
- }
+ public RuleCall ele01ParserRuleCallIdRef() { return c01ParserRuleCallIdRef; }
// WorkflowRef
- public RuleCall ele1ParserRuleCallWorkflowRef() {
- return (c1ParserRuleCallWorkflowRef != null) ? c1ParserRuleCallWorkflowRef : (c1ParserRuleCallWorkflowRef = (RuleCall)eleAlternatives().eContents().get(1));
- }
+ public RuleCall ele1ParserRuleCallWorkflowRef() { return c1ParserRuleCallWorkflowRef; }
}
public class SimpleValueElements implements IParserRuleAccess {
- private ParserRule rule;
- private Assignment cAssignmentValue;
- private RuleCall c0LexerRuleCallSTRING;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(9);
+ private final Assignment cAssignmentValue = (Assignment)rule.eContents().get(1);
+ private final RuleCall c0LexerRuleCallSTRING = (RuleCall)cAssignmentValue.eContents().get(0);
// SimpleValue : value = STRING ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(9));
- }
+ public ParserRule getRule() { return rule; }
// value = STRING
- public Assignment eleAssignmentValue() {
- return (cAssignmentValue != null) ? cAssignmentValue : (cAssignmentValue = (Assignment)getRule().eContents().get(0));
- }
+ public Assignment eleAssignmentValue() { return cAssignmentValue; }
// STRING
- public RuleCall ele0LexerRuleCallSTRING() {
- return (c0LexerRuleCallSTRING != null) ? c0LexerRuleCallSTRING : (c0LexerRuleCallSTRING = (RuleCall)eleAssignmentValue().eContents().get(0));
- }
+ public RuleCall ele0LexerRuleCallSTRING() { return c0LexerRuleCallSTRING; }
}
public class AssignableElements implements IParserRuleAccess {
- private ParserRule rule;
- private Alternatives cAlternatives;
- private RuleCall c0ParserRuleCallComplexValue;
- private RuleCall c1ParserRuleCallWorkflowRef;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(10);
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall c0ParserRuleCallComplexValue = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall c1ParserRuleCallWorkflowRef = (RuleCall)cAlternatives.eContents().get(1);
// Assignable : ComplexValue | WorkflowRef ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(10));
- }
+ public ParserRule getRule() { return rule; }
// ComplexValue | WorkflowRef
- public Alternatives eleAlternatives() {
- return (cAlternatives != null) ? cAlternatives : (cAlternatives = (Alternatives)getRule().eContents().get(0));
- }
+ public Alternatives eleAlternatives() { return cAlternatives; }
// ComplexValue
- public RuleCall ele0ParserRuleCallComplexValue() {
- return (c0ParserRuleCallComplexValue != null) ? c0ParserRuleCallComplexValue : (c0ParserRuleCallComplexValue = (RuleCall)eleAlternatives().eContents().get(0));
- }
+ public RuleCall ele0ParserRuleCallComplexValue() { return c0ParserRuleCallComplexValue; }
// WorkflowRef
- public RuleCall ele1ParserRuleCallWorkflowRef() {
- return (c1ParserRuleCallWorkflowRef != null) ? c1ParserRuleCallWorkflowRef : (c1ParserRuleCallWorkflowRef = (RuleCall)eleAlternatives().eContents().get(1));
- }
+ public RuleCall ele1ParserRuleCallWorkflowRef() { return c1ParserRuleCallWorkflowRef; }
}
public class ComplexValueElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Group c00Group;
- private Group c000Group;
- private Assignment c0000AssignmentClassName;
- private RuleCall c00000ParserRuleCallQualifiedName;
- private Group c0001Group;
- private Keyword c00010Keyword;
- private Assignment c00011AssignmentId;
- private RuleCall c000110LexerRuleCallID;
- private Assignment c001AssignmentFooBar;
- private Keyword c0010Keyword;
- private Assignment c01AssignmentAssignments;
- private RuleCall c010ParserRuleCallAssignment;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(11);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Group c000Group = (Group)c00Group.eContents().get(0);
+ private final Assignment c0000AssignmentClassName = (Assignment)c000Group.eContents().get(0);
+ private final RuleCall c00000ParserRuleCallQualifiedName = (RuleCall)c0000AssignmentClassName.eContents().get(0);
+ private final Group c0001Group = (Group)c000Group.eContents().get(1);
+ private final Keyword c00010KeywordColon = (Keyword)c0001Group.eContents().get(0);
+ private final Assignment c00011AssignmentId = (Assignment)c0001Group.eContents().get(1);
+ private final RuleCall c000110LexerRuleCallID = (RuleCall)c00011AssignmentId.eContents().get(0);
+ private final Assignment c001AssignmentFooBar = (Assignment)c00Group.eContents().get(1);
+ private final Keyword c0010KeywordLeftCurlyBracket = (Keyword)c001AssignmentFooBar.eContents().get(0);
+ private final Assignment c01AssignmentAssignments = (Assignment)c0Group.eContents().get(1);
+ private final RuleCall c010ParserRuleCallAssignment = (RuleCall)c01AssignmentAssignments.eContents().get(0);
+ private final Keyword c1KeywordRightCurlyBracket = (Keyword)cGroup.eContents().get(1);
// ComplexValue : ( className = QualifiedName ) ? ( ':' id = ID ) ? fooBar ?= '{' ( assignments += Assignment ) * '}' ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(11));
- }
+ public ParserRule getRule() { return rule; }
// ( className = QualifiedName ) ? ( ':' id = ID ) ? fooBar ?= '{' ( assignments += Assignment ) * '}'
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// ( className = QualifiedName ) ? ( ':' id = ID ) ? fooBar ?= '{' ( assignments += Assignment ) *
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// ( className = QualifiedName ) ? ( ':' id = ID ) ? fooBar ?= '{'
- public Group ele00Group() {
- return (c00Group != null) ? c00Group : (c00Group = (Group)ele0Group().eContents().get(0));
- }
+ public Group ele00Group() { return c00Group; }
// ( className = QualifiedName ) ? ( ':' id = ID ) ?
- public Group ele000Group() {
- return (c000Group != null) ? c000Group : (c000Group = (Group)ele00Group().eContents().get(0));
- }
+ public Group ele000Group() { return c000Group; }
// ( className = QualifiedName ) ?
- public Assignment ele0000AssignmentClassName() {
- return (c0000AssignmentClassName != null) ? c0000AssignmentClassName : (c0000AssignmentClassName = (Assignment)ele000Group().eContents().get(0));
- }
+ public Assignment ele0000AssignmentClassName() { return c0000AssignmentClassName; }
// QualifiedName
- public RuleCall ele00000ParserRuleCallQualifiedName() {
- return (c00000ParserRuleCallQualifiedName != null) ? c00000ParserRuleCallQualifiedName : (c00000ParserRuleCallQualifiedName = (RuleCall)ele0000AssignmentClassName().eContents().get(0));
- }
+ public RuleCall ele00000ParserRuleCallQualifiedName() { return c00000ParserRuleCallQualifiedName; }
// ( ':' id = ID ) ?
- public Group ele0001Group() {
- return (c0001Group != null) ? c0001Group : (c0001Group = (Group)ele000Group().eContents().get(1));
- }
+ public Group ele0001Group() { return c0001Group; }
// ':'
- public Keyword ele00010Keyword() {
- return (c00010Keyword != null) ? c00010Keyword : (c00010Keyword = (Keyword)ele0001Group().eContents().get(0));
- }
+ public Keyword ele00010KeywordColon() { return c00010KeywordColon; }
// id = ID
- public Assignment ele00011AssignmentId() {
- return (c00011AssignmentId != null) ? c00011AssignmentId : (c00011AssignmentId = (Assignment)ele0001Group().eContents().get(1));
- }
+ public Assignment ele00011AssignmentId() { return c00011AssignmentId; }
// ID
- public RuleCall ele000110LexerRuleCallID() {
- return (c000110LexerRuleCallID != null) ? c000110LexerRuleCallID : (c000110LexerRuleCallID = (RuleCall)ele00011AssignmentId().eContents().get(0));
- }
+ public RuleCall ele000110LexerRuleCallID() { return c000110LexerRuleCallID; }
// fooBar ?= '{'
- public Assignment ele001AssignmentFooBar() {
- return (c001AssignmentFooBar != null) ? c001AssignmentFooBar : (c001AssignmentFooBar = (Assignment)ele00Group().eContents().get(1));
- }
+ public Assignment ele001AssignmentFooBar() { return c001AssignmentFooBar; }
// '{'
- public Keyword ele0010Keyword() {
- return (c0010Keyword != null) ? c0010Keyword : (c0010Keyword = (Keyword)ele001AssignmentFooBar().eContents().get(0));
- }
+ public Keyword ele0010KeywordLeftCurlyBracket() { return c0010KeywordLeftCurlyBracket; }
// ( assignments += Assignment ) *
- public Assignment ele01AssignmentAssignments() {
- return (c01AssignmentAssignments != null) ? c01AssignmentAssignments : (c01AssignmentAssignments = (Assignment)ele0Group().eContents().get(1));
- }
+ public Assignment ele01AssignmentAssignments() { return c01AssignmentAssignments; }
// Assignment
- public RuleCall ele010ParserRuleCallAssignment() {
- return (c010ParserRuleCallAssignment != null) ? c010ParserRuleCallAssignment : (c010ParserRuleCallAssignment = (RuleCall)ele01AssignmentAssignments().eContents().get(0));
- }
+ public RuleCall ele010ParserRuleCallAssignment() { return c010ParserRuleCallAssignment; }
// '}'
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordRightCurlyBracket() { return c1KeywordRightCurlyBracket; }
}
public class WorkflowRefElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Group c00Group;
- private Group c000Group;
- private Keyword c0000KeywordFile;
- private Assignment c0001AssignmentUri;
- private RuleCall c00010LexerRuleCallSTRING;
- private Keyword c001Keyword;
- private Assignment c01AssignmentAssignments;
- private RuleCall c010ParserRuleCallAssignment;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(12);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Group c000Group = (Group)c00Group.eContents().get(0);
+ private final Keyword c0000KeywordFile = (Keyword)c000Group.eContents().get(0);
+ private final Assignment c0001AssignmentUri = (Assignment)c000Group.eContents().get(1);
+ private final RuleCall c00010LexerRuleCallSTRING = (RuleCall)c0001AssignmentUri.eContents().get(0);
+ private final Keyword c001KeywordLeftCurlyBracket = (Keyword)c00Group.eContents().get(1);
+ private final Assignment c01AssignmentAssignments = (Assignment)c0Group.eContents().get(1);
+ private final RuleCall c010ParserRuleCallAssignment = (RuleCall)c01AssignmentAssignments.eContents().get(0);
+ private final Keyword c1KeywordRightCurlyBracket = (Keyword)cGroup.eContents().get(1);
// WorkflowRef : 'file' uri = STRING '{' ( assignments += Assignment ) * '}' ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(12));
- }
+ public ParserRule getRule() { return rule; }
// 'file' uri = STRING '{' ( assignments += Assignment ) * '}'
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// 'file' uri = STRING '{' ( assignments += Assignment ) *
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// 'file' uri = STRING '{'
- public Group ele00Group() {
- return (c00Group != null) ? c00Group : (c00Group = (Group)ele0Group().eContents().get(0));
- }
+ public Group ele00Group() { return c00Group; }
// 'file' uri = STRING
- public Group ele000Group() {
- return (c000Group != null) ? c000Group : (c000Group = (Group)ele00Group().eContents().get(0));
- }
+ public Group ele000Group() { return c000Group; }
// 'file'
- public Keyword ele0000KeywordFile() {
- return (c0000KeywordFile != null) ? c0000KeywordFile : (c0000KeywordFile = (Keyword)ele000Group().eContents().get(0));
- }
+ public Keyword ele0000KeywordFile() { return c0000KeywordFile; }
// uri = STRING
- public Assignment ele0001AssignmentUri() {
- return (c0001AssignmentUri != null) ? c0001AssignmentUri : (c0001AssignmentUri = (Assignment)ele000Group().eContents().get(1));
- }
+ public Assignment ele0001AssignmentUri() { return c0001AssignmentUri; }
// STRING
- public RuleCall ele00010LexerRuleCallSTRING() {
- return (c00010LexerRuleCallSTRING != null) ? c00010LexerRuleCallSTRING : (c00010LexerRuleCallSTRING = (RuleCall)ele0001AssignmentUri().eContents().get(0));
- }
+ public RuleCall ele00010LexerRuleCallSTRING() { return c00010LexerRuleCallSTRING; }
// '{'
- public Keyword ele001Keyword() {
- return (c001Keyword != null) ? c001Keyword : (c001Keyword = (Keyword)ele00Group().eContents().get(1));
- }
+ public Keyword ele001KeywordLeftCurlyBracket() { return c001KeywordLeftCurlyBracket; }
// ( assignments += Assignment ) *
- public Assignment ele01AssignmentAssignments() {
- return (c01AssignmentAssignments != null) ? c01AssignmentAssignments : (c01AssignmentAssignments = (Assignment)ele0Group().eContents().get(1));
- }
+ public Assignment ele01AssignmentAssignments() { return c01AssignmentAssignments; }
// Assignment
- public RuleCall ele010ParserRuleCallAssignment() {
- return (c010ParserRuleCallAssignment != null) ? c010ParserRuleCallAssignment : (c010ParserRuleCallAssignment = (RuleCall)ele01AssignmentAssignments().eContents().get(0));
- }
+ public RuleCall ele010ParserRuleCallAssignment() { return c010ParserRuleCallAssignment; }
// '}'
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordRightCurlyBracket() { return c1KeywordRightCurlyBracket; }
}
public class IdRefElements implements IParserRuleAccess {
- private ParserRule rule;
- private Assignment cAssignmentId;
- private RuleCall c0LexerRuleCallID;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(13);
+ private final Assignment cAssignmentId = (Assignment)rule.eContents().get(1);
+ private final RuleCall c0LexerRuleCallID = (RuleCall)cAssignmentId.eContents().get(0);
// IdRef : id = ID ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(13));
- }
+ public ParserRule getRule() { return rule; }
// id = ID
- public Assignment eleAssignmentId() {
- return (cAssignmentId != null) ? cAssignmentId : (cAssignmentId = (Assignment)getRule().eContents().get(0));
- }
+ public Assignment eleAssignmentId() { return cAssignmentId; }
// ID
- public RuleCall ele0LexerRuleCallID() {
- return (c0LexerRuleCallID != null) ? c0LexerRuleCallID : (c0LexerRuleCallID = (RuleCall)eleAssignmentId().eContents().get(0));
- }
+ public RuleCall ele0LexerRuleCallID() { return c0LexerRuleCallID; }
}
public class AssignmentElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Group c0Group;
- private Group c00Group;
- private Assignment c000AssignmentFeature;
- private RuleCall c0000LexerRuleCallID;
- private Assignment c001AssignmentOperator;
- private Alternatives c0010Alternatives;
- private Keyword c00100Keyword;
- private Keyword c00101Keyword;
- private Assignment c01AssignmentValue;
- private RuleCall c010ParserRuleCallValue;
- private Keyword c1Keyword;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(14);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Group c0Group = (Group)cGroup.eContents().get(0);
+ private final Group c00Group = (Group)c0Group.eContents().get(0);
+ private final Assignment c000AssignmentFeature = (Assignment)c00Group.eContents().get(0);
+ private final RuleCall c0000LexerRuleCallID = (RuleCall)c000AssignmentFeature.eContents().get(0);
+ private final Assignment c001AssignmentOperator = (Assignment)c00Group.eContents().get(1);
+ private final Alternatives c0010Alternatives = (Alternatives)c001AssignmentOperator.eContents().get(0);
+ private final Keyword c00100KeywordEqualsSign = (Keyword)c0010Alternatives.eContents().get(0);
+ private final Keyword c00101KeywordPlusSignEqualsSign = (Keyword)c0010Alternatives.eContents().get(1);
+ private final Assignment c01AssignmentValue = (Assignment)c0Group.eContents().get(1);
+ private final RuleCall c010ParserRuleCallValue = (RuleCall)c01AssignmentValue.eContents().get(0);
+ private final Keyword c1KeywordSemicolon = (Keyword)cGroup.eContents().get(1);
// Assignment : ( feature = ID ) ? operator = ( '=' | '+=' ) value = Value ';' ? ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(14));
- }
+ public ParserRule getRule() { return rule; }
// ( feature = ID ) ? operator = ( '=' | '+=' ) value = Value ';' ?
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// ( feature = ID ) ? operator = ( '=' | '+=' ) value = Value
- public Group ele0Group() {
- return (c0Group != null) ? c0Group : (c0Group = (Group)eleGroup().eContents().get(0));
- }
+ public Group ele0Group() { return c0Group; }
// ( feature = ID ) ? operator = ( '=' | '+=' )
- public Group ele00Group() {
- return (c00Group != null) ? c00Group : (c00Group = (Group)ele0Group().eContents().get(0));
- }
+ public Group ele00Group() { return c00Group; }
// ( feature = ID ) ?
- public Assignment ele000AssignmentFeature() {
- return (c000AssignmentFeature != null) ? c000AssignmentFeature : (c000AssignmentFeature = (Assignment)ele00Group().eContents().get(0));
- }
+ public Assignment ele000AssignmentFeature() { return c000AssignmentFeature; }
// ID
- public RuleCall ele0000LexerRuleCallID() {
- return (c0000LexerRuleCallID != null) ? c0000LexerRuleCallID : (c0000LexerRuleCallID = (RuleCall)ele000AssignmentFeature().eContents().get(0));
- }
+ public RuleCall ele0000LexerRuleCallID() { return c0000LexerRuleCallID; }
// operator = ( '=' | '+=' )
- public Assignment ele001AssignmentOperator() {
- return (c001AssignmentOperator != null) ? c001AssignmentOperator : (c001AssignmentOperator = (Assignment)ele00Group().eContents().get(1));
- }
+ public Assignment ele001AssignmentOperator() { return c001AssignmentOperator; }
// '=' | '+='
- public Alternatives ele0010Alternatives() {
- return (c0010Alternatives != null) ? c0010Alternatives : (c0010Alternatives = (Alternatives)ele001AssignmentOperator().eContents().get(0));
- }
+ public Alternatives ele0010Alternatives() { return c0010Alternatives; }
// '='
- public Keyword ele00100Keyword() {
- return (c00100Keyword != null) ? c00100Keyword : (c00100Keyword = (Keyword)ele0010Alternatives().eContents().get(0));
- }
+ public Keyword ele00100KeywordEqualsSign() { return c00100KeywordEqualsSign; }
// '+='
- public Keyword ele00101Keyword() {
- return (c00101Keyword != null) ? c00101Keyword : (c00101Keyword = (Keyword)ele0010Alternatives().eContents().get(1));
- }
+ public Keyword ele00101KeywordPlusSignEqualsSign() { return c00101KeywordPlusSignEqualsSign; }
// value = Value
- public Assignment ele01AssignmentValue() {
- return (c01AssignmentValue != null) ? c01AssignmentValue : (c01AssignmentValue = (Assignment)ele0Group().eContents().get(1));
- }
+ public Assignment ele01AssignmentValue() { return c01AssignmentValue; }
// Value
- public RuleCall ele010ParserRuleCallValue() {
- return (c010ParserRuleCallValue != null) ? c010ParserRuleCallValue : (c010ParserRuleCallValue = (RuleCall)ele01AssignmentValue().eContents().get(0));
- }
+ public RuleCall ele010ParserRuleCallValue() { return c010ParserRuleCallValue; }
// ';' ?
- public Keyword ele1Keyword() {
- return (c1Keyword != null) ? c1Keyword : (c1Keyword = (Keyword)eleGroup().eContents().get(1));
- }
+ public Keyword ele1KeywordSemicolon() { return c1KeywordSemicolon; }
}
public class QualifiedNameElements implements IParserRuleAccess {
- private ParserRule rule;
- private Group cGroup;
- private Assignment c0AssignmentParts;
- private RuleCall c00LexerRuleCallID;
- private Group c1Group;
- private Assignment c10AssignmentParts;
- private Keyword c100Keyword;
- private Assignment c11AssignmentParts;
- private RuleCall c110LexerRuleCallID;
+ private final ParserRule rule = (ParserRule) getGrammar().eContents().get(15);
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Assignment c0AssignmentParts = (Assignment)cGroup.eContents().get(0);
+ private final RuleCall c00LexerRuleCallID = (RuleCall)c0AssignmentParts.eContents().get(0);
+ private final Group c1Group = (Group)cGroup.eContents().get(1);
+ private final Assignment c10AssignmentParts = (Assignment)c1Group.eContents().get(0);
+ private final Keyword c100KeywordFullStop = (Keyword)c10AssignmentParts.eContents().get(0);
+ private final Assignment c11AssignmentParts = (Assignment)c1Group.eContents().get(1);
+ private final RuleCall c110LexerRuleCallID = (RuleCall)c11AssignmentParts.eContents().get(0);
// QualifiedName : parts += ID ( parts += '.' parts += ID ) * ;
- public ParserRule getRule() {
- return (rule != null) ? rule : (rule = (ParserRule) getGrammar().eContents().get(15));
- }
+ public ParserRule getRule() { return rule; }
// parts += ID ( parts += '.' parts += ID ) *
- public Group eleGroup() {
- return (cGroup != null) ? cGroup : (cGroup = (Group)getRule().eContents().get(0));
- }
+ public Group eleGroup() { return cGroup; }
// parts += ID
- public Assignment ele0AssignmentParts() {
- return (c0AssignmentParts != null) ? c0AssignmentParts : (c0AssignmentParts = (Assignment)eleGroup().eContents().get(0));
- }
+ public Assignment ele0AssignmentParts() { return c0AssignmentParts; }
// ID
- public RuleCall ele00LexerRuleCallID() {
- return (c00LexerRuleCallID != null) ? c00LexerRuleCallID : (c00LexerRuleCallID = (RuleCall)ele0AssignmentParts().eContents().get(0));
- }
+ public RuleCall ele00LexerRuleCallID() { return c00LexerRuleCallID; }
// ( parts += '.' parts += ID ) *
- public Group ele1Group() {
- return (c1Group != null) ? c1Group : (c1Group = (Group)eleGroup().eContents().get(1));
- }
+ public Group ele1Group() { return c1Group; }
// parts += '.'
- public Assignment ele10AssignmentParts() {
- return (c10AssignmentParts != null) ? c10AssignmentParts : (c10AssignmentParts = (Assignment)ele1Group().eContents().get(0));
- }
+ public Assignment ele10AssignmentParts() { return c10AssignmentParts; }
// '.'
- public Keyword ele100Keyword() {
- return (c100Keyword != null) ? c100Keyword : (c100Keyword = (Keyword)ele10AssignmentParts().eContents().get(0));
- }
+ public Keyword ele100KeywordFullStop() { return c100KeywordFullStop; }
// parts += ID
- public Assignment ele11AssignmentParts() {
- return (c11AssignmentParts != null) ? c11AssignmentParts : (c11AssignmentParts = (Assignment)ele1Group().eContents().get(1));
- }
+ public Assignment ele11AssignmentParts() { return c11AssignmentParts; }
// ID
- public RuleCall ele110LexerRuleCallID() {
- return (c110LexerRuleCallID != null) ? c110LexerRuleCallID : (c110LexerRuleCallID = (RuleCall)ele11AssignmentParts().eContents().get(0));
- }
+ public RuleCall ele110LexerRuleCallID() { return c110LexerRuleCallID; }
}
public final static MWEGrammarAccess INSTANCE = new MWEGrammarAccess();