summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhubner2008-11-26 07:46:09 (EST)
committer dhubner2008-11-26 07:46:09 (EST)
commitaae51df0e8a0df03b107dac14fd3676d6f8fc82b (patch)
treeb8a6e7fb1bab2e15020823577b94e4d203e1da40
parenta77c893b3fae62eea7208d96f5f12d4ae5f8db69 (diff)
downloadorg.eclipse.xpand-aae51df0e8a0df03b107dac14fd3676d6f8fc82b.zip
org.eclipse.xpand-aae51df0e8a0df03b107dac14fd3676d6f8fc82b.tar.gz
org.eclipse.xpand-aae51df0e8a0df03b107dac14fd3676d6f8fc82b.tar.bz2
[254711] Constraints per Property
-rw-r--r--plugins/org.eclipse.xpand/src/org/eclipse/internal/xpand2/parser/XpandParseFacade.java2
-rw-r--r--plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/MetamodelContributorRegistry.java2
-rw-r--r--plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/navigation/GenericHyperlinkDetector.java2
-rw-r--r--plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchDeclarationsQuery.java2
-rw-r--r--plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchReferencesQuery.java2
-rw-r--r--plugins/org.eclipse.xtend.tests/.classpath2
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/XtendFacadeTest.java1
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/AllTests.java5
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckAnalyzationTest.java1
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckEvaluationTest.java10
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/FeaturedCheckTest.java97
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/ast/EvaluationTest.java3
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/ExtensionImportProposalComputerTest.java4
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/TypeProposalComputerTest.java4
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/OawValidatorPluginTests.java42
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/check.chk4
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/MyMetaClass.java3
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/MyMetaClassImpl.java6
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestFactoryImpl.java9
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestPackageImpl.java3
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageFactoryImpl.java8
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageMetaClassImpl.java4
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackagePackageImpl.java3
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageAdapterFactory.java7
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageSwitch.java5
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestAdapterFactory.java7
-rw-r--r--plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestSwitch.java5
-rw-r--r--plugins/org.eclipse.xtend.typesystem.emf/src/org/eclipse/xtend/typesystem/emf/check/CheckEValidatorAdapter.java1
-rw-r--r--plugins/org.eclipse.xtend.typesystem.uml2.ui/src/org/eclipse/xtend/typesystem/uml2/ui/Uml2MetamodelContributor.java2
-rw-r--r--plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/UML2Writer.java2
-rw-r--r--plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/profile/ProfilingExtensions.java6
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java2
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/util/internal/icu/CharsetDetector.java4
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/ast/Check.java337
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/ExtensionFactory.java71
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/GeneratorLauncher.java33
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.g4
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.tokens119
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendLexer.java2103
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendParser.java2290
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend__.g153
41 files changed, 2794 insertions, 2576 deletions
diff --git a/plugins/org.eclipse.xpand/src/org/eclipse/internal/xpand2/parser/XpandParseFacade.java b/plugins/org.eclipse.xpand/src/org/eclipse/internal/xpand2/parser/XpandParseFacade.java
index 83fcc5e..5dd9216 100644
--- a/plugins/org.eclipse.xpand/src/org/eclipse/internal/xpand2/parser/XpandParseFacade.java
+++ b/plugins/org.eclipse.xpand/src/org/eclipse/internal/xpand2/parser/XpandParseFacade.java
@@ -19,9 +19,9 @@ import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.RecognitionException;
import org.eclipse.internal.xpand2.ast.Template;
import org.eclipse.internal.xtend.xtend.parser.ErrorHandler;
-import org.eclipse.internal.xtend.xtend.parser.XtendError;
import org.eclipse.internal.xtend.xtend.parser.ParseException;
import org.eclipse.internal.xtend.xtend.parser.SyntaxError;
+import org.eclipse.internal.xtend.xtend.parser.XtendError;
public final class XpandParseFacade {
private XpandParseFacade() {
diff --git a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/MetamodelContributorRegistry.java b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/MetamodelContributorRegistry.java
index d80bce4..b016a36 100644
--- a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/MetamodelContributorRegistry.java
+++ b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/MetamodelContributorRegistry.java
@@ -27,8 +27,8 @@ import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.ui.preferences.ScopedPreferenceStore;
-import org.eclipse.xtend.shared.ui.MetamodelContributor;
import org.eclipse.xtend.shared.ui.Activator;
+import org.eclipse.xtend.shared.ui.MetamodelContributor;
import org.eclipse.xtend.shared.ui.core.preferences.PreferenceConstants;
import org.eclipse.xtend.shared.ui.internal.XtendLog;
diff --git a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/navigation/GenericHyperlinkDetector.java b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/navigation/GenericHyperlinkDetector.java
index b40caa4..8ec163d 100644
--- a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/navigation/GenericHyperlinkDetector.java
+++ b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/navigation/GenericHyperlinkDetector.java
@@ -23,8 +23,8 @@ import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.xtend.shared.ui.Activator;
import org.eclipse.xtend.shared.ui.core.IXtendXpandProject;
-import org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine;
import org.eclipse.xtend.shared.ui.core.search.SearchMatch;
+import org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine;
/**
* GenericHyperlinkDetector is used to detect hyperlinkable words inside oAW
diff --git a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchDeclarationsQuery.java b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchDeclarationsQuery.java
index 5285a16..4b28959 100644
--- a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchDeclarationsQuery.java
+++ b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchDeclarationsQuery.java
@@ -13,8 +13,8 @@ package org.eclipse.xtend.shared.ui.editor.search.query;
import java.util.List;
import org.eclipse.xtend.shared.ui.core.IXtendXpandProject;
-import org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine;
import org.eclipse.xtend.shared.ui.core.search.SearchMatch;
+import org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine;
/**
* <code>OawSearchReferencesQuery</code> performs a query for declarations of
diff --git a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchReferencesQuery.java b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchReferencesQuery.java
index 097cd10..e13385d 100644
--- a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchReferencesQuery.java
+++ b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/editor/search/query/OawSearchReferencesQuery.java
@@ -13,8 +13,8 @@ package org.eclipse.xtend.shared.ui.editor.search.query;
import java.util.List;
import org.eclipse.xtend.shared.ui.core.IXtendXpandProject;
-import org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine;
import org.eclipse.xtend.shared.ui.core.search.SearchMatch;
+import org.eclipse.xtend.shared.ui.core.search.XtendXpandSearchEngine;
/**
* <code>OawSearchReferencesQuery</code> performs a query for references of a
diff --git a/plugins/org.eclipse.xtend.tests/.classpath b/plugins/org.eclipse.xtend.tests/.classpath
index 64c5e31..304e861 100644
--- a/plugins/org.eclipse.xtend.tests/.classpath
+++ b/plugins/org.eclipse.xtend.tests/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
+ <classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/XtendFacadeTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/XtendFacadeTest.java
index 96a9ef7..63a7996 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/XtendFacadeTest.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/XtendFacadeTest.java
@@ -14,7 +14,6 @@ import java.util.HashSet;
import junit.framework.TestCase;
-import org.eclipse.xtend.XtendFacade;
import org.eclipse.xtend.expression.AnalysationIssue;
import org.eclipse.xtend.typesystem.Type;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/AllTests.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/AllTests.java
index 11ee5ff..5f7e112 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/AllTests.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/AllTests.java
@@ -7,11 +7,12 @@ public class AllTests {
public static Test suite() {
TestSuite suite = new TestSuite("Test for org.eclipse.xtend.check");
- //$JUnit-BEGIN$
+ // $JUnit-BEGIN$
suite.addTestSuite(CheckFastAnalyzerTest.class);
suite.addTestSuite(CheckAnalyzationTest.class);
suite.addTestSuite(CheckEvaluationTest.class);
- //$JUnit-END$
+ suite.addTestSuite(FeaturedCheckTest.class);
+ // $JUnit-END$
return suite;
}
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckAnalyzationTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckAnalyzationTest.java
index 66067be..769cbf6 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckAnalyzationTest.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckAnalyzationTest.java
@@ -98,4 +98,5 @@ public class CheckAnalyzationTest extends TestCase {
assertEquals(2, issues.size());
}
+
}
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckEvaluationTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckEvaluationTest.java
index 8b330a1..30d6447 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckEvaluationTest.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/CheckEvaluationTest.java
@@ -32,8 +32,7 @@ public class CheckEvaluationTest extends TestCase {
@Override
protected void setUp() throws Exception {
ec = new ExecutionContextImpl();
- // ec.registerMetaModel(new JavaMetaModel("asdf", new
- // JavaBeansStrategy()));
+// ((ExecutionContextImpl) ec).registerMetaModel(new JavaMetaModel("asdf", new JavaBeansStrategy()));
}
private ExtensionFile parse(final String expression) {
@@ -42,9 +41,7 @@ public class CheckEvaluationTest extends TestCase {
public final void testValidate() {
final ExtensionFile file = parse("context String ERROR this+' not allowed!' : !this.startsWith('test') ;\n"
- + "\n"
- + "context Integer ERROR ''+this+' not allowed!' : !(this > 5); \n"
- + "\n"
+ + "\n" + "context Integer ERROR ''+this+' not allowed!' : !(this > 5); \n" + "\n"
+ "context Object WARNING 'Objects of type '+this.metaType+' not allowed!' : "
+ "String.isInstance(this) || Integer.isInstance(this); \n");
@@ -56,8 +53,7 @@ public class CheckEvaluationTest extends TestCase {
file.check(ec, toCheck, is, false);
assertEquals(2, is.getErrors().length);
assertEquals(1, is.getWarnings().length);
- assertEquals("Objects of type Boolean not allowed!",
- is.getWarnings()[0].getMessage());
+ assertEquals("Objects of type Boolean not allowed!", is.getWarnings()[0].getMessage());
assertEquals(Boolean.TRUE, is.getWarnings()[0].getElement());
}
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/FeaturedCheckTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/FeaturedCheckTest.java
new file mode 100644
index 0000000..d1039c7
--- /dev/null
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/check/FeaturedCheckTest.java
@@ -0,0 +1,97 @@
+/*******************************************************************************
+ * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ *******************************************************************************/
+package org.eclipse.xtend.check;
+
+import java.io.StringReader;
+import java.util.ArrayList;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+import org.eclipse.emf.mwe.core.issues.Issues;
+import org.eclipse.emf.mwe.core.issues.IssuesImpl;
+import org.eclipse.internal.xtend.type.impl.java.JavaMetaModel;
+import org.eclipse.internal.xtend.type.impl.java.beans.JavaBeansStrategy;
+import org.eclipse.internal.xtend.xtend.ast.ExtensionFile;
+import org.eclipse.internal.xtend.xtend.parser.ParseFacade;
+import org.eclipse.xtend.expression.ExecutionContext;
+import org.eclipse.xtend.expression.ExecutionContextImpl;
+
+import test.Bean;
+
+/**
+ * @author Dennis Hübner - Initial contribution and API
+ *
+ */
+public class FeaturedCheckTest extends TestCase {
+
+ private ExecutionContext ec;
+
+ @Override
+ protected void setUp() throws Exception {
+ ec = new ExecutionContextImpl();
+ ((ExecutionContextImpl) ec).registerMetaModel(new JavaMetaModel("asdf", new JavaBeansStrategy()));
+ }
+
+ private ExtensionFile parse(final String expression) {
+ return ParseFacade.file(new StringReader(expression), null);
+ }
+
+ public final void testFeatureContextForChecks() {
+ String fileContent = "context test::Bean#ready ERROR 'Bean is not ready!' :\n" + "ready;";
+ fileContent += "context test::Bean#counter WARNING 'Initial counter is not 0.' :\n" + "counter==0;";
+
+ final ExtensionFile file = parse(fileContent);
+ final List<Object> toCheck = new ArrayList<Object>();
+ Bean objectUnderTest = new Bean();
+ objectUnderTest.setReady(false);
+ objectUnderTest.setCounter(100);
+ toCheck.add(objectUnderTest);
+ final Issues issues = new IssuesImpl();
+ file.check(ec, toCheck, issues, true);
+ // errors
+ assertEquals(1, issues.getErrors().length);
+ Object feature = issues.getErrors()[0].getData().get(1);
+ assertNotNull(feature);
+ assertTrue("Fetures should be stored as string in issues", String.class.isInstance(feature));
+ assertEquals("ready", ((String) feature));
+
+ // warnings
+ assertEquals(1, issues.getWarnings().length);
+ Object feature1 = issues.getWarnings()[0].getData().get(1);
+ assertNotNull(feature1);
+ assertTrue("Fetures should be stored as string in issues", String.class.isInstance(feature1));
+ assertEquals("counter", ((String) feature1));
+
+ }
+
+ public final void testEntityContextForChecks() {
+ String fileContent = "context test::Bean ERROR 'Bean is not ready!' :\n" + "ready;";
+ fileContent += "context test::Bean WARNING 'Initial counter is not 0.' :\n" + "counter==0;";
+
+ final ExtensionFile file = parse(fileContent);
+ final List<Object> toCheck = new ArrayList<Object>();
+ Bean objectUnderTest = new Bean();
+ objectUnderTest.setReady(false);
+ objectUnderTest.setCounter(100);
+ toCheck.add(objectUnderTest);
+ final Issues issues = new IssuesImpl();
+ file.check(ec, toCheck, issues, true);
+ // errors
+ assertEquals(1, issues.getErrors().length);
+ Object feature = issues.getErrors()[0].getData().get(1);
+ assertNull(feature);
+
+ // warnings
+ assertEquals(1, issues.getWarnings().length);
+ Object feature1 = issues.getWarnings()[0].getData().get(1);
+ assertNull(feature1);
+
+ }
+}
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/ast/EvaluationTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/ast/EvaluationTest.java
index 9e534dd..78f0efe 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/ast/EvaluationTest.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/ast/EvaluationTest.java
@@ -14,9 +14,7 @@ package org.eclipse.xtend.expression.ast;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
import junit.framework.TestCase;
@@ -30,7 +28,6 @@ import org.eclipse.xtend.expression.ExecutionContext;
import org.eclipse.xtend.expression.ExecutionContextImpl;
import org.eclipse.xtend.expression.Type1;
import org.eclipse.xtend.expression.Variable;
-import org.eclipse.xtend.typesystem.Property;
/**
* @author Sven Efftinge (http://www.efftinge.de)
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/ExtensionImportProposalComputerTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/ExtensionImportProposalComputerTest.java
index 6d9c256..32b617c 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/ExtensionImportProposalComputerTest.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/ExtensionImportProposalComputerTest.java
@@ -10,10 +10,10 @@
*******************************************************************************/
package org.eclipse.xtend.expression.codeassist;
-import org.eclipse.internal.xtend.expression.codeassist.ExtensionImportProposalComputer;
-
import junit.framework.TestCase;
+import org.eclipse.internal.xtend.expression.codeassist.ExtensionImportProposalComputer;
+
public class ExtensionImportProposalComputerTest extends TestCase {
private ExtensionImportProposalComputer tpc;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/TypeProposalComputerTest.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/TypeProposalComputerTest.java
index 90df6dc..72bf644 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/TypeProposalComputerTest.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/expression/codeassist/TypeProposalComputerTest.java
@@ -11,10 +11,10 @@
package org.eclipse.xtend.expression.codeassist;
-import org.eclipse.internal.xtend.expression.codeassist.TypeProposalComputer;
-
import junit.framework.TestCase;
+import org.eclipse.internal.xtend.expression.codeassist.TypeProposalComputer;
+
public class TypeProposalComputerTest extends TestCase {
private TypeProposalComputer tpc;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/OawValidatorPluginTests.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/OawValidatorPluginTests.java
index 95e1ef7..69afb78 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/OawValidatorPluginTests.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/OawValidatorPluginTests.java
@@ -16,6 +16,8 @@ package org.eclipse.xtend.typesystem.emf.check;
import junit.framework.TestCase;
import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.EValidator;
import org.eclipse.emf.ecore.util.Diagnostician;
import org.eclipse.xtend.typesystem.emf.check.model.test.MyEnum;
@@ -27,29 +29,47 @@ import org.eclipse.xtend.typesystem.emf.check.model.test.TestPackage;
* @author Jan Köhnlein
*/
public class OawValidatorPluginTests extends TestCase {
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ CheckRegistry.getInstance();
+ }
public void testOawValidator() {
// Plugin test
- CheckRegistry.getInstance();
- EValidator validator = EValidator.Registry.INSTANCE
- .getEValidator(TestPackage.eINSTANCE);
+ EValidator validator = EValidator.Registry.INSTANCE.getEValidator(TestPackage.eINSTANCE);
assertNotNull("Validator registration failed", validator);
- assertTrue("Wrong validator class",
- validator instanceof CheckEValidatorAdapter);
+ assertTrue("Wrong validator class", validator instanceof CheckEValidatorAdapter);
MyMetaClass myClass = TestFactory.eINSTANCE.createMyMetaClass();
Diagnostic diagnostic = Diagnostician.INSTANCE.validate(myClass);
- assertEquals("Validation should have failed", Diagnostic.ERROR,
- diagnostic.getSeverity());
+ assertEquals("Validation should have failed", Diagnostic.ERROR, diagnostic.getSeverity());
+
myClass.setName("Hugo");
myClass.setEnumAttr(MyEnum.X);
diagnostic = Diagnostician.INSTANCE.validate(myClass);
- assertEquals("Validation should have succeeded", Diagnostic.OK,
- diagnostic.getSeverity());
+ assertEquals("Validation should have succeeded", Diagnostic.OK, diagnostic.getSeverity());
MyMetaClass childClass = TestFactory.eINSTANCE.createMyMetaClass();
childClass.setName("");
myClass.getChildren().add(childClass);
diagnostic = Diagnostician.INSTANCE.validate(myClass);
- assertEquals("Validation should have a warning", Diagnostic.WARNING,
- diagnostic.getSeverity());
+ assertEquals("Validation should have a warning", Diagnostic.WARNING, diagnostic.getSeverity());
+ }
+
+ public void testOawValidatorFeatureScope() {
+ MyMetaClass objectUnderTest = TestFactory.eINSTANCE.createMyMetaClass();
+ Diagnostic diagnostic = Diagnostician.INSTANCE.validate(objectUnderTest);
+ assertEquals("Validation should have failed", Diagnostic.ERROR, diagnostic.getSeverity());
+ assertTrue("There are any children in the Diagnostic", !diagnostic.getChildren().isEmpty());
+ Diagnostic firstChild = diagnostic.getChildren().get(0);
+ assertEquals(objectUnderTest, firstChild.getData().get(0));
+
+ // feature check
+ Object feature = firstChild.getData().get(1);
+ assertNotNull("Feature is not set", feature);
+ assertTrue("Wrong type '" + feature.getClass() + "', should be instance of '" + String.class + "'.",
+ String.class.isInstance(feature));
+ EObject eO = (EObject) firstChild.getData().get(0);
+ EStructuralFeature eSF = eO.eClass().getEStructuralFeature(feature.toString());
+ assertNotNull("EStructuralFeature " + feature + " can't be resolved", eSF);
}
}
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/check.chk b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/check.chk
index 6537fa4..95fae3b 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/check.chk
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/check.chk
@@ -3,10 +3,10 @@ import subpackage;
extension org::eclipse::xtend::typesystem::emf::check::model::MyExtension;
-context MyMetaClass ERROR "Name must be set" :
+context MyMetaClass#name ERROR "Name must be set" :
name != null;
-context MyMetaClass WARNING "Name should not be empty" :
+context MyMetaClass#name WARNING "Name should not be empty" :
name != "" && name != doSomething();
context MyMetaClass WARNING "Subpackage should not be set!" :
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/MyMetaClass.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/MyMetaClass.java
index 80f975c..62083a7 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/MyMetaClass.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/MyMetaClass.java
@@ -2,12 +2,11 @@
* <copyright>
* </copyright>
*
- * $Id: MyMetaClass.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: MyMetaClass.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackageMetaClass;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/MyMetaClassImpl.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/MyMetaClassImpl.java
index 49ffa27..118e73b 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/MyMetaClassImpl.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/MyMetaClassImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: MyMetaClassImpl.java,v 1.1 2008/10/21 07:32:52 jkohnlein Exp $
+ * $Id: MyMetaClassImpl.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.impl;
@@ -11,15 +11,11 @@ import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
-
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.xtend.typesystem.emf.check.model.test.MyEnum;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestFactoryImpl.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestFactoryImpl.java
index 22aeac2..6127056 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestFactoryImpl.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestFactoryImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestFactoryImpl.java,v 1.1 2008/10/21 07:32:52 jkohnlein Exp $
+ * $Id: TestFactoryImpl.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.impl;
@@ -11,11 +11,12 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-
import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.xtend.typesystem.emf.check.model.test.*;
+import org.eclipse.xtend.typesystem.emf.check.model.test.MyEnum;
+import org.eclipse.xtend.typesystem.emf.check.model.test.MyMetaClass;
+import org.eclipse.xtend.typesystem.emf.check.model.test.TestFactory;
+import org.eclipse.xtend.typesystem.emf.check.model.test.TestPackage;
/**
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestPackageImpl.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestPackageImpl.java
index be3014a..276616f 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestPackageImpl.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/impl/TestPackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestPackageImpl.java,v 1.1 2008/10/21 07:32:52 jkohnlein Exp $
+ * $Id: TestPackageImpl.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.impl;
@@ -12,7 +12,6 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.xtend.typesystem.emf.check.model.test.MyEnum;
import org.eclipse.xtend.typesystem.emf.check.model.test.MyMetaClass;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageFactoryImpl.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageFactoryImpl.java
index a38f9e5..2814647 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageFactoryImpl.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageFactoryImpl.java
@@ -2,18 +2,18 @@
* <copyright>
* </copyright>
*
- * $Id: SubpackageFactoryImpl.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: SubpackageFactoryImpl.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-
import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.*;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackageFactory;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackageMetaClass;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackagePackage;
/**
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageMetaClassImpl.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageMetaClassImpl.java
index 6e60704..55c7cba 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageMetaClassImpl.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackageMetaClassImpl.java
@@ -2,14 +2,12 @@
* <copyright>
* </copyright>
*
- * $Id: SubpackageMetaClassImpl.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: SubpackageMetaClassImpl.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackageMetaClass;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackagePackageImpl.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackagePackageImpl.java
index d8d47bd..f617dd1 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackagePackageImpl.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/impl/SubpackagePackageImpl.java
@@ -2,14 +2,13 @@
* <copyright>
* </copyright>
*
- * $Id: SubpackagePackageImpl.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: SubpackagePackageImpl.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
-
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.xtend.typesystem.emf.check.model.test.TestPackage;
import org.eclipse.xtend.typesystem.emf.check.model.test.impl.TestPackageImpl;
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageAdapterFactory.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageAdapterFactory.java
index 0d1e1ca..b79d88f 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageAdapterFactory.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageAdapterFactory.java
@@ -2,17 +2,16 @@
* <copyright>
* </copyright>
*
- * $Id: SubpackageAdapterFactory.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: SubpackageAdapterFactory.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.util;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.*;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackageMetaClass;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackagePackage;
/**
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageSwitch.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageSwitch.java
index 322b679..fd81280 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageSwitch.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/subpackage/util/SubpackageSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: SubpackageSwitch.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: SubpackageSwitch.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.util;
@@ -10,7 +10,8 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.*;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackageMetaClass;
+import org.eclipse.xtend.typesystem.emf.check.model.test.subpackage.SubpackagePackage;
/**
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestAdapterFactory.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestAdapterFactory.java
index 3f5226f..a151fc7 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestAdapterFactory.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestAdapterFactory.java
@@ -2,18 +2,17 @@
* <copyright>
* </copyright>
*
- * $Id: TestAdapterFactory.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: TestAdapterFactory.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.util;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtend.typesystem.emf.check.model.test.*;
+import org.eclipse.xtend.typesystem.emf.check.model.test.MyMetaClass;
+import org.eclipse.xtend.typesystem.emf.check.model.test.TestPackage;
/**
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestSwitch.java b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestSwitch.java
index 44baae9..2f3c91c 100644
--- a/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestSwitch.java
+++ b/plugins/org.eclipse.xtend.tests/src/org/eclipse/xtend/typesystem/emf/check/model/test/util/TestSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestSwitch.java,v 1.1 2008/10/21 07:32:51 jkohnlein Exp $
+ * $Id: TestSwitch.java,v 1.2 2008/11/26 12:46:25 dhubner Exp $
*/
package org.eclipse.xtend.typesystem.emf.check.model.test.util;
@@ -11,7 +11,8 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtend.typesystem.emf.check.model.test.*;
+import org.eclipse.xtend.typesystem.emf.check.model.test.MyMetaClass;
+import org.eclipse.xtend.typesystem.emf.check.model.test.TestPackage;
/**
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.xtend.typesystem.emf/src/org/eclipse/xtend/typesystem/emf/check/CheckEValidatorAdapter.java b/plugins/org.eclipse.xtend.typesystem.emf/src/org/eclipse/xtend/typesystem/emf/check/CheckEValidatorAdapter.java
index 1862745..6fee3ac 100644
--- a/plugins/org.eclipse.xtend.typesystem.emf/src/org/eclipse/xtend/typesystem/emf/check/CheckEValidatorAdapter.java
+++ b/plugins/org.eclipse.xtend.typesystem.emf/src/org/eclipse/xtend/typesystem/emf/check/CheckEValidatorAdapter.java
@@ -31,7 +31,6 @@ import org.eclipse.emf.mwe.core.issues.Issues;
import org.eclipse.emf.mwe.core.issues.IssuesImpl;
import org.eclipse.emf.mwe.core.issues.MWEDiagnostic;
import org.eclipse.emf.mwe.core.resources.ResourceLoader;
-import org.eclipse.emf.mwe.core.resources.ResourceLoaderDefaultImpl;
import org.eclipse.emf.mwe.core.resources.ResourceLoaderFactory;
import org.eclipse.emf.mwe.core.resources.ResourceLoaderImpl;
import org.eclipse.internal.xtend.xtend.ast.ExtensionFile;
diff --git a/plugins/org.eclipse.xtend.typesystem.uml2.ui/src/org/eclipse/xtend/typesystem/uml2/ui/Uml2MetamodelContributor.java b/plugins/org.eclipse.xtend.typesystem.uml2.ui/src/org/eclipse/xtend/typesystem/uml2/ui/Uml2MetamodelContributor.java
index 2625542..fdf16e9 100644
--- a/plugins/org.eclipse.xtend.typesystem.uml2.ui/src/org/eclipse/xtend/typesystem/uml2/ui/Uml2MetamodelContributor.java
+++ b/plugins/org.eclipse.xtend.typesystem.uml2.ui/src/org/eclipse/xtend/typesystem/uml2/ui/Uml2MetamodelContributor.java
@@ -24,10 +24,10 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.xtend.expression.TypeSystem;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.uml2.uml.Profile;
+import org.eclipse.xtend.expression.TypeSystem;
import org.eclipse.xtend.shared.ui.MetamodelContainer;
import org.eclipse.xtend.shared.ui.MetamodelContributor;
import org.eclipse.xtend.typesystem.MetaModel;
diff --git a/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/UML2Writer.java b/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/UML2Writer.java
index 29383e6..412c087 100644
--- a/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/UML2Writer.java
+++ b/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/UML2Writer.java
@@ -21,8 +21,8 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.emf.mwe.core.WorkflowContext;
import org.eclipse.emf.mwe.core.WorkflowComponentHelper;
+import org.eclipse.emf.mwe.core.WorkflowContext;
import org.eclipse.emf.mwe.core.issues.Issues;
import org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent;
import org.eclipse.emf.mwe.core.monitor.ProgressMonitor;
diff --git a/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/profile/ProfilingExtensions.java b/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/profile/ProfilingExtensions.java
index b28faa3..8acecd0 100644
--- a/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/profile/ProfilingExtensions.java
+++ b/plugins/org.eclipse.xtend.typesystem.uml2/src/org/eclipse/xtend/typesystem/uml2/profile/ProfilingExtensions.java
@@ -20,6 +20,9 @@ import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.ecore.xml.type.AnyType;
+import org.eclipse.emf.mwe.core.ConfigurationException;
+import org.eclipse.emf.mwe.core.issues.Issues;
+import org.eclipse.emf.mwe.core.issues.IssuesImpl;
import org.eclipse.uml2.uml.Element;
import org.eclipse.uml2.uml.Model;
import org.eclipse.uml2.uml.NamedElement;
@@ -27,9 +30,6 @@ import org.eclipse.uml2.uml.Profile;
import org.eclipse.uml2.uml.Stereotype;
import org.eclipse.uml2.uml.UMLPackage;
import org.eclipse.xtend.typesystem.uml2.Setup;
-import org.eclipse.emf.mwe.core.ConfigurationException;
-import org.eclipse.emf.mwe.core.issues.Issues;
-import org.eclipse.emf.mwe.core.issues.IssuesImpl;
/**
* Extensions for support of UML2 Profiles.
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java
index b469357..62a7db1 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/check/codeassist/CheckFastAnalyzer.java
@@ -33,7 +33,7 @@ import org.eclipse.xtend.typesystem.Type;
public class CheckFastAnalyzer {
private final static Pattern VALIDATE_PATTERN = Pattern
- .compile("context\\s+([\\[\\]:\\w\\]]+)\\s+[^;]*\\z");
+ .compile("context\\s+([\\[\\]:\\w\\]]+)(#|\\s+)[^;]*\\z");
private final static Pattern TYPEDECL_PATTERN = Pattern.compile("context\\s+[\\[\\]:\\w\\]]*\\z");
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/util/internal/icu/CharsetDetector.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/util/internal/icu/CharsetDetector.java
index 2b0a650..e0e9aed 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/util/internal/icu/CharsetDetector.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/util/internal/icu/CharsetDetector.java
@@ -13,14 +13,14 @@ The com.ibm.icu library is published under Eclipse Public License V1.0.
*******************************************************************************
*/
+import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
-import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.UnsupportedCharsetException;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.Arrays;
+import java.util.Collections;
import java.util.Iterator;
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/ast/Check.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/ast/Check.java
index 7ad8bb5..6fa9137 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/ast/Check.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/ast/Check.java
@@ -12,6 +12,7 @@
package org.eclipse.internal.xtend.xtend.ast;
import java.util.Collection;
+import java.util.Collections;
import java.util.Iterator;
import java.util.Set;
@@ -23,156 +24,197 @@ import org.eclipse.xtend.expression.AnalysationIssue;
import org.eclipse.xtend.expression.EvaluationException;
import org.eclipse.xtend.expression.ExecutionContext;
import org.eclipse.xtend.expression.Variable;
+import org.eclipse.xtend.typesystem.Property;
import org.eclipse.xtend.typesystem.Type;
public class Check extends SyntaxElement {
- private Identifier type;
-
- private boolean errorSeverity = true;
-
- private Expression msg;
-
- private Expression constraint;
-
- private Expression guard;
-
- public Check(final Identifier type, final Expression guard, final boolean errorSeverity,
- final Expression msg, final Expression constraint) {
- this.type = type;
- this.guard = guard;
- this.errorSeverity = errorSeverity;
- this.msg = msg;
- this.constraint = constraint;
- }
-
- public final void analyze(ExecutionContext ctx, final Set<AnalysationIssue> issues) {
- final Type toCheck = ctx.getTypeForName(type.getValue());
- if (toCheck == null) {
- issues
- .add(new AnalysationIssue(AnalysationIssue.TYPE_NOT_FOUND, "Type not found: " + type.getValue(),
- this));
- return;
- }
- ctx = ctx.cloneWithVariable(new Variable(ExecutionContext.IMPLICIT_VARIABLE, toCheck));
- if (guard != null) {
- Type guardType = null;
- try {
- guardType = guard.analyze(ctx, issues);
- } catch (RuntimeException ex) {
- ctx.handleRuntimeException(ex, this, null);
- }
- if (guardType == null)
- return;
- if (!guardType.equals(ctx.getBooleanType())) {
- issues.add(new AnalysationIssue(AnalysationIssue.TYPE_NOT_FOUND, "Boolean expected! (is "
- + guardType.getName() + ")", guard));
- }
- }
-
- Type constraintType = null;
- try {
- constraintType = constraint.analyze(ctx, issues);
- } catch (RuntimeException ex) {
- ctx.handleRuntimeException(ex, this, null);
- }
- if (constraintType == null)
- return;
- if (!constraintType.equals(ctx.getBooleanType())) {
- issues.add(new AnalysationIssue(AnalysationIssue.TYPE_NOT_FOUND, "Boolean expected! (is "
- + constraintType.getName() + ")", constraint));
- }
-
- try {
- msg.analyze(ctx, issues);
- } catch (RuntimeException ex) {
- ctx.handleRuntimeException(ex, this, null);
- }
- }
-
- /**
- * Executes the check.
- * @param ctx The current execution context
- * @param colToCheck Collection of objects on which the check is evaluated
- * @param issues Errors and warnings are reported to this instance
- * @param warnIfNothingChecked <code>true</code>: If this check is not evaluated for any elements an warning will be added to <tt>issues</tt>
- */
- public void validate(ExecutionContext ctx, final Collection<?> colToCheck, final Issues issues, boolean warnIfNothingChecked) {
- // get the type for which the check should be evaluated
- final Type typeToCheck = ctx.getTypeForName(type.getValue());
- // The type is unknown => exit with exception
- if (typeToCheck == null)
- throw new EvaluationException("Type not found : " + type.getValue(), this, ctx);
-
- // will be set to true when check is evaluated for any object
- boolean someObjectFound = false;
- for (final Iterator<?> iter = colToCheck.iterator(); iter.hasNext();) {
- final Object o = iter.next();
- // Object matches the type the check is declared for
- if (typeToCheck.isInstance(o)) {
- someObjectFound = true;
- try {
- // create a new execution context for evaluation
- ctx = ctx.cloneWithVariable(new Variable(ExecutionContext.IMPLICIT_VARIABLE, o));
- // check the guard condition; do not evaluate if guard is evaluated to false
- if (process(ctx)) {
- final Object result = constraint.evaluate(ctx);
-
- // check result must be of Boolean type
- if (result != null && !(result instanceof Boolean))
- throw new EvaluationException("Boolean expected! ( was " + result.getClass().getName()+")", this, ctx);
-
- // add issue if result of the check is false
- final Boolean r = (Boolean) result;
- if (Boolean.FALSE.equals(r)) {
- // get the error message
- final Object msgResult = msg.evaluate(ctx);
- String stringResult = "Message evaluation returned null";
- if (msgResult != null) {
- stringResult = msgResult.toString();
- }
- if (errorSeverity) {
- issues.addError(stringResult, o);
- } else {
- issues.addWarning(stringResult, o);
- }
- }
- }
- } catch (final NullPointerException npe) {
- final Object msgResult = msg.evaluate(ctx);
- String stringResult = "Message evaluation returned null";
- if (msgResult != null) {
- stringResult = msgResult.toString();
- }
- if (errorSeverity) {
- issues.addError(stringResult + " (NPE in constraint evaluation)", o);
- } else {
- issues.addWarning(stringResult + " (NPE in constraint evaluation)", o);
- }
- }
- }
- }
- if ( warnIfNothingChecked && (!someObjectFound) ) {
- issues.addWarning( "The constraint did not match any model elements. Context: "+type.toString()+", message: "+msg );
- }
- }
-
- private boolean process(final ExecutionContext ctx) {
- if (guard != null) {
- final Object result = guard.evaluate(ctx);
- return result instanceof Boolean && ((Boolean) result).booleanValue();
- }
- return true;
- }
-
- @Override
- public String toString() {
- return type+" "+msg;
- }
-
- public boolean isErrorCheck() {
- return this.errorSeverity;
- }
+ private Identifier type;
+
+ private boolean errorSeverity = true;
+
+ private Expression msg;
+
+ private Expression constraint;
+
+ private Expression guard;
+
+ private final Identifier feature;
+
+ public Check(final Identifier type, final Identifier f, final Expression guard, final boolean errorSeverity,
+ final Expression msg, final Expression constraint) {
+ this.type = type;
+ this.feature = f;
+ this.guard = guard;
+ this.errorSeverity = errorSeverity;
+ this.msg = msg;
+ this.constraint = constraint;
+ }
+
+ public final void analyze(ExecutionContext ctx, final Set<AnalysationIssue> issues) {
+ final Type toCheck = ctx.getTypeForName(type.getValue());
+ if (toCheck == null) {
+ issues
+ .add(new AnalysationIssue(AnalysationIssue.TYPE_NOT_FOUND, "Type not found: " + type.getValue(),
+ this));
+ return;
+ }
+ if (feature != null) {
+ Property property = toCheck.getProperty(feature.getValue());
+ if (property == null) {
+ issues.add(new AnalysationIssue(AnalysationIssue.FEATURE_NOT_FOUND, "Couldn't find property '"
+ + feature.getValue() + "' for type '" + type.getValue() + "'", this));
+ return;
+ }
+ }
+
+ ctx = ctx.cloneWithVariable(new Variable(ExecutionContext.IMPLICIT_VARIABLE, toCheck));
+ if (guard != null) {
+ Type guardType = null;
+ try {
+ guardType = guard.analyze(ctx, issues);
+ }
+ catch (RuntimeException ex) {
+ ctx.handleRuntimeException(ex, this, null);
+ }
+ if (guardType == null)
+ return;
+ if (!guardType.equals(ctx.getBooleanType())) {
+ issues.add(new AnalysationIssue(AnalysationIssue.TYPE_NOT_FOUND, "Boolean expected! (is "
+ + guardType.getName() + ")", guard));
+ }
+ }
+
+ Type constraintType = null;
+ try {
+ constraintType = constraint.analyze(ctx, issues);
+ }
+ catch (RuntimeException ex) {
+ ctx.handleRuntimeException(ex, this, null);
+ }
+ if (constraintType == null)
+ return;
+ if (!constraintType.equals(ctx.getBooleanType())) {
+ issues.add(new AnalysationIssue(AnalysationIssue.TYPE_NOT_FOUND, "Boolean expected! (is "
+ + constraintType.getName() + ")", constraint));
+ }
+
+ try {
+ msg.analyze(ctx, issues);
+ }
+ catch (RuntimeException ex) {
+ ctx.handleRuntimeException(ex, this, null);
+ }
+ }
+
+ /**
+ * Executes the check.
+ *
+ * @param ctx
+ * The current execution context
+ * @param colToCheck
+ * Collection of objects on which the check is evaluated
+ * @param issues
+ * Errors and warnings are reported to this instance
+ * @param warnIfNothingChecked
+ * <code>true</code>: If this check is not evaluated for any
+ * elements an warning will be added to <tt>issues</tt>
+ */
+ public void validate(ExecutionContext ctx, final Collection<?> colToCheck, final Issues issues,
+ boolean warnIfNothingChecked) {
+ // get the type for which the check should be evaluated
+ final Type typeToCheck = ctx.getTypeForName(type.getValue());
+ // The type is unknown => exit with exception
+ if (typeToCheck == null)
+ throw new EvaluationException("Type not found : " + type.getValue(), this, ctx);
+ // will be set to true when check is evaluated for any object
+ boolean someObjectFound = false;
+ for (final Iterator<?> iter = colToCheck.iterator(); iter.hasNext();) {
+ final Object o = iter.next();
+ // Object matches the type the check is declared for
+ if (typeToCheck.isInstance(o)) {
+ someObjectFound = true;
+ try {
+ // create a new execution context for evaluation
+ ctx = ctx.cloneWithVariable(new Variable(ExecutionContext.IMPLICIT_VARIABLE, o));
+ // check the guard condition; do not evaluate if guard is
+ // evaluated to false
+ if (process(ctx)) {
+ final Object result = constraint.evaluate(ctx);
+
+ // check result must be of Boolean type
+ if (result != null && !(result instanceof Boolean))
+ throw new EvaluationException("Boolean expected! ( was " + result.getClass().getName()
+ + ")", this, ctx);
+
+ // add issue if result of the check is false
+ final Boolean r = (Boolean) result;
+ if (Boolean.FALSE.equals(r)) {
+ // get the error message
+ final Object msgResult = msg.evaluate(ctx);
+ String stringResult = "Message evaluation returned null";
+ if (msgResult != null) {
+ stringResult = msgResult.toString();
+ }
+ // Involved property e.g. test::Bean#property
+ String propertyName = null;
+ if (feature != null) {
+ String featureValue = feature.getValue();
+ Property property = typeToCheck.getProperty(featureValue);
+ if (property == null) {
+ throw new EvaluationException("Property " + featureValue + " for Type "
+ + typeToCheck + " not found!", this, ctx);
+ }
+ else {
+ propertyName = property.getName();
+ }
+ }
+ if (errorSeverity) {
+ issues.addError(null, stringResult, o, propertyName, null, Collections.emptyList());
+ }
+ else {
+ issues.addWarning(null, stringResult, o, propertyName, null, Collections.emptyList());
+ }
+ }
+ }
+ }
+ catch (final NullPointerException npe) {
+ final Object msgResult = msg.evaluate(ctx);
+ String stringResult = "Message evaluation returned null";
+ if (msgResult != null) {
+ stringResult = msgResult.toString();
+ }
+ if (errorSeverity) {
+ issues.addError(stringResult + " (NPE in constraint evaluation)", o);
+ }
+ else {
+ issues.addWarning(stringResult + " (NPE in constraint evaluation)", o);
+ }
+ }
+ }
+ }
+ if (warnIfNothingChecked && (!someObjectFound)) {
+ issues.addWarning("The constraint did not match any model elements. Context: " + type.toString()
+ + ", message: " + msg);
+ }
+ }
+
+ private boolean process(final ExecutionContext ctx) {
+ if (guard != null) {
+ final Object result = guard.evaluate(ctx);
+ return result instanceof Boolean && ((Boolean) result).booleanValue();
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return type + " " + msg;
+ }
+
+ public boolean isErrorCheck() {
+ return this.errorSeverity;
+ }
public Expression getConstraint() {
return constraint;
@@ -189,6 +231,5 @@ public class Check extends SyntaxElement {
public Identifier getType() {
return type;
}
-
-
+
}
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/ExtensionFactory.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/ExtensionFactory.java
index 0139c84..7249e59 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/ExtensionFactory.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/ExtensionFactory.java
@@ -28,50 +28,55 @@ import org.eclipse.internal.xtend.xtend.ast.JavaExtensionStatement;
public class ExtensionFactory extends ExpressionFactory {
- public ExtensionFactory() {
- super("nofile");
- }
+ public ExtensionFactory() {
+ super("nofile");
+ }
- public ExtensionFactory(final String string) {
- super(string);
- }
+ public ExtensionFactory(final String string) {
+ super(string);
+ }
- public ExtensionFile createExtensionFile(final List<ImportStatement> nsimports, final List<ImportStatement> extimports, final List<Extension> extensions, final List<Around> arounds, List<Check> checks) {
- return (ExtensionFile) handle(new ExtensionFile(nonNull(nsimports), nonNull(extimports), nonNull(extensions), nonNull(arounds),nonNull(checks)));
- }
+ public ExtensionFile createExtensionFile(final List<ImportStatement> nsimports,
+ final List<ImportStatement> extimports, final List<Extension> extensions, final List<Around> arounds,
+ List<Check> checks) {
+ return (ExtensionFile) handle(new ExtensionFile(nonNull(nsimports), nonNull(extimports), nonNull(extensions),
+ nonNull(arounds), nonNull(checks)));
+ }
public ImportStatement createNsImport(final Identifier t) {
- return (ImportStatement) handle(new ImportStatement(t, false));
- }
+ return (ImportStatement) handle(new ImportStatement(t, false));
+ }
- public ImportStatement createExtensionFileImport(final Identifier t, final Identifier exported) {
- return (ImportStatement) handle(new ImportStatement( t, exported != null));
- }
+ public ImportStatement createExtensionFileImport(final Identifier t, final Identifier exported) {
+ return (ImportStatement) handle(new ImportStatement(t, exported != null));
+ }
- public JavaExtensionStatement createJavaExtension(final Identifier name, final Identifier type,
- final List<DeclaredParameter> params, final Identifier typeName, final Identifier methodName, final List<Identifier> javaParamTypes, final Identifier cached, final Identifier priv) {
- return (JavaExtensionStatement) handle(new JavaExtensionStatement(name,
- nonNull(params), type, typeName, methodName, nonNull(javaParamTypes), cached != null, priv != null));
- }
+ public JavaExtensionStatement createJavaExtension(final Identifier name, final Identifier type,
+ final List<DeclaredParameter> params, final Identifier typeName, final Identifier methodName,
+ final List<Identifier> javaParamTypes, final Identifier cached, final Identifier priv) {
+ return (JavaExtensionStatement) handle(new JavaExtensionStatement(name, nonNull(params), type, typeName,
+ methodName, nonNull(javaParamTypes), cached != null, priv != null));
+ }
- public ExpressionExtensionStatement createExpressionExtension(final Identifier name,
- final Identifier returnType, final List<DeclaredParameter> params, final Expression expr, final Identifier cached, final Identifier priv) {
- return (ExpressionExtensionStatement) handle(new ExpressionExtensionStatement(
- name, returnType, nonNull(params), expr, cached != null, priv != null));
- }
+ public ExpressionExtensionStatement createExpressionExtension(final Identifier name, final Identifier returnType,
+ final List<DeclaredParameter> params, final Expression expr, final Identifier cached, final Identifier priv) {
+ return (ExpressionExtensionStatement) handle(new ExpressionExtensionStatement(name, returnType,
+ nonNull(params), expr, cached != null, priv != null));
+ }
- public Extension createCreateExtension(final Identifier create, final Identifier returnType,
- final Identifier rtn, final Identifier name, final List<DeclaredParameter> params, final Expression expr, final Identifier priv) {
- return (CreateExtensionStatement) handle(new CreateExtensionStatement(
- name, returnType, rtn!=null ? rtn : null, nonNull(params), expr, priv != null));
- }
+ public Extension createCreateExtension(final Identifier create, final Identifier returnType, final Identifier rtn,
+ final Identifier name, final List<DeclaredParameter> params, final Expression expr, final Identifier priv) {
+ return (CreateExtensionStatement) handle(new CreateExtensionStatement(name, returnType, rtn != null ? rtn
+ : null, nonNull(params), expr, priv != null));
+ }
- public Around createAround( Identifier pointcut, List<DeclaredParameter> p, boolean wildparams, Expression expr) {
- return (Around) handle(new Around(pointcut, nonNull(p),wildparams,expr));
+ public Around createAround(Identifier pointcut, List<DeclaredParameter> p, boolean wildparams, Expression expr) {
+ return (Around) handle(new Around(pointcut, nonNull(p), wildparams, expr));
}
- public Check createCheck(Identifier t, Expression guard, boolean errorSev, Expression msg, Expression expr) {
- return (Check) handle(new Check(t,guard,errorSev,msg,expr));
+ public Check createCheck(Identifier t, Identifier f, Expression guard, boolean errorSev, Expression msg,
+ Expression expr) {
+ return (Check) handle(new Check(t, f, guard, errorSev, msg, expr));
}
}
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/GeneratorLauncher.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/GeneratorLauncher.java
new file mode 100644
index 0000000..06571dd
--- /dev/null
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/GeneratorLauncher.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ *******************************************************************************/
+package org.eclipse.internal.xtend.xtend.parser;
+
+import java.io.File;
+
+
+/**
+ * @author Dennis Hübner - Initial contribution and API
+ *
+ */
+public class GeneratorLauncher {
+
+ /**
+ * @param args
+ */
+ @SuppressWarnings("unused")
+ public static void main(String[] args) {
+ String currentRoot = new File("").getAbsolutePath();
+ String pack = "org/eclipse/internal/xtend/xtend/parser";
+ String outputFullPath = currentRoot + "/src/" + pack;
+ String grammarFullPath = GeneratorLauncher.class.getClassLoader().getResource(pack + "/Xtend.g").getFile();
+// org.antlr.Tool antlr = new org.antlr.Tool(new String[] { "-report", "-o", outputFullPath, grammarFullPath });
+// antlr.process();
+ }
+
+}
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.g b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.g
index dbb04d2..b4b5ce0 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.g
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.g
@@ -58,9 +58,9 @@ extImport returns [ImportStatement r]:
;
check returns [Check ext]:
- 'context' t=type ('if' guard=expression)? (sev1='ERROR'|'WARNING') msg=expression ':'
+ 'context' t=type('#'f=identifier)? ('if' guard=expression)? (sev1='ERROR'|'WARNING') msg=expression ':'
expr=expression ';'
- {ext = factory.createCheck(t, guard, sev1!=null, msg, expr);}
+ {ext = factory.createCheck(t, f, guard, sev1!=null, msg, expr);}
;
around returns [Around r] :
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.tokens b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.tokens
index 8e63110..e42e20e 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.tokens
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend.tokens
@@ -12,67 +12,68 @@ COMMENT=14
StringLiteral=4
LINE_COMMENT=15
XPAND_TAG_CLOSE=17
-'<'=60
-'exists'=75
-'>'=59
+'<'=61
+'exists'=76
+'>'=60
'context'=22
-'case'=49
-'let'=41
-'else'=46
-'selectFirst'=73
-'-'=62
+'case'=50
+'let'=42
+'else'=47
+'selectFirst'=74
+'-'=63
'reexport'=21
-'?'=44
-'!='=56
-'List'=39
-'>='=57
-'GLOBALVAR'=65
-'||'=52
-'<='=58
-'typeSelect'=70
-'='=42
-'JAVA'=35
-'forAll'=78
-'ERROR'=24
-'collect'=71
-'::'=32
-'around'=27
-'{'=48
-'then'=45
-':'=26
-'new'=66
-'.'=36
-'*'=30
-'sortBy'=77
-'Set'=40
-'notExists'=76
-'}'=51
-'->'=43
-'create'=37
+'?'=45
+'!='=57
+'List'=40
+'>='=58
+'GLOBALVAR'=66
+'||'=53
+'<='=59
+'typeSelect'=71
+'JAVA'=36
+'='=43
+'forAll'=79
+'ERROR'=25
+'collect'=72
+'::'=33
+'around'=28
+'{'=49
+'then'=46
+'new'=67
+':'=27
+'#'=23
+'.'=37
+'*'=31
+'sortBy'=78
+'Set'=41
+'notExists'=77
+'}'=52
+'->'=44
+'create'=38
'extension'=20
';'=19
-']'=81
-'true'=68
-'default'=50
-'false'=67
-','=29
-'&&'=53
-'['=80
-'/'=63
-'Collection'=38
-'implies'=54
-'reject'=74
-'private'=33
-'|'=79
-')'=31
-'=='=55
+']'=82
+'true'=69
+'default'=51
+'false'=68
+','=30
+'&&'=54
+'['=81
+'/'=64
+'Collection'=39
+'implies'=55
+'reject'=75
+'private'=34
+'|'=80
+')'=32
+'=='=56
'import'=18
-'if'=23
-'!'=64
-'('=28
-'switch'=47
-'select'=72
-'cached'=34
-'null'=69
-'+'=61
-'WARNING'=25
+'if'=24
+'!'=65
+'('=29
+'switch'=48
+'select'=73
+'cached'=35
+'null'=70
+'+'=62
+'WARNING'=26
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendLexer.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendLexer.java
index dfd8d6c..82c2eb2 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendLexer.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendLexer.java
@@ -1,14 +1,4 @@
-/*******************************************************************************
- * Copyright (c) 2005, 2007 committers of openArchitectureWare and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * committers of openArchitectureWare - initial API and implementation
- *******************************************************************************/
-// $ANTLR 3.0 ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g 2007-08-13 15:52:06
+// $ANTLR 3.0 /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g 2008-11-24 17:55:04
package org.eclipse.internal.xtend.xtend.parser;
@@ -89,10 +79,11 @@ public class XtendLexer extends Lexer {
public static final int EOF=-1;
public static final int T67=67;
public static final int T47=47;
- public static final int Tokens=82;
+ public static final int Tokens=83;
public static final int T53=53;
public static final int T60=60;
public static final int T31=31;
+ public static final int T82=82;
public static final int OctalEscape=9;
public static final int T49=49;
public static final int T27=27;
@@ -103,14 +94,14 @@ public class XtendLexer extends Lexer {
public XtendLexer(CharStream input) {
super(input);
}
- public String getGrammarFileName() { return "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g"; }
+ public String getGrammarFileName() { return "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g"; }
// $ANTLR start T18
public void mT18() throws RecognitionException {
try {
int _type = T18;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:13:7: ( 'import' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:13:7: 'import'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:13:7: ( 'import' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:13:7: 'import'
{
match("import");
@@ -128,8 +119,8 @@ public class XtendLexer extends Lexer {
public void mT19() throws RecognitionException {
try {
int _type = T19;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:14:7: ( ';' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:14:7: ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:14:7: ( ';' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:14:7: ';'
{
match(';');
@@ -146,8 +137,8 @@ public class XtendLexer extends Lexer {
public void mT20() throws RecognitionException {
try {
int _type = T20;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:15:7: ( 'extension' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:15:7: 'extension'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:15:7: ( 'extension' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:15:7: 'extension'
{
match("extension");
@@ -165,8 +156,8 @@ public class XtendLexer extends Lexer {
public void mT21() throws RecognitionException {
try {
int _type = T21;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:16:7: ( 'reexport' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:16:7: 'reexport'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:16:7: ( 'reexport' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:16:7: 'reexport'
{
match("reexport");
@@ -184,8 +175,8 @@ public class XtendLexer extends Lexer {
public void mT22() throws RecognitionException {
try {
int _type = T22;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:17:7: ( 'context' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:17:7: 'context'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:17:7: ( 'context' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:17:7: 'context'
{
match("context");
@@ -203,11 +194,10 @@ public class XtendLexer extends Lexer {
public void mT23() throws RecognitionException {
try {
int _type = T23;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:18:7: ( 'if' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:18:7: 'if'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:18:7: ( '#' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:18:7: '#'
{
- match("if");
-
+ match('#');
}
@@ -222,10 +212,10 @@ public class XtendLexer extends Lexer {
public void mT24() throws RecognitionException {
try {
int _type = T24;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:19:7: ( 'ERROR' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:19:7: 'ERROR'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:19:7: ( 'if' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:19:7: 'if'
{
- match("ERROR");
+ match("if");
}
@@ -241,10 +231,10 @@ public class XtendLexer extends Lexer {
public void mT25() throws RecognitionException {
try {
int _type = T25;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:20:7: ( 'WARNING' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:20:7: 'WARNING'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:20:7: ( 'ERROR' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:20:7: 'ERROR'
{
- match("WARNING");
+ match("ERROR");
}
@@ -260,10 +250,11 @@ public class XtendLexer extends Lexer {
public void mT26() throws RecognitionException {
try {
int _type = T26;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:21:7: ( ':' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:21:7: ':'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:21:7: ( 'WARNING' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:21:7: 'WARNING'
{
- match(':');
+ match("WARNING");
+
}
@@ -278,11 +269,10 @@ public class XtendLexer extends Lexer {
public void mT27() throws RecognitionException {
try {
int _type = T27;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:22:7: ( 'around' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:22:7: 'around'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:22:7: ( ':' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:22:7: ':'
{
- match("around");
-
+ match(':');
}
@@ -297,10 +287,11 @@ public class XtendLexer extends Lexer {
public void mT28() throws RecognitionException {
try {
int _type = T28;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:23:7: ( '(' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:23:7: '('
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:23:7: ( 'around' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:23:7: 'around'
{
- match('(');
+ match("around");
+
}
@@ -315,10 +306,10 @@ public class XtendLexer extends Lexer {
public void mT29() throws RecognitionException {
try {
int _type = T29;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:24:7: ( ',' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:24:7: ','
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:24:7: ( '(' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:24:7: '('
{
- match(',');
+ match('(');
}
@@ -333,10 +324,10 @@ public class XtendLexer extends Lexer {
public void mT30() throws RecognitionException {
try {
int _type = T30;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:25:7: ( '*' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:25:7: '*'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:25:7: ( ',' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:25:7: ','
{
- match('*');
+ match(',');
}
@@ -351,10 +342,10 @@ public class XtendLexer extends Lexer {
public void mT31() throws RecognitionException {
try {
int _type = T31;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:26:7: ( ')' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:26:7: ')'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:26:7: ( '*' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:26:7: '*'
{
- match(')');
+ match('*');
}
@@ -369,11 +360,10 @@ public class XtendLexer extends Lexer {
public void mT32() throws RecognitionException {
try {
int _type = T32;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:27:7: ( '::' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:27:7: '::'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:27:7: ( ')' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:27:7: ')'
{
- match("::");
-
+ match(')');
}
@@ -388,10 +378,10 @@ public class XtendLexer extends Lexer {
public void mT33() throws RecognitionException {
try {
int _type = T33;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:28:7: ( 'private' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:28:7: 'private'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:28:7: ( '::' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:28:7: '::'
{
- match("private");
+ match("::");
}
@@ -407,10 +397,10 @@ public class XtendLexer extends Lexer {
public void mT34() throws RecognitionException {
try {
int _type = T34;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:29:7: ( 'cached' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:29:7: 'cached'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:29:7: ( 'private' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:29:7: 'private'
{
- match("cached");
+ match("private");
}
@@ -426,10 +416,10 @@ public class XtendLexer extends Lexer {
public void mT35() throws RecognitionException {
try {
int _type = T35;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:30:7: ( 'JAVA' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:30:7: 'JAVA'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:30:7: ( 'cached' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:30:7: 'cached'
{
- match("JAVA");
+ match("cached");
}
@@ -445,10 +435,11 @@ public class XtendLexer extends Lexer {
public void mT36() throws RecognitionException {
try {
int _type = T36;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:31:7: ( '.' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:31:7: '.'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:31:7: ( 'JAVA' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:31:7: 'JAVA'
{
- match('.');
+ match("JAVA");
+
}
@@ -463,11 +454,10 @@ public class XtendLexer extends Lexer {
public void mT37() throws RecognitionException {
try {
int _type = T37;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:32:7: ( 'create' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:32:7: 'create'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:32:7: ( '.' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:32:7: '.'
{
- match("create");
-
+ match('.');
}
@@ -482,10 +472,10 @@ public class XtendLexer extends Lexer {
public void mT38() throws RecognitionException {
try {
int _type = T38;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:33:7: ( 'Collection' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:33:7: 'Collection'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:33:7: ( 'create' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:33:7: 'create'
{
- match("Collection");
+ match("create");
}
@@ -501,10 +491,10 @@ public class XtendLexer extends Lexer {
public void mT39() throws RecognitionException {
try {
int _type = T39;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:34:7: ( 'List' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:34:7: 'List'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:34:7: ( 'Collection' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:34:7: 'Collection'
{
- match("List");
+ match("Collection");
}
@@ -520,10 +510,10 @@ public class XtendLexer extends Lexer {
public void mT40() throws RecognitionException {
try {
int _type = T40;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:35:7: ( 'Set' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:35:7: 'Set'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:35:7: ( 'List' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:35:7: 'List'
{
- match("Set");
+ match("List");
}
@@ -539,10 +529,10 @@ public class XtendLexer extends Lexer {
public void mT41() throws RecognitionException {
try {
int _type = T41;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:36:7: ( 'let' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:36:7: 'let'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:36:7: ( 'Set' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:36:7: 'Set'
{
- match("let");
+ match("Set");
}
@@ -558,10 +548,11 @@ public class XtendLexer extends Lexer {
public void mT42() throws RecognitionException {
try {
int _type = T42;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:37:7: ( '=' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:37:7: '='
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:37:7: ( 'let' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:37:7: 'let'
{
- match('=');
+ match("let");
+
}
@@ -576,11 +567,10 @@ public class XtendLexer extends Lexer {
public void mT43() throws RecognitionException {
try {
int _type = T43;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:38:7: ( '->' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:38:7: '->'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:38:7: ( '=' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:38:7: '='
{
- match("->");
-
+ match('=');
}
@@ -595,10 +585,11 @@ public class XtendLexer extends Lexer {
public void mT44() throws RecognitionException {
try {
int _type = T44;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:39:7: ( '?' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:39:7: '?'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:39:7: ( '->' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:39:7: '->'
{
- match('?');
+ match("->");
+
}
@@ -613,11 +604,10 @@ public class XtendLexer extends Lexer {
public void mT45() throws RecognitionException {
try {
int _type = T45;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:40:7: ( 'then' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:40:7: 'then'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:40:7: ( '?' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:40:7: '?'
{
- match("then");
-
+ match('?');
}
@@ -632,10 +622,10 @@ public class XtendLexer extends Lexer {
public void mT46() throws RecognitionException {
try {
int _type = T46;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:41:7: ( 'else' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:41:7: 'else'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:41:7: ( 'then' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:41:7: 'then'
{
- match("else");
+ match("then");
}
@@ -651,10 +641,10 @@ public class XtendLexer extends Lexer {
public void mT47() throws RecognitionException {
try {
int _type = T47;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:42:7: ( 'switch' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:42:7: 'switch'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:42:7: ( 'else' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:42:7: 'else'
{
- match("switch");
+ match("else");
}
@@ -670,10 +660,11 @@ public class XtendLexer extends Lexer {
public void mT48() throws RecognitionException {
try {
int _type = T48;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:43:7: ( '{' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:43:7: '{'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:43:7: ( 'switch' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:43:7: 'switch'
{
- match('{');
+ match("switch");
+
}
@@ -688,11 +679,10 @@ public class XtendLexer extends Lexer {
public void mT49() throws RecognitionException {
try {
int _type = T49;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:44:7: ( 'case' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:44:7: 'case'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:44:7: ( '{' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:44:7: '{'
{
- match("case");
-
+ match('{');
}
@@ -707,10 +697,10 @@ public class XtendLexer extends Lexer {
public void mT50() throws RecognitionException {
try {
int _type = T50;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:45:7: ( 'default' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:45:7: 'default'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:45:7: ( 'case' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:45:7: 'case'
{
- match("default");
+ match("case");
}
@@ -726,10 +716,11 @@ public class XtendLexer extends Lexer {
public void mT51() throws RecognitionException {
try {
int _type = T51;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:46:7: ( '}' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:46:7: '}'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:46:7: ( 'default' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:46:7: 'default'
{
- match('}');
+ match("default");
+
}
@@ -744,11 +735,10 @@ public class XtendLexer extends Lexer {
public void mT52() throws RecognitionException {
try {
int _type = T52;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:47:7: ( '||' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:47:7: '||'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:47:7: ( '}' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:47:7: '}'
{
- match("||");
-
+ match('}');
}
@@ -763,10 +753,10 @@ public class XtendLexer extends Lexer {
public void mT53() throws RecognitionException {
try {
int _type = T53;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:48:7: ( '&&' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:48:7: '&&'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:48:7: ( '||' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:48:7: '||'
{
- match("&&");
+ match("||");
}
@@ -782,10 +772,10 @@ public class XtendLexer extends Lexer {
public void mT54() throws RecognitionException {
try {
int _type = T54;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:49:7: ( 'implies' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:49:7: 'implies'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:49:7: ( '&&' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:49:7: '&&'
{
- match("implies");
+ match("&&");
}
@@ -801,10 +791,10 @@ public class XtendLexer extends Lexer {
public void mT55() throws RecognitionException {
try {
int _type = T55;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:50:7: ( '==' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:50:7: '=='
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:50:7: ( 'implies' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:50:7: 'implies'
{
- match("==");
+ match("implies");
}
@@ -820,10 +810,10 @@ public class XtendLexer extends Lexer {
public void mT56() throws RecognitionException {
try {
int _type = T56;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:51:7: ( '!=' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:51:7: '!='
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:51:7: ( '==' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:51:7: '=='
{
- match("!=");
+ match("==");
}
@@ -839,10 +829,10 @@ public class XtendLexer extends Lexer {
public void mT57() throws RecognitionException {
try {
int _type = T57;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:52:7: ( '>=' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:52:7: '>='
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:52:7: ( '!=' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:52:7: '!='
{
- match(">=");
+ match("!=");
}
@@ -858,10 +848,10 @@ public class XtendLexer extends Lexer {
public void mT58() throws RecognitionException {
try {
int _type = T58;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:53:7: ( '<=' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:53:7: '<='
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:53:7: ( '>=' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:53:7: '>='
{
- match("<=");
+ match(">=");
}
@@ -877,10 +867,11 @@ public class XtendLexer extends Lexer {
public void mT59() throws RecognitionException {
try {
int _type = T59;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:54:7: ( '>' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:54:7: '>'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:54:7: ( '<=' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:54:7: '<='
{
- match('>');
+ match("<=");
+
}
@@ -895,10 +886,10 @@ public class XtendLexer extends Lexer {
public void mT60() throws RecognitionException {
try {
int _type = T60;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:55:7: ( '<' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:55:7: '<'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:55:7: ( '>' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:55:7: '>'
{
- match('<');
+ match('>');
}
@@ -913,10 +904,10 @@ public class XtendLexer extends Lexer {
public void mT61() throws RecognitionException {
try {
int _type = T61;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:56:7: ( '+' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:56:7: '+'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:56:7: ( '<' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:56:7: '<'
{
- match('+');
+ match('<');
}
@@ -931,10 +922,10 @@ public class XtendLexer extends Lexer {
public void mT62() throws RecognitionException {
try {
int _type = T62;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:57:7: ( '-' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:57:7: '-'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:57:7: ( '+' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:57:7: '+'
{
- match('-');
+ match('+');
}
@@ -949,10 +940,10 @@ public class XtendLexer extends Lexer {
public void mT63() throws RecognitionException {
try {
int _type = T63;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:58:7: ( '/' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:58:7: '/'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:58:7: ( '-' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:58:7: '-'
{
- match('/');
+ match('-');
}
@@ -967,10 +958,10 @@ public class XtendLexer extends Lexer {
public void mT64() throws RecognitionException {
try {
int _type = T64;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:59:7: ( '!' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:59:7: '!'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:59:7: ( '/' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:59:7: '/'
{
- match('!');
+ match('/');
}
@@ -985,11 +976,10 @@ public class XtendLexer extends Lexer {
public void mT65() throws RecognitionException {
try {
int _type = T65;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:60:7: ( 'GLOBALVAR' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:60:7: 'GLOBALVAR'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:60:7: ( '!' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:60:7: '!'
{
- match("GLOBALVAR");
-
+ match('!');
}
@@ -1004,10 +994,10 @@ public class XtendLexer extends Lexer {
public void mT66() throws RecognitionException {
try {
int _type = T66;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:7: ( 'new' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:7: 'new'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:7: ( 'GLOBALVAR' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:7: 'GLOBALVAR'
{
- match("new");
+ match("GLOBALVAR");
}
@@ -1023,10 +1013,10 @@ public class XtendLexer extends Lexer {
public void mT67() throws RecognitionException {
try {
int _type = T67;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:62:7: ( 'false' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:62:7: 'false'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:62:7: ( 'new' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:62:7: 'new'
{
- match("false");
+ match("new");
}
@@ -1042,10 +1032,10 @@ public class XtendLexer extends Lexer {
public void mT68() throws RecognitionException {
try {
int _type = T68;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:63:7: ( 'true' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:63:7: 'true'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:63:7: ( 'false' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:63:7: 'false'
{
- match("true");
+ match("false");
}
@@ -1061,10 +1051,10 @@ public class XtendLexer extends Lexer {
public void mT69() throws RecognitionException {
try {
int _type = T69;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:64:7: ( 'null' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:64:7: 'null'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:64:7: ( 'true' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:64:7: 'true'
{
- match("null");
+ match("true");
}
@@ -1080,10 +1070,10 @@ public class XtendLexer extends Lexer {
public void mT70() throws RecognitionException {
try {
int _type = T70;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:65:7: ( 'typeSelect' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:65:7: 'typeSelect'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:65:7: ( 'null' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:65:7: 'null'
{
- match("typeSelect");
+ match("null");
}
@@ -1099,10 +1089,10 @@ public class XtendLexer extends Lexer {
public void mT71() throws RecognitionException {
try {
int _type = T71;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:66:7: ( 'collect' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:66:7: 'collect'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:66:7: ( 'typeSelect' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:66:7: 'typeSelect'
{
- match("collect");
+ match("typeSelect");
}
@@ -1118,10 +1108,10 @@ public class XtendLexer extends Lexer {
public void mT72() throws RecognitionException {
try {
int _type = T72;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:7: ( 'select' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:7: 'select'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:7: ( 'collect' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:7: 'collect'
{
- match("select");
+ match("collect");
}
@@ -1137,10 +1127,10 @@ public class XtendLexer extends Lexer {
public void mT73() throws RecognitionException {
try {
int _type = T73;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:68:7: ( 'selectFirst' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:68:7: 'selectFirst'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:68:7: ( 'select' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:68:7: 'select'
{
- match("selectFirst");
+ match("select");
}
@@ -1156,10 +1146,10 @@ public class XtendLexer extends Lexer {
public void mT74() throws RecognitionException {
try {
int _type = T74;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:69:7: ( 'reject' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:69:7: 'reject'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:69:7: ( 'selectFirst' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:69:7: 'selectFirst'
{
- match("reject");
+ match("selectFirst");
}
@@ -1175,10 +1165,10 @@ public class XtendLexer extends Lexer {
public void mT75() throws RecognitionException {
try {
int _type = T75;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:70:7: ( 'exists' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:70:7: 'exists'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:70:7: ( 'reject' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:70:7: 'reject'
{
- match("exists");
+ match("reject");
}
@@ -1194,10 +1184,10 @@ public class XtendLexer extends Lexer {
public void mT76() throws RecognitionException {
try {
int _type = T76;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:71:7: ( 'notExists' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:71:7: 'notExists'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:71:7: ( 'exists' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:71:7: 'exists'
{
- match("notExists");
+ match("exists");
}
@@ -1213,10 +1203,10 @@ public class XtendLexer extends Lexer {
public void mT77() throws RecognitionException {
try {
int _type = T77;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:72:7: ( 'sortBy' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:72:7: 'sortBy'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:72:7: ( 'notExists' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:72:7: 'notExists'
{
- match("sortBy");
+ match("notExists");
}
@@ -1232,10 +1222,10 @@ public class XtendLexer extends Lexer {
public void mT78() throws RecognitionException {
try {
int _type = T78;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:73:7: ( 'forAll' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:73:7: 'forAll'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:73:7: ( 'sortBy' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:73:7: 'sortBy'
{
- match("forAll");
+ match("sortBy");
}
@@ -1251,10 +1241,11 @@ public class XtendLexer extends Lexer {
public void mT79() throws RecognitionException {
try {
int _type = T79;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:74:7: ( '|' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:74:7: '|'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:74:7: ( 'forAll' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:74:7: 'forAll'
{
- match('|');
+ match("forAll");
+
}
@@ -1269,10 +1260,10 @@ public class XtendLexer extends Lexer {
public void mT80() throws RecognitionException {
try {
int _type = T80;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:75:7: ( '[' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:75:7: '['
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:75:7: ( '|' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:75:7: '|'
{
- match('[');
+ match('|');
}
@@ -1287,10 +1278,10 @@ public class XtendLexer extends Lexer {
public void mT81() throws RecognitionException {
try {
int _type = T81;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:76:7: ( ']' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:76:7: ']'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:76:7: ( '[' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:76:7: '['
{
- match(']');
+ match('[');
}
@@ -1301,14 +1292,32 @@ public class XtendLexer extends Lexer {
}
// $ANTLR end T81
+ // $ANTLR start T82
+ public void mT82() throws RecognitionException {
+ try {
+ int _type = T82;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:77:7: ( ']' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:77:7: ']'
+ {
+ match(']');
+
+ }
+
+ this.type = _type;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end T82
+
// $ANTLR start IntLiteral
public void mIntLiteral() throws RecognitionException {
try {
int _type = IntLiteral;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:14: ( ( '0' | '1' .. '9' ( '0' .. '9' )* ) )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:14: ( '0' | '1' .. '9' ( '0' .. '9' )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:14: ( ( '0' | '1' .. '9' ( '0' .. '9' )* ) )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:14: ( '0' | '1' .. '9' ( '0' .. '9' )* )
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:14: ( '0' | '1' .. '9' ( '0' .. '9' )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:14: ( '0' | '1' .. '9' ( '0' .. '9' )* )
int alt2=2;
int LA2_0 = input.LA(1);
@@ -1326,17 +1335,17 @@ public class XtendLexer extends Lexer {
}
switch (alt2) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:15: '0'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:15: '0'
{
match('0');
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:21: '1' .. '9' ( '0' .. '9' )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:21: '1' .. '9' ( '0' .. '9' )*
{
matchRange('1','9');
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:30: ( '0' .. '9' )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:30: ( '0' .. '9' )*
loop1:
do {
int alt1=2;
@@ -1349,7 +1358,7 @@ public class XtendLexer extends Lexer {
switch (alt1) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:284:30: '0' .. '9'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:284:30: '0' .. '9'
{
matchRange('0','9');
@@ -1381,7 +1390,7 @@ public class XtendLexer extends Lexer {
public void mStringLiteral() throws RecognitionException {
try {
int _type = StringLiteral;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:287:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )* '\\'' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:287:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' | '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )* '\\'' )
int alt5=2;
int LA5_0 = input.LA(1);
@@ -1399,10 +1408,10 @@ public class XtendLexer extends Lexer {
}
switch (alt5) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:287:8: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:287:8: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:287:12: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:287:12: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
loop3:
do {
int alt3=3;
@@ -1418,14 +1427,14 @@ public class XtendLexer extends Lexer {
switch (alt3) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:287:14: EscapeSequence
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:287:14: EscapeSequence
{
mEscapeSequence();
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:287:31: ~ ( '\\\\' | '\"' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:287:31: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -1451,10 +1460,10 @@ public class XtendLexer extends Lexer {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:288:8: '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )* '\\''
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:288:8: '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )* '\\''
{
match('\'');
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:288:13: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:288:13: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )*
loop4:
do {
int alt4=3;
@@ -1470,14 +1479,14 @@ public class XtendLexer extends Lexer {
switch (alt4) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:288:15: EscapeSequence
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:288:15: EscapeSequence
{
mEscapeSequence();
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:288:32: ~ ( '\\'' | '\\\\' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:288:32: ~ ( '\\'' | '\\\\' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -1514,7 +1523,7 @@ public class XtendLexer extends Lexer {
// $ANTLR start EscapeSequence
public void mEscapeSequence() throws RecognitionException {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:293:9: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:293:9: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape )
int alt6=3;
int LA6_0 = input.LA(1);
@@ -1565,7 +1574,7 @@ public class XtendLexer extends Lexer {
}
switch (alt6) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:293:9: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:293:9: '\\\\' ( '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' ) {
@@ -1582,14 +1591,14 @@ public class XtendLexer extends Lexer {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:294:9: UnicodeEscape
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:294:9: UnicodeEscape
{
mUnicodeEscape();
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:295:9: OctalEscape
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:295:9: OctalEscape
{
mOctalEscape();
@@ -1606,7 +1615,7 @@ public class XtendLexer extends Lexer {
// $ANTLR start OctalEscape
public void mOctalEscape() throws RecognitionException {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:9: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:9: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
int alt7=3;
int LA7_0 = input.LA(1);
@@ -1652,25 +1661,25 @@ public class XtendLexer extends Lexer {
}
switch (alt7) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\');
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:14: ( '0' .. '3' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:15: '0' .. '3'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:14: ( '0' .. '3' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:15: '0' .. '3'
{
matchRange('0','3');
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:25: ( '0' .. '7' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:26: '0' .. '7'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:25: ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:26: '0' .. '7'
{
matchRange('0','7');
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:36: ( '0' .. '7' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:300:37: '0' .. '7'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:36: ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:300:37: '0' .. '7'
{
matchRange('0','7');
@@ -1680,18 +1689,18 @@ public class XtendLexer extends Lexer {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:301:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:301:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\');
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:301:14: ( '0' .. '7' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:301:15: '0' .. '7'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:301:14: ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:301:15: '0' .. '7'
{
matchRange('0','7');
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:301:25: ( '0' .. '7' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:301:26: '0' .. '7'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:301:25: ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:301:26: '0' .. '7'
{
matchRange('0','7');
@@ -1701,11 +1710,11 @@ public class XtendLexer extends Lexer {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:302:9: '\\\\' ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:302:9: '\\\\' ( '0' .. '7' )
{
match('\\');
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:302:14: ( '0' .. '7' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:302:15: '0' .. '7'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:302:14: ( '0' .. '7' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:302:15: '0' .. '7'
{
matchRange('0','7');
@@ -1725,8 +1734,8 @@ public class XtendLexer extends Lexer {
// $ANTLR start UnicodeEscape
public void mUnicodeEscape() throws RecognitionException {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:307:9: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:307:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:307:9: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:307:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
{
match('\\');
match('u');
@@ -1746,8 +1755,8 @@ public class XtendLexer extends Lexer {
// $ANTLR start HexDigit
public void mHexDigit() throws RecognitionException {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:310:12: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:310:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:310:12: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:310:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
input.consume();
@@ -1772,10 +1781,10 @@ public class XtendLexer extends Lexer {
public void mIdentifier() throws RecognitionException {
try {
int _type = Identifier;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:313:9: ( ( '^' )? Letter ( Letter | JavaIDDigit )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:313:9: ( '^' )? Letter ( Letter | JavaIDDigit )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:313:9: ( ( '^' )? Letter ( Letter | JavaIDDigit )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:313:9: ( '^' )? Letter ( Letter | JavaIDDigit )*
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:313:9: ( '^' )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:313:9: ( '^' )?
int alt8=2;
int LA8_0 = input.LA(1);
@@ -1784,7 +1793,7 @@ public class XtendLexer extends Lexer {
}
switch (alt8) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:313:10: '^'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:313:10: '^'
{
match('^');
@@ -1794,7 +1803,7 @@ public class XtendLexer extends Lexer {
}
mLetter();
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:313:23: ( Letter | JavaIDDigit )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:313:23: ( Letter | JavaIDDigit )*
loop9:
do {
int alt9=2;
@@ -1807,7 +1816,7 @@ public class XtendLexer extends Lexer {
switch (alt9) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:
{
if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00D6')||(input.LA(1)>='\u00D8' && input.LA(1)<='\u00F6')||(input.LA(1)>='\u00F8' && input.LA(1)<='\u1FFF')||(input.LA(1)>='\u3040' && input.LA(1)<='\u318F')||(input.LA(1)>='\u3300' && input.LA(1)<='\u337F')||(input.LA(1)>='\u3400' && input.LA(1)<='\u3D2D')||(input.LA(1)>='\u4E00' && input.LA(1)<='\u9FFF')||(input.LA(1)>='\uF900' && input.LA(1)<='\uFAFF') ) {
input.consume();
@@ -1841,8 +1850,8 @@ public class XtendLexer extends Lexer {
// $ANTLR start Letter
public void mLetter() throws RecognitionException {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:318:8: ( '\\u0024' | '\\u0041' .. '\\u005a' | '\\u005f' | '\\u0061' .. '\\u007a' | '\\u00c0' .. '\\u00d6' | '\\u00d8' .. '\\u00f6' | '\\u00f8' .. '\\u00ff' | '\\u0100' .. '\\u1fff' | '\\u3040' .. '\\u318f' | '\\u3300' .. '\\u337f' | '\\u3400' .. '\\u3d2d' | '\\u4e00' .. '\\u9fff' | '\\uf900' .. '\\ufaff' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:318:8: ( '\\u0024' | '\\u0041' .. '\\u005a' | '\\u005f' | '\\u0061' .. '\\u007a' | '\\u00c0' .. '\\u00d6' | '\\u00d8' .. '\\u00f6' | '\\u00f8' .. '\\u00ff' | '\\u0100' .. '\\u1fff' | '\\u3040' .. '\\u318f' | '\\u3300' .. '\\u337f' | '\\u3400' .. '\\u3d2d' | '\\u4e00' .. '\\u9fff' | '\\uf900' .. '\\ufaff' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:
{
if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00D6')||(input.LA(1)>='\u00D8' && input.LA(1)<='\u00F6')||(input.LA(1)>='\u00F8' && input.LA(1)<='\u1FFF')||(input.LA(1)>='\u3040' && input.LA(1)<='\u318F')||(input.LA(1)>='\u3300' && input.LA(1)<='\u337F')||(input.LA(1)>='\u3400' && input.LA(1)<='\u3D2D')||(input.LA(1)>='\u4E00' && input.LA(1)<='\u9FFF')||(input.LA(1)>='\uF900' && input.LA(1)<='\uFAFF') ) {
input.consume();
@@ -1866,8 +1875,8 @@ public class XtendLexer extends Lexer {
// $ANTLR start JavaIDDigit
public void mJavaIDDigit() throws RecognitionException {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:335:8: ( '\\u0030' .. '\\u0039' | '\\u0660' .. '\\u0669' | '\\u06f0' .. '\\u06f9' | '\\u0966' .. '\\u096f' | '\\u09e6' .. '\\u09ef' | '\\u0a66' .. '\\u0a6f' | '\\u0ae6' .. '\\u0aef' | '\\u0b66' .. '\\u0b6f' | '\\u0be7' .. '\\u0bef' | '\\u0c66' .. '\\u0c6f' | '\\u0ce6' .. '\\u0cef' | '\\u0d66' .. '\\u0d6f' | '\\u0e50' .. '\\u0e59' | '\\u0ed0' .. '\\u0ed9' | '\\u1040' .. '\\u1049' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:335:8: ( '\\u0030' .. '\\u0039' | '\\u0660' .. '\\u0669' | '\\u06f0' .. '\\u06f9' | '\\u0966' .. '\\u096f' | '\\u09e6' .. '\\u09ef' | '\\u0a66' .. '\\u0a6f' | '\\u0ae6' .. '\\u0aef' | '\\u0b66' .. '\\u0b6f' | '\\u0be7' .. '\\u0bef' | '\\u0c66' .. '\\u0c6f' | '\\u0ce6' .. '\\u0cef' | '\\u0d66' .. '\\u0d6f' | '\\u0e50' .. '\\u0e59' | '\\u0ed0' .. '\\u0ed9' | '\\u1040' .. '\\u1049' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='\u0660' && input.LA(1)<='\u0669')||(input.LA(1)>='\u06F0' && input.LA(1)<='\u06F9')||(input.LA(1)>='\u0966' && input.LA(1)<='\u096F')||(input.LA(1)>='\u09E6' && input.LA(1)<='\u09EF')||(input.LA(1)>='\u0A66' && input.LA(1)<='\u0A6F')||(input.LA(1)>='\u0AE6' && input.LA(1)<='\u0AEF')||(input.LA(1)>='\u0B66' && input.LA(1)<='\u0B6F')||(input.LA(1)>='\u0BE7' && input.LA(1)<='\u0BEF')||(input.LA(1)>='\u0C66' && input.LA(1)<='\u0C6F')||(input.LA(1)>='\u0CE6' && input.LA(1)<='\u0CEF')||(input.LA(1)>='\u0D66' && input.LA(1)<='\u0D6F')||(input.LA(1)>='\u0E50' && input.LA(1)<='\u0E59')||(input.LA(1)>='\u0ED0' && input.LA(1)<='\u0ED9')||(input.LA(1)>='\u1040' && input.LA(1)<='\u1049') ) {
input.consume();
@@ -1892,8 +1901,8 @@ public class XtendLexer extends Lexer {
public void mWS() throws RecognitionException {
try {
int _type = WS;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:352:8: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:352:8: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:352:8: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:352:8: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||(input.LA(1)>='\f' && input.LA(1)<='\r')||input.LA(1)==' ' ) {
input.consume();
@@ -1920,12 +1929,12 @@ public class XtendLexer extends Lexer {
public void mCOMMENT() throws RecognitionException {
try {
int _type = COMMENT;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:356:9: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:356:9: '/*' ( options {greedy=false; } : . )* '*/'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:356:9: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:356:9: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:356:14: ( options {greedy=false; } : . )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:356:14: ( options {greedy=false; } : . )*
loop10:
do {
int alt10=2;
@@ -1950,7 +1959,7 @@ public class XtendLexer extends Lexer {
switch (alt10) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:356:42: .
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:356:42: .
{
matchAny();
@@ -1979,12 +1988,12 @@ public class XtendLexer extends Lexer {
public void mLINE_COMMENT() throws RecognitionException {
try {
int _type = LINE_COMMENT;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:7: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' | EOF ) )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:7: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' | EOF )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:7: ( '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' | EOF ) )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:7: '//' (~ ( '\\n' | '\\r' ) )* ( ( '\\r' )? '\\n' | EOF )
{
match("//");
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:12: (~ ( '\\n' | '\\r' ) )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:12: (~ ( '\\n' | '\\r' ) )*
loop11:
do {
int alt11=2;
@@ -1997,7 +2006,7 @@ public class XtendLexer extends Lexer {
switch (alt11) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:12: ~ ( '\\n' | '\\r' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:12: ~ ( '\\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();
@@ -2018,7 +2027,7 @@ public class XtendLexer extends Lexer {
}
} while (true);
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:26: ( ( '\\r' )? '\\n' | EOF )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:26: ( ( '\\r' )? '\\n' | EOF )
int alt13=2;
int LA13_0 = input.LA(1);
@@ -2029,9 +2038,9 @@ public class XtendLexer extends Lexer {
alt13=2;}
switch (alt13) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:27: ( '\\r' )? '\\n'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:27: ( '\\r' )? '\\n'
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:27: ( '\\r' )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:27: ( '\\r' )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -2040,7 +2049,7 @@ public class XtendLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:27: '\\r'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:27: '\\r'
{
match('\r');
@@ -2054,7 +2063,7 @@ public class XtendLexer extends Lexer {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:360:38: EOF
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:360:38: EOF
{
match(EOF);
@@ -2078,8 +2087,8 @@ public class XtendLexer extends Lexer {
public void mXPAND_TAG_OPEN() throws RecognitionException {
try {
int _type = XPAND_TAG_OPEN;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:365:4: ( '\\u00AB' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:365:4: '\\u00AB'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:365:4: ( '\\u00AB' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:365:4: '\\u00AB'
{
match('\u00AB');
@@ -2096,8 +2105,8 @@ public class XtendLexer extends Lexer {
public void mXPAND_TAG_CLOSE() throws RecognitionException {
try {
int _type = XPAND_TAG_CLOSE;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:367:4: ( '\\u00BB' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:367:4: '\\u00BB'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:367:4: ( '\\u00BB' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:367:4: '\\u00BB'
{
match('\u00BB');
@@ -2111,52 +2120,18 @@ public class XtendLexer extends Lexer {
// $ANTLR end XPAND_TAG_CLOSE
public void mTokens() throws RecognitionException {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:10: ( T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | T80 | T81 | IntLiteral | StringLiteral | Identifier | WS | COMMENT | LINE_COMMENT | XPAND_TAG_OPEN | XPAND_TAG_CLOSE )
- int alt14=72;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:10: ( T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | T80 | T81 | T82 | IntLiteral | StringLiteral | Identifier | WS | COMMENT | LINE_COMMENT | XPAND_TAG_OPEN | XPAND_TAG_CLOSE )
+ int alt14=73;
int LA14_0 = input.LA(1);
if ( (LA14_0=='i') ) {
switch ( input.LA(2) ) {
- case 'f':
- {
- int LA14_47 = input.LA(3);
-
- if ( (LA14_47=='$'||(LA14_47>='0' && LA14_47<='9')||(LA14_47>='A' && LA14_47<='Z')||LA14_47=='_'||(LA14_47>='a' && LA14_47<='z')||(LA14_47>='\u00C0' && LA14_47<='\u00D6')||(LA14_47>='\u00D8' && LA14_47<='\u00F6')||(LA14_47>='\u00F8' && LA14_47<='\u1FFF')||(LA14_47>='\u3040' && LA14_47<='\u318F')||(LA14_47>='\u3300' && LA14_47<='\u337F')||(LA14_47>='\u3400' && LA14_47<='\u3D2D')||(LA14_47>='\u4E00' && LA14_47<='\u9FFF')||(LA14_47>='\uF900' && LA14_47<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=6;}
- }
- break;
case 'm':
{
int LA14_48 = input.LA(3);
if ( (LA14_48=='p') ) {
switch ( input.LA(4) ) {
- case 'o':
- {
- int LA14_128 = input.LA(5);
-
- if ( (LA14_128=='r') ) {
- int LA14_162 = input.LA(6);
-
- if ( (LA14_162=='t') ) {
- int LA14_193 = input.LA(7);
-
- if ( (LA14_193=='$'||(LA14_193>='0' && LA14_193<='9')||(LA14_193>='A' && LA14_193<='Z')||LA14_193=='_'||(LA14_193>='a' && LA14_193<='z')||(LA14_193>='\u00C0' && LA14_193<='\u00D6')||(LA14_193>='\u00D8' && LA14_193<='\u00F6')||(LA14_193>='\u00F8' && LA14_193<='\u1FFF')||(LA14_193>='\u3040' && LA14_193<='\u318F')||(LA14_193>='\u3300' && LA14_193<='\u337F')||(LA14_193>='\u3400' && LA14_193<='\u3D2D')||(LA14_193>='\u4E00' && LA14_193<='\u9FFF')||(LA14_193>='\uF900' && LA14_193<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=1;}
- }
- else {
- alt14=67;}
- }
- else {
- alt14=67;}
- }
- break;
case 'l':
{
int LA14_129 = input.LA(5);
@@ -2171,31 +2146,65 @@ public class XtendLexer extends Lexer {
int LA14_218 = input.LA(8);
if ( (LA14_218=='$'||(LA14_218>='0' && LA14_218<='9')||(LA14_218>='A' && LA14_218<='Z')||LA14_218=='_'||(LA14_218>='a' && LA14_218<='z')||(LA14_218>='\u00C0' && LA14_218<='\u00D6')||(LA14_218>='\u00D8' && LA14_218<='\u00F6')||(LA14_218>='\u00F8' && LA14_218<='\u1FFF')||(LA14_218>='\u3040' && LA14_218<='\u318F')||(LA14_218>='\u3300' && LA14_218<='\u337F')||(LA14_218>='\u3400' && LA14_218<='\u3D2D')||(LA14_218>='\u4E00' && LA14_218<='\u9FFF')||(LA14_218>='\uF900' && LA14_218<='\uFAFF')) ) {
- alt14=67;
+ alt14=68;
}
else {
- alt14=37;}
+ alt14=38;}
+ }
+ else {
+ alt14=68;}
+ }
+ else {
+ alt14=68;}
+ }
+ else {
+ alt14=68;}
+ }
+ break;
+ case 'o':
+ {
+ int LA14_130 = input.LA(5);
+
+ if ( (LA14_130=='r') ) {
+ int LA14_164 = input.LA(6);
+
+ if ( (LA14_164=='t') ) {
+ int LA14_195 = input.LA(7);
+
+ if ( (LA14_195=='$'||(LA14_195>='0' && LA14_195<='9')||(LA14_195>='A' && LA14_195<='Z')||LA14_195=='_'||(LA14_195>='a' && LA14_195<='z')||(LA14_195>='\u00C0' && LA14_195<='\u00D6')||(LA14_195>='\u00D8' && LA14_195<='\u00F6')||(LA14_195>='\u00F8' && LA14_195<='\u1FFF')||(LA14_195>='\u3040' && LA14_195<='\u318F')||(LA14_195>='\u3300' && LA14_195<='\u337F')||(LA14_195>='\u3400' && LA14_195<='\u3D2D')||(LA14_195>='\u4E00' && LA14_195<='\u9FFF')||(LA14_195>='\uF900' && LA14_195<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=67;}
+ alt14=1;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
+
+ }
+ else {
+ alt14=68;}
+ }
+ break;
+ case 'f':
+ {
+ int LA14_49 = input.LA(3);
+ if ( (LA14_49=='$'||(LA14_49>='0' && LA14_49<='9')||(LA14_49>='A' && LA14_49<='Z')||LA14_49=='_'||(LA14_49>='a' && LA14_49<='z')||(LA14_49>='\u00C0' && LA14_49<='\u00D6')||(LA14_49>='\u00D8' && LA14_49<='\u00F6')||(LA14_49>='\u00F8' && LA14_49<='\u1FFF')||(LA14_49>='\u3040' && LA14_49<='\u318F')||(LA14_49>='\u3300' && LA14_49<='\u337F')||(LA14_49>='\u3400' && LA14_49<='\u3D2D')||(LA14_49>='\u4E00' && LA14_49<='\u9FFF')||(LA14_49>='\uF900' && LA14_49<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=67;}
+ alt14=7;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0==';') ) {
@@ -2203,151 +2212,122 @@ public class XtendLexer extends Lexer {
}
else if ( (LA14_0=='e') ) {
switch ( input.LA(2) ) {
- case 'x':
+ case 'l':
{
- switch ( input.LA(3) ) {
- case 'i':
- {
- int LA14_96 = input.LA(4);
-
- if ( (LA14_96=='s') ) {
- int LA14_130 = input.LA(5);
+ int LA14_50 = input.LA(3);
- if ( (LA14_130=='t') ) {
- int LA14_164 = input.LA(6);
+ if ( (LA14_50=='s') ) {
+ int LA14_97 = input.LA(4);
- if ( (LA14_164=='s') ) {
- int LA14_195 = input.LA(7);
+ if ( (LA14_97=='e') ) {
+ int LA14_131 = input.LA(5);
- if ( (LA14_195=='$'||(LA14_195>='0' && LA14_195<='9')||(LA14_195>='A' && LA14_195<='Z')||LA14_195=='_'||(LA14_195>='a' && LA14_195<='z')||(LA14_195>='\u00C0' && LA14_195<='\u00D6')||(LA14_195>='\u00D8' && LA14_195<='\u00F6')||(LA14_195>='\u00F8' && LA14_195<='\u1FFF')||(LA14_195>='\u3040' && LA14_195<='\u318F')||(LA14_195>='\u3300' && LA14_195<='\u337F')||(LA14_195>='\u3400' && LA14_195<='\u3D2D')||(LA14_195>='\u4E00' && LA14_195<='\u9FFF')||(LA14_195>='\uF900' && LA14_195<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=58;}
- }
- else {
- alt14=67;}
+ if ( (LA14_131=='$'||(LA14_131>='0' && LA14_131<='9')||(LA14_131>='A' && LA14_131<='Z')||LA14_131=='_'||(LA14_131>='a' && LA14_131<='z')||(LA14_131>='\u00C0' && LA14_131<='\u00D6')||(LA14_131>='\u00D8' && LA14_131<='\u00F6')||(LA14_131>='\u00F8' && LA14_131<='\u1FFF')||(LA14_131>='\u3040' && LA14_131<='\u318F')||(LA14_131>='\u3300' && LA14_131<='\u337F')||(LA14_131>='\u3400' && LA14_131<='\u3D2D')||(LA14_131>='\u4E00' && LA14_131<='\u9FFF')||(LA14_131>='\uF900' && LA14_131<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=67;}
+ alt14=30;}
}
else {
- alt14=67;}
- }
- break;
+ alt14=68;}
+ }
+ else {
+ alt14=68;}
+ }
+ break;
+ case 'x':
+ {
+ switch ( input.LA(3) ) {
case 't':
{
- int LA14_97 = input.LA(4);
+ int LA14_98 = input.LA(4);
- if ( (LA14_97=='e') ) {
- int LA14_131 = input.LA(5);
+ if ( (LA14_98=='e') ) {
+ int LA14_132 = input.LA(5);
- if ( (LA14_131=='n') ) {
- int LA14_165 = input.LA(6);
+ if ( (LA14_132=='n') ) {
+ int LA14_166 = input.LA(6);
- if ( (LA14_165=='s') ) {
+ if ( (LA14_166=='s') ) {
int LA14_196 = input.LA(7);
if ( (LA14_196=='i') ) {
int LA14_220 = input.LA(8);
if ( (LA14_220=='o') ) {
- int LA14_241 = input.LA(9);
+ int LA14_242 = input.LA(9);
- if ( (LA14_241=='n') ) {
- int LA14_253 = input.LA(10);
+ if ( (LA14_242=='n') ) {
+ int LA14_254 = input.LA(10);
- if ( (LA14_253=='$'||(LA14_253>='0' && LA14_253<='9')||(LA14_253>='A' && LA14_253<='Z')||LA14_253=='_'||(LA14_253>='a' && LA14_253<='z')||(LA14_253>='\u00C0' && LA14_253<='\u00D6')||(LA14_253>='\u00D8' && LA14_253<='\u00F6')||(LA14_253>='\u00F8' && LA14_253<='\u1FFF')||(LA14_253>='\u3040' && LA14_253<='\u318F')||(LA14_253>='\u3300' && LA14_253<='\u337F')||(LA14_253>='\u3400' && LA14_253<='\u3D2D')||(LA14_253>='\u4E00' && LA14_253<='\u9FFF')||(LA14_253>='\uF900' && LA14_253<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_254=='$'||(LA14_254>='0' && LA14_254<='9')||(LA14_254>='A' && LA14_254<='Z')||LA14_254=='_'||(LA14_254>='a' && LA14_254<='z')||(LA14_254>='\u00C0' && LA14_254<='\u00D6')||(LA14_254>='\u00D8' && LA14_254<='\u00F6')||(LA14_254>='\u00F8' && LA14_254<='\u1FFF')||(LA14_254>='\u3040' && LA14_254<='\u318F')||(LA14_254>='\u3300' && LA14_254<='\u337F')||(LA14_254>='\u3400' && LA14_254<='\u3D2D')||(LA14_254>='\u4E00' && LA14_254<='\u9FFF')||(LA14_254>='\uF900' && LA14_254<='\uFAFF')) ) {
+ alt14=68;
}
else {
alt14=3;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
- default:
- alt14=67;}
-
- }
- break;
- case 'l':
- {
- int LA14_50 = input.LA(3);
-
- if ( (LA14_50=='s') ) {
- int LA14_98 = input.LA(4);
-
- if ( (LA14_98=='e') ) {
- int LA14_132 = input.LA(5);
-
- if ( (LA14_132=='$'||(LA14_132>='0' && LA14_132<='9')||(LA14_132>='A' && LA14_132<='Z')||LA14_132=='_'||(LA14_132>='a' && LA14_132<='z')||(LA14_132>='\u00C0' && LA14_132<='\u00D6')||(LA14_132>='\u00D8' && LA14_132<='\u00F6')||(LA14_132>='\u00F8' && LA14_132<='\u1FFF')||(LA14_132>='\u3040' && LA14_132<='\u318F')||(LA14_132>='\u3300' && LA14_132<='\u337F')||(LA14_132>='\u3400' && LA14_132<='\u3D2D')||(LA14_132>='\u4E00' && LA14_132<='\u9FFF')||(LA14_132>='\uF900' && LA14_132<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=29;}
- }
- else {
- alt14=67;}
- }
- else {
- alt14=67;}
- }
- break;
- default:
- alt14=67;}
-
- }
- else if ( (LA14_0=='r') ) {
- int LA14_4 = input.LA(2);
-
- if ( (LA14_4=='e') ) {
- switch ( input.LA(3) ) {
- case 'j':
+ case 'i':
{
int LA14_99 = input.LA(4);
- if ( (LA14_99=='e') ) {
+ if ( (LA14_99=='s') ) {
int LA14_133 = input.LA(5);
- if ( (LA14_133=='c') ) {
+ if ( (LA14_133=='t') ) {
int LA14_167 = input.LA(6);
- if ( (LA14_167=='t') ) {
+ if ( (LA14_167=='s') ) {
int LA14_197 = input.LA(7);
if ( (LA14_197=='$'||(LA14_197>='0' && LA14_197<='9')||(LA14_197>='A' && LA14_197<='Z')||LA14_197=='_'||(LA14_197>='a' && LA14_197<='z')||(LA14_197>='\u00C0' && LA14_197<='\u00D6')||(LA14_197>='\u00D8' && LA14_197<='\u00F6')||(LA14_197>='\u00F8' && LA14_197<='\u1FFF')||(LA14_197>='\u3040' && LA14_197<='\u318F')||(LA14_197>='\u3300' && LA14_197<='\u337F')||(LA14_197>='\u3400' && LA14_197<='\u3D2D')||(LA14_197>='\u4E00' && LA14_197<='\u9FFF')||(LA14_197>='\uF900' && LA14_197<='\uFAFF')) ) {
- alt14=67;
+ alt14=68;
}
else {
- alt14=57;}
+ alt14=59;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
+ default:
+ alt14=68;}
+
+ }
+ break;
+ default:
+ alt14=68;}
+
+ }
+ else if ( (LA14_0=='r') ) {
+ int LA14_4 = input.LA(2);
+
+ if ( (LA14_4=='e') ) {
+ switch ( input.LA(3) ) {
case 'e':
{
int LA14_100 = input.LA(4);
@@ -2365,913 +2345,936 @@ public class XtendLexer extends Lexer {
int LA14_222 = input.LA(8);
if ( (LA14_222=='t') ) {
- int LA14_242 = input.LA(9);
+ int LA14_243 = input.LA(9);
- if ( (LA14_242=='$'||(LA14_242>='0' && LA14_242<='9')||(LA14_242>='A' && LA14_242<='Z')||LA14_242=='_'||(LA14_242>='a' && LA14_242<='z')||(LA14_242>='\u00C0' && LA14_242<='\u00D6')||(LA14_242>='\u00D8' && LA14_242<='\u00F6')||(LA14_242>='\u00F8' && LA14_242<='\u1FFF')||(LA14_242>='\u3040' && LA14_242<='\u318F')||(LA14_242>='\u3300' && LA14_242<='\u337F')||(LA14_242>='\u3400' && LA14_242<='\u3D2D')||(LA14_242>='\u4E00' && LA14_242<='\u9FFF')||(LA14_242>='\uF900' && LA14_242<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_243=='$'||(LA14_243>='0' && LA14_243<='9')||(LA14_243>='A' && LA14_243<='Z')||LA14_243=='_'||(LA14_243>='a' && LA14_243<='z')||(LA14_243>='\u00C0' && LA14_243<='\u00D6')||(LA14_243>='\u00D8' && LA14_243<='\u00F6')||(LA14_243>='\u00F8' && LA14_243<='\u1FFF')||(LA14_243>='\u3040' && LA14_243<='\u318F')||(LA14_243>='\u3300' && LA14_243<='\u337F')||(LA14_243>='\u3400' && LA14_243<='\u3D2D')||(LA14_243>='\u4E00' && LA14_243<='\u9FFF')||(LA14_243>='\uF900' && LA14_243<='\uFAFF')) ) {
+ alt14=68;
}
else {
alt14=4;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
- default:
- alt14=67;}
-
- }
- else {
- alt14=67;}
- }
- else if ( (LA14_0=='c') ) {
- switch ( input.LA(2) ) {
- case 'a':
- {
- switch ( input.LA(3) ) {
- case 'c':
+ case 'j':
{
int LA14_101 = input.LA(4);
- if ( (LA14_101=='h') ) {
+ if ( (LA14_101=='e') ) {
int LA14_135 = input.LA(5);
- if ( (LA14_135=='e') ) {
+ if ( (LA14_135=='c') ) {
int LA14_169 = input.LA(6);
- if ( (LA14_169=='d') ) {
+ if ( (LA14_169=='t') ) {
int LA14_199 = input.LA(7);
if ( (LA14_199=='$'||(LA14_199>='0' && LA14_199<='9')||(LA14_199>='A' && LA14_199<='Z')||LA14_199=='_'||(LA14_199>='a' && LA14_199<='z')||(LA14_199>='\u00C0' && LA14_199<='\u00D6')||(LA14_199>='\u00D8' && LA14_199<='\u00F6')||(LA14_199>='\u00F8' && LA14_199<='\u1FFF')||(LA14_199>='\u3040' && LA14_199<='\u318F')||(LA14_199>='\u3300' && LA14_199<='\u337F')||(LA14_199>='\u3400' && LA14_199<='\u3D2D')||(LA14_199>='\u4E00' && LA14_199<='\u9FFF')||(LA14_199>='\uF900' && LA14_199<='\uFAFF')) ) {
- alt14=67;
+ alt14=68;
}
else {
- alt14=17;}
+ alt14=58;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
- case 's':
+ default:
+ alt14=68;}
+
+ }
+ else {
+ alt14=68;}
+ }
+ else if ( (LA14_0=='c') ) {
+ switch ( input.LA(2) ) {
+ case 'o':
+ {
+ switch ( input.LA(3) ) {
+ case 'l':
{
int LA14_102 = input.LA(4);
- if ( (LA14_102=='e') ) {
+ if ( (LA14_102=='l') ) {
int LA14_136 = input.LA(5);
- if ( (LA14_136=='$'||(LA14_136>='0' && LA14_136<='9')||(LA14_136>='A' && LA14_136<='Z')||LA14_136=='_'||(LA14_136>='a' && LA14_136<='z')||(LA14_136>='\u00C0' && LA14_136<='\u00D6')||(LA14_136>='\u00D8' && LA14_136<='\u00F6')||(LA14_136>='\u00F8' && LA14_136<='\u1FFF')||(LA14_136>='\u3040' && LA14_136<='\u318F')||(LA14_136>='\u3300' && LA14_136<='\u337F')||(LA14_136>='\u3400' && LA14_136<='\u3D2D')||(LA14_136>='\u4E00' && LA14_136<='\u9FFF')||(LA14_136>='\uF900' && LA14_136<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_136=='e') ) {
+ int LA14_170 = input.LA(6);
+
+ if ( (LA14_170=='c') ) {
+ int LA14_200 = input.LA(7);
+
+ if ( (LA14_200=='t') ) {
+ int LA14_224 = input.LA(8);
+
+ if ( (LA14_224=='$'||(LA14_224>='0' && LA14_224<='9')||(LA14_224>='A' && LA14_224<='Z')||LA14_224=='_'||(LA14_224>='a' && LA14_224<='z')||(LA14_224>='\u00C0' && LA14_224<='\u00D6')||(LA14_224>='\u00D8' && LA14_224<='\u00F6')||(LA14_224>='\u00F8' && LA14_224<='\u1FFF')||(LA14_224>='\u3040' && LA14_224<='\u318F')||(LA14_224>='\u3300' && LA14_224<='\u337F')||(LA14_224>='\u3400' && LA14_224<='\u3D2D')||(LA14_224>='\u4E00' && LA14_224<='\u9FFF')||(LA14_224>='\uF900' && LA14_224<='\uFAFF')) ) {
+ alt14=68;
+ }
+ else {
+ alt14=55;}
+ }
+ else {
+ alt14=68;}
+ }
+ else {
+ alt14=68;}
}
else {
- alt14=32;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
- default:
- alt14=67;}
-
- }
- break;
- case 'r':
- {
- int LA14_53 = input.LA(3);
-
- if ( (LA14_53=='e') ) {
+ case 'n':
+ {
int LA14_103 = input.LA(4);
- if ( (LA14_103=='a') ) {
+ if ( (LA14_103=='t') ) {
int LA14_137 = input.LA(5);
- if ( (LA14_137=='t') ) {
+ if ( (LA14_137=='e') ) {
int LA14_171 = input.LA(6);
- if ( (LA14_171=='e') ) {
- int LA14_200 = input.LA(7);
+ if ( (LA14_171=='x') ) {
+ int LA14_201 = input.LA(7);
- if ( (LA14_200=='$'||(LA14_200>='0' && LA14_200<='9')||(LA14_200>='A' && LA14_200<='Z')||LA14_200=='_'||(LA14_200>='a' && LA14_200<='z')||(LA14_200>='\u00C0' && LA14_200<='\u00D6')||(LA14_200>='\u00D8' && LA14_200<='\u00F6')||(LA14_200>='\u00F8' && LA14_200<='\u1FFF')||(LA14_200>='\u3040' && LA14_200<='\u318F')||(LA14_200>='\u3300' && LA14_200<='\u337F')||(LA14_200>='\u3400' && LA14_200<='\u3D2D')||(LA14_200>='\u4E00' && LA14_200<='\u9FFF')||(LA14_200>='\uF900' && LA14_200<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_201=='t') ) {
+ int LA14_225 = input.LA(8);
+
+ if ( (LA14_225=='$'||(LA14_225>='0' && LA14_225<='9')||(LA14_225>='A' && LA14_225<='Z')||LA14_225=='_'||(LA14_225>='a' && LA14_225<='z')||(LA14_225>='\u00C0' && LA14_225<='\u00D6')||(LA14_225>='\u00D8' && LA14_225<='\u00F6')||(LA14_225>='\u00F8' && LA14_225<='\u1FFF')||(LA14_225>='\u3040' && LA14_225<='\u318F')||(LA14_225>='\u3300' && LA14_225<='\u337F')||(LA14_225>='\u3400' && LA14_225<='\u3D2D')||(LA14_225>='\u4E00' && LA14_225<='\u9FFF')||(LA14_225>='\uF900' && LA14_225<='\uFAFF')) ) {
+ alt14=68;
+ }
+ else {
+ alt14=5;}
}
else {
- alt14=20;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
- }
- else {
- alt14=67;}
+ alt14=68;}
+ }
+ break;
+ default:
+ alt14=68;}
+
}
break;
- case 'o':
+ case 'a':
{
switch ( input.LA(3) ) {
- case 'n':
+ case 'c':
{
int LA14_104 = input.LA(4);
- if ( (LA14_104=='t') ) {
+ if ( (LA14_104=='h') ) {
int LA14_138 = input.LA(5);
if ( (LA14_138=='e') ) {
int LA14_172 = input.LA(6);
- if ( (LA14_172=='x') ) {
- int LA14_201 = input.LA(7);
-
- if ( (LA14_201=='t') ) {
- int LA14_225 = input.LA(8);
+ if ( (LA14_172=='d') ) {
+ int LA14_202 = input.LA(7);
- if ( (LA14_225=='$'||(LA14_225>='0' && LA14_225<='9')||(LA14_225>='A' && LA14_225<='Z')||LA14_225=='_'||(LA14_225>='a' && LA14_225<='z')||(LA14_225>='\u00C0' && LA14_225<='\u00D6')||(LA14_225>='\u00D8' && LA14_225<='\u00F6')||(LA14_225>='\u00F8' && LA14_225<='\u1FFF')||(LA14_225>='\u3040' && LA14_225<='\u318F')||(LA14_225>='\u3300' && LA14_225<='\u337F')||(LA14_225>='\u3400' && LA14_225<='\u3D2D')||(LA14_225>='\u4E00' && LA14_225<='\u9FFF')||(LA14_225>='\uF900' && LA14_225<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=5;}
+ if ( (LA14_202=='$'||(LA14_202>='0' && LA14_202<='9')||(LA14_202>='A' && LA14_202<='Z')||LA14_202=='_'||(LA14_202>='a' && LA14_202<='z')||(LA14_202>='\u00C0' && LA14_202<='\u00D6')||(LA14_202>='\u00D8' && LA14_202<='\u00F6')||(LA14_202>='\u00F8' && LA14_202<='\u1FFF')||(LA14_202>='\u3040' && LA14_202<='\u318F')||(LA14_202>='\u3300' && LA14_202<='\u337F')||(LA14_202>='\u3400' && LA14_202<='\u3D2D')||(LA14_202>='\u4E00' && LA14_202<='\u9FFF')||(LA14_202>='\uF900' && LA14_202<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=67;}
+ alt14=18;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
- case 'l':
+ case 's':
{
int LA14_105 = input.LA(4);
- if ( (LA14_105=='l') ) {
+ if ( (LA14_105=='e') ) {
int LA14_139 = input.LA(5);
- if ( (LA14_139=='e') ) {
- int LA14_173 = input.LA(6);
+ if ( (LA14_139=='$'||(LA14_139>='0' && LA14_139<='9')||(LA14_139>='A' && LA14_139<='Z')||LA14_139=='_'||(LA14_139>='a' && LA14_139<='z')||(LA14_139>='\u00C0' && LA14_139<='\u00D6')||(LA14_139>='\u00D8' && LA14_139<='\u00F6')||(LA14_139>='\u00F8' && LA14_139<='\u1FFF')||(LA14_139>='\u3040' && LA14_139<='\u318F')||(LA14_139>='\u3300' && LA14_139<='\u337F')||(LA14_139>='\u3400' && LA14_139<='\u3D2D')||(LA14_139>='\u4E00' && LA14_139<='\u9FFF')||(LA14_139>='\uF900' && LA14_139<='\uFAFF')) ) {
+ alt14=68;
+ }
+ else {
+ alt14=33;}
+ }
+ else {
+ alt14=68;}
+ }
+ break;
+ default:
+ alt14=68;}
- if ( (LA14_173=='c') ) {
- int LA14_202 = input.LA(7);
+ }
+ break;
+ case 'r':
+ {
+ int LA14_55 = input.LA(3);
- if ( (LA14_202=='t') ) {
- int LA14_226 = input.LA(8);
+ if ( (LA14_55=='e') ) {
+ int LA14_106 = input.LA(4);
- if ( (LA14_226=='$'||(LA14_226>='0' && LA14_226<='9')||(LA14_226>='A' && LA14_226<='Z')||LA14_226=='_'||(LA14_226>='a' && LA14_226<='z')||(LA14_226>='\u00C0' && LA14_226<='\u00D6')||(LA14_226>='\u00D8' && LA14_226<='\u00F6')||(LA14_226>='\u00F8' && LA14_226<='\u1FFF')||(LA14_226>='\u3040' && LA14_226<='\u318F')||(LA14_226>='\u3300' && LA14_226<='\u337F')||(LA14_226>='\u3400' && LA14_226<='\u3D2D')||(LA14_226>='\u4E00' && LA14_226<='\u9FFF')||(LA14_226>='\uF900' && LA14_226<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=54;}
+ if ( (LA14_106=='a') ) {
+ int LA14_140 = input.LA(5);
+
+ if ( (LA14_140=='t') ) {
+ int LA14_174 = input.LA(6);
+
+ if ( (LA14_174=='e') ) {
+ int LA14_203 = input.LA(7);
+
+ if ( (LA14_203=='$'||(LA14_203>='0' && LA14_203<='9')||(LA14_203>='A' && LA14_203<='Z')||LA14_203=='_'||(LA14_203>='a' && LA14_203<='z')||(LA14_203>='\u00C0' && LA14_203<='\u00D6')||(LA14_203>='\u00D8' && LA14_203<='\u00F6')||(LA14_203>='\u00F8' && LA14_203<='\u1FFF')||(LA14_203>='\u3040' && LA14_203<='\u318F')||(LA14_203>='\u3300' && LA14_203<='\u337F')||(LA14_203>='\u3400' && LA14_203<='\u3D2D')||(LA14_203>='\u4E00' && LA14_203<='\u9FFF')||(LA14_203>='\uF900' && LA14_203<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=67;}
+ alt14=21;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
- }
- break;
- default:
- alt14=67;}
-
+ alt14=68;}
+ }
+ else {
+ alt14=68;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
}
+ else if ( (LA14_0=='#') ) {
+ alt14=6;
+ }
else if ( (LA14_0=='E') ) {
- int LA14_6 = input.LA(2);
+ int LA14_7 = input.LA(2);
- if ( (LA14_6=='R') ) {
- int LA14_55 = input.LA(3);
+ if ( (LA14_7=='R') ) {
+ int LA14_56 = input.LA(3);
- if ( (LA14_55=='R') ) {
- int LA14_106 = input.LA(4);
+ if ( (LA14_56=='R') ) {
+ int LA14_107 = input.LA(4);
- if ( (LA14_106=='O') ) {
- int LA14_140 = input.LA(5);
+ if ( (LA14_107=='O') ) {
+ int LA14_141 = input.LA(5);
- if ( (LA14_140=='R') ) {
- int LA14_174 = input.LA(6);
+ if ( (LA14_141=='R') ) {
+ int LA14_175 = input.LA(6);
- if ( (LA14_174=='$'||(LA14_174>='0' && LA14_174<='9')||(LA14_174>='A' && LA14_174<='Z')||LA14_174=='_'||(LA14_174>='a' && LA14_174<='z')||(LA14_174>='\u00C0' && LA14_174<='\u00D6')||(LA14_174>='\u00D8' && LA14_174<='\u00F6')||(LA14_174>='\u00F8' && LA14_174<='\u1FFF')||(LA14_174>='\u3040' && LA14_174<='\u318F')||(LA14_174>='\u3300' && LA14_174<='\u337F')||(LA14_174>='\u3400' && LA14_174<='\u3D2D')||(LA14_174>='\u4E00' && LA14_174<='\u9FFF')||(LA14_174>='\uF900' && LA14_174<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_175=='$'||(LA14_175>='0' && LA14_175<='9')||(LA14_175>='A' && LA14_175<='Z')||LA14_175=='_'||(LA14_175>='a' && LA14_175<='z')||(LA14_175>='\u00C0' && LA14_175<='\u00D6')||(LA14_175>='\u00D8' && LA14_175<='\u00F6')||(LA14_175>='\u00F8' && LA14_175<='\u1FFF')||(LA14_175>='\u3040' && LA14_175<='\u318F')||(LA14_175>='\u3300' && LA14_175<='\u337F')||(LA14_175>='\u3400' && LA14_175<='\u3D2D')||(LA14_175>='\u4E00' && LA14_175<='\u9FFF')||(LA14_175>='\uF900' && LA14_175<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=7;}
+ alt14=8;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='W') ) {
- int LA14_7 = input.LA(2);
+ int LA14_8 = input.LA(2);
- if ( (LA14_7=='A') ) {
- int LA14_56 = input.LA(3);
+ if ( (LA14_8=='A') ) {
+ int LA14_57 = input.LA(3);
- if ( (LA14_56=='R') ) {
- int LA14_107 = input.LA(4);
+ if ( (LA14_57=='R') ) {
+ int LA14_108 = input.LA(4);
- if ( (LA14_107=='N') ) {
- int LA14_141 = input.LA(5);
+ if ( (LA14_108=='N') ) {
+ int LA14_142 = input.LA(5);
- if ( (LA14_141=='I') ) {
- int LA14_175 = input.LA(6);
+ if ( (LA14_142=='I') ) {
+ int LA14_176 = input.LA(6);
- if ( (LA14_175=='N') ) {
- int LA14_204 = input.LA(7);
+ if ( (LA14_176=='N') ) {
+ int LA14_205 = input.LA(7);
- if ( (LA14_204=='G') ) {
- int LA14_227 = input.LA(8);
+ if ( (LA14_205=='G') ) {
+ int LA14_228 = input.LA(8);
- if ( (LA14_227=='$'||(LA14_227>='0' && LA14_227<='9')||(LA14_227>='A' && LA14_227<='Z')||LA14_227=='_'||(LA14_227>='a' && LA14_227<='z')||(LA14_227>='\u00C0' && LA14_227<='\u00D6')||(LA14_227>='\u00D8' && LA14_227<='\u00F6')||(LA14_227>='\u00F8' && LA14_227<='\u1FFF')||(LA14_227>='\u3040' && LA14_227<='\u318F')||(LA14_227>='\u3300' && LA14_227<='\u337F')||(LA14_227>='\u3400' && LA14_227<='\u3D2D')||(LA14_227>='\u4E00' && LA14_227<='\u9FFF')||(LA14_227>='\uF900' && LA14_227<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_228=='$'||(LA14_228>='0' && LA14_228<='9')||(LA14_228>='A' && LA14_228<='Z')||LA14_228=='_'||(LA14_228>='a' && LA14_228<='z')||(LA14_228>='\u00C0' && LA14_228<='\u00D6')||(LA14_228>='\u00D8' && LA14_228<='\u00F6')||(LA14_228>='\u00F8' && LA14_228<='\u1FFF')||(LA14_228>='\u3040' && LA14_228<='\u318F')||(LA14_228>='\u3300' && LA14_228<='\u337F')||(LA14_228>='\u3400' && LA14_228<='\u3D2D')||(LA14_228>='\u4E00' && LA14_228<='\u9FFF')||(LA14_228>='\uF900' && LA14_228<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=8;}
+ alt14=9;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0==':') ) {
- int LA14_8 = input.LA(2);
+ int LA14_9 = input.LA(2);
- if ( (LA14_8==':') ) {
- alt14=15;
+ if ( (LA14_9==':') ) {
+ alt14=16;
}
else {
- alt14=9;}
+ alt14=10;}
}
else if ( (LA14_0=='a') ) {
- int LA14_9 = input.LA(2);
+ int LA14_10 = input.LA(2);
- if ( (LA14_9=='r') ) {
- int LA14_59 = input.LA(3);
+ if ( (LA14_10=='r') ) {
+ int LA14_60 = input.LA(3);
- if ( (LA14_59=='o') ) {
- int LA14_108 = input.LA(4);
+ if ( (LA14_60=='o') ) {
+ int LA14_109 = input.LA(4);
- if ( (LA14_108=='u') ) {
- int LA14_142 = input.LA(5);
+ if ( (LA14_109=='u') ) {
+ int LA14_143 = input.LA(5);
- if ( (LA14_142=='n') ) {
- int LA14_176 = input.LA(6);
+ if ( (LA14_143=='n') ) {
+ int LA14_177 = input.LA(6);
- if ( (LA14_176=='d') ) {
- int LA14_205 = input.LA(7);
+ if ( (LA14_177=='d') ) {
+ int LA14_206 = input.LA(7);
- if ( (LA14_205=='$'||(LA14_205>='0' && LA14_205<='9')||(LA14_205>='A' && LA14_205<='Z')||LA14_205=='_'||(LA14_205>='a' && LA14_205<='z')||(LA14_205>='\u00C0' && LA14_205<='\u00D6')||(LA14_205>='\u00D8' && LA14_205<='\u00F6')||(LA14_205>='\u00F8' && LA14_205<='\u1FFF')||(LA14_205>='\u3040' && LA14_205<='\u318F')||(LA14_205>='\u3300' && LA14_205<='\u337F')||(LA14_205>='\u3400' && LA14_205<='\u3D2D')||(LA14_205>='\u4E00' && LA14_205<='\u9FFF')||(LA14_205>='\uF900' && LA14_205<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_206=='$'||(LA14_206>='0' && LA14_206<='9')||(LA14_206>='A' && LA14_206<='Z')||LA14_206=='_'||(LA14_206>='a' && LA14_206<='z')||(LA14_206>='\u00C0' && LA14_206<='\u00D6')||(LA14_206>='\u00D8' && LA14_206<='\u00F6')||(LA14_206>='\u00F8' && LA14_206<='\u1FFF')||(LA14_206>='\u3040' && LA14_206<='\u318F')||(LA14_206>='\u3300' && LA14_206<='\u337F')||(LA14_206>='\u3400' && LA14_206<='\u3D2D')||(LA14_206>='\u4E00' && LA14_206<='\u9FFF')||(LA14_206>='\uF900' && LA14_206<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=10;}
+ alt14=11;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='(') ) {
- alt14=11;
+ alt14=12;
}
else if ( (LA14_0==',') ) {
- alt14=12;
+ alt14=13;
}
else if ( (LA14_0=='*') ) {
- alt14=13;
+ alt14=14;
}
else if ( (LA14_0==')') ) {
- alt14=14;
+ alt14=15;
}
else if ( (LA14_0=='p') ) {
- int LA14_14 = input.LA(2);
+ int LA14_15 = input.LA(2);
- if ( (LA14_14=='r') ) {
- int LA14_60 = input.LA(3);
+ if ( (LA14_15=='r') ) {
+ int LA14_61 = input.LA(3);
- if ( (LA14_60=='i') ) {
- int LA14_109 = input.LA(4);
+ if ( (LA14_61=='i') ) {
+ int LA14_110 = input.LA(4);
- if ( (LA14_109=='v') ) {
- int LA14_143 = input.LA(5);
+ if ( (LA14_110=='v') ) {
+ int LA14_144 = input.LA(5);
- if ( (LA14_143=='a') ) {
- int LA14_177 = input.LA(6);
+ if ( (LA14_144=='a') ) {
+ int LA14_178 = input.LA(6);
- if ( (LA14_177=='t') ) {
- int LA14_206 = input.LA(7);
+ if ( (LA14_178=='t') ) {
+ int LA14_207 = input.LA(7);
- if ( (LA14_206=='e') ) {
- int LA14_229 = input.LA(8);
+ if ( (LA14_207=='e') ) {
+ int LA14_230 = input.LA(8);
- if ( (LA14_229=='$'||(LA14_229>='0' && LA14_229<='9')||(LA14_229>='A' && LA14_229<='Z')||LA14_229=='_'||(LA14_229>='a' && LA14_229<='z')||(LA14_229>='\u00C0' && LA14_229<='\u00D6')||(LA14_229>='\u00D8' && LA14_229<='\u00F6')||(LA14_229>='\u00F8' && LA14_229<='\u1FFF')||(LA14_229>='\u3040' && LA14_229<='\u318F')||(LA14_229>='\u3300' && LA14_229<='\u337F')||(LA14_229>='\u3400' && LA14_229<='\u3D2D')||(LA14_229>='\u4E00' && LA14_229<='\u9FFF')||(LA14_229>='\uF900' && LA14_229<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_230=='$'||(LA14_230>='0' && LA14_230<='9')||(LA14_230>='A' && LA14_230<='Z')||LA14_230=='_'||(LA14_230>='a' && LA14_230<='z')||(LA14_230>='\u00C0' && LA14_230<='\u00D6')||(LA14_230>='\u00D8' && LA14_230<='\u00F6')||(LA14_230>='\u00F8' && LA14_230<='\u1FFF')||(LA14_230>='\u3040' && LA14_230<='\u318F')||(LA14_230>='\u3300' && LA14_230<='\u337F')||(LA14_230>='\u3400' && LA14_230<='\u3D2D')||(LA14_230>='\u4E00' && LA14_230<='\u9FFF')||(LA14_230>='\uF900' && LA14_230<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=16;}
+ alt14=17;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='J') ) {
- int LA14_15 = input.LA(2);
+ int LA14_16 = input.LA(2);
- if ( (LA14_15=='A') ) {
- int LA14_61 = input.LA(3);
+ if ( (LA14_16=='A') ) {
+ int LA14_62 = input.LA(3);
- if ( (LA14_61=='V') ) {
- int LA14_110 = input.LA(4);
+ if ( (LA14_62=='V') ) {
+ int LA14_111 = input.LA(4);
- if ( (LA14_110=='A') ) {
- int LA14_144 = input.LA(5);
+ if ( (LA14_111=='A') ) {
+ int LA14_145 = input.LA(5);
- if ( (LA14_144=='$'||(LA14_144>='0' && LA14_144<='9')||(LA14_144>='A' && LA14_144<='Z')||LA14_144=='_'||(LA14_144>='a' && LA14_144<='z')||(LA14_144>='\u00C0' && LA14_144<='\u00D6')||(LA14_144>='\u00D8' && LA14_144<='\u00F6')||(LA14_144>='\u00F8' && LA14_144<='\u1FFF')||(LA14_144>='\u3040' && LA14_144<='\u318F')||(LA14_144>='\u3300' && LA14_144<='\u337F')||(LA14_144>='\u3400' && LA14_144<='\u3D2D')||(LA14_144>='\u4E00' && LA14_144<='\u9FFF')||(LA14_144>='\uF900' && LA14_144<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_145=='$'||(LA14_145>='0' && LA14_145<='9')||(LA14_145>='A' && LA14_145<='Z')||LA14_145=='_'||(LA14_145>='a' && LA14_145<='z')||(LA14_145>='\u00C0' && LA14_145<='\u00D6')||(LA14_145>='\u00D8' && LA14_145<='\u00F6')||(LA14_145>='\u00F8' && LA14_145<='\u1FFF')||(LA14_145>='\u3040' && LA14_145<='\u318F')||(LA14_145>='\u3300' && LA14_145<='\u337F')||(LA14_145>='\u3400' && LA14_145<='\u3D2D')||(LA14_145>='\u4E00' && LA14_145<='\u9FFF')||(LA14_145>='\uF900' && LA14_145<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=18;}
+ alt14=19;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='.') ) {
- alt14=19;
+ alt14=20;
}
else if ( (LA14_0=='C') ) {
- int LA14_17 = input.LA(2);
+ int LA14_18 = input.LA(2);
- if ( (LA14_17=='o') ) {
- int LA14_62 = input.LA(3);
+ if ( (LA14_18=='o') ) {
+ int LA14_63 = input.LA(3);
- if ( (LA14_62=='l') ) {
- int LA14_111 = input.LA(4);
+ if ( (LA14_63=='l') ) {
+ int LA14_112 = input.LA(4);
- if ( (LA14_111=='l') ) {
- int LA14_145 = input.LA(5);
+ if ( (LA14_112=='l') ) {
+ int LA14_146 = input.LA(5);
- if ( (LA14_145=='e') ) {
- int LA14_179 = input.LA(6);
+ if ( (LA14_146=='e') ) {
+ int LA14_180 = input.LA(6);
- if ( (LA14_179=='c') ) {
- int LA14_207 = input.LA(7);
+ if ( (LA14_180=='c') ) {
+ int LA14_208 = input.LA(7);
- if ( (LA14_207=='t') ) {
- int LA14_230 = input.LA(8);
+ if ( (LA14_208=='t') ) {
+ int LA14_231 = input.LA(8);
- if ( (LA14_230=='i') ) {
- int LA14_247 = input.LA(9);
+ if ( (LA14_231=='i') ) {
+ int LA14_248 = input.LA(9);
- if ( (LA14_247=='o') ) {
- int LA14_255 = input.LA(10);
+ if ( (LA14_248=='o') ) {
+ int LA14_256 = input.LA(10);
- if ( (LA14_255=='n') ) {
- int LA14_261 = input.LA(11);
+ if ( (LA14_256=='n') ) {
+ int LA14_262 = input.LA(11);
- if ( (LA14_261=='$'||(LA14_261>='0' && LA14_261<='9')||(LA14_261>='A' && LA14_261<='Z')||LA14_261=='_'||(LA14_261>='a' && LA14_261<='z')||(LA14_261>='\u00C0' && LA14_261<='\u00D6')||(LA14_261>='\u00D8' && LA14_261<='\u00F6')||(LA14_261>='\u00F8' && LA14_261<='\u1FFF')||(LA14_261>='\u3040' && LA14_261<='\u318F')||(LA14_261>='\u3300' && LA14_261<='\u337F')||(LA14_261>='\u3400' && LA14_261<='\u3D2D')||(LA14_261>='\u4E00' && LA14_261<='\u9FFF')||(LA14_261>='\uF900' && LA14_261<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_262=='$'||(LA14_262>='0' && LA14_262<='9')||(LA14_262>='A' && LA14_262<='Z')||LA14_262=='_'||(LA14_262>='a' && LA14_262<='z')||(LA14_262>='\u00C0' && LA14_262<='\u00D6')||(LA14_262>='\u00D8' && LA14_262<='\u00F6')||(LA14_262>='\u00F8' && LA14_262<='\u1FFF')||(LA14_262>='\u3040' && LA14_262<='\u318F')||(LA14_262>='\u3300' && LA14_262<='\u337F')||(LA14_262>='\u3400' && LA14_262<='\u3D2D')||(LA14_262>='\u4E00' && LA14_262<='\u9FFF')||(LA14_262>='\uF900' && LA14_262<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=21;}
+ alt14=22;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='L') ) {
- int LA14_18 = input.LA(2);
+ int LA14_19 = input.LA(2);
- if ( (LA14_18=='i') ) {
- int LA14_63 = input.LA(3);
+ if ( (LA14_19=='i') ) {
+ int LA14_64 = input.LA(3);
- if ( (LA14_63=='s') ) {
- int LA14_112 = input.LA(4);
+ if ( (LA14_64=='s') ) {
+ int LA14_113 = input.LA(4);
- if ( (LA14_112=='t') ) {
- int LA14_146 = input.LA(5);
+ if ( (LA14_113=='t') ) {
+ int LA14_147 = input.LA(5);
- if ( (LA14_146=='$'||(LA14_146>='0' && LA14_146<='9')||(LA14_146>='A' && LA14_146<='Z')||LA14_146=='_'||(LA14_146>='a' && LA14_146<='z')||(LA14_146>='\u00C0' && LA14_146<='\u00D6')||(LA14_146>='\u00D8' && LA14_146<='\u00F6')||(LA14_146>='\u00F8' && LA14_146<='\u1FFF')||(LA14_146>='\u3040' && LA14_146<='\u318F')||(LA14_146>='\u3300' && LA14_146<='\u337F')||(LA14_146>='\u3400' && LA14_146<='\u3D2D')||(LA14_146>='\u4E00' && LA14_146<='\u9FFF')||(LA14_146>='\uF900' && LA14_146<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_147=='$'||(LA14_147>='0' && LA14_147<='9')||(LA14_147>='A' && LA14_147<='Z')||LA14_147=='_'||(LA14_147>='a' && LA14_147<='z')||(LA14_147>='\u00C0' && LA14_147<='\u00D6')||(LA14_147>='\u00D8' && LA14_147<='\u00F6')||(LA14_147>='\u00F8' && LA14_147<='\u1FFF')||(LA14_147>='\u3040' && LA14_147<='\u318F')||(LA14_147>='\u3300' && LA14_147<='\u337F')||(LA14_147>='\u3400' && LA14_147<='\u3D2D')||(LA14_147>='\u4E00' && LA14_147<='\u9FFF')||(LA14_147>='\uF900' && LA14_147<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=22;}
+ alt14=23;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='S') ) {
- int LA14_19 = input.LA(2);
+ int LA14_20 = input.LA(2);
- if ( (LA14_19=='e') ) {
- int LA14_64 = input.LA(3);
+ if ( (LA14_20=='e') ) {
+ int LA14_65 = input.LA(3);
- if ( (LA14_64=='t') ) {
- int LA14_113 = input.LA(4);
+ if ( (LA14_65=='t') ) {
+ int LA14_114 = input.LA(4);
- if ( (LA14_113=='$'||(LA14_113>='0' && LA14_113<='9')||(LA14_113>='A' && LA14_113<='Z')||LA14_113=='_'||(LA14_113>='a' && LA14_113<='z')||(LA14_113>='\u00C0' && LA14_113<='\u00D6')||(LA14_113>='\u00D8' && LA14_113<='\u00F6')||(LA14_113>='\u00F8' && LA14_113<='\u1FFF')||(LA14_113>='\u3040' && LA14_113<='\u318F')||(LA14_113>='\u3300' && LA14_113<='\u337F')||(LA14_113>='\u3400' && LA14_113<='\u3D2D')||(LA14_113>='\u4E00' && LA14_113<='\u9FFF')||(LA14_113>='\uF900' && LA14_113<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_114=='$'||(LA14_114>='0' && LA14_114<='9')||(LA14_114>='A' && LA14_114<='Z')||LA14_114=='_'||(LA14_114>='a' && LA14_114<='z')||(LA14_114>='\u00C0' && LA14_114<='\u00D6')||(LA14_114>='\u00D8' && LA14_114<='\u00F6')||(LA14_114>='\u00F8' && LA14_114<='\u1FFF')||(LA14_114>='\u3040' && LA14_114<='\u318F')||(LA14_114>='\u3300' && LA14_114<='\u337F')||(LA14_114>='\u3400' && LA14_114<='\u3D2D')||(LA14_114>='\u4E00' && LA14_114<='\u9FFF')||(LA14_114>='\uF900' && LA14_114<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=23;}
+ alt14=24;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='l') ) {
- int LA14_20 = input.LA(2);
+ int LA14_21 = input.LA(2);
- if ( (LA14_20=='e') ) {
- int LA14_65 = input.LA(3);
+ if ( (LA14_21=='e') ) {
+ int LA14_66 = input.LA(3);
- if ( (LA14_65=='t') ) {
- int LA14_114 = input.LA(4);
+ if ( (LA14_66=='t') ) {
+ int LA14_115 = input.LA(4);
- if ( (LA14_114=='$'||(LA14_114>='0' && LA14_114<='9')||(LA14_114>='A' && LA14_114<='Z')||LA14_114=='_'||(LA14_114>='a' && LA14_114<='z')||(LA14_114>='\u00C0' && LA14_114<='\u00D6')||(LA14_114>='\u00D8' && LA14_114<='\u00F6')||(LA14_114>='\u00F8' && LA14_114<='\u1FFF')||(LA14_114>='\u3040' && LA14_114<='\u318F')||(LA14_114>='\u3300' && LA14_114<='\u337F')||(LA14_114>='\u3400' && LA14_114<='\u3D2D')||(LA14_114>='\u4E00' && LA14_114<='\u9FFF')||(LA14_114>='\uF900' && LA14_114<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_115=='$'||(LA14_115>='0' && LA14_115<='9')||(LA14_115>='A' && LA14_115<='Z')||LA14_115=='_'||(LA14_115>='a' && LA14_115<='z')||(LA14_115>='\u00C0' && LA14_115<='\u00D6')||(LA14_115>='\u00D8' && LA14_115<='\u00F6')||(LA14_115>='\u00F8' && LA14_115<='\u1FFF')||(LA14_115>='\u3040' && LA14_115<='\u318F')||(LA14_115>='\u3300' && LA14_115<='\u337F')||(LA14_115>='\u3400' && LA14_115<='\u3D2D')||(LA14_115>='\u4E00' && LA14_115<='\u9FFF')||(LA14_115>='\uF900' && LA14_115<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=24;}
+ alt14=25;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='=') ) {
- int LA14_21 = input.LA(2);
+ int LA14_22 = input.LA(2);
- if ( (LA14_21=='=') ) {
- alt14=38;
+ if ( (LA14_22=='=') ) {
+ alt14=39;
}
else {
- alt14=25;}
+ alt14=26;}
}
else if ( (LA14_0=='-') ) {
- int LA14_22 = input.LA(2);
+ int LA14_23 = input.LA(2);
- if ( (LA14_22=='>') ) {
- alt14=26;
+ if ( (LA14_23=='>') ) {
+ alt14=27;
}
else {
- alt14=45;}
+ alt14=46;}
}
else if ( (LA14_0=='?') ) {
- alt14=27;
+ alt14=28;
}
else if ( (LA14_0=='t') ) {
switch ( input.LA(2) ) {
- case 'h':
+ case 'r':
{
- int LA14_70 = input.LA(3);
+ int LA14_71 = input.LA(3);
- if ( (LA14_70=='e') ) {
- int LA14_115 = input.LA(4);
+ if ( (LA14_71=='u') ) {
+ int LA14_116 = input.LA(4);
- if ( (LA14_115=='n') ) {
- int LA14_149 = input.LA(5);
+ if ( (LA14_116=='e') ) {
+ int LA14_150 = input.LA(5);
- if ( (LA14_149=='$'||(LA14_149>='0' && LA14_149<='9')||(LA14_149>='A' && LA14_149<='Z')||LA14_149=='_'||(LA14_149>='a' && LA14_149<='z')||(LA14_149>='\u00C0' && LA14_149<='\u00D6')||(LA14_149>='\u00D8' && LA14_149<='\u00F6')||(LA14_149>='\u00F8' && LA14_149<='\u1FFF')||(LA14_149>='\u3040' && LA14_149<='\u318F')||(LA14_149>='\u3300' && LA14_149<='\u337F')||(LA14_149>='\u3400' && LA14_149<='\u3D2D')||(LA14_149>='\u4E00' && LA14_149<='\u9FFF')||(LA14_149>='\uF900' && LA14_149<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_150=='$'||(LA14_150>='0' && LA14_150<='9')||(LA14_150>='A' && LA14_150<='Z')||LA14_150=='_'||(LA14_150>='a' && LA14_150<='z')||(LA14_150>='\u00C0' && LA14_150<='\u00D6')||(LA14_150>='\u00D8' && LA14_150<='\u00F6')||(LA14_150>='\u00F8' && LA14_150<='\u1FFF')||(LA14_150>='\u3040' && LA14_150<='\u318F')||(LA14_150>='\u3300' && LA14_150<='\u337F')||(LA14_150>='\u3400' && LA14_150<='\u3D2D')||(LA14_150>='\u4E00' && LA14_150<='\u9FFF')||(LA14_150>='\uF900' && LA14_150<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=28;}
+ alt14=52;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
- case 'r':
+ case 'h':
{
- int LA14_71 = input.LA(3);
+ int LA14_72 = input.LA(3);
- if ( (LA14_71=='u') ) {
- int LA14_116 = input.LA(4);
+ if ( (LA14_72=='e') ) {
+ int LA14_117 = input.LA(4);
- if ( (LA14_116=='e') ) {
- int LA14_150 = input.LA(5);
+ if ( (LA14_117=='n') ) {
+ int LA14_151 = input.LA(5);
- if ( (LA14_150=='$'||(LA14_150>='0' && LA14_150<='9')||(LA14_150>='A' && LA14_150<='Z')||LA14_150=='_'||(LA14_150>='a' && LA14_150<='z')||(LA14_150>='\u00C0' && LA14_150<='\u00D6')||(LA14_150>='\u00D8' && LA14_150<='\u00F6')||(LA14_150>='\u00F8' && LA14_150<='\u1FFF')||(LA14_150>='\u3040' && LA14_150<='\u318F')||(LA14_150>='\u3300' && LA14_150<='\u337F')||(LA14_150>='\u3400' && LA14_150<='\u3D2D')||(LA14_150>='\u4E00' && LA14_150<='\u9FFF')||(LA14_150>='\uF900' && LA14_150<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_151=='$'||(LA14_151>='0' && LA14_151<='9')||(LA14_151>='A' && LA14_151<='Z')||LA14_151=='_'||(LA14_151>='a' && LA14_151<='z')||(LA14_151>='\u00C0' && LA14_151<='\u00D6')||(LA14_151>='\u00D8' && LA14_151<='\u00F6')||(LA14_151>='\u00F8' && LA14_151<='\u1FFF')||(LA14_151>='\u3040' && LA14_151<='\u318F')||(LA14_151>='\u3300' && LA14_151<='\u337F')||(LA14_151>='\u3400' && LA14_151<='\u3D2D')||(LA14_151>='\u4E00' && LA14_151<='\u9FFF')||(LA14_151>='\uF900' && LA14_151<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=51;}
+ alt14=29;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
case 'y':
{
- int LA14_72 = input.LA(3);
+ int LA14_73 = input.LA(3);
- if ( (LA14_72=='p') ) {
- int LA14_117 = input.LA(4);
+ if ( (LA14_73=='p') ) {
+ int LA14_118 = input.LA(4);
- if ( (LA14_117=='e') ) {
- int LA14_151 = input.LA(5);
+ if ( (LA14_118=='e') ) {
+ int LA14_152 = input.LA(5);
- if ( (LA14_151=='S') ) {
- int LA14_183 = input.LA(6);
+ if ( (LA14_152=='S') ) {
+ int LA14_184 = input.LA(6);
- if ( (LA14_183=='e') ) {
- int LA14_208 = input.LA(7);
+ if ( (LA14_184=='e') ) {
+ int LA14_209 = input.LA(7);
- if ( (LA14_208=='l') ) {
- int LA14_231 = input.LA(8);
+ if ( (LA14_209=='l') ) {
+ int LA14_232 = input.LA(8);
- if ( (LA14_231=='e') ) {
- int LA14_248 = input.LA(9);
+ if ( (LA14_232=='e') ) {
+ int LA14_249 = input.LA(9);
- if ( (LA14_248=='c') ) {
- int LA14_256 = input.LA(10);
+ if ( (LA14_249=='c') ) {
+ int LA14_257 = input.LA(10);
- if ( (LA14_256=='t') ) {
- int LA14_262 = input.LA(11);
+ if ( (LA14_257=='t') ) {
+ int LA14_263 = input.LA(11);
- if ( (LA14_262=='$'||(LA14_262>='0' && LA14_262<='9')||(LA14_262>='A' && LA14_262<='Z')||LA14_262=='_'||(LA14_262>='a' && LA14_262<='z')||(LA14_262>='\u00C0' && LA14_262<='\u00D6')||(LA14_262>='\u00D8' && LA14_262<='\u00F6')||(LA14_262>='\u00F8' && LA14_262<='\u1FFF')||(LA14_262>='\u3040' && LA14_262<='\u318F')||(LA14_262>='\u3300' && LA14_262<='\u337F')||(LA14_262>='\u3400' && LA14_262<='\u3D2D')||(LA14_262>='\u4E00' && LA14_262<='\u9FFF')||(LA14_262>='\uF900' && LA14_262<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_263=='$'||(LA14_263>='0' && LA14_263<='9')||(LA14_263>='A' && LA14_263<='Z')||LA14_263=='_'||(LA14_263>='a' && LA14_263<='z')||(LA14_263>='\u00C0' && LA14_263<='\u00D6')||(LA14_263>='\u00D8' && LA14_263<='\u00F6')||(LA14_263>='\u00F8' && LA14_263<='\u1FFF')||(LA14_263>='\u3040' && LA14_263<='\u318F')||(LA14_263>='\u3300' && LA14_263<='\u337F')||(LA14_263>='\u3400' && LA14_263<='\u3D2D')||(LA14_263>='\u4E00' && LA14_263<='\u9FFF')||(LA14_263>='\uF900' && LA14_263<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=53;}
+ alt14=54;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='s') ) {
switch ( input.LA(2) ) {
case 'w':
{
- int LA14_73 = input.LA(3);
+ int LA14_74 = input.LA(3);
- if ( (LA14_73=='i') ) {
- int LA14_118 = input.LA(4);
+ if ( (LA14_74=='i') ) {
+ int LA14_119 = input.LA(4);
- if ( (LA14_118=='t') ) {
- int LA14_152 = input.LA(5);
+ if ( (LA14_119=='t') ) {
+ int LA14_153 = input.LA(5);
- if ( (LA14_152=='c') ) {
- int LA14_184 = input.LA(6);
+ if ( (LA14_153=='c') ) {
+ int LA14_185 = input.LA(6);
- if ( (LA14_184=='h') ) {
- int LA14_209 = input.LA(7);
+ if ( (LA14_185=='h') ) {
+ int LA14_210 = input.LA(7);
- if ( (LA14_209=='$'||(LA14_209>='0' && LA14_209<='9')||(LA14_209>='A' && LA14_209<='Z')||LA14_209=='_'||(LA14_209>='a' && LA14_209<='z')||(LA14_209>='\u00C0' && LA14_209<='\u00D6')||(LA14_209>='\u00D8' && LA14_209<='\u00F6')||(LA14_209>='\u00F8' && LA14_209<='\u1FFF')||(LA14_209>='\u3040' && LA14_209<='\u318F')||(LA14_209>='\u3300' && LA14_209<='\u337F')||(LA14_209>='\u3400' && LA14_209<='\u3D2D')||(LA14_209>='\u4E00' && LA14_209<='\u9FFF')||(LA14_209>='\uF900' && LA14_209<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_210=='$'||(LA14_210>='0' && LA14_210<='9')||(LA14_210>='A' && LA14_210<='Z')||LA14_210=='_'||(LA14_210>='a' && LA14_210<='z')||(LA14_210>='\u00C0' && LA14_210<='\u00D6')||(LA14_210>='\u00D8' && LA14_210<='\u00F6')||(LA14_210>='\u00F8' && LA14_210<='\u1FFF')||(LA14_210>='\u3040' && LA14_210<='\u318F')||(LA14_210>='\u3300' && LA14_210<='\u337F')||(LA14_210>='\u3400' && LA14_210<='\u3D2D')||(LA14_210>='\u4E00' && LA14_210<='\u9FFF')||(LA14_210>='\uF900' && LA14_210<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=30;}
+ alt14=31;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
case 'e':
{
- int LA14_74 = input.LA(3);
+ int LA14_75 = input.LA(3);
- if ( (LA14_74=='l') ) {
- int LA14_119 = input.LA(4);
+ if ( (LA14_75=='l') ) {
+ int LA14_120 = input.LA(4);
- if ( (LA14_119=='e') ) {
- int LA14_153 = input.LA(5);
+ if ( (LA14_120=='e') ) {
+ int LA14_154 = input.LA(5);
- if ( (LA14_153=='c') ) {
- int LA14_185 = input.LA(6);
+ if ( (LA14_154=='c') ) {
+ int LA14_186 = input.LA(6);
- if ( (LA14_185=='t') ) {
- int LA14_210 = input.LA(7);
+ if ( (LA14_186=='t') ) {
+ int LA14_211 = input.LA(7);
- if ( (LA14_210=='F') ) {
- int LA14_233 = input.LA(8);
+ if ( (LA14_211=='F') ) {
+ int LA14_234 = input.LA(8);
- if ( (LA14_233=='i') ) {
- int LA14_249 = input.LA(9);
+ if ( (LA14_234=='i') ) {
+ int LA14_250 = input.LA(9);
- if ( (LA14_249=='r') ) {
- int LA14_257 = input.LA(10);
+ if ( (LA14_250=='r') ) {
+ int LA14_258 = input.LA(10);
- if ( (LA14_257=='s') ) {
- int LA14_263 = input.LA(11);
+ if ( (LA14_258=='s') ) {
+ int LA14_264 = input.LA(11);
- if ( (LA14_263=='t') ) {
- int LA14_268 = input.LA(12);
+ if ( (LA14_264=='t') ) {
+ int LA14_269 = input.LA(12);
- if ( (LA14_268=='$'||(LA14_268>='0' && LA14_268<='9')||(LA14_268>='A' && LA14_268<='Z')||LA14_268=='_'||(LA14_268>='a' && LA14_268<='z')||(LA14_268>='\u00C0' && LA14_268<='\u00D6')||(LA14_268>='\u00D8' && LA14_268<='\u00F6')||(LA14_268>='\u00F8' && LA14_268<='\u1FFF')||(LA14_268>='\u3040' && LA14_268<='\u318F')||(LA14_268>='\u3300' && LA14_268<='\u337F')||(LA14_268>='\u3400' && LA14_268<='\u3D2D')||(LA14_268>='\u4E00' && LA14_268<='\u9FFF')||(LA14_268>='\uF900' && LA14_268<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_269=='$'||(LA14_269>='0' && LA14_269<='9')||(LA14_269>='A' && LA14_269<='Z')||LA14_269=='_'||(LA14_269>='a' && LA14_269<='z')||(LA14_269>='\u00C0' && LA14_269<='\u00D6')||(LA14_269>='\u00D8' && LA14_269<='\u00F6')||(LA14_269>='\u00F8' && LA14_269<='\u1FFF')||(LA14_269>='\u3040' && LA14_269<='\u318F')||(LA14_269>='\u3300' && LA14_269<='\u337F')||(LA14_269>='\u3400' && LA14_269<='\u3D2D')||(LA14_269>='\u4E00' && LA14_269<='\u9FFF')||(LA14_269>='\uF900' && LA14_269<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=56;}
+ alt14=57;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
- else if ( (LA14_210=='$'||(LA14_210>='0' && LA14_210<='9')||(LA14_210>='A' && LA14_210<='E')||(LA14_210>='G' && LA14_210<='Z')||LA14_210=='_'||(LA14_210>='a' && LA14_210<='z')||(LA14_210>='\u00C0' && LA14_210<='\u00D6')||(LA14_210>='\u00D8' && LA14_210<='\u00F6')||(LA14_210>='\u00F8' && LA14_210<='\u1FFF')||(LA14_210>='\u3040' && LA14_210<='\u318F')||(LA14_210>='\u3300' && LA14_210<='\u337F')||(LA14_210>='\u3400' && LA14_210<='\u3D2D')||(LA14_210>='\u4E00' && LA14_210<='\u9FFF')||(LA14_210>='\uF900' && LA14_210<='\uFAFF')) ) {
- alt14=67;
+ else if ( (LA14_211=='$'||(LA14_211>='0' && LA14_211<='9')||(LA14_211>='A' && LA14_211<='E')||(LA14_211>='G' && LA14_211<='Z')||LA14_211=='_'||(LA14_211>='a' && LA14_211<='z')||(LA14_211>='\u00C0' && LA14_211<='\u00D6')||(LA14_211>='\u00D8' && LA14_211<='\u00F6')||(LA14_211>='\u00F8' && LA14_211<='\u1FFF')||(LA14_211>='\u3040' && LA14_211<='\u318F')||(LA14_211>='\u3300' && LA14_211<='\u337F')||(LA14_211>='\u3400' && LA14_211<='\u3D2D')||(LA14_211>='\u4E00' && LA14_211<='\u9FFF')||(LA14_211>='\uF900' && LA14_211<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=55;}
+ alt14=56;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
case 'o':
{
- int LA14_75 = input.LA(3);
+ int LA14_76 = input.LA(3);
- if ( (LA14_75=='r') ) {
- int LA14_120 = input.LA(4);
+ if ( (LA14_76=='r') ) {
+ int LA14_121 = input.LA(4);
- if ( (LA14_120=='t') ) {
- int LA14_154 = input.LA(5);
+ if ( (LA14_121=='t') ) {
+ int LA14_155 = input.LA(5);
- if ( (LA14_154=='B') ) {
- int LA14_186 = input.LA(6);
+ if ( (LA14_155=='B') ) {
+ int LA14_187 = input.LA(6);
- if ( (LA14_186=='y') ) {
- int LA14_211 = input.LA(7);
+ if ( (LA14_187=='y') ) {
+ int LA14_212 = input.LA(7);
- if ( (LA14_211=='$'||(LA14_211>='0' && LA14_211<='9')||(LA14_211>='A' && LA14_211<='Z')||LA14_211=='_'||(LA14_211>='a' && LA14_211<='z')||(LA14_211>='\u00C0' && LA14_211<='\u00D6')||(LA14_211>='\u00D8' && LA14_211<='\u00F6')||(LA14_211>='\u00F8' && LA14_211<='\u1FFF')||(LA14_211>='\u3040' && LA14_211<='\u318F')||(LA14_211>='\u3300' && LA14_211<='\u337F')||(LA14_211>='\u3400' && LA14_211<='\u3D2D')||(LA14_211>='\u4E00' && LA14_211<='\u9FFF')||(LA14_211>='\uF900' && LA14_211<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_212=='$'||(LA14_212>='0' && LA14_212<='9')||(LA14_212>='A' && LA14_212<='Z')||LA14_212=='_'||(LA14_212>='a' && LA14_212<='z')||(LA14_212>='\u00C0' && LA14_212<='\u00D6')||(LA14_212>='\u00D8' && LA14_212<='\u00F6')||(LA14_212>='\u00F8' && LA14_212<='\u1FFF')||(LA14_212>='\u3040' && LA14_212<='\u318F')||(LA14_212>='\u3300' && LA14_212<='\u337F')||(LA14_212>='\u3400' && LA14_212<='\u3D2D')||(LA14_212>='\u4E00' && LA14_212<='\u9FFF')||(LA14_212>='\uF900' && LA14_212<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=60;}
+ alt14=61;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='{') ) {
- alt14=31;
+ alt14=32;
}
else if ( (LA14_0=='d') ) {
- int LA14_27 = input.LA(2);
+ int LA14_28 = input.LA(2);
- if ( (LA14_27=='e') ) {
- int LA14_76 = input.LA(3);
+ if ( (LA14_28=='e') ) {
+ int LA14_77 = input.LA(3);
- if ( (LA14_76=='f') ) {
- int LA14_121 = input.LA(4);
+ if ( (LA14_77=='f') ) {
+ int LA14_122 = input.LA(4);
- if ( (LA14_121=='a') ) {
- int LA14_155 = input.LA(5);
+ if ( (LA14_122=='a') ) {
+ int LA14_156 = input.LA(5);
- if ( (LA14_155=='u') ) {
- int LA14_187 = input.LA(6);
+ if ( (LA14_156=='u') ) {
+ int LA14_188 = input.LA(6);
- if ( (LA14_187=='l') ) {
- int LA14_212 = input.LA(7);
+ if ( (LA14_188=='l') ) {
+ int LA14_213 = input.LA(7);
- if ( (LA14_212=='t') ) {
- int LA14_236 = input.LA(8);
+ if ( (LA14_213=='t') ) {
+ int LA14_237 = input.LA(8);
- if ( (LA14_236=='$'||(LA14_236>='0' && LA14_236<='9')||(LA14_236>='A' && LA14_236<='Z')||LA14_236=='_'||(LA14_236>='a' && LA14_236<='z')||(LA14_236>='\u00C0' && LA14_236<='\u00D6')||(LA14_236>='\u00D8' && LA14_236<='\u00F6')||(LA14_236>='\u00F8' && LA14_236<='\u1FFF')||(LA14_236>='\u3040' && LA14_236<='\u318F')||(LA14_236>='\u3300' && LA14_236<='\u337F')||(LA14_236>='\u3400' && LA14_236<='\u3D2D')||(LA14_236>='\u4E00' && LA14_236<='\u9FFF')||(LA14_236>='\uF900' && LA14_236<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_237=='$'||(LA14_237>='0' && LA14_237<='9')||(LA14_237>='A' && LA14_237<='Z')||LA14_237=='_'||(LA14_237>='a' && LA14_237<='z')||(LA14_237>='\u00C0' && LA14_237<='\u00D6')||(LA14_237>='\u00D8' && LA14_237<='\u00F6')||(LA14_237>='\u00F8' && LA14_237<='\u1FFF')||(LA14_237>='\u3040' && LA14_237<='\u318F')||(LA14_237>='\u3300' && LA14_237<='\u337F')||(LA14_237>='\u3400' && LA14_237<='\u3D2D')||(LA14_237>='\u4E00' && LA14_237<='\u9FFF')||(LA14_237>='\uF900' && LA14_237<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=33;}
+ alt14=34;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='}') ) {
- alt14=34;
+ alt14=35;
}
else if ( (LA14_0=='|') ) {
- int LA14_29 = input.LA(2);
+ int LA14_30 = input.LA(2);
- if ( (LA14_29=='|') ) {
- alt14=35;
+ if ( (LA14_30=='|') ) {
+ alt14=36;
}
else {
- alt14=62;}
+ alt14=63;}
}
else if ( (LA14_0=='&') ) {
- alt14=36;
+ alt14=37;
}
else if ( (LA14_0=='!') ) {
- int LA14_31 = input.LA(2);
-
- if ( (LA14_31=='=') ) {
- alt14=39;
- }
- else {
- alt14=47;}
- }
- else if ( (LA14_0=='>') ) {
int LA14_32 = input.LA(2);
if ( (LA14_32=='=') ) {
alt14=40;
}
else {
- alt14=42;}
+ alt14=48;}
}
- else if ( (LA14_0=='<') ) {
+ else if ( (LA14_0=='>') ) {
int LA14_33 = input.LA(2);
if ( (LA14_33=='=') ) {
@@ -3280,781 +3283,797 @@ public class XtendLexer extends Lexer {
else {
alt14=43;}
}
+ else if ( (LA14_0=='<') ) {
+ int LA14_34 = input.LA(2);
+
+ if ( (LA14_34=='=') ) {
+ alt14=42;
+ }
+ else {
+ alt14=44;}
+ }
else if ( (LA14_0=='+') ) {
- alt14=44;
+ alt14=45;
}
else if ( (LA14_0=='/') ) {
switch ( input.LA(2) ) {
- case '*':
+ case '/':
{
- alt14=69;
+ alt14=71;
}
break;
- case '/':
+ case '*':
{
alt14=70;
}
break;
default:
- alt14=46;}
+ alt14=47;}
}
else if ( (LA14_0=='G') ) {
- int LA14_36 = input.LA(2);
+ int LA14_37 = input.LA(2);
- if ( (LA14_36=='L') ) {
- int LA14_88 = input.LA(3);
+ if ( (LA14_37=='L') ) {
+ int LA14_89 = input.LA(3);
- if ( (LA14_88=='O') ) {
- int LA14_122 = input.LA(4);
+ if ( (LA14_89=='O') ) {
+ int LA14_123 = input.LA(4);
- if ( (LA14_122=='B') ) {
- int LA14_156 = input.LA(5);
+ if ( (LA14_123=='B') ) {
+ int LA14_157 = input.LA(5);
- if ( (LA14_156=='A') ) {
- int LA14_188 = input.LA(6);
+ if ( (LA14_157=='A') ) {
+ int LA14_189 = input.LA(6);
- if ( (LA14_188=='L') ) {
- int LA14_213 = input.LA(7);
+ if ( (LA14_189=='L') ) {
+ int LA14_214 = input.LA(7);
- if ( (LA14_213=='V') ) {
- int LA14_237 = input.LA(8);
+ if ( (LA14_214=='V') ) {
+ int LA14_238 = input.LA(8);
- if ( (LA14_237=='A') ) {
- int LA14_251 = input.LA(9);
+ if ( (LA14_238=='A') ) {
+ int LA14_252 = input.LA(9);
- if ( (LA14_251=='R') ) {
- int LA14_258 = input.LA(10);
+ if ( (LA14_252=='R') ) {
+ int LA14_259 = input.LA(10);
- if ( (LA14_258=='$'||(LA14_258>='0' && LA14_258<='9')||(LA14_258>='A' && LA14_258<='Z')||LA14_258=='_'||(LA14_258>='a' && LA14_258<='z')||(LA14_258>='\u00C0' && LA14_258<='\u00D6')||(LA14_258>='\u00D8' && LA14_258<='\u00F6')||(LA14_258>='\u00F8' && LA14_258<='\u1FFF')||(LA14_258>='\u3040' && LA14_258<='\u318F')||(LA14_258>='\u3300' && LA14_258<='\u337F')||(LA14_258>='\u3400' && LA14_258<='\u3D2D')||(LA14_258>='\u4E00' && LA14_258<='\u9FFF')||(LA14_258>='\uF900' && LA14_258<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_259=='$'||(LA14_259>='0' && LA14_259<='9')||(LA14_259>='A' && LA14_259<='Z')||LA14_259=='_'||(LA14_259>='a' && LA14_259<='z')||(LA14_259>='\u00C0' && LA14_259<='\u00D6')||(LA14_259>='\u00D8' && LA14_259<='\u00F6')||(LA14_259>='\u00F8' && LA14_259<='\u1FFF')||(LA14_259>='\u3040' && LA14_259<='\u318F')||(LA14_259>='\u3300' && LA14_259<='\u337F')||(LA14_259>='\u3400' && LA14_259<='\u3D2D')||(LA14_259>='\u4E00' && LA14_259<='\u9FFF')||(LA14_259>='\uF900' && LA14_259<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=48;}
+ alt14=49;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='n') ) {
switch ( input.LA(2) ) {
+ case 'e':
+ {
+ int LA14_90 = input.LA(3);
+
+ if ( (LA14_90=='w') ) {
+ int LA14_124 = input.LA(4);
+
+ if ( (LA14_124=='$'||(LA14_124>='0' && LA14_124<='9')||(LA14_124>='A' && LA14_124<='Z')||LA14_124=='_'||(LA14_124>='a' && LA14_124<='z')||(LA14_124>='\u00C0' && LA14_124<='\u00D6')||(LA14_124>='\u00D8' && LA14_124<='\u00F6')||(LA14_124>='\u00F8' && LA14_124<='\u1FFF')||(LA14_124>='\u3040' && LA14_124<='\u318F')||(LA14_124>='\u3300' && LA14_124<='\u337F')||(LA14_124>='\u3400' && LA14_124<='\u3D2D')||(LA14_124>='\u4E00' && LA14_124<='\u9FFF')||(LA14_124>='\uF900' && LA14_124<='\uFAFF')) ) {
+ alt14=68;
+ }
+ else {
+ alt14=50;}
+ }
+ else {
+ alt14=68;}
+ }
+ break;
case 'u':
{
- int LA14_89 = input.LA(3);
+ int LA14_91 = input.LA(3);
- if ( (LA14_89=='l') ) {
- int LA14_123 = input.LA(4);
+ if ( (LA14_91=='l') ) {
+ int LA14_125 = input.LA(4);
- if ( (LA14_123=='l') ) {
- int LA14_157 = input.LA(5);
+ if ( (LA14_125=='l') ) {
+ int LA14_159 = input.LA(5);
- if ( (LA14_157=='$'||(LA14_157>='0' && LA14_157<='9')||(LA14_157>='A' && LA14_157<='Z')||LA14_157=='_'||(LA14_157>='a' && LA14_157<='z')||(LA14_157>='\u00C0' && LA14_157<='\u00D6')||(LA14_157>='\u00D8' && LA14_157<='\u00F6')||(LA14_157>='\u00F8' && LA14_157<='\u1FFF')||(LA14_157>='\u3040' && LA14_157<='\u318F')||(LA14_157>='\u3300' && LA14_157<='\u337F')||(LA14_157>='\u3400' && LA14_157<='\u3D2D')||(LA14_157>='\u4E00' && LA14_157<='\u9FFF')||(LA14_157>='\uF900' && LA14_157<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_159=='$'||(LA14_159>='0' && LA14_159<='9')||(LA14_159>='A' && LA14_159<='Z')||LA14_159=='_'||(LA14_159>='a' && LA14_159<='z')||(LA14_159>='\u00C0' && LA14_159<='\u00D6')||(LA14_159>='\u00D8' && LA14_159<='\u00F6')||(LA14_159>='\u00F8' && LA14_159<='\u1FFF')||(LA14_159>='\u3040' && LA14_159<='\u318F')||(LA14_159>='\u3300' && LA14_159<='\u337F')||(LA14_159>='\u3400' && LA14_159<='\u3D2D')||(LA14_159>='\u4E00' && LA14_159<='\u9FFF')||(LA14_159>='\uF900' && LA14_159<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=52;}
+ alt14=53;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
case 'o':
{
- int LA14_90 = input.LA(3);
+ int LA14_92 = input.LA(3);
- if ( (LA14_90=='t') ) {
- int LA14_124 = input.LA(4);
+ if ( (LA14_92=='t') ) {
+ int LA14_126 = input.LA(4);
- if ( (LA14_124=='E') ) {
- int LA14_158 = input.LA(5);
+ if ( (LA14_126=='E') ) {
+ int LA14_160 = input.LA(5);
- if ( (LA14_158=='x') ) {
- int LA14_190 = input.LA(6);
+ if ( (LA14_160=='x') ) {
+ int LA14_191 = input.LA(6);
- if ( (LA14_190=='i') ) {
- int LA14_214 = input.LA(7);
+ if ( (LA14_191=='i') ) {
+ int LA14_215 = input.LA(7);
- if ( (LA14_214=='s') ) {
- int LA14_238 = input.LA(8);
+ if ( (LA14_215=='s') ) {
+ int LA14_239 = input.LA(8);
- if ( (LA14_238=='t') ) {
- int LA14_252 = input.LA(9);
+ if ( (LA14_239=='t') ) {
+ int LA14_253 = input.LA(9);
- if ( (LA14_252=='s') ) {
- int LA14_259 = input.LA(10);
+ if ( (LA14_253=='s') ) {
+ int LA14_260 = input.LA(10);
- if ( (LA14_259=='$'||(LA14_259>='0' && LA14_259<='9')||(LA14_259>='A' && LA14_259<='Z')||LA14_259=='_'||(LA14_259>='a' && LA14_259<='z')||(LA14_259>='\u00C0' && LA14_259<='\u00D6')||(LA14_259>='\u00D8' && LA14_259<='\u00F6')||(LA14_259>='\u00F8' && LA14_259<='\u1FFF')||(LA14_259>='\u3040' && LA14_259<='\u318F')||(LA14_259>='\u3300' && LA14_259<='\u337F')||(LA14_259>='\u3400' && LA14_259<='\u3D2D')||(LA14_259>='\u4E00' && LA14_259<='\u9FFF')||(LA14_259>='\uF900' && LA14_259<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_260=='$'||(LA14_260>='0' && LA14_260<='9')||(LA14_260>='A' && LA14_260<='Z')||LA14_260=='_'||(LA14_260>='a' && LA14_260<='z')||(LA14_260>='\u00C0' && LA14_260<='\u00D6')||(LA14_260>='\u00D8' && LA14_260<='\u00F6')||(LA14_260>='\u00F8' && LA14_260<='\u1FFF')||(LA14_260>='\u3040' && LA14_260<='\u318F')||(LA14_260>='\u3300' && LA14_260<='\u337F')||(LA14_260>='\u3400' && LA14_260<='\u3D2D')||(LA14_260>='\u4E00' && LA14_260<='\u9FFF')||(LA14_260>='\uF900' && LA14_260<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=59;}
+ alt14=60;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
- }
- break;
- case 'e':
- {
- int LA14_91 = input.LA(3);
-
- if ( (LA14_91=='w') ) {
- int LA14_125 = input.LA(4);
-
- if ( (LA14_125=='$'||(LA14_125>='0' && LA14_125<='9')||(LA14_125>='A' && LA14_125<='Z')||LA14_125=='_'||(LA14_125>='a' && LA14_125<='z')||(LA14_125>='\u00C0' && LA14_125<='\u00D6')||(LA14_125>='\u00D8' && LA14_125<='\u00F6')||(LA14_125>='\u00F8' && LA14_125<='\u1FFF')||(LA14_125>='\u3040' && LA14_125<='\u318F')||(LA14_125>='\u3300' && LA14_125<='\u337F')||(LA14_125>='\u3400' && LA14_125<='\u3D2D')||(LA14_125>='\u4E00' && LA14_125<='\u9FFF')||(LA14_125>='\uF900' && LA14_125<='\uFAFF')) ) {
- alt14=67;
- }
- else {
- alt14=49;}
- }
- else {
- alt14=67;}
+ alt14=68;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='f') ) {
switch ( input.LA(2) ) {
case 'a':
{
- int LA14_92 = input.LA(3);
+ int LA14_93 = input.LA(3);
- if ( (LA14_92=='l') ) {
- int LA14_126 = input.LA(4);
+ if ( (LA14_93=='l') ) {
+ int LA14_127 = input.LA(4);
- if ( (LA14_126=='s') ) {
- int LA14_160 = input.LA(5);
+ if ( (LA14_127=='s') ) {
+ int LA14_161 = input.LA(5);
- if ( (LA14_160=='e') ) {
- int LA14_191 = input.LA(6);
+ if ( (LA14_161=='e') ) {
+ int LA14_192 = input.LA(6);
- if ( (LA14_191=='$'||(LA14_191>='0' && LA14_191<='9')||(LA14_191>='A' && LA14_191<='Z')||LA14_191=='_'||(LA14_191>='a' && LA14_191<='z')||(LA14_191>='\u00C0' && LA14_191<='\u00D6')||(LA14_191>='\u00D8' && LA14_191<='\u00F6')||(LA14_191>='\u00F8' && LA14_191<='\u1FFF')||(LA14_191>='\u3040' && LA14_191<='\u318F')||(LA14_191>='\u3300' && LA14_191<='\u337F')||(LA14_191>='\u3400' && LA14_191<='\u3D2D')||(LA14_191>='\u4E00' && LA14_191<='\u9FFF')||(LA14_191>='\uF900' && LA14_191<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_192=='$'||(LA14_192>='0' && LA14_192<='9')||(LA14_192>='A' && LA14_192<='Z')||LA14_192=='_'||(LA14_192>='a' && LA14_192<='z')||(LA14_192>='\u00C0' && LA14_192<='\u00D6')||(LA14_192>='\u00D8' && LA14_192<='\u00F6')||(LA14_192>='\u00F8' && LA14_192<='\u1FFF')||(LA14_192>='\u3040' && LA14_192<='\u318F')||(LA14_192>='\u3300' && LA14_192<='\u337F')||(LA14_192>='\u3400' && LA14_192<='\u3D2D')||(LA14_192>='\u4E00' && LA14_192<='\u9FFF')||(LA14_192>='\uF900' && LA14_192<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=50;}
+ alt14=51;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
case 'o':
{
- int LA14_93 = input.LA(3);
+ int LA14_94 = input.LA(3);
- if ( (LA14_93=='r') ) {
- int LA14_127 = input.LA(4);
+ if ( (LA14_94=='r') ) {
+ int LA14_128 = input.LA(4);
- if ( (LA14_127=='A') ) {
- int LA14_161 = input.LA(5);
+ if ( (LA14_128=='A') ) {
+ int LA14_162 = input.LA(5);
- if ( (LA14_161=='l') ) {
- int LA14_192 = input.LA(6);
+ if ( (LA14_162=='l') ) {
+ int LA14_193 = input.LA(6);
- if ( (LA14_192=='l') ) {
- int LA14_216 = input.LA(7);
+ if ( (LA14_193=='l') ) {
+ int LA14_217 = input.LA(7);
- if ( (LA14_216=='$'||(LA14_216>='0' && LA14_216<='9')||(LA14_216>='A' && LA14_216<='Z')||LA14_216=='_'||(LA14_216>='a' && LA14_216<='z')||(LA14_216>='\u00C0' && LA14_216<='\u00D6')||(LA14_216>='\u00D8' && LA14_216<='\u00F6')||(LA14_216>='\u00F8' && LA14_216<='\u1FFF')||(LA14_216>='\u3040' && LA14_216<='\u318F')||(LA14_216>='\u3300' && LA14_216<='\u337F')||(LA14_216>='\u3400' && LA14_216<='\u3D2D')||(LA14_216>='\u4E00' && LA14_216<='\u9FFF')||(LA14_216>='\uF900' && LA14_216<='\uFAFF')) ) {
- alt14=67;
+ if ( (LA14_217=='$'||(LA14_217>='0' && LA14_217<='9')||(LA14_217>='A' && LA14_217<='Z')||LA14_217=='_'||(LA14_217>='a' && LA14_217<='z')||(LA14_217>='\u00C0' && LA14_217<='\u00D6')||(LA14_217>='\u00D8' && LA14_217<='\u00F6')||(LA14_217>='\u00F8' && LA14_217<='\u1FFF')||(LA14_217>='\u3040' && LA14_217<='\u318F')||(LA14_217>='\u3300' && LA14_217<='\u337F')||(LA14_217>='\u3400' && LA14_217<='\u3D2D')||(LA14_217>='\u4E00' && LA14_217<='\u9FFF')||(LA14_217>='\uF900' && LA14_217<='\uFAFF')) ) {
+ alt14=68;
}
else {
- alt14=61;}
+ alt14=62;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
else {
- alt14=67;}
+ alt14=68;}
}
break;
default:
- alt14=67;}
+ alt14=68;}
}
else if ( (LA14_0=='[') ) {
- alt14=63;
+ alt14=64;
}
else if ( (LA14_0==']') ) {
- alt14=64;
+ alt14=65;
}
else if ( ((LA14_0>='0' && LA14_0<='9')) ) {
- alt14=65;
+ alt14=66;
}
else if ( (LA14_0=='\"'||LA14_0=='\'') ) {
- alt14=66;
+ alt14=67;
}
else if ( (LA14_0=='$'||(LA14_0>='A' && LA14_0<='B')||LA14_0=='D'||LA14_0=='F'||(LA14_0>='H' && LA14_0<='I')||LA14_0=='K'||(LA14_0>='M' && LA14_0<='R')||(LA14_0>='T' && LA14_0<='V')||(LA14_0>='X' && LA14_0<='Z')||(LA14_0>='^' && LA14_0<='_')||LA14_0=='b'||(LA14_0>='g' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='k')||LA14_0=='m'||LA14_0=='o'||LA14_0=='q'||(LA14_0>='u' && LA14_0<='z')||(LA14_0>='\u00C0' && LA14_0<='\u00D6')||(LA14_0>='\u00D8' && LA14_0<='\u00F6')||(LA14_0>='\u00F8' && LA14_0<='\u1FFF')||(LA14_0>='\u3040' && LA14_0<='\u318F')||(LA14_0>='\u3300' && LA14_0<='\u337F')||(LA14_0>='\u3400' && LA14_0<='\u3D2D')||(LA14_0>='\u4E00' && LA14_0<='\u9FFF')||(LA14_0>='\uF900' && LA14_0<='\uFAFF')) ) {
- alt14=67;
+ alt14=68;
}
else if ( ((LA14_0>='\t' && LA14_0<='\n')||(LA14_0>='\f' && LA14_0<='\r')||LA14_0==' ') ) {
- alt14=68;
+ alt14=69;
}
else if ( (LA14_0=='\u00AB') ) {
- alt14=71;
+ alt14=72;
}
else if ( (LA14_0=='\u00BB') ) {
- alt14=72;
+ alt14=73;
}
else {
NoViableAltException nvae =
- new NoViableAltException("1:1: Tokens : ( T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | T80 | T81 | IntLiteral | StringLiteral | Identifier | WS | COMMENT | LINE_COMMENT | XPAND_TAG_OPEN | XPAND_TAG_CLOSE );", 14, 0, input);
+ new NoViableAltException("1:1: Tokens : ( T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | T80 | T81 | T82 | IntLiteral | StringLiteral | Identifier | WS | COMMENT | LINE_COMMENT | XPAND_TAG_OPEN | XPAND_TAG_CLOSE );", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:10: T18
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:10: T18
{
mT18();
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:14: T19
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:14: T19
{
mT19();
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:18: T20
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:18: T20
{
mT20();
}
break;
case 4 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:22: T21
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:22: T21
{
mT21();
}
break;
case 5 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:26: T22
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:26: T22
{
mT22();
}
break;
case 6 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:30: T23
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:30: T23
{
mT23();
}
break;
case 7 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:34: T24
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:34: T24
{
mT24();
}
break;
case 8 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:38: T25
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:38: T25
{
mT25();
}
break;
case 9 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:42: T26
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:42: T26
{
mT26();
}
break;
case 10 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:46: T27
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:46: T27
{
mT27();
}
break;
case 11 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:50: T28
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:50: T28
{
mT28();
}
break;
case 12 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:54: T29
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:54: T29
{
mT29();
}
break;
case 13 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:58: T30
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:58: T30
{
mT30();
}
break;
case 14 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:62: T31
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:62: T31
{
mT31();
}
break;
case 15 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:66: T32
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:66: T32
{
mT32();
}
break;
case 16 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:70: T33
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:70: T33
{
mT33();
}
break;
case 17 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:74: T34
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:74: T34
{
mT34();
}
break;
case 18 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:78: T35
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:78: T35
{
mT35();
}
break;
case 19 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:82: T36
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:82: T36
{
mT36();
}
break;
case 20 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:86: T37
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:86: T37
{
mT37();
}
break;
case 21 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:90: T38
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:90: T38
{
mT38();
}
break;
case 22 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:94: T39
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:94: T39
{
mT39();
}
break;
case 23 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:98: T40
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:98: T40
{
mT40();
}
break;
case 24 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:102: T41
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:102: T41
{
mT41();
}
break;
case 25 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:106: T42
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:106: T42
{
mT42();
}
break;
case 26 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:110: T43
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:110: T43
{
mT43();
}
break;
case 27 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:114: T44
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:114: T44
{
mT44();
}
break;
case 28 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:118: T45
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:118: T45
{
mT45();
}
break;
case 29 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:122: T46
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:122: T46
{
mT46();
}
break;
case 30 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:126: T47
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:126: T47
{
mT47();
}
break;
case 31 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:130: T48
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:130: T48
{
mT48();
}
break;
case 32 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:134: T49
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:134: T49
{
mT49();
}
break;
case 33 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:138: T50
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:138: T50
{
mT50();
}
break;
case 34 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:142: T51
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:142: T51
{
mT51();
}
break;
case 35 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:146: T52
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:146: T52
{
mT52();
}
break;
case 36 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:150: T53
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:150: T53
{
mT53();
}
break;
case 37 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:154: T54
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:154: T54
{
mT54();
}
break;
case 38 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:158: T55
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:158: T55
{
mT55();
}
break;
case 39 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:162: T56
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:162: T56
{
mT56();
}
break;
case 40 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:166: T57
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:166: T57
{
mT57();
}
break;
case 41 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:170: T58
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:170: T58
{
mT58();
}
break;
case 42 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:174: T59
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:174: T59
{
mT59();
}
break;
case 43 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:178: T60
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:178: T60
{
mT60();
}
break;
case 44 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:182: T61
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:182: T61
{
mT61();
}
break;
case 45 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:186: T62
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:186: T62
{
mT62();
}
break;
case 46 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:190: T63
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:190: T63
{
mT63();
}
break;
case 47 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:194: T64
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:194: T64
{
mT64();
}
break;
case 48 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:198: T65
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:198: T65
{
mT65();
}
break;
case 49 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:202: T66
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:202: T66
{
mT66();
}
break;
case 50 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:206: T67
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:206: T67
{
mT67();
}
break;
case 51 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:210: T68
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:210: T68
{
mT68();
}
break;
case 52 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:214: T69
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:214: T69
{
mT69();
}
break;
case 53 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:218: T70
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:218: T70
{
mT70();
}
break;
case 54 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:222: T71
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:222: T71
{
mT71();
}
break;
case 55 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:226: T72
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:226: T72
{
mT72();
}
break;
case 56 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:230: T73
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:230: T73
{
mT73();
}
break;
case 57 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:234: T74
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:234: T74
{
mT74();
}
break;
case 58 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:238: T75
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:238: T75
{
mT75();
}
break;
case 59 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:242: T76
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:242: T76
{
mT76();
}
break;
case 60 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:246: T77
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:246: T77
{
mT77();
}
break;
case 61 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:250: T78
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:250: T78
{
mT78();
}
break;
case 62 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:254: T79
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:254: T79
{
mT79();
}
break;
case 63 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:258: T80
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:258: T80
{
mT80();
}
break;
case 64 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:262: T81
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:262: T81
{
mT81();
}
break;
case 65 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:266: IntLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:266: T82
{
- mIntLiteral();
+ mT82();
}
break;
case 66 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:277: StringLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:270: IntLiteral
{
- mStringLiteral();
+ mIntLiteral();
}
break;
case 67 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:291: Identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:281: StringLiteral
{
- mIdentifier();
+ mStringLiteral();
}
break;
case 68 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:302: WS
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:295: Identifier
{
- mWS();
+ mIdentifier();
}
break;
case 69 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:305: COMMENT
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:306: WS
{
- mCOMMENT();
+ mWS();
}
break;
case 70 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:313: LINE_COMMENT
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:309: COMMENT
{
- mLINE_COMMENT();
+ mCOMMENT();
}
break;
case 71 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:326: XPAND_TAG_OPEN
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:317: LINE_COMMENT
{
- mXPAND_TAG_OPEN();
+ mLINE_COMMENT();
}
break;
case 72 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:1:341: XPAND_TAG_CLOSE
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:330: XPAND_TAG_OPEN
+ {
+ mXPAND_TAG_OPEN();
+
+ }
+ break;
+ case 73 :
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:1:345: XPAND_TAG_CLOSE
{
mXPAND_TAG_CLOSE();
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendParser.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendParser.java
index 5e57345..ab44d96 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendParser.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/XtendParser.java
@@ -1,14 +1,4 @@
-/*******************************************************************************
- * Copyright (c) 2005, 2007 committers of openArchitectureWare and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * committers of openArchitectureWare - initial API and implementation
- *******************************************************************************/
-// $ANTLR 3.0 ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g 2007-08-13 15:52:05
+// $ANTLR 3.0 /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g 2008-11-24 17:55:03
package org.eclipse.internal.xtend.xtend.parser;
@@ -39,7 +29,7 @@ import org.eclipse.internal.xtend.xtend.ast.ExtensionFile;
import org.eclipse.internal.xtend.xtend.ast.ImportStatement;
public class XtendParser extends Parser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "StringLiteral", "IntLiteral", "Identifier", "EscapeSequence", "UnicodeEscape", "OctalEscape", "HexDigit", "Letter", "JavaIDDigit", "WS", "COMMENT", "LINE_COMMENT", "XPAND_TAG_OPEN", "XPAND_TAG_CLOSE", "'import'", "';'", "'extension'", "'reexport'", "'context'", "'if'", "'ERROR'", "'WARNING'", "':'", "'around'", "'('", "','", "'*'", "')'", "'::'", "'private'", "'cached'", "'JAVA'", "'.'", "'create'", "'Collection'", "'List'", "'Set'", "'let'", "'='", "'->'", "'?'", "'then'", "'else'", "'switch'", "'{'", "'case'", "'default'", "'}'", "'||'", "'&&'", "'implies'", "'=='", "'!='", "'>='", "'<='", "'>'", "'<'", "'+'", "'-'", "'/'", "'!'", "'GLOBALVAR'", "'new'", "'false'", "'true'", "'null'", "'typeSelect'", "'collect'", "'select'", "'selectFirst'", "'reject'", "'exists'", "'notExists'", "'sortBy'", "'forAll'", "'|'", "'['", "']'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "StringLiteral", "IntLiteral", "Identifier", "EscapeSequence", "UnicodeEscape", "OctalEscape", "HexDigit", "Letter", "JavaIDDigit", "WS", "COMMENT", "LINE_COMMENT", "XPAND_TAG_OPEN", "XPAND_TAG_CLOSE", "'import'", "';'", "'extension'", "'reexport'", "'context'", "'#'", "'if'", "'ERROR'", "'WARNING'", "':'", "'around'", "'('", "','", "'*'", "')'", "'::'", "'private'", "'cached'", "'JAVA'", "'.'", "'create'", "'Collection'", "'List'", "'Set'", "'let'", "'='", "'->'", "'?'", "'then'", "'else'", "'switch'", "'{'", "'case'", "'default'", "'}'", "'||'", "'&&'", "'implies'", "'=='", "'!='", "'>='", "'<='", "'>'", "'<'", "'+'", "'-'", "'/'", "'!'", "'GLOBALVAR'", "'new'", "'false'", "'true'", "'null'", "'typeSelect'", "'collect'", "'select'", "'selectFirst'", "'reject'", "'exists'", "'notExists'", "'sortBy'", "'forAll'", "'|'", "'['", "']'"
};
public static final int XPAND_TAG_OPEN=16;
public static final int JavaIDDigit=12;
@@ -64,7 +54,7 @@ public class XtendParser extends Parser {
public String[] getTokenNames() { return tokenNames; }
- public String getGrammarFileName() { return "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g"; }
+ public String getGrammarFileName() { return "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g"; }
private ExtensionFactory factory;
@@ -87,8 +77,8 @@ public class XtendParser extends Parser {
// $ANTLR start file
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:43:1: file returns [ExtensionFile r] : (nsi= nsImport )* (exti= extImport )* (ext= extension | a= around | c= check )* EOF ;
- public ExtensionFile file() throws RecognitionException {
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:43:1: file returns [ExtensionFile r] : (nsi= nsImport )* (exti= extImport )* (ext= extension | a= around | c= check )* EOF ;
+ public ExtensionFile file() throws RecognitionException {
ExtensionFile r = null;
ImportStatement nsi = null;
@@ -104,10 +94,10 @@ public class XtendParser extends Parser {
List nsimports = new ArrayList(), extimports = new ArrayList(), extensions = new ArrayList(), arounds = new ArrayList(), checks = new ArrayList();
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:45:2: ( (nsi= nsImport )* (exti= extImport )* (ext= extension | a= around | c= check )* EOF )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:45:2: (nsi= nsImport )* (exti= extImport )* (ext= extension | a= around | c= check )* EOF
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:45:2: ( (nsi= nsImport )* (exti= extImport )* (ext= extension | a= around | c= check )* EOF )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:45:2: (nsi= nsImport )* (exti= extImport )* (ext= extension | a= around | c= check )* EOF
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:45:2: (nsi= nsImport )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:45:2: (nsi= nsImport )*
loop1:
do {
int alt1=2;
@@ -120,7 +110,7 @@ public class XtendParser extends Parser {
switch (alt1) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:45:3: nsi= nsImport
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:45:3: nsi= nsImport
{
pushFollow(FOLLOW_nsImport_in_file51);
nsi=nsImport();
@@ -138,7 +128,7 @@ public class XtendParser extends Parser {
}
} while (true);
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:46:2: (exti= extImport )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:46:2: (exti= extImport )*
loop2:
do {
int alt2=2;
@@ -151,7 +141,7 @@ public class XtendParser extends Parser {
switch (alt2) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:46:3: exti= extImport
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:46:3: exti= extImport
{
pushFollow(FOLLOW_extImport_in_file61);
exti=extImport();
@@ -169,23 +159,23 @@ public class XtendParser extends Parser {
}
} while (true);
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:47:2: (ext= extension | a= around | c= check )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:47:2: (ext= extension | a= around | c= check )*
loop3:
do {
int alt3=4;
switch ( input.LA(1) ) {
case Identifier:
- case 33:
case 34:
- case 37:
+ case 35:
case 38:
case 39:
case 40:
+ case 41:
{
alt3=1;
}
break;
- case 27:
+ case 28:
{
alt3=2;
}
@@ -200,7 +190,7 @@ public class XtendParser extends Parser {
switch (alt3) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:47:3: ext= extension
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:47:3: ext= extension
{
pushFollow(FOLLOW_extension_in_file71);
ext=extension();
@@ -213,7 +203,7 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:47:42: a= around
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:47:42: a= around
{
pushFollow(FOLLOW_around_in_file81);
a=around();
@@ -226,7 +216,7 @@ public class XtendParser extends Parser {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:47:73: c= check
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:47:73: c= check
{
pushFollow(FOLLOW_check_in_file91);
c=check();
@@ -264,7 +254,7 @@ public class XtendParser extends Parser {
// $ANTLR start nsImport
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:52:1: nsImport returns [ImportStatement r] : 'import' t= type ';' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:52:1: nsImport returns [ImportStatement r] : 'import' t= type ';' ;
public ImportStatement nsImport() throws RecognitionException {
ImportStatement r = null;
@@ -272,8 +262,8 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:53:2: ( 'import' t= type ';' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:53:2: 'import' t= type ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:53:2: ( 'import' t= type ';' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:53:2: 'import' t= type ';'
{
match(input,18,FOLLOW_18_in_nsImport117); if (failed) return r;
pushFollow(FOLLOW_type_in_nsImport121);
@@ -300,7 +290,7 @@ public class XtendParser extends Parser {
// $ANTLR start extImport
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:56:1: extImport returns [ImportStatement r] : 'extension' t= type (exported= 'reexport' )? ';' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:56:1: extImport returns [ImportStatement r] : 'extension' t= type (exported= 'reexport' )? ';' ;
public ImportStatement extImport() throws RecognitionException {
ImportStatement r = null;
@@ -309,15 +299,15 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:57:2: ( 'extension' t= type (exported= 'reexport' )? ';' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:57:2: 'extension' t= type (exported= 'reexport' )? ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:57:2: ( 'extension' t= type (exported= 'reexport' )? ';' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:57:2: 'extension' t= type (exported= 'reexport' )? ';'
{
match(input,20,FOLLOW_20_in_extImport140); if (failed) return r;
pushFollow(FOLLOW_type_in_extImport144);
t=type();
_fsp--;
if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:57:21: (exported= 'reexport' )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:57:21: (exported= 'reexport' )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -326,7 +316,7 @@ public class XtendParser extends Parser {
}
switch (alt4) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:57:22: exported= 'reexport'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:57:22: exported= 'reexport'
{
exported=(Token)input.LT(1);
match(input,21,FOLLOW_21_in_extImport149); if (failed) return r;
@@ -356,13 +346,15 @@ public class XtendParser extends Parser {
// $ANTLR start check
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:60:1: check returns [Check ext] : 'context' t= type ( 'if' guard= expression )? (sev1= 'ERROR' | 'WARNING' ) msg= expression ':' expr= expression ';' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:60:1: check returns [Check ext] : 'context' t= type ( '#' f= identifier )? ( 'if' guard= expression )? (sev1= 'ERROR' | 'WARNING' ) msg= expression ':' expr= expression ';' ;
public Check check() throws RecognitionException {
Check ext = null;
Token sev1=null;
Identifier t = null;
+ Identifier f = null;
+
Expression guard = null;
Expression msg = null;
@@ -371,15 +363,15 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:2: ( 'context' t= type ( 'if' guard= expression )? (sev1= 'ERROR' | 'WARNING' ) msg= expression ':' expr= expression ';' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:2: 'context' t= type ( 'if' guard= expression )? (sev1= 'ERROR' | 'WARNING' ) msg= expression ':' expr= expression ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:2: ( 'context' t= type ( '#' f= identifier )? ( 'if' guard= expression )? (sev1= 'ERROR' | 'WARNING' ) msg= expression ':' expr= expression ';' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:2: 'context' t= type ( '#' f= identifier )? ( 'if' guard= expression )? (sev1= 'ERROR' | 'WARNING' ) msg= expression ':' expr= expression ';'
{
match(input,22,FOLLOW_22_in_check168); if (failed) return ext;
pushFollow(FOLLOW_type_in_check172);
t=type();
_fsp--;
if (failed) return ext;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:19: ( 'if' guard= expression )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:18: ( '#' f= identifier )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -388,11 +380,11 @@ public class XtendParser extends Parser {
}
switch (alt5) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:20: 'if' guard= expression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:19: '#' f= identifier
{
- match(input,23,FOLLOW_23_in_check175); if (failed) return ext;
- pushFollow(FOLLOW_expression_in_check179);
- guard=expression();
+ match(input,23,FOLLOW_23_in_check174); if (failed) return ext;
+ pushFollow(FOLLOW_identifier_in_check177);
+ f=identifier();
_fsp--;
if (failed) return ext;
@@ -401,54 +393,76 @@ public class XtendParser extends Parser {
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:44: (sev1= 'ERROR' | 'WARNING' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:37: ( 'if' guard= expression )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==24) ) {
alt6=1;
}
- else if ( (LA6_0==25) ) {
- alt6=2;
+ switch (alt6) {
+ case 1 :
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:38: 'if' guard= expression
+ {
+ match(input,24,FOLLOW_24_in_check182); if (failed) return ext;
+ pushFollow(FOLLOW_expression_in_check186);
+ guard=expression();
+ _fsp--;
+ if (failed) return ext;
+
+ }
+ break;
+
+ }
+
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:62: (sev1= 'ERROR' | 'WARNING' )
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( (LA7_0==25) ) {
+ alt7=1;
+ }
+ else if ( (LA7_0==26) ) {
+ alt7=2;
}
else {
if (backtracking>0) {failed=true; return ext;}
NoViableAltException nvae =
- new NoViableAltException("61:44: (sev1= 'ERROR' | 'WARNING' )", 6, 0, input);
+ new NoViableAltException("61:62: (sev1= 'ERROR' | 'WARNING' )", 7, 0, input);
throw nvae;
}
- switch (alt6) {
+ switch (alt7) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:45: sev1= 'ERROR'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:63: sev1= 'ERROR'
{
sev1=(Token)input.LT(1);
- match(input,24,FOLLOW_24_in_check186); if (failed) return ext;
+ match(input,25,FOLLOW_25_in_check193); if (failed) return ext;
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:61:58: 'WARNING'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:61:76: 'WARNING'
{
- match(input,25,FOLLOW_25_in_check188); if (failed) return ext;
+ match(input,26,FOLLOW_26_in_check195); if (failed) return ext;
}
break;
}
- pushFollow(FOLLOW_expression_in_check193);
+ pushFollow(FOLLOW_expression_in_check200);
msg=expression();
_fsp--;
if (failed) return ext;
- match(input,26,FOLLOW_26_in_check195); if (failed) return ext;
- pushFollow(FOLLOW_expression_in_check200);
+ match(input,27,FOLLOW_27_in_check202); if (failed) return ext;
+ pushFollow(FOLLOW_expression_in_check207);
expr=expression();
_fsp--;
if (failed) return ext;
- match(input,19,FOLLOW_19_in_check202); if (failed) return ext;
+ match(input,19,FOLLOW_19_in_check209); if (failed) return ext;
if ( backtracking==0 ) {
- ext = factory.createCheck(t, guard, sev1!=null, msg, expr);
+ ext = factory.createCheck(t, f, guard, sev1!=null, msg, expr);
}
}
@@ -466,7 +480,7 @@ public class XtendParser extends Parser {
// $ANTLR start around
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:66:1: around returns [Around r] : 'around' pc= pointcut '(' (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )? ')' ':' expr= expression ';' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:66:1: around returns [Around r] : 'around' pc= pointcut '(' (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )? ')' ':' expr= expression ';' ;
public Around around() throws RecognitionException {
Around r = null;
@@ -479,56 +493,56 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:5: ( 'around' pc= pointcut '(' (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )? ')' ':' expr= expression ';' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:5: 'around' pc= pointcut '(' (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )? ')' ':' expr= expression ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:5: ( 'around' pc= pointcut '(' (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )? ')' ':' expr= expression ';' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:5: 'around' pc= pointcut '(' (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )? ')' ':' expr= expression ';'
{
- match(input,27,FOLLOW_27_in_around223); if (failed) return r;
- pushFollow(FOLLOW_pointcut_in_around227);
+ match(input,28,FOLLOW_28_in_around230); if (failed) return r;
+ pushFollow(FOLLOW_pointcut_in_around234);
pc=pointcut();
_fsp--;
if (failed) return r;
- match(input,28,FOLLOW_28_in_around229); if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:30: (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )?
- int alt9=3;
- int LA9_0 = input.LA(1);
+ match(input,29,FOLLOW_29_in_around236); if (failed) return r;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:30: (p= declaredParameterList ( ( ',' )? wildparams= '*' )? | wildparams= '*' )?
+ int alt10=3;
+ int LA10_0 = input.LA(1);
- if ( (LA9_0==Identifier||(LA9_0>=38 && LA9_0<=40)) ) {
- alt9=1;
+ if ( (LA10_0==Identifier||(LA10_0>=39 && LA10_0<=41)) ) {
+ alt10=1;
}
- else if ( (LA9_0==30) ) {
- alt9=2;
+ else if ( (LA10_0==31) ) {
+ alt10=2;
}
- switch (alt9) {
+ switch (alt10) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:31: p= declaredParameterList ( ( ',' )? wildparams= '*' )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:31: p= declaredParameterList ( ( ',' )? wildparams= '*' )?
{
- pushFollow(FOLLOW_declaredParameterList_in_around234);
+ pushFollow(FOLLOW_declaredParameterList_in_around241);
p=declaredParameterList();
_fsp--;
if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:55: ( ( ',' )? wildparams= '*' )?
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:55: ( ( ',' )? wildparams= '*' )?
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( ((LA8_0>=29 && LA8_0<=30)) ) {
- alt8=1;
+ if ( ((LA9_0>=30 && LA9_0<=31)) ) {
+ alt9=1;
}
- switch (alt8) {
+ switch (alt9) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:56: ( ',' )? wildparams= '*'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:56: ( ',' )? wildparams= '*'
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:56: ( ',' )?
- int alt7=2;
- int LA7_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:56: ( ',' )?
+ int alt8=2;
+ int LA8_0 = input.LA(1);
- if ( (LA7_0==29) ) {
- alt7=1;
+ if ( (LA8_0==30) ) {
+ alt8=1;
}
- switch (alt7) {
+ switch (alt8) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:56: ','
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:56: ','
{
- match(input,29,FOLLOW_29_in_around237); if (failed) return r;
+ match(input,30,FOLLOW_30_in_around244); if (failed) return r;
}
break;
@@ -536,7 +550,7 @@ public class XtendParser extends Parser {
}
wildparams=(Token)input.LT(1);
- match(input,30,FOLLOW_30_in_around242); if (failed) return r;
+ match(input,31,FOLLOW_31_in_around249); if (failed) return r;
}
break;
@@ -547,23 +561,23 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:67:80: wildparams= '*'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:67:80: wildparams= '*'
{
wildparams=(Token)input.LT(1);
- match(input,30,FOLLOW_30_in_around250); if (failed) return r;
+ match(input,31,FOLLOW_31_in_around257); if (failed) return r;
}
break;
}
- match(input,31,FOLLOW_31_in_around254); if (failed) return r;
- match(input,26,FOLLOW_26_in_around256); if (failed) return r;
- pushFollow(FOLLOW_expression_in_around265);
+ match(input,32,FOLLOW_32_in_around261); if (failed) return r;
+ match(input,27,FOLLOW_27_in_around263); if (failed) return r;
+ pushFollow(FOLLOW_expression_in_around272);
expr=expression();
_fsp--;
if (failed) return r;
- match(input,19,FOLLOW_19_in_around267); if (failed) return r;
+ match(input,19,FOLLOW_19_in_around274); if (failed) return r;
if ( backtracking==0 ) {
r = factory.createAround(pc,p,wildparams!=null,expr);
}
@@ -583,7 +597,7 @@ public class XtendParser extends Parser {
// $ANTLR start pointcut
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:72:1: pointcut returns [Identifier r] : (a= '*' | b= identifier ) (a1= '*' | b1= identifier | c1= '::' )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:72:1: pointcut returns [Identifier r] : (a= '*' | b= identifier ) (a1= '*' | b1= identifier | c1= '::' )* ;
public Identifier pointcut() throws RecognitionException {
Identifier r = null;
@@ -596,32 +610,32 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:73:2: ( (a= '*' | b= identifier ) (a1= '*' | b1= identifier | c1= '::' )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:73:2: (a= '*' | b= identifier ) (a1= '*' | b1= identifier | c1= '::' )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:73:2: ( (a= '*' | b= identifier ) (a1= '*' | b1= identifier | c1= '::' )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:73:2: (a= '*' | b= identifier ) (a1= '*' | b1= identifier | c1= '::' )*
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:73:2: (a= '*' | b= identifier )
- int alt10=2;
- int LA10_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:73:2: (a= '*' | b= identifier )
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA10_0==30) ) {
- alt10=1;
+ if ( (LA11_0==31) ) {
+ alt11=1;
}
- else if ( (LA10_0==Identifier) ) {
- alt10=2;
+ else if ( (LA11_0==Identifier) ) {
+ alt11=2;
}
else {
if (backtracking>0) {failed=true; return r;}
NoViableAltException nvae =
- new NoViableAltException("73:2: (a= '*' | b= identifier )", 10, 0, input);
+ new NoViableAltException("73:2: (a= '*' | b= identifier )", 11, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt11) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:73:4: a= '*'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:73:4: a= '*'
{
a=(Token)input.LT(1);
- match(input,30,FOLLOW_30_in_pointcut295); if (failed) return r;
+ match(input,31,FOLLOW_31_in_pointcut302); if (failed) return r;
if ( backtracking==0 ) {
r = id(a);
}
@@ -629,9 +643,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:74:4: b= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:74:4: b= identifier
{
- pushFollow(FOLLOW_identifier_in_pointcut304);
+ pushFollow(FOLLOW_identifier_in_pointcut311);
b=identifier();
_fsp--;
if (failed) return r;
@@ -644,35 +658,35 @@ public class XtendParser extends Parser {
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:75:4: (a1= '*' | b1= identifier | c1= '::' )*
- loop11:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:75:4: (a1= '*' | b1= identifier | c1= '::' )*
+ loop12:
do {
- int alt11=4;
+ int alt12=4;
switch ( input.LA(1) ) {
- case 30:
+ case 31:
{
- alt11=1;
+ alt12=1;
}
break;
case Identifier:
{
- alt11=2;
+ alt12=2;
}
break;
- case 32:
+ case 33:
{
- alt11=3;
+ alt12=3;
}
break;
}
- switch (alt11) {
+ switch (alt12) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:75:6: a1= '*'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:75:6: a1= '*'
{
a1=(Token)input.LT(1);
- match(input,30,FOLLOW_30_in_pointcut315); if (failed) return r;
+ match(input,31,FOLLOW_31_in_pointcut322); if (failed) return r;
if ( backtracking==0 ) {
if (r!=null)r.append(id(a1));
}
@@ -680,9 +694,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:76:6: b1= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:76:6: b1= identifier
{
- pushFollow(FOLLOW_identifier_in_pointcut326);
+ pushFollow(FOLLOW_identifier_in_pointcut333);
b1=identifier();
_fsp--;
if (failed) return r;
@@ -693,10 +707,10 @@ public class XtendParser extends Parser {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:77:6: c1= '::'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:77:6: c1= '::'
{
c1=(Token)input.LT(1);
- match(input,32,FOLLOW_32_in_pointcut337); if (failed) return r;
+ match(input,33,FOLLOW_33_in_pointcut344); if (failed) return r;
if ( backtracking==0 ) {
if (r!=null)r.append(id(c1));
}
@@ -705,7 +719,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop11;
+ break loop12;
}
} while (true);
@@ -725,7 +739,7 @@ public class XtendParser extends Parser {
// $ANTLR start extension
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:82:1: extension returns [Extension r] : ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:82:1: extension returns [Extension r] : ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' );
public Extension extension() throws RecognitionException {
Extension r = null;
@@ -751,111 +765,111 @@ public class XtendParser extends Parser {
List<Identifier> javaParamTypes=new ArrayList<Identifier>();
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:2: ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' )
- int alt22=2;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:2: ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' )
+ int alt23=2;
switch ( input.LA(1) ) {
- case 33:
+ case 34:
{
- int LA22_1 = input.LA(2);
+ int LA23_1 = input.LA(2);
- if ( (LA22_1==Identifier||LA22_1==34||(LA22_1>=38 && LA22_1<=40)) ) {
- alt22=1;
+ if ( (LA23_1==38) ) {
+ alt23=2;
}
- else if ( (LA22_1==37) ) {
- alt22=2;
+ else if ( (LA23_1==Identifier||LA23_1==35||(LA23_1>=39 && LA23_1<=41)) ) {
+ alt23=1;
}
else {
if (backtracking>0) {failed=true; return r;}
NoViableAltException nvae =
- new NoViableAltException("82:1: extension returns [Extension r] : ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' );", 22, 1, input);
+ new NoViableAltException("82:1: extension returns [Extension r] : ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' );", 23, 1, input);
throw nvae;
}
}
break;
case Identifier:
- case 34:
- case 38:
+ case 35:
case 39:
case 40:
+ case 41:
{
- alt22=1;
+ alt23=1;
}
break;
- case 37:
+ case 38:
{
- alt22=2;
+ alt23=2;
}
break;
default:
if (backtracking>0) {failed=true; return r;}
NoViableAltException nvae =
- new NoViableAltException("82:1: extension returns [Extension r] : ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' );", 22, 0, input);
+ new NoViableAltException("82:1: extension returns [Extension r] : ( (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' ) | (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';' );", 23, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt23) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:2: (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:2: (priv= 'private' )? (cached= 'cached' )? (rType= type )? name= identifier '(' (params= declaredParameterList )? ')' ':' ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' )
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:2: (priv= 'private' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:2: (priv= 'private' )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA12_0==33) ) {
- alt12=1;
+ if ( (LA13_0==34) ) {
+ alt13=1;
}
- switch (alt12) {
+ switch (alt13) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:3: priv= 'private'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:3: priv= 'private'
{
priv=(Token)input.LT(1);
- match(input,33,FOLLOW_33_in_extension365); if (failed) return r;
+ match(input,34,FOLLOW_34_in_extension372); if (failed) return r;
}
break;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:20: (cached= 'cached' )?
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:20: (cached= 'cached' )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA13_0==34) ) {
- alt13=1;
+ if ( (LA14_0==35) ) {
+ alt14=1;
}
- switch (alt13) {
+ switch (alt14) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:21: cached= 'cached'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:21: cached= 'cached'
{
cached=(Token)input.LT(1);
- match(input,34,FOLLOW_34_in_extension372); if (failed) return r;
+ match(input,35,FOLLOW_35_in_extension379); if (failed) return r;
}
break;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:39: (rType= type )?
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:39: (rType= type )?
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( ((LA14_0>=38 && LA14_0<=40)) ) {
- alt14=1;
+ if ( ((LA15_0>=39 && LA15_0<=41)) ) {
+ alt15=1;
}
- else if ( (LA14_0==Identifier) ) {
- int LA14_2 = input.LA(2);
+ else if ( (LA15_0==Identifier) ) {
+ int LA15_2 = input.LA(2);
- if ( (LA14_2==Identifier||LA14_2==32) ) {
- alt14=1;
+ if ( (LA15_2==Identifier||LA15_2==33) ) {
+ alt15=1;
}
}
- switch (alt14) {
+ switch (alt15) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:40: rType= type
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:40: rType= type
{
- pushFollow(FOLLOW_type_in_extension379);
+ pushFollow(FOLLOW_type_in_extension386);
rType=type();
_fsp--;
if (failed) return r;
@@ -865,23 +879,23 @@ public class XtendParser extends Parser {
}
- pushFollow(FOLLOW_identifier_in_extension385);
+ pushFollow(FOLLOW_identifier_in_extension392);
name=identifier();
_fsp--;
if (failed) return r;
- match(input,28,FOLLOW_28_in_extension387); if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:73: (params= declaredParameterList )?
- int alt15=2;
- int LA15_0 = input.LA(1);
+ match(input,29,FOLLOW_29_in_extension394); if (failed) return r;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:73: (params= declaredParameterList )?
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA15_0==Identifier||(LA15_0>=38 && LA15_0<=40)) ) {
- alt15=1;
+ if ( (LA16_0==Identifier||(LA16_0>=39 && LA16_0<=41)) ) {
+ alt16=1;
}
- switch (alt15) {
+ switch (alt16) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:83:74: params= declaredParameterList
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:83:74: params= declaredParameterList
{
- pushFollow(FOLLOW_declaredParameterList_in_extension392);
+ pushFollow(FOLLOW_declaredParameterList_in_extension399);
params=declaredParameterList();
_fsp--;
if (failed) return r;
@@ -891,75 +905,75 @@ public class XtendParser extends Parser {
}
- match(input,31,FOLLOW_31_in_extension396); if (failed) return r;
- match(input,26,FOLLOW_26_in_extension398); if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:85:2: ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' )
- int alt18=2;
- int LA18_0 = input.LA(1);
+ match(input,32,FOLLOW_32_in_extension403); if (failed) return r;
+ match(input,27,FOLLOW_27_in_extension405); if (failed) return r;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:85:2: ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' )
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- if ( (LA18_0==35) ) {
- alt18=1;
+ if ( (LA19_0==36) ) {
+ alt19=1;
}
- else if ( ((LA18_0>=StringLiteral && LA18_0<=Identifier)||LA18_0==23||LA18_0==28||(LA18_0>=38 && LA18_0<=41)||(LA18_0>=47 && LA18_0<=48)||LA18_0==62||(LA18_0>=64 && LA18_0<=78)) ) {
- alt18=2;
+ else if ( ((LA19_0>=StringLiteral && LA19_0<=Identifier)||LA19_0==24||LA19_0==29||(LA19_0>=39 && LA19_0<=42)||(LA19_0>=48 && LA19_0<=49)||LA19_0==63||(LA19_0>=65 && LA19_0<=79)) ) {
+ alt19=2;
}
else {
if (backtracking>0) {failed=true; return r;}
NoViableAltException nvae =
- new NoViableAltException("85:2: ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' )", 18, 0, input);
+ new NoViableAltException("85:2: ( 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';' | expr= expression ';' )", 19, 0, input);
throw nvae;
}
- switch (alt18) {
+ switch (alt19) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:85:4: 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:85:4: 'JAVA' jt= javaType '.' m= identifier '(' (pt= javaType ( ',' pt= javaType )* )? ')' ';'
{
- match(input,35,FOLLOW_35_in_extension405); if (failed) return r;
- pushFollow(FOLLOW_javaType_in_extension409);
+ match(input,36,FOLLOW_36_in_extension412); if (failed) return r;
+ pushFollow(FOLLOW_javaType_in_extension416);
jt=javaType();
_fsp--;
if (failed) return r;
- match(input,36,FOLLOW_36_in_extension411); if (failed) return r;
- pushFollow(FOLLOW_identifier_in_extension415);
+ match(input,37,FOLLOW_37_in_extension418); if (failed) return r;
+ pushFollow(FOLLOW_identifier_in_extension422);
m=identifier();
_fsp--;
if (failed) return r;
- match(input,28,FOLLOW_28_in_extension417); if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:85:43: (pt= javaType ( ',' pt= javaType )* )?
- int alt17=2;
- int LA17_0 = input.LA(1);
+ match(input,29,FOLLOW_29_in_extension424); if (failed) return r;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:85:43: (pt= javaType ( ',' pt= javaType )* )?
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA17_0==Identifier) ) {
- alt17=1;
+ if ( (LA18_0==Identifier) ) {
+ alt18=1;
}
- switch (alt17) {
+ switch (alt18) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:85:44: pt= javaType ( ',' pt= javaType )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:85:44: pt= javaType ( ',' pt= javaType )*
{
- pushFollow(FOLLOW_javaType_in_extension421);
+ pushFollow(FOLLOW_javaType_in_extension428);
pt=javaType();
_fsp--;
if (failed) return r;
if ( backtracking==0 ) {
javaParamTypes.add(pt);
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:85:81: ( ',' pt= javaType )*
- loop16:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:85:81: ( ',' pt= javaType )*
+ loop17:
do {
- int alt16=2;
- int LA16_0 = input.LA(1);
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA16_0==29) ) {
- alt16=1;
+ if ( (LA17_0==30) ) {
+ alt17=1;
}
- switch (alt16) {
+ switch (alt17) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:85:82: ',' pt= javaType
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:85:82: ',' pt= javaType
{
- match(input,29,FOLLOW_29_in_extension425); if (failed) return r;
- pushFollow(FOLLOW_javaType_in_extension429);
+ match(input,30,FOLLOW_30_in_extension432); if (failed) return r;
+ pushFollow(FOLLOW_javaType_in_extension436);
pt=javaType();
_fsp--;
if (failed) return r;
@@ -971,7 +985,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop16;
+ break loop17;
}
} while (true);
@@ -981,8 +995,8 @@ public class XtendParser extends Parser {
}
- match(input,31,FOLLOW_31_in_extension437); if (failed) return r;
- match(input,19,FOLLOW_19_in_extension439); if (failed) return r;
+ match(input,32,FOLLOW_32_in_extension444); if (failed) return r;
+ match(input,19,FOLLOW_19_in_extension446); if (failed) return r;
if ( backtracking==0 ) {
r = factory.createJavaExtension(name,rType,params,jt,m,javaParamTypes, id(cached),id(priv));
}
@@ -990,13 +1004,13 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:87:4: expr= expression ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:87:4: expr= expression ';'
{
- pushFollow(FOLLOW_expression_in_extension449);
+ pushFollow(FOLLOW_expression_in_extension456);
expr=expression();
_fsp--;
if (failed) return r;
- match(input,19,FOLLOW_19_in_extension451); if (failed) return r;
+ match(input,19,FOLLOW_19_in_extension458); if (failed) return r;
if ( backtracking==0 ) {
r = factory.createExpressionExtension(name,rType,params,expr, id(cached),id(priv));
}
@@ -1010,21 +1024,21 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:3: (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:3: (priv= 'private' )? create= 'create' rType= type (rtn= identifier )? name= identifier '(' (params= declaredParameterList )? ')' ':' expr= expression ';'
{
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:3: (priv= 'private' )?
- int alt19=2;
- int LA19_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:3: (priv= 'private' )?
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA19_0==33) ) {
- alt19=1;
+ if ( (LA20_0==34) ) {
+ alt20=1;
}
- switch (alt19) {
+ switch (alt20) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:4: priv= 'private'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:4: priv= 'private'
{
priv=(Token)input.LT(1);
- match(input,33,FOLLOW_33_in_extension465); if (failed) return r;
+ match(input,34,FOLLOW_34_in_extension472); if (failed) return r;
}
break;
@@ -1032,27 +1046,27 @@ public class XtendParser extends Parser {
}
create=(Token)input.LT(1);
- match(input,37,FOLLOW_37_in_extension471); if (failed) return r;
- pushFollow(FOLLOW_type_in_extension475);
+ match(input,38,FOLLOW_38_in_extension478); if (failed) return r;
+ pushFollow(FOLLOW_type_in_extension482);
rType=type();
_fsp--;
if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:48: (rtn= identifier )?
- int alt20=2;
- int LA20_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:48: (rtn= identifier )?
+ int alt21=2;
+ int LA21_0 = input.LA(1);
- if ( (LA20_0==Identifier) ) {
- int LA20_1 = input.LA(2);
+ if ( (LA21_0==Identifier) ) {
+ int LA21_1 = input.LA(2);
- if ( (LA20_1==Identifier) ) {
- alt20=1;
+ if ( (LA21_1==Identifier) ) {
+ alt21=1;
}
}
- switch (alt20) {
+ switch (alt21) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:49: rtn= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:49: rtn= identifier
{
- pushFollow(FOLLOW_identifier_in_extension480);
+ pushFollow(FOLLOW_identifier_in_extension487);
rtn=identifier();
_fsp--;
if (failed) return r;
@@ -1062,23 +1076,23 @@ public class XtendParser extends Parser {
}
- pushFollow(FOLLOW_identifier_in_extension486);
+ pushFollow(FOLLOW_identifier_in_extension493);
name=identifier();
_fsp--;
if (failed) return r;
- match(input,28,FOLLOW_28_in_extension488); if (failed) return r;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:86: (params= declaredParameterList )?
- int alt21=2;
- int LA21_0 = input.LA(1);
+ match(input,29,FOLLOW_29_in_extension495); if (failed) return r;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:86: (params= declaredParameterList )?
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA21_0==Identifier||(LA21_0>=38 && LA21_0<=40)) ) {
- alt21=1;
+ if ( (LA22_0==Identifier||(LA22_0>=39 && LA22_0<=41)) ) {
+ alt22=1;
}
- switch (alt21) {
+ switch (alt22) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:91:87: params= declaredParameterList
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:91:87: params= declaredParameterList
{
- pushFollow(FOLLOW_declaredParameterList_in_extension493);
+ pushFollow(FOLLOW_declaredParameterList_in_extension500);
params=declaredParameterList();
_fsp--;
if (failed) return r;
@@ -1088,13 +1102,13 @@ public class XtendParser extends Parser {
}
- match(input,31,FOLLOW_31_in_extension497); if (failed) return r;
- match(input,26,FOLLOW_26_in_extension499); if (failed) return r;
- pushFollow(FOLLOW_expression_in_extension505);
+ match(input,32,FOLLOW_32_in_extension504); if (failed) return r;
+ match(input,27,FOLLOW_27_in_extension506); if (failed) return r;
+ pushFollow(FOLLOW_expression_in_extension512);
expr=expression();
_fsp--;
if (failed) return r;
- match(input,19,FOLLOW_19_in_extension507); if (failed) return r;
+ match(input,19,FOLLOW_19_in_extension514); if (failed) return r;
if ( backtracking==0 ) {
r = factory.createCreateExtension(id(create),rType,rtn,name,params,expr,id(priv));
}
@@ -1116,7 +1130,7 @@ public class XtendParser extends Parser {
// $ANTLR start javaType
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:97:1: javaType returns [Identifier r] : i= identifier (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:97:1: javaType returns [Identifier r] : i= identifier (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )* ;
public Identifier javaType() throws RecognitionException {
Identifier r = null;
@@ -1130,87 +1144,87 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:98:2: (i= identifier (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:98:2: i= identifier (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:98:2: (i= identifier (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:98:2: i= identifier (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )*
{
- pushFollow(FOLLOW_identifier_in_javaType529);
+ pushFollow(FOLLOW_identifier_in_javaType536);
i=identifier();
_fsp--;
if (failed) return r;
if ( backtracking==0 ) {
r = i;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:99:2: (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )*
- loop24:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:99:2: (d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' ) )*
+ loop25:
do {
- int alt24=2;
- int LA24_0 = input.LA(1);
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA24_0==36) ) {
- int LA24_1 = input.LA(2);
+ if ( (LA25_0==37) ) {
+ int LA25_1 = input.LA(2);
- if ( (LA24_1==Identifier) ) {
- int LA24_3 = input.LA(3);
+ if ( (LA25_1==Identifier) ) {
+ int LA25_3 = input.LA(3);
- if ( (LA24_3==29||LA24_3==31||LA24_3==36) ) {
- alt24=1;
+ if ( (LA25_3==30||LA25_3==32||LA25_3==37) ) {
+ alt25=1;
}
}
- else if ( ((LA24_1>=38 && LA24_1<=40)) ) {
- alt24=1;
+ else if ( ((LA25_1>=39 && LA25_1<=41)) ) {
+ alt25=1;
}
}
- switch (alt24) {
+ switch (alt25) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:99:3: d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:99:3: d= '.' (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' )
{
d=(Token)input.LT(1);
- match(input,36,FOLLOW_36_in_javaType538); if (failed) return r;
+ match(input,37,FOLLOW_37_in_javaType545); if (failed) return r;
if ( backtracking==0 ) {
if (r!=null)r.append(id(d));
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:99:41: (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' )
- int alt23=4;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:99:41: (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' )
+ int alt24=4;
switch ( input.LA(1) ) {
case Identifier:
{
- alt23=1;
+ alt24=1;
}
break;
- case 38:
+ case 39:
{
- alt23=2;
+ alt24=2;
}
break;
- case 39:
+ case 40:
{
- alt23=3;
+ alt24=3;
}
break;
- case 40:
+ case 41:
{
- alt23=4;
+ alt24=4;
}
break;
default:
if (backtracking>0) {failed=true; return r;}
NoViableAltException nvae =
- new NoViableAltException("99:41: (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' )", 23, 0, input);
+ new NoViableAltException("99:41: (i1= identifier | i2= 'Collection' | i3= 'List' | i4= 'Set' )", 24, 0, input);
throw nvae;
}
- switch (alt23) {
+ switch (alt24) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:99:42: i1= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:99:42: i1= identifier
{
- pushFollow(FOLLOW_identifier_in_javaType544);
+ pushFollow(FOLLOW_identifier_in_javaType551);
i1=identifier();
_fsp--;
if (failed) return r;
@@ -1221,10 +1235,10 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:99:86: i2= 'Collection'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:99:86: i2= 'Collection'
{
i2=(Token)input.LT(1);
- match(input,38,FOLLOW_38_in_javaType550); if (failed) return r;
+ match(input,39,FOLLOW_39_in_javaType557); if (failed) return r;
if ( backtracking==0 ) {
r.append(id(i2));
}
@@ -1232,10 +1246,10 @@ public class XtendParser extends Parser {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:100:2: i3= 'List'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:100:2: i3= 'List'
{
i3=(Token)input.LT(1);
- match(input,39,FOLLOW_39_in_javaType559); if (failed) return r;
+ match(input,40,FOLLOW_40_in_javaType566); if (failed) return r;
if ( backtracking==0 ) {
if (r!=null)r.append(id(i3));
}
@@ -1243,10 +1257,10 @@ public class XtendParser extends Parser {
}
break;
case 4 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:100:46: i4= 'Set'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:100:46: i4= 'Set'
{
i4=(Token)input.LT(1);
- match(input,40,FOLLOW_40_in_javaType565); if (failed) return r;
+ match(input,41,FOLLOW_41_in_javaType572); if (failed) return r;
if ( backtracking==0 ) {
if (r!=null)r.append(id(i4));
}
@@ -1261,7 +1275,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop24;
+ break loop25;
}
} while (true);
@@ -1281,7 +1295,7 @@ public class XtendParser extends Parser {
// $ANTLR start expression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:106:1: expression returns [Expression e] : x= letExpression ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:106:1: expression returns [Expression e] : x= letExpression ;
public Expression expression() throws RecognitionException {
Expression e = null;
@@ -1289,10 +1303,10 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:107:2: (x= letExpression )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:107:2: x= letExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:107:2: (x= letExpression )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:107:2: x= letExpression
{
- pushFollow(FOLLOW_letExpression_in_expression587);
+ pushFollow(FOLLOW_letExpression_in_expression594);
x=letExpression();
_fsp--;
if (failed) return e;
@@ -1315,7 +1329,7 @@ public class XtendParser extends Parser {
// $ANTLR start letExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:110:1: letExpression returns [Expression e] : ( 'let' v= identifier '=' varExpr= castedExpression ':' target= expression | x= castedExpression );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:110:1: letExpression returns [Expression e] : ( 'let' v= identifier '=' varExpr= castedExpression ':' target= expression | x= castedExpression );
public Expression letExpression() throws RecognitionException {
Expression e = null;
@@ -1329,39 +1343,39 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:111:4: ( 'let' v= identifier '=' varExpr= castedExpression ':' target= expression | x= castedExpression )
- int alt25=2;
- int LA25_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:111:4: ( 'let' v= identifier '=' varExpr= castedExpression ':' target= expression | x= castedExpression )
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA25_0==41) ) {
- alt25=1;
+ if ( (LA26_0==42) ) {
+ alt26=1;
}
- else if ( ((LA25_0>=StringLiteral && LA25_0<=Identifier)||LA25_0==23||LA25_0==28||(LA25_0>=38 && LA25_0<=40)||(LA25_0>=47 && LA25_0<=48)||LA25_0==62||(LA25_0>=64 && LA25_0<=78)) ) {
- alt25=2;
+ else if ( ((LA26_0>=StringLiteral && LA26_0<=Identifier)||LA26_0==24||LA26_0==29||(LA26_0>=39 && LA26_0<=41)||(LA26_0>=48 && LA26_0<=49)||LA26_0==63||(LA26_0>=65 && LA26_0<=79)) ) {
+ alt26=2;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("110:1: letExpression returns [Expression e] : ( 'let' v= identifier '=' varExpr= castedExpression ':' target= expression | x= castedExpression );", 25, 0, input);
+ new NoViableAltException("110:1: letExpression returns [Expression e] : ( 'let' v= identifier '=' varExpr= castedExpression ':' target= expression | x= castedExpression );", 26, 0, input);
throw nvae;
}
- switch (alt25) {
+ switch (alt26) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:111:4: 'let' v= identifier '=' varExpr= castedExpression ':' target= expression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:111:4: 'let' v= identifier '=' varExpr= castedExpression ':' target= expression
{
- match(input,41,FOLLOW_41_in_letExpression606); if (failed) return e;
- pushFollow(FOLLOW_identifier_in_letExpression610);
+ match(input,42,FOLLOW_42_in_letExpression613); if (failed) return e;
+ pushFollow(FOLLOW_identifier_in_letExpression617);
v=identifier();
_fsp--;
if (failed) return e;
- match(input,42,FOLLOW_42_in_letExpression612); if (failed) return e;
- pushFollow(FOLLOW_castedExpression_in_letExpression616);
+ match(input,43,FOLLOW_43_in_letExpression619); if (failed) return e;
+ pushFollow(FOLLOW_castedExpression_in_letExpression623);
varExpr=castedExpression();
_fsp--;
if (failed) return e;
- match(input,26,FOLLOW_26_in_letExpression618); if (failed) return e;
- pushFollow(FOLLOW_expression_in_letExpression622);
+ match(input,27,FOLLOW_27_in_letExpression625); if (failed) return e;
+ pushFollow(FOLLOW_expression_in_letExpression629);
target=expression();
_fsp--;
if (failed) return e;
@@ -1372,9 +1386,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:113:4: x= castedExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:113:4: x= castedExpression
{
- pushFollow(FOLLOW_castedExpression_in_letExpression635);
+ pushFollow(FOLLOW_castedExpression_in_letExpression642);
x=castedExpression();
_fsp--;
if (failed) return e;
@@ -1399,7 +1413,7 @@ public class XtendParser extends Parser {
// $ANTLR start castedExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:116:1: castedExpression returns [Expression e] : ( ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression | x= chainExpression );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:116:1: castedExpression returns [Expression e] : ( ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression | x= chainExpression );
public Expression castedExpression() throws RecognitionException {
Expression e = null;
@@ -1409,20 +1423,20 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:117:5: ( ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression | x= chainExpression )
- int alt26=2;
- alt26 = dfa26.predict(input);
- switch (alt26) {
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:117:5: ( ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression | x= chainExpression )
+ int alt27=2;
+ alt27 = dfa27.predict(input);
+ switch (alt27) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:117:5: ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:117:5: ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression
{
- match(input,28,FOLLOW_28_in_castedExpression666); if (failed) return e;
- pushFollow(FOLLOW_type_in_castedExpression670);
+ match(input,29,FOLLOW_29_in_castedExpression673); if (failed) return e;
+ pushFollow(FOLLOW_type_in_castedExpression677);
t=type();
_fsp--;
if (failed) return e;
- match(input,31,FOLLOW_31_in_castedExpression672); if (failed) return e;
- pushFollow(FOLLOW_chainExpression_in_castedExpression676);
+ match(input,32,FOLLOW_32_in_castedExpression679); if (failed) return e;
+ pushFollow(FOLLOW_chainExpression_in_castedExpression683);
x=chainExpression();
_fsp--;
if (failed) return e;
@@ -1433,9 +1447,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:119:4: x= chainExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:119:4: x= chainExpression
{
- pushFollow(FOLLOW_chainExpression_in_castedExpression685);
+ pushFollow(FOLLOW_chainExpression_in_castedExpression692);
x=chainExpression();
_fsp--;
if (failed) return e;
@@ -1460,7 +1474,7 @@ public class XtendParser extends Parser {
// $ANTLR start chainExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:123:1: chainExpression returns [Expression e] : x= ifExpression ( '->' right= ifExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:123:1: chainExpression returns [Expression e] : x= ifExpression ( '->' right= ifExpression )* ;
public Expression chainExpression() throws RecognitionException {
Expression e = null;
@@ -1470,33 +1484,33 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:124:2: (x= ifExpression ( '->' right= ifExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:124:2: x= ifExpression ( '->' right= ifExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:124:2: (x= ifExpression ( '->' right= ifExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:124:2: x= ifExpression ( '->' right= ifExpression )*
{
- pushFollow(FOLLOW_ifExpression_in_chainExpression705);
+ pushFollow(FOLLOW_ifExpression_in_chainExpression712);
x=ifExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:124:25: ( '->' right= ifExpression )*
- loop27:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:124:25: ( '->' right= ifExpression )*
+ loop28:
do {
- int alt27=2;
- int LA27_0 = input.LA(1);
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA27_0==43) ) {
- alt27=1;
+ if ( (LA28_0==44) ) {
+ alt28=1;
}
- switch (alt27) {
+ switch (alt28) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:124:27: '->' right= ifExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:124:27: '->' right= ifExpression
{
- match(input,43,FOLLOW_43_in_chainExpression711); if (failed) return e;
- pushFollow(FOLLOW_ifExpression_in_chainExpression715);
+ match(input,44,FOLLOW_44_in_chainExpression718); if (failed) return e;
+ pushFollow(FOLLOW_ifExpression_in_chainExpression722);
right=ifExpression();
_fsp--;
if (failed) return e;
@@ -1508,7 +1522,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop27;
+ break loop28;
}
} while (true);
@@ -1528,7 +1542,7 @@ public class XtendParser extends Parser {
// $ANTLR start ifExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:127:1: ifExpression returns [Expression e] : (x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )? | 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )? );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:127:1: ifExpression returns [Expression e] : (x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )? | 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )? );
public Expression ifExpression() throws RecognitionException {
Expression e = null;
@@ -1542,52 +1556,52 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:128:2: (x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )? | 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )? )
- int alt30=2;
- int LA30_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:128:2: (x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )? | 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )? )
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( ((LA30_0>=StringLiteral && LA30_0<=Identifier)||LA30_0==28||(LA30_0>=38 && LA30_0<=40)||(LA30_0>=47 && LA30_0<=48)||LA30_0==62||(LA30_0>=64 && LA30_0<=78)) ) {
- alt30=1;
+ if ( ((LA31_0>=StringLiteral && LA31_0<=Identifier)||LA31_0==29||(LA31_0>=39 && LA31_0<=41)||(LA31_0>=48 && LA31_0<=49)||LA31_0==63||(LA31_0>=65 && LA31_0<=79)) ) {
+ alt31=1;
}
- else if ( (LA30_0==23) ) {
- alt30=2;
+ else if ( (LA31_0==24) ) {
+ alt31=2;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("127:1: ifExpression returns [Expression e] : (x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )? | 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )? );", 30, 0, input);
+ new NoViableAltException("127:1: ifExpression returns [Expression e] : (x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )? | 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )? );", 31, 0, input);
throw nvae;
}
- switch (alt30) {
+ switch (alt31) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:128:2: x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:128:2: x= switchExpression ( '?' thenPart= switchExpression ':' elsePart= switchExpression )?
{
- pushFollow(FOLLOW_switchExpression_in_ifExpression736);
+ pushFollow(FOLLOW_switchExpression_in_ifExpression743);
x=switchExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:128:28: ( '?' thenPart= switchExpression ':' elsePart= switchExpression )?
- int alt28=2;
- int LA28_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:128:28: ( '?' thenPart= switchExpression ':' elsePart= switchExpression )?
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA28_0==44) ) {
- alt28=1;
+ if ( (LA29_0==45) ) {
+ alt29=1;
}
- switch (alt28) {
+ switch (alt29) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:128:29: '?' thenPart= switchExpression ':' elsePart= switchExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:128:29: '?' thenPart= switchExpression ':' elsePart= switchExpression
{
- match(input,44,FOLLOW_44_in_ifExpression740); if (failed) return e;
- pushFollow(FOLLOW_switchExpression_in_ifExpression744);
+ match(input,45,FOLLOW_45_in_ifExpression747); if (failed) return e;
+ pushFollow(FOLLOW_switchExpression_in_ifExpression751);
thenPart=switchExpression();
_fsp--;
if (failed) return e;
- match(input,26,FOLLOW_26_in_ifExpression746); if (failed) return e;
- pushFollow(FOLLOW_switchExpression_in_ifExpression750);
+ match(input,27,FOLLOW_27_in_ifExpression753); if (failed) return e;
+ pushFollow(FOLLOW_switchExpression_in_ifExpression757);
elsePart=switchExpression();
_fsp--;
if (failed) return e;
@@ -1604,31 +1618,31 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:129:3: 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:129:3: 'if' condition= switchExpression 'then' thenPart= switchExpression ( 'else' elsePart= expression )?
{
- match(input,23,FOLLOW_23_in_ifExpression758); if (failed) return e;
- pushFollow(FOLLOW_switchExpression_in_ifExpression762);
+ match(input,24,FOLLOW_24_in_ifExpression765); if (failed) return e;
+ pushFollow(FOLLOW_switchExpression_in_ifExpression769);
condition=switchExpression();
_fsp--;
if (failed) return e;
- match(input,45,FOLLOW_45_in_ifExpression764); if (failed) return e;
- pushFollow(FOLLOW_switchExpression_in_ifExpression768);
+ match(input,46,FOLLOW_46_in_ifExpression771); if (failed) return e;
+ pushFollow(FOLLOW_switchExpression_in_ifExpression775);
thenPart=switchExpression();
_fsp--;
if (failed) return e;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:129:68: ( 'else' elsePart= expression )?
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:129:68: ( 'else' elsePart= expression )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
- if ( (LA29_0==46) ) {
- alt29=1;
+ if ( (LA30_0==47) ) {
+ alt30=1;
}
- switch (alt29) {
+ switch (alt30) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:129:69: 'else' elsePart= expression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:129:69: 'else' elsePart= expression
{
- match(input,46,FOLLOW_46_in_ifExpression771); if (failed) return e;
- pushFollow(FOLLOW_expression_in_ifExpression775);
+ match(input,47,FOLLOW_47_in_ifExpression778); if (failed) return e;
+ pushFollow(FOLLOW_expression_in_ifExpression782);
elsePart=expression();
_fsp--;
if (failed) return e;
@@ -1659,7 +1673,7 @@ public class XtendParser extends Parser {
// $ANTLR start switchExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:133:1: switchExpression returns [Expression e=null] : ( 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}' | x= orExpression );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:133:1: switchExpression returns [Expression e=null] : ( 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}' | x= orExpression );
public Expression switchExpression() throws RecognitionException {
Expression e = null;
@@ -1676,74 +1690,74 @@ public class XtendParser extends Parser {
List cases = new ArrayList();
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:134:4: ( 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}' | x= orExpression )
- int alt33=2;
- int LA33_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:134:4: ( 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}' | x= orExpression )
+ int alt34=2;
+ int LA34_0 = input.LA(1);
- if ( (LA33_0==47) ) {
- alt33=1;
+ if ( (LA34_0==48) ) {
+ alt34=1;
}
- else if ( ((LA33_0>=StringLiteral && LA33_0<=Identifier)||LA33_0==28||(LA33_0>=38 && LA33_0<=40)||LA33_0==48||LA33_0==62||(LA33_0>=64 && LA33_0<=78)) ) {
- alt33=2;
+ else if ( ((LA34_0>=StringLiteral && LA34_0<=Identifier)||LA34_0==29||(LA34_0>=39 && LA34_0<=41)||LA34_0==49||LA34_0==63||(LA34_0>=65 && LA34_0<=79)) ) {
+ alt34=2;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("133:1: switchExpression returns [Expression e=null] : ( 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}' | x= orExpression );", 33, 0, input);
+ new NoViableAltException("133:1: switchExpression returns [Expression e=null] : ( 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}' | x= orExpression );", 34, 0, input);
throw nvae;
}
- switch (alt33) {
+ switch (alt34) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:134:4: 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:134:4: 'switch' ( '(' pred= orExpression ')' )? '{' ( 'case' c= orExpression ':' v= orExpression )* 'default' ':' def= orExpression '}'
{
- match(input,47,FOLLOW_47_in_switchExpression802); if (failed) return e;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:134:13: ( '(' pred= orExpression ')' )?
- int alt31=2;
- int LA31_0 = input.LA(1);
+ match(input,48,FOLLOW_48_in_switchExpression809); if (failed) return e;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:134:13: ( '(' pred= orExpression ')' )?
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- if ( (LA31_0==28) ) {
- alt31=1;
+ if ( (LA32_0==29) ) {
+ alt32=1;
}
- switch (alt31) {
+ switch (alt32) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:134:14: '(' pred= orExpression ')'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:134:14: '(' pred= orExpression ')'
{
- match(input,28,FOLLOW_28_in_switchExpression805); if (failed) return e;
- pushFollow(FOLLOW_orExpression_in_switchExpression811);
+ match(input,29,FOLLOW_29_in_switchExpression812); if (failed) return e;
+ pushFollow(FOLLOW_orExpression_in_switchExpression818);
pred=orExpression();
_fsp--;
if (failed) return e;
- match(input,31,FOLLOW_31_in_switchExpression813); if (failed) return e;
+ match(input,32,FOLLOW_32_in_switchExpression820); if (failed) return e;
}
break;
}
- match(input,48,FOLLOW_48_in_switchExpression820); if (failed) return e;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:136:4: ( 'case' c= orExpression ':' v= orExpression )*
- loop32:
+ match(input,49,FOLLOW_49_in_switchExpression827); if (failed) return e;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:136:4: ( 'case' c= orExpression ':' v= orExpression )*
+ loop33:
do {
- int alt32=2;
- int LA32_0 = input.LA(1);
+ int alt33=2;
+ int LA33_0 = input.LA(1);
- if ( (LA32_0==49) ) {
- alt32=1;
+ if ( (LA33_0==50) ) {
+ alt33=1;
}
- switch (alt32) {
+ switch (alt33) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:137:6: 'case' c= orExpression ':' v= orExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:137:6: 'case' c= orExpression ':' v= orExpression
{
- match(input,49,FOLLOW_49_in_switchExpression833); if (failed) return e;
- pushFollow(FOLLOW_orExpression_in_switchExpression837);
+ match(input,50,FOLLOW_50_in_switchExpression840); if (failed) return e;
+ pushFollow(FOLLOW_orExpression_in_switchExpression844);
c=orExpression();
_fsp--;
if (failed) return e;
- match(input,26,FOLLOW_26_in_switchExpression840); if (failed) return e;
- pushFollow(FOLLOW_orExpression_in_switchExpression845);
+ match(input,27,FOLLOW_27_in_switchExpression847); if (failed) return e;
+ pushFollow(FOLLOW_orExpression_in_switchExpression852);
v=orExpression();
_fsp--;
if (failed) return e;
@@ -1755,17 +1769,17 @@ public class XtendParser extends Parser {
break;
default :
- break loop32;
+ break loop33;
}
} while (true);
- match(input,50,FOLLOW_50_in_switchExpression863); if (failed) return e;
- match(input,26,FOLLOW_26_in_switchExpression865); if (failed) return e;
- pushFollow(FOLLOW_orExpression_in_switchExpression871);
+ match(input,51,FOLLOW_51_in_switchExpression870); if (failed) return e;
+ match(input,27,FOLLOW_27_in_switchExpression872); if (failed) return e;
+ pushFollow(FOLLOW_orExpression_in_switchExpression878);
def=orExpression();
_fsp--;
if (failed) return e;
- match(input,51,FOLLOW_51_in_switchExpression876); if (failed) return e;
+ match(input,52,FOLLOW_52_in_switchExpression883); if (failed) return e;
if ( backtracking==0 ) {
e = factory.createSwitchExpression(pred,cases,def);
}
@@ -1773,9 +1787,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:143:4: x= orExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:143:4: x= orExpression
{
- pushFollow(FOLLOW_orExpression_in_switchExpression888);
+ pushFollow(FOLLOW_orExpression_in_switchExpression895);
x=orExpression();
_fsp--;
if (failed) return e;
@@ -1800,7 +1814,7 @@ public class XtendParser extends Parser {
// $ANTLR start orExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:146:1: orExpression returns [Expression e] : x= andExpression (name= '||' r= andExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:146:1: orExpression returns [Expression e] : x= andExpression (name= '||' r= andExpression )* ;
public Expression orExpression() throws RecognitionException {
Expression e = null;
@@ -1811,34 +1825,34 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:147:4: (x= andExpression (name= '||' r= andExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:147:4: x= andExpression (name= '||' r= andExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:147:4: (x= andExpression (name= '||' r= andExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:147:4: x= andExpression (name= '||' r= andExpression )*
{
- pushFollow(FOLLOW_andExpression_in_orExpression908);
+ pushFollow(FOLLOW_andExpression_in_orExpression915);
x=andExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:147:28: (name= '||' r= andExpression )*
- loop34:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:147:28: (name= '||' r= andExpression )*
+ loop35:
do {
- int alt34=2;
- int LA34_0 = input.LA(1);
+ int alt35=2;
+ int LA35_0 = input.LA(1);
- if ( (LA34_0==52) ) {
- alt34=1;
+ if ( (LA35_0==53) ) {
+ alt35=1;
}
- switch (alt34) {
+ switch (alt35) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:147:29: name= '||' r= andExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:147:29: name= '||' r= andExpression
{
name=(Token)input.LT(1);
- match(input,52,FOLLOW_52_in_orExpression915); if (failed) return e;
- pushFollow(FOLLOW_andExpression_in_orExpression919);
+ match(input,53,FOLLOW_53_in_orExpression922); if (failed) return e;
+ pushFollow(FOLLOW_andExpression_in_orExpression926);
r=andExpression();
_fsp--;
if (failed) return e;
@@ -1850,7 +1864,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop34;
+ break loop35;
}
} while (true);
@@ -1870,7 +1884,7 @@ public class XtendParser extends Parser {
// $ANTLR start andExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:150:1: andExpression returns [Expression e] : x= impliesExpression (name= '&&' r= impliesExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:150:1: andExpression returns [Expression e] : x= impliesExpression (name= '&&' r= impliesExpression )* ;
public Expression andExpression() throws RecognitionException {
Expression e = null;
@@ -1881,34 +1895,34 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:151:2: (x= impliesExpression (name= '&&' r= impliesExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:151:2: x= impliesExpression (name= '&&' r= impliesExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:151:2: (x= impliesExpression (name= '&&' r= impliesExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:151:2: x= impliesExpression (name= '&&' r= impliesExpression )*
{
- pushFollow(FOLLOW_impliesExpression_in_andExpression942);
+ pushFollow(FOLLOW_impliesExpression_in_andExpression949);
x=impliesExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:151:30: (name= '&&' r= impliesExpression )*
- loop35:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:151:30: (name= '&&' r= impliesExpression )*
+ loop36:
do {
- int alt35=2;
- int LA35_0 = input.LA(1);
+ int alt36=2;
+ int LA36_0 = input.LA(1);
- if ( (LA35_0==53) ) {
- alt35=1;
+ if ( (LA36_0==54) ) {
+ alt36=1;
}
- switch (alt35) {
+ switch (alt36) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:151:31: name= '&&' r= impliesExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:151:31: name= '&&' r= impliesExpression
{
name=(Token)input.LT(1);
- match(input,53,FOLLOW_53_in_andExpression949); if (failed) return e;
- pushFollow(FOLLOW_impliesExpression_in_andExpression953);
+ match(input,54,FOLLOW_54_in_andExpression956); if (failed) return e;
+ pushFollow(FOLLOW_impliesExpression_in_andExpression960);
r=impliesExpression();
_fsp--;
if (failed) return e;
@@ -1920,7 +1934,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop35;
+ break loop36;
}
} while (true);
@@ -1940,7 +1954,7 @@ public class XtendParser extends Parser {
// $ANTLR start impliesExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:154:1: impliesExpression returns [Expression e] : x= relationalExpression (name= 'implies' r= relationalExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:154:1: impliesExpression returns [Expression e] : x= relationalExpression (name= 'implies' r= relationalExpression )* ;
public Expression impliesExpression() throws RecognitionException {
Expression e = null;
@@ -1951,34 +1965,34 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:155:2: (x= relationalExpression (name= 'implies' r= relationalExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:155:2: x= relationalExpression (name= 'implies' r= relationalExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:155:2: (x= relationalExpression (name= 'implies' r= relationalExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:155:2: x= relationalExpression (name= 'implies' r= relationalExpression )*
{
- pushFollow(FOLLOW_relationalExpression_in_impliesExpression975);
+ pushFollow(FOLLOW_relationalExpression_in_impliesExpression982);
x=relationalExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:155:33: (name= 'implies' r= relationalExpression )*
- loop36:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:155:33: (name= 'implies' r= relationalExpression )*
+ loop37:
do {
- int alt36=2;
- int LA36_0 = input.LA(1);
+ int alt37=2;
+ int LA37_0 = input.LA(1);
- if ( (LA36_0==54) ) {
- alt36=1;
+ if ( (LA37_0==55) ) {
+ alt37=1;
}
- switch (alt36) {
+ switch (alt37) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:155:34: name= 'implies' r= relationalExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:155:34: name= 'implies' r= relationalExpression
{
name=(Token)input.LT(1);
- match(input,54,FOLLOW_54_in_impliesExpression982); if (failed) return e;
- pushFollow(FOLLOW_relationalExpression_in_impliesExpression986);
+ match(input,55,FOLLOW_55_in_impliesExpression989); if (failed) return e;
+ pushFollow(FOLLOW_relationalExpression_in_impliesExpression993);
r=relationalExpression();
_fsp--;
if (failed) return e;
@@ -1990,7 +2004,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop36;
+ break loop37;
}
} while (true);
@@ -2010,7 +2024,7 @@ public class XtendParser extends Parser {
// $ANTLR start relationalExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:159:1: relationalExpression returns [Expression e] : x= additiveExpression (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:159:1: relationalExpression returns [Expression e] : x= additiveExpression (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )* ;
public Expression relationalExpression() throws RecognitionException {
Expression e = null;
@@ -2021,33 +2035,33 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:160:2: (x= additiveExpression (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:160:2: x= additiveExpression (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:160:2: (x= additiveExpression (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:160:2: x= additiveExpression (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )*
{
- pushFollow(FOLLOW_additiveExpression_in_relationalExpression1010);
+ pushFollow(FOLLOW_additiveExpression_in_relationalExpression1017);
x=additiveExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:161:2: (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )*
- loop37:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:161:2: (name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression )*
+ loop38:
do {
- int alt37=2;
- int LA37_0 = input.LA(1);
+ int alt38=2;
+ int LA38_0 = input.LA(1);
- if ( ((LA37_0>=55 && LA37_0<=60)) ) {
- alt37=1;
+ if ( ((LA38_0>=56 && LA38_0<=61)) ) {
+ alt38=1;
}
- switch (alt37) {
+ switch (alt38) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:161:3: name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:161:3: name= ( '==' | '!=' | '>=' | '<=' | '>' | '<' ) r= additiveExpression
{
name=(Token)input.LT(1);
- if ( (input.LA(1)>=55 && input.LA(1)<=60) ) {
+ if ( (input.LA(1)>=56 && input.LA(1)<=61) ) {
input.consume();
errorRecovery=false;failed=false;
}
@@ -2055,10 +2069,10 @@ public class XtendParser extends Parser {
if (backtracking>0) {failed=true; return e;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_relationalExpression1018); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_relationalExpression1025); throw mse;
}
- pushFollow(FOLLOW_additiveExpression_in_relationalExpression1044);
+ pushFollow(FOLLOW_additiveExpression_in_relationalExpression1051);
r=additiveExpression();
_fsp--;
if (failed) return e;
@@ -2070,7 +2084,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop37;
+ break loop38;
}
} while (true);
@@ -2090,7 +2104,7 @@ public class XtendParser extends Parser {
// $ANTLR start additiveExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:165:1: additiveExpression returns [Expression e] : x= multiplicativeExpression (name= ( '+' | '-' ) r= multiplicativeExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:165:1: additiveExpression returns [Expression e] : x= multiplicativeExpression (name= ( '+' | '-' ) r= multiplicativeExpression )* ;
public Expression additiveExpression() throws RecognitionException {
Expression e = null;
@@ -2101,33 +2115,33 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:166:2: (x= multiplicativeExpression (name= ( '+' | '-' ) r= multiplicativeExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:166:2: x= multiplicativeExpression (name= ( '+' | '-' ) r= multiplicativeExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:166:2: (x= multiplicativeExpression (name= ( '+' | '-' ) r= multiplicativeExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:166:2: x= multiplicativeExpression (name= ( '+' | '-' ) r= multiplicativeExpression )*
{
- pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression1065);
+ pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression1072);
x=multiplicativeExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:167:4: (name= ( '+' | '-' ) r= multiplicativeExpression )*
- loop38:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:167:4: (name= ( '+' | '-' ) r= multiplicativeExpression )*
+ loop39:
do {
- int alt38=2;
- int LA38_0 = input.LA(1);
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( ((LA38_0>=61 && LA38_0<=62)) ) {
- alt38=1;
+ if ( ((LA39_0>=62 && LA39_0<=63)) ) {
+ alt39=1;
}
- switch (alt38) {
+ switch (alt39) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:167:5: name= ( '+' | '-' ) r= multiplicativeExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:167:5: name= ( '+' | '-' ) r= multiplicativeExpression
{
name=(Token)input.LT(1);
- if ( (input.LA(1)>=61 && input.LA(1)<=62) ) {
+ if ( (input.LA(1)>=62 && input.LA(1)<=63) ) {
input.consume();
errorRecovery=false;failed=false;
}
@@ -2135,10 +2149,10 @@ public class XtendParser extends Parser {
if (backtracking>0) {failed=true; return e;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_additiveExpression1075); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_additiveExpression1082); throw mse;
}
- pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression1084);
+ pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression1091);
r=multiplicativeExpression();
_fsp--;
if (failed) return e;
@@ -2150,7 +2164,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop38;
+ break loop39;
}
} while (true);
@@ -2170,7 +2184,7 @@ public class XtendParser extends Parser {
// $ANTLR start multiplicativeExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:170:1: multiplicativeExpression returns [Expression e] : x= unaryExpression (name= ( '*' | '/' ) r= unaryExpression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:170:1: multiplicativeExpression returns [Expression e] : x= unaryExpression (name= ( '*' | '/' ) r= unaryExpression )* ;
public Expression multiplicativeExpression() throws RecognitionException {
Expression e = null;
@@ -2181,33 +2195,33 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:171:2: (x= unaryExpression (name= ( '*' | '/' ) r= unaryExpression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:171:2: x= unaryExpression (name= ( '*' | '/' ) r= unaryExpression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:171:2: (x= unaryExpression (name= ( '*' | '/' ) r= unaryExpression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:171:2: x= unaryExpression (name= ( '*' | '/' ) r= unaryExpression )*
{
- pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression1103);
+ pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression1110);
x=unaryExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:172:2: (name= ( '*' | '/' ) r= unaryExpression )*
- loop39:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:172:2: (name= ( '*' | '/' ) r= unaryExpression )*
+ loop40:
do {
- int alt39=2;
- int LA39_0 = input.LA(1);
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( (LA39_0==30||LA39_0==63) ) {
- alt39=1;
+ if ( (LA40_0==31||LA40_0==64) ) {
+ alt40=1;
}
- switch (alt39) {
+ switch (alt40) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:172:3: name= ( '*' | '/' ) r= unaryExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:172:3: name= ( '*' | '/' ) r= unaryExpression
{
name=(Token)input.LT(1);
- if ( input.LA(1)==30||input.LA(1)==63 ) {
+ if ( input.LA(1)==31||input.LA(1)==64 ) {
input.consume();
errorRecovery=false;failed=false;
}
@@ -2215,10 +2229,10 @@ public class XtendParser extends Parser {
if (backtracking>0) {failed=true; return e;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_multiplicativeExpression1111); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_multiplicativeExpression1118); throw mse;
}
- pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression1121);
+ pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression1128);
r=unaryExpression();
_fsp--;
if (failed) return e;
@@ -2230,7 +2244,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop39;
+ break loop40;
}
} while (true);
@@ -2250,7 +2264,7 @@ public class XtendParser extends Parser {
// $ANTLR start unaryExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:176:1: unaryExpression returns [Expression e] : (x= infixExpression | name= '!' x= infixExpression | name= '-' x= infixExpression );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:176:1: unaryExpression returns [Expression e] : (x= infixExpression | name= '!' x= infixExpression | name= '-' x= infixExpression );
public Expression unaryExpression() throws RecognitionException {
Expression e = null;
@@ -2259,18 +2273,17 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:177:2: (x= infixExpression | name= '!' x= infixExpression | name= '-' x= infixExpression )
- int alt40=3;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:177:2: (x= infixExpression | name= '!' x= infixExpression | name= '-' x= infixExpression )
+ int alt41=3;
switch ( input.LA(1) ) {
case StringLiteral:
case IntLiteral:
case Identifier:
- case 28:
- case 38:
+ case 29:
case 39:
case 40:
- case 48:
- case 65:
+ case 41:
+ case 49:
case 66:
case 67:
case 68:
@@ -2284,33 +2297,34 @@ public class XtendParser extends Parser {
case 76:
case 77:
case 78:
+ case 79:
{
- alt40=1;
+ alt41=1;
}
break;
- case 64:
+ case 65:
{
- alt40=2;
+ alt41=2;
}
break;
- case 62:
+ case 63:
{
- alt40=3;
+ alt41=3;
}
break;
default:
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("176:1: unaryExpression returns [Expression e] : (x= infixExpression | name= '!' x= infixExpression | name= '-' x= infixExpression );", 40, 0, input);
+ new NoViableAltException("176:1: unaryExpression returns [Expression e] : (x= infixExpression | name= '!' x= infixExpression | name= '-' x= infixExpression );", 41, 0, input);
throw nvae;
}
- switch (alt40) {
+ switch (alt41) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:177:2: x= infixExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:177:2: x= infixExpression
{
- pushFollow(FOLLOW_infixExpression_in_unaryExpression1142);
+ pushFollow(FOLLOW_infixExpression_in_unaryExpression1149);
x=infixExpression();
_fsp--;
if (failed) return e;
@@ -2321,11 +2335,11 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:178:3: name= '!' x= infixExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:178:3: name= '!' x= infixExpression
{
name=(Token)input.LT(1);
- match(input,64,FOLLOW_64_in_unaryExpression1150); if (failed) return e;
- pushFollow(FOLLOW_infixExpression_in_unaryExpression1154);
+ match(input,65,FOLLOW_65_in_unaryExpression1157); if (failed) return e;
+ pushFollow(FOLLOW_infixExpression_in_unaryExpression1161);
x=infixExpression();
_fsp--;
if (failed) return e;
@@ -2336,11 +2350,11 @@ public class XtendParser extends Parser {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:179:3: name= '-' x= infixExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:179:3: name= '-' x= infixExpression
{
name=(Token)input.LT(1);
- match(input,62,FOLLOW_62_in_unaryExpression1162); if (failed) return e;
- pushFollow(FOLLOW_infixExpression_in_unaryExpression1166);
+ match(input,63,FOLLOW_63_in_unaryExpression1169); if (failed) return e;
+ pushFollow(FOLLOW_infixExpression_in_unaryExpression1173);
x=infixExpression();
_fsp--;
if (failed) return e;
@@ -2365,7 +2379,7 @@ public class XtendParser extends Parser {
// $ANTLR start infixExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:182:1: infixExpression returns [Expression e] : x= primaryExpression ( '.' op= featureCall )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:182:1: infixExpression returns [Expression e] : x= primaryExpression ( '.' op= featureCall )* ;
public Expression infixExpression() throws RecognitionException {
Expression e = null;
@@ -2375,33 +2389,33 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:183:2: (x= primaryExpression ( '.' op= featureCall )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:183:2: x= primaryExpression ( '.' op= featureCall )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:183:2: (x= primaryExpression ( '.' op= featureCall )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:183:2: x= primaryExpression ( '.' op= featureCall )*
{
- pushFollow(FOLLOW_primaryExpression_in_infixExpression1184);
+ pushFollow(FOLLOW_primaryExpression_in_infixExpression1191);
x=primaryExpression();
_fsp--;
if (failed) return e;
if ( backtracking==0 ) {
e =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:183:30: ( '.' op= featureCall )*
- loop41:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:183:30: ( '.' op= featureCall )*
+ loop42:
do {
- int alt41=2;
- int LA41_0 = input.LA(1);
+ int alt42=2;
+ int LA42_0 = input.LA(1);
- if ( (LA41_0==36) ) {
- alt41=1;
+ if ( (LA42_0==37) ) {
+ alt42=1;
}
- switch (alt41) {
+ switch (alt42) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:183:32: '.' op= featureCall
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:183:32: '.' op= featureCall
{
- match(input,36,FOLLOW_36_in_infixExpression1190); if (failed) return e;
- pushFollow(FOLLOW_featureCall_in_infixExpression1194);
+ match(input,37,FOLLOW_37_in_infixExpression1197); if (failed) return e;
+ pushFollow(FOLLOW_featureCall_in_infixExpression1201);
op=featureCall();
_fsp--;
if (failed) return e;
@@ -2413,7 +2427,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop41;
+ break loop42;
}
} while (true);
@@ -2433,7 +2447,7 @@ public class XtendParser extends Parser {
// $ANTLR start primaryExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:186:1: primaryExpression returns [Expression e] : (c= StringLiteral | x= featureCall | x= booleanLiteral | x= numberLiteral | x= nullLiteral | x= listLiteral | x= constructorCall | x= globalVarExpression | x= paranthesizedExpression );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:186:1: primaryExpression returns [Expression e] : (c= StringLiteral | x= featureCall | x= booleanLiteral | x= numberLiteral | x= nullLiteral | x= listLiteral | x= constructorCall | x= globalVarExpression | x= paranthesizedExpression );
public Expression primaryExpression() throws RecognitionException {
Expression e = null;
@@ -2442,19 +2456,18 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:187:4: (c= StringLiteral | x= featureCall | x= booleanLiteral | x= numberLiteral | x= nullLiteral | x= listLiteral | x= constructorCall | x= globalVarExpression | x= paranthesizedExpression )
- int alt42=9;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:187:4: (c= StringLiteral | x= featureCall | x= booleanLiteral | x= numberLiteral | x= nullLiteral | x= listLiteral | x= constructorCall | x= globalVarExpression | x= paranthesizedExpression )
+ int alt43=9;
switch ( input.LA(1) ) {
case StringLiteral:
{
- alt42=1;
+ alt43=1;
}
break;
case Identifier:
- case 38:
case 39:
case 40:
- case 70:
+ case 41:
case 71:
case 72:
case 73:
@@ -2463,60 +2476,61 @@ public class XtendParser extends Parser {
case 76:
case 77:
case 78:
+ case 79:
{
- alt42=2;
+ alt43=2;
}
break;
- case 67:
case 68:
+ case 69:
{
- alt42=3;
+ alt43=3;
}
break;
case IntLiteral:
{
- alt42=4;
+ alt43=4;
}
break;
- case 69:
+ case 70:
{
- alt42=5;
+ alt43=5;
}
break;
- case 48:
+ case 49:
{
- alt42=6;
+ alt43=6;
}
break;
- case 66:
+ case 67:
{
- alt42=7;
+ alt43=7;
}
break;
- case 65:
+ case 66:
{
- alt42=8;
+ alt43=8;
}
break;
- case 28:
+ case 29:
{
- alt42=9;
+ alt43=9;
}
break;
default:
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("186:1: primaryExpression returns [Expression e] : (c= StringLiteral | x= featureCall | x= booleanLiteral | x= numberLiteral | x= nullLiteral | x= listLiteral | x= constructorCall | x= globalVarExpression | x= paranthesizedExpression );", 42, 0, input);
+ new NoViableAltException("186:1: primaryExpression returns [Expression e] : (c= StringLiteral | x= featureCall | x= booleanLiteral | x= numberLiteral | x= nullLiteral | x= listLiteral | x= constructorCall | x= globalVarExpression | x= paranthesizedExpression );", 43, 0, input);
throw nvae;
}
- switch (alt42) {
+ switch (alt43) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:187:4: c= StringLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:187:4: c= StringLiteral
{
c=(Token)input.LT(1);
- match(input,StringLiteral,FOLLOW_StringLiteral_in_primaryExpression1220); if (failed) return e;
+ match(input,StringLiteral,FOLLOW_StringLiteral_in_primaryExpression1227); if (failed) return e;
if ( backtracking==0 ) {
e = factory.createStringLiteral(id(c));
}
@@ -2524,9 +2538,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:188:5: x= featureCall
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:188:5: x= featureCall
{
- pushFollow(FOLLOW_featureCall_in_primaryExpression1231);
+ pushFollow(FOLLOW_featureCall_in_primaryExpression1238);
x=featureCall();
_fsp--;
if (failed) return e;
@@ -2537,9 +2551,9 @@ public class XtendParser extends Parser {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:189:5: x= booleanLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:189:5: x= booleanLiteral
{
- pushFollow(FOLLOW_booleanLiteral_in_primaryExpression1241);
+ pushFollow(FOLLOW_booleanLiteral_in_primaryExpression1248);
x=booleanLiteral();
_fsp--;
if (failed) return e;
@@ -2550,9 +2564,9 @@ public class XtendParser extends Parser {
}
break;
case 4 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:190:5: x= numberLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:190:5: x= numberLiteral
{
- pushFollow(FOLLOW_numberLiteral_in_primaryExpression1251);
+ pushFollow(FOLLOW_numberLiteral_in_primaryExpression1258);
x=numberLiteral();
_fsp--;
if (failed) return e;
@@ -2563,9 +2577,9 @@ public class XtendParser extends Parser {
}
break;
case 5 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:191:5: x= nullLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:191:5: x= nullLiteral
{
- pushFollow(FOLLOW_nullLiteral_in_primaryExpression1261);
+ pushFollow(FOLLOW_nullLiteral_in_primaryExpression1268);
x=nullLiteral();
_fsp--;
if (failed) return e;
@@ -2576,9 +2590,9 @@ public class XtendParser extends Parser {
}
break;
case 6 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:192:5: x= listLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:192:5: x= listLiteral
{
- pushFollow(FOLLOW_listLiteral_in_primaryExpression1271);
+ pushFollow(FOLLOW_listLiteral_in_primaryExpression1278);
x=listLiteral();
_fsp--;
if (failed) return e;
@@ -2589,9 +2603,9 @@ public class XtendParser extends Parser {
}
break;
case 7 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:193:5: x= constructorCall
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:193:5: x= constructorCall
{
- pushFollow(FOLLOW_constructorCall_in_primaryExpression1281);
+ pushFollow(FOLLOW_constructorCall_in_primaryExpression1288);
x=constructorCall();
_fsp--;
if (failed) return e;
@@ -2602,9 +2616,9 @@ public class XtendParser extends Parser {
}
break;
case 8 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:194:5: x= globalVarExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:194:5: x= globalVarExpression
{
- pushFollow(FOLLOW_globalVarExpression_in_primaryExpression1291);
+ pushFollow(FOLLOW_globalVarExpression_in_primaryExpression1298);
x=globalVarExpression();
_fsp--;
if (failed) return e;
@@ -2615,9 +2629,9 @@ public class XtendParser extends Parser {
}
break;
case 9 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:195:5: x= paranthesizedExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:195:5: x= paranthesizedExpression
{
- pushFollow(FOLLOW_paranthesizedExpression_in_primaryExpression1301);
+ pushFollow(FOLLOW_paranthesizedExpression_in_primaryExpression1308);
x=paranthesizedExpression();
_fsp--;
if (failed) return e;
@@ -2642,7 +2656,7 @@ public class XtendParser extends Parser {
// $ANTLR start paranthesizedExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:198:1: paranthesizedExpression returns [Expression e] : '(' x= expression ')' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:198:1: paranthesizedExpression returns [Expression e] : '(' x= expression ')' ;
public Expression paranthesizedExpression() throws RecognitionException {
Expression e = null;
@@ -2650,15 +2664,15 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:199:5: ( '(' x= expression ')' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:199:5: '(' x= expression ')'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:199:5: ( '(' x= expression ')' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:199:5: '(' x= expression ')'
{
- match(input,28,FOLLOW_28_in_paranthesizedExpression1320); if (failed) return e;
- pushFollow(FOLLOW_expression_in_paranthesizedExpression1324);
+ match(input,29,FOLLOW_29_in_paranthesizedExpression1327); if (failed) return e;
+ pushFollow(FOLLOW_expression_in_paranthesizedExpression1331);
x=expression();
_fsp--;
if (failed) return e;
- match(input,31,FOLLOW_31_in_paranthesizedExpression1326); if (failed) return e;
+ match(input,32,FOLLOW_32_in_paranthesizedExpression1333); if (failed) return e;
if ( backtracking==0 ) {
e =factory.createParanthesizedExpression(x);
}
@@ -2678,7 +2692,7 @@ public class XtendParser extends Parser {
// $ANTLR start globalVarExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:202:1: globalVarExpression returns [GlobalVarExpression e] : 'GLOBALVAR' name= identifier ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:202:1: globalVarExpression returns [GlobalVarExpression e] : 'GLOBALVAR' name= identifier ;
public GlobalVarExpression globalVarExpression() throws RecognitionException {
GlobalVarExpression e = null;
@@ -2686,11 +2700,11 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:203:5: ( 'GLOBALVAR' name= identifier )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:203:5: 'GLOBALVAR' name= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:203:5: ( 'GLOBALVAR' name= identifier )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:203:5: 'GLOBALVAR' name= identifier
{
- match(input,65,FOLLOW_65_in_globalVarExpression1346); if (failed) return e;
- pushFollow(FOLLOW_identifier_in_globalVarExpression1350);
+ match(input,66,FOLLOW_66_in_globalVarExpression1353); if (failed) return e;
+ pushFollow(FOLLOW_identifier_in_globalVarExpression1357);
name=identifier();
_fsp--;
if (failed) return e;
@@ -2713,7 +2727,7 @@ public class XtendParser extends Parser {
// $ANTLR start featureCall
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:205:1: featureCall returns [FeatureCall e] : (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:205:1: featureCall returns [FeatureCall e] : (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression );
public FeatureCall featureCall() throws RecognitionException {
FeatureCall e = null;
@@ -2727,36 +2741,35 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:206:2: (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression )
- int alt44=3;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:206:2: (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression )
+ int alt45=3;
switch ( input.LA(1) ) {
case Identifier:
{
- int LA44_1 = input.LA(2);
+ int LA45_1 = input.LA(2);
- if ( (LA44_1==28) ) {
- alt44=1;
+ if ( (LA45_1==EOF||LA45_1==19||(LA45_1>=25 && LA45_1<=27)||(LA45_1>=30 && LA45_1<=33)||LA45_1==37||(LA45_1>=44 && LA45_1<=47)||(LA45_1>=50 && LA45_1<=64)) ) {
+ alt45=2;
}
- else if ( (LA44_1==EOF||LA44_1==19||(LA44_1>=24 && LA44_1<=26)||(LA44_1>=29 && LA44_1<=32)||LA44_1==36||(LA44_1>=43 && LA44_1<=46)||(LA44_1>=49 && LA44_1<=63)) ) {
- alt44=2;
+ else if ( (LA45_1==29) ) {
+ alt45=1;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("205:1: featureCall returns [FeatureCall e] : (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression );", 44, 1, input);
+ new NoViableAltException("205:1: featureCall returns [FeatureCall e] : (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression );", 45, 1, input);
throw nvae;
}
}
break;
- case 38:
case 39:
case 40:
+ case 41:
{
- alt44=2;
+ alt45=2;
}
break;
- case 70:
case 71:
case 72:
case 73:
@@ -2765,39 +2778,40 @@ public class XtendParser extends Parser {
case 76:
case 77:
case 78:
+ case 79:
{
- alt44=3;
+ alt45=3;
}
break;
default:
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("205:1: featureCall returns [FeatureCall e] : (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression );", 44, 0, input);
+ new NoViableAltException("205:1: featureCall returns [FeatureCall e] : (id1= identifier '(' (l= parameterList )? ')' | t= type | x= collectionExpression );", 45, 0, input);
throw nvae;
}
- switch (alt44) {
+ switch (alt45) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:206:2: id1= identifier '(' (l= parameterList )? ')'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:206:2: id1= identifier '(' (l= parameterList )? ')'
{
- pushFollow(FOLLOW_identifier_in_featureCall1368);
+ pushFollow(FOLLOW_identifier_in_featureCall1375);
id1=identifier();
_fsp--;
if (failed) return e;
- match(input,28,FOLLOW_28_in_featureCall1370); if (failed) return e;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:206:21: (l= parameterList )?
- int alt43=2;
- int LA43_0 = input.LA(1);
+ match(input,29,FOLLOW_29_in_featureCall1377); if (failed) return e;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:206:21: (l= parameterList )?
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- if ( ((LA43_0>=StringLiteral && LA43_0<=Identifier)||LA43_0==23||LA43_0==28||(LA43_0>=38 && LA43_0<=41)||(LA43_0>=47 && LA43_0<=48)||LA43_0==62||(LA43_0>=64 && LA43_0<=78)) ) {
- alt43=1;
+ if ( ((LA44_0>=StringLiteral && LA44_0<=Identifier)||LA44_0==24||LA44_0==29||(LA44_0>=39 && LA44_0<=42)||(LA44_0>=48 && LA44_0<=49)||LA44_0==63||(LA44_0>=65 && LA44_0<=79)) ) {
+ alt44=1;
}
- switch (alt43) {
+ switch (alt44) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:206:22: l= parameterList
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:206:22: l= parameterList
{
- pushFollow(FOLLOW_parameterList_in_featureCall1375);
+ pushFollow(FOLLOW_parameterList_in_featureCall1382);
l=parameterList();
_fsp--;
if (failed) return e;
@@ -2807,7 +2821,7 @@ public class XtendParser extends Parser {
}
- match(input,31,FOLLOW_31_in_featureCall1379); if (failed) return e;
+ match(input,32,FOLLOW_32_in_featureCall1386); if (failed) return e;
if ( backtracking==0 ) {
e = factory.createOperationCall(id1,l);
}
@@ -2815,9 +2829,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:207:5: t= type
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:207:5: t= type
{
- pushFollow(FOLLOW_type_in_featureCall1389);
+ pushFollow(FOLLOW_type_in_featureCall1396);
t=type();
_fsp--;
if (failed) return e;
@@ -2828,9 +2842,9 @@ public class XtendParser extends Parser {
}
break;
case 3 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:208:5: x= collectionExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:208:5: x= collectionExpression
{
- pushFollow(FOLLOW_collectionExpression_in_featureCall1400);
+ pushFollow(FOLLOW_collectionExpression_in_featureCall1407);
x=collectionExpression();
_fsp--;
if (failed) return e;
@@ -2855,7 +2869,7 @@ public class XtendParser extends Parser {
// $ANTLR start listLiteral
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:211:1: listLiteral returns [Expression e] : '{' (l= parameterList )? '}' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:211:1: listLiteral returns [Expression e] : '{' (l= parameterList )? '}' ;
public Expression listLiteral() throws RecognitionException {
Expression e = null;
@@ -2863,22 +2877,22 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:212:2: ( '{' (l= parameterList )? '}' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:212:2: '{' (l= parameterList )? '}'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:212:2: ( '{' (l= parameterList )? '}' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:212:2: '{' (l= parameterList )? '}'
{
- match(input,48,FOLLOW_48_in_listLiteral1417); if (failed) return e;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:212:6: (l= parameterList )?
- int alt45=2;
- int LA45_0 = input.LA(1);
+ match(input,49,FOLLOW_49_in_listLiteral1424); if (failed) return e;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:212:6: (l= parameterList )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( ((LA45_0>=StringLiteral && LA45_0<=Identifier)||LA45_0==23||LA45_0==28||(LA45_0>=38 && LA45_0<=41)||(LA45_0>=47 && LA45_0<=48)||LA45_0==62||(LA45_0>=64 && LA45_0<=78)) ) {
- alt45=1;
+ if ( ((LA46_0>=StringLiteral && LA46_0<=Identifier)||LA46_0==24||LA46_0==29||(LA46_0>=39 && LA46_0<=42)||(LA46_0>=48 && LA46_0<=49)||LA46_0==63||(LA46_0>=65 && LA46_0<=79)) ) {
+ alt46=1;
}
- switch (alt45) {
+ switch (alt46) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:212:7: l= parameterList
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:212:7: l= parameterList
{
- pushFollow(FOLLOW_parameterList_in_listLiteral1422);
+ pushFollow(FOLLOW_parameterList_in_listLiteral1429);
l=parameterList();
_fsp--;
if (failed) return e;
@@ -2888,7 +2902,7 @@ public class XtendParser extends Parser {
}
- match(input,51,FOLLOW_51_in_listLiteral1426); if (failed) return e;
+ match(input,52,FOLLOW_52_in_listLiteral1433); if (failed) return e;
if ( backtracking==0 ) {
e =factory.createListLiteral(l);
}
@@ -2908,7 +2922,7 @@ public class XtendParser extends Parser {
// $ANTLR start constructorCall
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:215:1: constructorCall returns [Expression e] : 'new' t= simpleType ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:215:1: constructorCall returns [Expression e] : 'new' t= simpleType ;
public Expression constructorCall() throws RecognitionException {
Expression e = null;
@@ -2916,11 +2930,11 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:216:2: ( 'new' t= simpleType )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:216:2: 'new' t= simpleType
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:216:2: ( 'new' t= simpleType )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:216:2: 'new' t= simpleType
{
- match(input,66,FOLLOW_66_in_constructorCall1443); if (failed) return e;
- pushFollow(FOLLOW_simpleType_in_constructorCall1447);
+ match(input,67,FOLLOW_67_in_constructorCall1450); if (failed) return e;
+ pushFollow(FOLLOW_simpleType_in_constructorCall1454);
t=simpleType();
_fsp--;
if (failed) return e;
@@ -2943,15 +2957,15 @@ public class XtendParser extends Parser {
// $ANTLR start booleanLiteral
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:220:1: booleanLiteral returns [Expression e=factory.createBooleanLiteral(id(input.LT(1)))] : ( 'false' | 'true' );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:220:1: booleanLiteral returns [Expression e=factory.createBooleanLiteral(id(input.LT(1)))] : ( 'false' | 'true' );
public Expression booleanLiteral() throws RecognitionException {
Expression e = factory.createBooleanLiteral(id(input.LT(1)));
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:221:2: ( 'false' | 'true' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:221:2: ( 'false' | 'true' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:
{
- if ( (input.LA(1)>=67 && input.LA(1)<=68) ) {
+ if ( (input.LA(1)>=68 && input.LA(1)<=69) ) {
input.consume();
errorRecovery=false;failed=false;
}
@@ -2978,15 +2992,15 @@ public class XtendParser extends Parser {
// $ANTLR start nullLiteral
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:224:1: nullLiteral returns [Expression e=factory.createNullLiteral(id(input.LT(1)))] : 'null' ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:224:1: nullLiteral returns [Expression e=factory.createNullLiteral(id(input.LT(1)))] : 'null' ;
public Expression nullLiteral() throws RecognitionException {
Expression e = factory.createNullLiteral(id(input.LT(1)));
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:225:2: ( 'null' )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:225:2: 'null'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:225:2: ( 'null' )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:225:2: 'null'
{
- match(input,69,FOLLOW_69_in_nullLiteral1482); if (failed) return e;
+ match(input,70,FOLLOW_70_in_nullLiteral1489); if (failed) return e;
}
@@ -3003,7 +3017,7 @@ public class XtendParser extends Parser {
// $ANTLR start numberLiteral
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );
public Expression numberLiteral() throws RecognitionException {
Expression e = null;
@@ -3012,37 +3026,37 @@ public class XtendParser extends Parser {
Token c=null;
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:229:4: (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral )
- int alt46=2;
- int LA46_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:229:4: (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral )
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA46_0==IntLiteral) ) {
- int LA46_1 = input.LA(2);
+ if ( (LA47_0==IntLiteral) ) {
+ int LA47_1 = input.LA(2);
- if ( (LA46_1==36) ) {
- int LA46_2 = input.LA(3);
+ if ( (LA47_1==37) ) {
+ int LA47_2 = input.LA(3);
- if ( (LA46_2==IntLiteral) ) {
- alt46=2;
+ if ( (LA47_2==IntLiteral) ) {
+ alt47=2;
}
- else if ( (LA46_2==Identifier||(LA46_2>=38 && LA46_2<=40)||(LA46_2>=70 && LA46_2<=78)) ) {
- alt46=1;
+ else if ( (LA47_2==Identifier||(LA47_2>=39 && LA47_2<=41)||(LA47_2>=71 && LA47_2<=79)) ) {
+ alt47=1;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );", 46, 2, input);
+ new NoViableAltException("228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );", 47, 2, input);
throw nvae;
}
}
- else if ( (LA46_1==EOF||LA46_1==19||(LA46_1>=24 && LA46_1<=26)||(LA46_1>=29 && LA46_1<=31)||(LA46_1>=43 && LA46_1<=46)||(LA46_1>=49 && LA46_1<=63)) ) {
- alt46=1;
+ else if ( (LA47_1==EOF||LA47_1==19||(LA47_1>=25 && LA47_1<=27)||(LA47_1>=30 && LA47_1<=32)||(LA47_1>=44 && LA47_1<=47)||(LA47_1>=50 && LA47_1<=64)) ) {
+ alt47=1;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );", 46, 1, input);
+ new NoViableAltException("228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );", 47, 1, input);
throw nvae;
}
@@ -3050,16 +3064,16 @@ public class XtendParser extends Parser {
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );", 46, 0, input);
+ new NoViableAltException("228:1: numberLiteral returns [Expression e] : (a= IntLiteral | a= IntLiteral b= '.' c= IntLiteral );", 47, 0, input);
throw nvae;
}
- switch (alt46) {
+ switch (alt47) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:229:4: a= IntLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:229:4: a= IntLiteral
{
a=(Token)input.LT(1);
- match(input,IntLiteral,FOLLOW_IntLiteral_in_numberLiteral1501); if (failed) return e;
+ match(input,IntLiteral,FOLLOW_IntLiteral_in_numberLiteral1508); if (failed) return e;
if ( backtracking==0 ) {
e =factory.createIntegerLiteral(id(a));
}
@@ -3067,14 +3081,14 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:230:4: a= IntLiteral b= '.' c= IntLiteral
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:230:4: a= IntLiteral b= '.' c= IntLiteral
{
a=(Token)input.LT(1);
- match(input,IntLiteral,FOLLOW_IntLiteral_in_numberLiteral1510); if (failed) return e;
+ match(input,IntLiteral,FOLLOW_IntLiteral_in_numberLiteral1517); if (failed) return e;
b=(Token)input.LT(1);
- match(input,36,FOLLOW_36_in_numberLiteral1514); if (failed) return e;
+ match(input,37,FOLLOW_37_in_numberLiteral1521); if (failed) return e;
c=(Token)input.LT(1);
- match(input,IntLiteral,FOLLOW_IntLiteral_in_numberLiteral1518); if (failed) return e;
+ match(input,IntLiteral,FOLLOW_IntLiteral_in_numberLiteral1525); if (failed) return e;
if ( backtracking==0 ) {
e =factory.createRealLiteral(id(a).append(id(b)).append(id(c)));
}
@@ -3096,7 +3110,7 @@ public class XtendParser extends Parser {
// $ANTLR start collectionExpression
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:233:1: collectionExpression returns [FeatureCall e] : (name= 'typeSelect' '(' t= type ')' | name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')' );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:233:1: collectionExpression returns [FeatureCall e] : (name= 'typeSelect' '(' t= type ')' | name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')' );
public FeatureCall collectionExpression() throws RecognitionException {
FeatureCall e = null;
@@ -3109,35 +3123,35 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:234:3: (name= 'typeSelect' '(' t= type ')' | name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')' )
- int alt48=2;
- int LA48_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:234:3: (name= 'typeSelect' '(' t= type ')' | name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')' )
+ int alt49=2;
+ int LA49_0 = input.LA(1);
- if ( (LA48_0==70) ) {
- alt48=1;
+ if ( (LA49_0==71) ) {
+ alt49=1;
}
- else if ( ((LA48_0>=71 && LA48_0<=78)) ) {
- alt48=2;
+ else if ( ((LA49_0>=72 && LA49_0<=79)) ) {
+ alt49=2;
}
else {
if (backtracking>0) {failed=true; return e;}
NoViableAltException nvae =
- new NoViableAltException("233:1: collectionExpression returns [FeatureCall e] : (name= 'typeSelect' '(' t= type ')' | name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')' );", 48, 0, input);
+ new NoViableAltException("233:1: collectionExpression returns [FeatureCall e] : (name= 'typeSelect' '(' t= type ')' | name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')' );", 49, 0, input);
throw nvae;
}
- switch (alt48) {
+ switch (alt49) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:234:3: name= 'typeSelect' '(' t= type ')'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:234:3: name= 'typeSelect' '(' t= type ')'
{
name=(Token)input.LT(1);
- match(input,70,FOLLOW_70_in_collectionExpression1538); if (failed) return e;
- match(input,28,FOLLOW_28_in_collectionExpression1542); if (failed) return e;
- pushFollow(FOLLOW_type_in_collectionExpression1546);
+ match(input,71,FOLLOW_71_in_collectionExpression1545); if (failed) return e;
+ match(input,29,FOLLOW_29_in_collectionExpression1549); if (failed) return e;
+ pushFollow(FOLLOW_type_in_collectionExpression1553);
t=type();
_fsp--;
if (failed) return e;
- match(input,31,FOLLOW_31_in_collectionExpression1548); if (failed) return e;
+ match(input,32,FOLLOW_32_in_collectionExpression1555); if (failed) return e;
if ( backtracking==0 ) {
e = factory.createTypeSelectExpression(id(name),t);
}
@@ -3145,10 +3159,10 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:237:5: name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:237:5: name= ( 'collect' | 'select' | 'selectFirst' | 'reject' | 'exists' | 'notExists' | 'sortBy' | 'forAll' ) '(' (var= identifier '|' )? x= expression ')'
{
name=(Token)input.LT(1);
- if ( (input.LA(1)>=71 && input.LA(1)<=78) ) {
+ if ( (input.LA(1)>=72 && input.LA(1)<=79) ) {
input.consume();
errorRecovery=false;failed=false;
}
@@ -3156,41 +3170,41 @@ public class XtendParser extends Parser {
if (backtracking>0) {failed=true; return e;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_collectionExpression1561); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_collectionExpression1568); throw mse;
}
- match(input,28,FOLLOW_28_in_collectionExpression1611); if (failed) return e;
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:244:19: (var= identifier '|' )?
- int alt47=2;
- int LA47_0 = input.LA(1);
+ match(input,29,FOLLOW_29_in_collectionExpression1618); if (failed) return e;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:244:19: (var= identifier '|' )?
+ int alt48=2;
+ int LA48_0 = input.LA(1);
- if ( (LA47_0==Identifier) ) {
- int LA47_1 = input.LA(2);
+ if ( (LA48_0==Identifier) ) {
+ int LA48_1 = input.LA(2);
- if ( (LA47_1==79) ) {
- alt47=1;
+ if ( (LA48_1==80) ) {
+ alt48=1;
}
}
- switch (alt47) {
+ switch (alt48) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:244:20: var= identifier '|'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:244:20: var= identifier '|'
{
- pushFollow(FOLLOW_identifier_in_collectionExpression1616);
+ pushFollow(FOLLOW_identifier_in_collectionExpression1623);
var=identifier();
_fsp--;
if (failed) return e;
- match(input,79,FOLLOW_79_in_collectionExpression1618); if (failed) return e;
+ match(input,80,FOLLOW_80_in_collectionExpression1625); if (failed) return e;
}
break;
}
- pushFollow(FOLLOW_expression_in_collectionExpression1624);
+ pushFollow(FOLLOW_expression_in_collectionExpression1631);
x=expression();
_fsp--;
if (failed) return e;
- match(input,31,FOLLOW_31_in_collectionExpression1626); if (failed) return e;
+ match(input,32,FOLLOW_32_in_collectionExpression1633); if (failed) return e;
if ( backtracking==0 ) {
e = factory.createCollectionExpression(id(name),var,x);
}
@@ -3212,7 +3226,7 @@ public class XtendParser extends Parser {
// $ANTLR start declaredParameterList
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:250:1: declaredParameterList returns [List<DeclaredParameter> l = new ArrayList<DeclaredParameter>()] : dp= declaredParameter ( ',' dp1= declaredParameter )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:250:1: declaredParameterList returns [List<DeclaredParameter> l = new ArrayList<DeclaredParameter>()] : dp= declaredParameter ( ',' dp1= declaredParameter )* ;
public List<DeclaredParameter> declaredParameterList() throws RecognitionException {
List<DeclaredParameter> l = new ArrayList<DeclaredParameter>();
@@ -3222,39 +3236,39 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:251:2: (dp= declaredParameter ( ',' dp1= declaredParameter )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:251:2: dp= declaredParameter ( ',' dp1= declaredParameter )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:251:2: (dp= declaredParameter ( ',' dp1= declaredParameter )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:251:2: dp= declaredParameter ( ',' dp1= declaredParameter )*
{
- pushFollow(FOLLOW_declaredParameter_in_declaredParameterList1650);
+ pushFollow(FOLLOW_declaredParameter_in_declaredParameterList1657);
dp=declaredParameter();
_fsp--;
if (failed) return l;
if ( backtracking==0 ) {
l.add(dp);
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:251:36: ( ',' dp1= declaredParameter )*
- loop49:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:251:36: ( ',' dp1= declaredParameter )*
+ loop50:
do {
- int alt49=2;
- int LA49_0 = input.LA(1);
+ int alt50=2;
+ int LA50_0 = input.LA(1);
- if ( (LA49_0==29) ) {
- int LA49_1 = input.LA(2);
+ if ( (LA50_0==30) ) {
+ int LA50_1 = input.LA(2);
- if ( (LA49_1==Identifier||(LA49_1>=38 && LA49_1<=40)) ) {
- alt49=1;
+ if ( (LA50_1==Identifier||(LA50_1>=39 && LA50_1<=41)) ) {
+ alt50=1;
}
}
- switch (alt49) {
+ switch (alt50) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:251:37: ',' dp1= declaredParameter
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:251:37: ',' dp1= declaredParameter
{
- match(input,29,FOLLOW_29_in_declaredParameterList1654); if (failed) return l;
- pushFollow(FOLLOW_declaredParameter_in_declaredParameterList1658);
+ match(input,30,FOLLOW_30_in_declaredParameterList1661); if (failed) return l;
+ pushFollow(FOLLOW_declaredParameter_in_declaredParameterList1665);
dp1=declaredParameter();
_fsp--;
if (failed) return l;
@@ -3266,7 +3280,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop49;
+ break loop50;
}
} while (true);
@@ -3286,7 +3300,7 @@ public class XtendParser extends Parser {
// $ANTLR start declaredParameter
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:254:1: declaredParameter returns [DeclaredParameter dp] : t= type name= identifier ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:254:1: declaredParameter returns [DeclaredParameter dp] : t= type name= identifier ;
public DeclaredParameter declaredParameter() throws RecognitionException {
DeclaredParameter dp = null;
@@ -3296,14 +3310,14 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:255:2: (t= type name= identifier )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:255:2: t= type name= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:255:2: (t= type name= identifier )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:255:2: t= type name= identifier
{
- pushFollow(FOLLOW_type_in_declaredParameter1678);
+ pushFollow(FOLLOW_type_in_declaredParameter1685);
t=type();
_fsp--;
if (failed) return dp;
- pushFollow(FOLLOW_identifier_in_declaredParameter1682);
+ pushFollow(FOLLOW_identifier_in_declaredParameter1689);
name=identifier();
_fsp--;
if (failed) return dp;
@@ -3326,7 +3340,7 @@ public class XtendParser extends Parser {
// $ANTLR start parameterList
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:258:1: parameterList returns [List<Expression> list = new ArrayList<Expression>()] : a= expression ( ',' b= expression )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:258:1: parameterList returns [List<Expression> list = new ArrayList<Expression>()] : a= expression ( ',' b= expression )* ;
public List<Expression> parameterList() throws RecognitionException {
List<Expression> list = new ArrayList<Expression>();
@@ -3336,33 +3350,33 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:259:5: (a= expression ( ',' b= expression )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:259:5: a= expression ( ',' b= expression )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:259:5: (a= expression ( ',' b= expression )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:259:5: a= expression ( ',' b= expression )*
{
- pushFollow(FOLLOW_expression_in_parameterList1704);
+ pushFollow(FOLLOW_expression_in_parameterList1711);
a=expression();
_fsp--;
if (failed) return list;
if ( backtracking==0 ) {
list.add(a);
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:259:34: ( ',' b= expression )*
- loop50:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:259:34: ( ',' b= expression )*
+ loop51:
do {
- int alt50=2;
- int LA50_0 = input.LA(1);
+ int alt51=2;
+ int LA51_0 = input.LA(1);
- if ( (LA50_0==29) ) {
- alt50=1;
+ if ( (LA51_0==30) ) {
+ alt51=1;
}
- switch (alt50) {
+ switch (alt51) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:259:35: ',' b= expression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:259:35: ',' b= expression
{
- match(input,29,FOLLOW_29_in_parameterList1709); if (failed) return list;
- pushFollow(FOLLOW_expression_in_parameterList1713);
+ match(input,30,FOLLOW_30_in_parameterList1716); if (failed) return list;
+ pushFollow(FOLLOW_expression_in_parameterList1720);
b=expression();
_fsp--;
if (failed) return list;
@@ -3374,7 +3388,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop50;
+ break loop51;
}
} while (true);
@@ -3394,7 +3408,7 @@ public class XtendParser extends Parser {
// $ANTLR start type
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:264:1: type returns [Identifier id] : (a= collectionType | b= simpleType );
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:264:1: type returns [Identifier id] : (a= collectionType | b= simpleType );
public Identifier type() throws RecognitionException {
Identifier id = null;
@@ -3404,28 +3418,28 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:265:2: (a= collectionType | b= simpleType )
- int alt51=2;
- int LA51_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:265:2: (a= collectionType | b= simpleType )
+ int alt52=2;
+ int LA52_0 = input.LA(1);
- if ( ((LA51_0>=38 && LA51_0<=40)) ) {
- alt51=1;
+ if ( ((LA52_0>=39 && LA52_0<=41)) ) {
+ alt52=1;
}
- else if ( (LA51_0==Identifier) ) {
- alt51=2;
+ else if ( (LA52_0==Identifier) ) {
+ alt52=2;
}
else {
if (backtracking>0) {failed=true; return id;}
NoViableAltException nvae =
- new NoViableAltException("264:1: type returns [Identifier id] : (a= collectionType | b= simpleType );", 51, 0, input);
+ new NoViableAltException("264:1: type returns [Identifier id] : (a= collectionType | b= simpleType );", 52, 0, input);
throw nvae;
}
- switch (alt51) {
+ switch (alt52) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:265:2: a= collectionType
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:265:2: a= collectionType
{
- pushFollow(FOLLOW_collectionType_in_type1739);
+ pushFollow(FOLLOW_collectionType_in_type1746);
a=collectionType();
_fsp--;
if (failed) return id;
@@ -3436,9 +3450,9 @@ public class XtendParser extends Parser {
}
break;
case 2 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:266:2: b= simpleType
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:266:2: b= simpleType
{
- pushFollow(FOLLOW_simpleType_in_type1749);
+ pushFollow(FOLLOW_simpleType_in_type1756);
b=simpleType();
_fsp--;
if (failed) return id;
@@ -3463,7 +3477,7 @@ public class XtendParser extends Parser {
// $ANTLR start collectionType
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:269:1: collectionType returns [Identifier id ] : cl= ( 'Collection' | 'List' | 'Set' ) (b= '[' id1= simpleType c= ']' )? ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:269:1: collectionType returns [Identifier id ] : cl= ( 'Collection' | 'List' | 'Set' ) (b= '[' id1= simpleType c= ']' )? ;
public Identifier collectionType() throws RecognitionException {
Identifier id = null;
@@ -3474,11 +3488,11 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:270:3: (cl= ( 'Collection' | 'List' | 'Set' ) (b= '[' id1= simpleType c= ']' )? )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:270:3: cl= ( 'Collection' | 'List' | 'Set' ) (b= '[' id1= simpleType c= ']' )?
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:270:3: (cl= ( 'Collection' | 'List' | 'Set' ) (b= '[' id1= simpleType c= ']' )? )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:270:3: cl= ( 'Collection' | 'List' | 'Set' ) (b= '[' id1= simpleType c= ']' )?
{
cl=(Token)input.LT(1);
- if ( (input.LA(1)>=38 && input.LA(1)<=40) ) {
+ if ( (input.LA(1)>=39 && input.LA(1)<=41) ) {
input.consume();
errorRecovery=false;failed=false;
}
@@ -3486,31 +3500,31 @@ public class XtendParser extends Parser {
if (backtracking>0) {failed=true; return id;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_collectionType1771); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_collectionType1778); throw mse;
}
if ( backtracking==0 ) {
id = id(cl);
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:271:3: (b= '[' id1= simpleType c= ']' )?
- int alt52=2;
- int LA52_0 = input.LA(1);
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:271:3: (b= '[' id1= simpleType c= ']' )?
+ int alt53=2;
+ int LA53_0 = input.LA(1);
- if ( (LA52_0==80) ) {
- alt52=1;
+ if ( (LA53_0==81) ) {
+ alt53=1;
}
- switch (alt52) {
+ switch (alt53) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:271:4: b= '[' id1= simpleType c= ']'
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:271:4: b= '[' id1= simpleType c= ']'
{
b=(Token)input.LT(1);
- match(input,80,FOLLOW_80_in_collectionType1792); if (failed) return id;
- pushFollow(FOLLOW_simpleType_in_collectionType1796);
+ match(input,81,FOLLOW_81_in_collectionType1799); if (failed) return id;
+ pushFollow(FOLLOW_simpleType_in_collectionType1803);
id1=simpleType();
_fsp--;
if (failed) return id;
c=(Token)input.LT(1);
- match(input,81,FOLLOW_81_in_collectionType1800); if (failed) return id;
+ match(input,82,FOLLOW_82_in_collectionType1807); if (failed) return id;
if ( backtracking==0 ) {
id.append(id(b));id.append(id1);id.append(id(c));
}
@@ -3536,7 +3550,7 @@ public class XtendParser extends Parser {
// $ANTLR start simpleType
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:274:1: simpleType returns [Identifier id] : x= identifier (d= '::' end= identifier )* ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:274:1: simpleType returns [Identifier id] : x= identifier (d= '::' end= identifier )* ;
public Identifier simpleType() throws RecognitionException {
Identifier id = null;
@@ -3547,34 +3561,34 @@ public class XtendParser extends Parser {
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:275:2: (x= identifier (d= '::' end= identifier )* )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:275:2: x= identifier (d= '::' end= identifier )*
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:275:2: (x= identifier (d= '::' end= identifier )* )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:275:2: x= identifier (d= '::' end= identifier )*
{
- pushFollow(FOLLOW_identifier_in_simpleType1820);
+ pushFollow(FOLLOW_identifier_in_simpleType1827);
x=identifier();
_fsp--;
if (failed) return id;
if ( backtracking==0 ) {
id =x;
}
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:276:2: (d= '::' end= identifier )*
- loop53:
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:276:2: (d= '::' end= identifier )*
+ loop54:
do {
- int alt53=2;
- int LA53_0 = input.LA(1);
+ int alt54=2;
+ int LA54_0 = input.LA(1);
- if ( (LA53_0==32) ) {
- alt53=1;
+ if ( (LA54_0==33) ) {
+ alt54=1;
}
- switch (alt53) {
+ switch (alt54) {
case 1 :
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:276:3: d= '::' end= identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:276:3: d= '::' end= identifier
{
d=(Token)input.LT(1);
- match(input,32,FOLLOW_32_in_simpleType1828); if (failed) return id;
- pushFollow(FOLLOW_identifier_in_simpleType1832);
+ match(input,33,FOLLOW_33_in_simpleType1835); if (failed) return id;
+ pushFollow(FOLLOW_identifier_in_simpleType1839);
end=identifier();
_fsp--;
if (failed) return id;
@@ -3586,7 +3600,7 @@ public class XtendParser extends Parser {
break;
default :
- break loop53;
+ break loop54;
}
} while (true);
@@ -3606,18 +3620,18 @@ public class XtendParser extends Parser {
// $ANTLR start identifier
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:279:1: identifier returns [Identifier r] : x= Identifier ;
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:279:1: identifier returns [Identifier r] : x= Identifier ;
public Identifier identifier() throws RecognitionException {
Identifier r = null;
Token x=null;
try {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:280:4: (x= Identifier )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:280:4: x= Identifier
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:280:4: (x= Identifier )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:280:4: x= Identifier
{
x=(Token)input.LT(1);
- match(input,Identifier,FOLLOW_Identifier_in_identifier1855); if (failed) return r;
+ match(input,Identifier,FOLLOW_Identifier_in_identifier1862); if (failed) return r;
if ( backtracking==0 ) {
r =id(x);
}
@@ -3637,16 +3651,16 @@ public class XtendParser extends Parser {
// $ANTLR start synpred1
public void synpred1_fragment() throws RecognitionException {
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:117:5: ( '(' type ')' castedExpression )
- // ../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g:117:6: '(' type ')' castedExpression
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:117:5: ( '(' type ')' castedExpression )
+ // /Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g:117:6: '(' type ')' castedExpression
{
- match(input,28,FOLLOW_28_in_synpred1655); if (failed) return ;
- pushFollow(FOLLOW_type_in_synpred1657);
+ match(input,29,FOLLOW_29_in_synpred1662); if (failed) return ;
+ pushFollow(FOLLOW_type_in_synpred1664);
type();
_fsp--;
if (failed) return ;
- match(input,31,FOLLOW_31_in_synpred1659); if (failed) return ;
- pushFollow(FOLLOW_castedExpression_in_synpred1661);
+ match(input,32,FOLLOW_32_in_synpred1666); if (failed) return ;
+ pushFollow(FOLLOW_castedExpression_in_synpred1668);
castedExpression();
_fsp--;
if (failed) return ;
@@ -3671,39 +3685,39 @@ public class XtendParser extends Parser {
}
- protected DFA26 dfa26 = new DFA26(this);
- static final String DFA26_eotS =
+ protected DFA27 dfa27 = new DFA27(this);
+ static final String DFA27_eotS =
"\67\uffff";
- static final String DFA26_eofS =
+ static final String DFA27_eofS =
"\6\uffff\1\2\60\uffff";
- static final String DFA26_minS =
- "\2\4\1\uffff\1\36\1\34\1\6\1\4\1\6\1\40\16\uffff\1\4\1\uffff\1\36"+
- "\1\6\1\36\3\0\2\34\4\0\2\6\1\0\1\40\1\6\3\0\2\37\1\6\1\0\1\6\1\40"+
- "\1\37\1\6\1\37\1\40";
- static final String DFA26_maxS =
- "\2\116\1\uffff\1\120\1\77\1\6\1\116\1\6\1\121\16\uffff\1\116\1\uffff"+
- "\1\77\1\6\1\77\3\0\2\34\4\0\2\6\1\0\1\121\1\50\3\0\1\120\1\40\1"+
- "\6\1\0\1\6\1\121\1\40\1\6\1\37\1\121";
- static final String DFA26_acceptS =
+ static final String DFA27_minS =
+ "\2\4\1\uffff\1\35\1\37\1\6\1\4\1\6\1\37\16\uffff\1\4\1\uffff\1\41"+
+ "\3\0\2\35\4\0\2\6\1\0\1\6\1\37\1\6\3\0\1\41\2\40\1\6\1\0\1\6\1\41"+
+ "\1\40\1\6\1\40\1\41";
+ static final String DFA27_maxS =
+ "\2\117\1\uffff\1\100\1\121\1\6\1\117\1\6\1\100\16\uffff\1\117\1"+
+ "\uffff\1\122\3\0\2\35\4\0\2\6\1\0\1\6\1\100\1\51\3\0\1\122\1\121"+
+ "\1\41\1\6\1\0\1\6\1\122\1\41\1\6\1\40\1\122";
+ static final String DFA27_acceptS =
"\2\uffff\1\2\6\uffff\16\1\1\uffff\1\1\36\uffff";
- static final String DFA26_specialS =
- "\6\uffff\1\4\25\uffff\1\6\1\7\1\13\2\uffff\1\14\1\5\1\2\1\3\2\uffff"+
- "\1\1\2\uffff\1\12\1\11\1\10\3\uffff\1\0\6\uffff}>";
- static final String[] DFA26_transitionS = {
- "\3\2\20\uffff\1\2\4\uffff\1\1\11\uffff\3\2\6\uffff\2\2\15\uffff"+
+ static final String DFA27_specialS =
+ "\6\uffff\1\0\23\uffff\1\14\1\11\1\13\2\uffff\1\4\1\7\1\6\1\2\2\uffff"+
+ "\1\5\3\uffff\1\12\1\10\1\1\4\uffff\1\3\6\uffff}>";
+ static final String[] DFA27_transitionS = {
+ "\3\2\21\uffff\1\2\4\uffff\1\1\11\uffff\3\2\6\uffff\2\2\15\uffff"+
"\1\2\1\uffff\17\2",
- "\2\2\1\4\20\uffff\1\2\4\uffff\1\2\11\uffff\3\3\1\2\5\uffff\2"+
+ "\2\2\1\3\21\uffff\1\2\4\uffff\1\2\11\uffff\3\4\1\2\5\uffff\2"+
"\2\15\uffff\1\2\1\uffff\17\2",
"",
- "\1\2\1\6\4\uffff\1\2\6\uffff\2\2\7\uffff\14\2\20\uffff\1\5",
- "\1\2\1\uffff\1\2\1\6\1\7\3\uffff\1\2\6\uffff\2\2\7\uffff\14"+
+ "\1\2\1\uffff\1\2\1\6\1\5\3\uffff\1\2\6\uffff\2\2\7\uffff\14"+
"\2",
+ "\1\2\1\6\4\uffff\1\2\6\uffff\2\2\7\uffff\14\2\20\uffff\1\7",
"\1\10",
- "\1\12\1\20\1\13\14\uffff\1\2\3\uffff\1\30\3\2\1\uffff\1\25\3"+
+ "\1\12\1\20\1\13\14\uffff\1\2\4\uffff\1\30\3\2\1\uffff\1\25\3"+
"\2\4\uffff\1\2\1\uffff\3\14\2\uffff\2\2\2\uffff\1\11\1\22\2"+
"\uffff\13\2\1\27\1\2\1\26\1\24\1\23\2\17\1\21\1\15\10\16",
"\1\31",
- "\1\32\60\uffff\1\33",
+ "\1\2\1\6\1\5\3\uffff\1\2\6\uffff\2\2\7\uffff\14\2",
"",
"",
"",
@@ -3718,29 +3732,29 @@ public class XtendParser extends Parser {
"",
"",
"",
- "\1\34\1\42\1\35\25\uffff\1\47\11\uffff\3\36\7\uffff\1\44\15"+
- "\uffff\1\2\1\uffff\1\2\1\46\1\45\2\41\1\43\1\37\10\40",
+ "\1\32\1\40\1\33\26\uffff\1\45\11\uffff\3\34\7\uffff\1\42\15"+
+ "\uffff\1\2\1\uffff\1\2\1\44\1\43\2\37\1\41\1\35\10\36",
"",
- "\1\2\1\6\1\7\3\uffff\1\2\6\uffff\2\2\7\uffff\14\2",
- "\1\50",
- "\1\2\1\6\4\uffff\1\2\6\uffff\2\2\7\uffff\14\2",
+ "\1\46\60\uffff\1\47",
"\1\uffff",
"\1\uffff",
"\1\uffff",
+ "\1\50",
"\1\51",
- "\1\52",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
+ "\1\52",
"\1\53",
- "\1\54",
"\1\uffff",
- "\1\32\60\uffff\1\33",
- "\1\56\37\uffff\3\55",
+ "\1\54",
+ "\1\2\1\6\4\uffff\1\2\6\uffff\2\2\7\uffff\14\2",
+ "\1\56\40\uffff\3\55",
"\1\uffff",
"\1\uffff",
"\1\uffff",
+ "\1\46\60\uffff\1\47",
"\1\60\60\uffff\1\57",
"\1\60\1\61",
"\1\62",
@@ -3753,34 +3767,34 @@ public class XtendParser extends Parser {
"\1\64\60\uffff\1\65"
};
- static final short[] DFA26_eot = DFA.unpackEncodedString(DFA26_eotS);
- static final short[] DFA26_eof = DFA.unpackEncodedString(DFA26_eofS);
- static final char[] DFA26_min = DFA.unpackEncodedStringToUnsignedChars(DFA26_minS);
- static final char[] DFA26_max = DFA.unpackEncodedStringToUnsignedChars(DFA26_maxS);
- static final short[] DFA26_accept = DFA.unpackEncodedString(DFA26_acceptS);
- static final short[] DFA26_special = DFA.unpackEncodedString(DFA26_specialS);
- static final short[][] DFA26_transition;
+ static final short[] DFA27_eot = DFA.unpackEncodedString(DFA27_eotS);
+ static final short[] DFA27_eof = DFA.unpackEncodedString(DFA27_eofS);
+ static final char[] DFA27_min = DFA.unpackEncodedStringToUnsignedChars(DFA27_minS);
+ static final char[] DFA27_max = DFA.unpackEncodedStringToUnsignedChars(DFA27_maxS);
+ static final short[] DFA27_accept = DFA.unpackEncodedString(DFA27_acceptS);
+ static final short[] DFA27_special = DFA.unpackEncodedString(DFA27_specialS);
+ static final short[][] DFA27_transition;
static {
- int numStates = DFA26_transitionS.length;
- DFA26_transition = new short[numStates][];
+ int numStates = DFA27_transitionS.length;
+ DFA27_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
- DFA26_transition[i] = DFA.unpackEncodedString(DFA26_transitionS[i]);
+ DFA27_transition[i] = DFA.unpackEncodedString(DFA27_transitionS[i]);
}
}
- class DFA26 extends DFA {
+ class DFA27 extends DFA {
- public DFA26(BaseRecognizer recognizer) {
+ public DFA27(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 26;
- this.eot = DFA26_eot;
- this.eof = DFA26_eof;
- this.min = DFA26_min;
- this.max = DFA26_max;
- this.accept = DFA26_accept;
- this.special = DFA26_special;
- this.transition = DFA26_transition;
+ this.decisionNumber = 27;
+ this.eot = DFA27_eot;
+ this.eof = DFA27_eof;
+ this.min = DFA27_min;
+ this.max = DFA27_max;
+ this.accept = DFA27_accept;
+ this.special = DFA27_special;
+ this.transition = DFA27_transition;
}
public String getDescription() {
return "116:1: castedExpression returns [Expression e] : ( ( '(' type ')' castedExpression )=> '(' t= type ')' x= chainExpression | x= chainExpression );";
@@ -3789,25 +3803,55 @@ public class XtendParser extends Parser {
int _s = s;
switch ( s ) {
case 0 :
- int LA26_48 = input.LA(1);
+ int LA27_6 = input.LA(1);
- int index26_48 = input.index();
+ int index27_6 = input.index();
input.rewind();
s = -1;
- if ( (synpred1()) ) {s = 24;}
+ if ( (LA27_6==48) && (synpred1())) {s = 9;}
- else if ( (true) ) {s = 2;}
+ else if ( (LA27_6==StringLiteral) && (synpred1())) {s = 10;}
+
+ else if ( (LA27_6==Identifier) && (synpred1())) {s = 11;}
+
+ else if ( ((LA27_6>=39 && LA27_6<=41)) && (synpred1())) {s = 12;}
+
+ else if ( (LA27_6==71) && (synpred1())) {s = 13;}
+
+ else if ( ((LA27_6>=72 && LA27_6<=79)) && (synpred1())) {s = 14;}
+
+ else if ( ((LA27_6>=68 && LA27_6<=69)) && (synpred1())) {s = 15;}
+
+ else if ( (LA27_6==IntLiteral) && (synpred1())) {s = 16;}
+
+ else if ( (LA27_6==70) && (synpred1())) {s = 17;}
+
+ else if ( (LA27_6==49) && (synpred1())) {s = 18;}
+
+ else if ( (LA27_6==67) && (synpred1())) {s = 19;}
+
+ else if ( (LA27_6==66) && (synpred1())) {s = 20;}
+
+ else if ( (LA27_6==29) && (synpred1())) {s = 21;}
+
+ else if ( (LA27_6==65) && (synpred1())) {s = 22;}
+
+ else if ( (LA27_6==63) ) {s = 23;}
+
+ else if ( (LA27_6==24) && (synpred1())) {s = 24;}
+
+ else if ( (LA27_6==EOF||LA27_6==19||(LA27_6>=25 && LA27_6<=27)||(LA27_6>=30 && LA27_6<=32)||LA27_6==37||(LA27_6>=44 && LA27_6<=45)||(LA27_6>=52 && LA27_6<=62)||LA27_6==64) ) {s = 2;}
- input.seek(index26_48);
+ input.seek(index27_6);
if ( s>=0 ) return s;
break;
case 1 :
- int LA26_39 = input.LA(1);
+ int LA27_43 = input.LA(1);
- int index26_39 = input.index();
+ int index27_43 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3815,14 +3859,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_39);
+ input.seek(index27_43);
if ( s>=0 ) return s;
break;
case 2 :
- int LA26_35 = input.LA(1);
+ int LA27_34 = input.LA(1);
- int index26_35 = input.index();
+ int index27_34 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3830,14 +3874,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_35);
+ input.seek(index27_34);
if ( s>=0 ) return s;
break;
case 3 :
- int LA26_36 = input.LA(1);
+ int LA27_48 = input.LA(1);
- int index26_36 = input.index();
+ int index27_48 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3845,59 +3889,29 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_36);
+ input.seek(index27_48);
if ( s>=0 ) return s;
break;
case 4 :
- int LA26_6 = input.LA(1);
+ int LA27_31 = input.LA(1);
- int index26_6 = input.index();
+ int index27_31 = input.index();
input.rewind();
s = -1;
- if ( (LA26_6==47) && (synpred1())) {s = 9;}
-
- else if ( (LA26_6==StringLiteral) && (synpred1())) {s = 10;}
-
- else if ( (LA26_6==Identifier) && (synpred1())) {s = 11;}
-
- else if ( ((LA26_6>=38 && LA26_6<=40)) && (synpred1())) {s = 12;}
-
- else if ( (LA26_6==70) && (synpred1())) {s = 13;}
-
- else if ( ((LA26_6>=71 && LA26_6<=78)) && (synpred1())) {s = 14;}
-
- else if ( ((LA26_6>=67 && LA26_6<=68)) && (synpred1())) {s = 15;}
-
- else if ( (LA26_6==IntLiteral) && (synpred1())) {s = 16;}
-
- else if ( (LA26_6==69) && (synpred1())) {s = 17;}
-
- else if ( (LA26_6==48) && (synpred1())) {s = 18;}
-
- else if ( (LA26_6==66) && (synpred1())) {s = 19;}
-
- else if ( (LA26_6==65) && (synpred1())) {s = 20;}
-
- else if ( (LA26_6==28) && (synpred1())) {s = 21;}
-
- else if ( (LA26_6==64) && (synpred1())) {s = 22;}
-
- else if ( (LA26_6==62) ) {s = 23;}
-
- else if ( (LA26_6==23) && (synpred1())) {s = 24;}
+ if ( (synpred1()) ) {s = 24;}
- else if ( (LA26_6==EOF||LA26_6==19||(LA26_6>=24 && LA26_6<=26)||(LA26_6>=29 && LA26_6<=31)||LA26_6==36||(LA26_6>=43 && LA26_6<=44)||(LA26_6>=51 && LA26_6<=61)||LA26_6==63) ) {s = 2;}
+ else if ( (true) ) {s = 2;}
- input.seek(index26_6);
+ input.seek(index27_31);
if ( s>=0 ) return s;
break;
case 5 :
- int LA26_34 = input.LA(1);
+ int LA27_37 = input.LA(1);
- int index26_34 = input.index();
+ int index27_37 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3905,14 +3919,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_34);
+ input.seek(index27_37);
if ( s>=0 ) return s;
break;
case 6 :
- int LA26_28 = input.LA(1);
+ int LA27_33 = input.LA(1);
- int index26_28 = input.index();
+ int index27_33 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3920,14 +3934,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_28);
+ input.seek(index27_33);
if ( s>=0 ) return s;
break;
case 7 :
- int LA26_29 = input.LA(1);
+ int LA27_32 = input.LA(1);
- int index26_29 = input.index();
+ int index27_32 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3935,14 +3949,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_29);
+ input.seek(index27_32);
if ( s>=0 ) return s;
break;
case 8 :
- int LA26_44 = input.LA(1);
+ int LA27_42 = input.LA(1);
- int index26_44 = input.index();
+ int index27_42 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3950,14 +3964,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_44);
+ input.seek(index27_42);
if ( s>=0 ) return s;
break;
case 9 :
- int LA26_43 = input.LA(1);
+ int LA27_27 = input.LA(1);
- int index26_43 = input.index();
+ int index27_27 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3965,14 +3979,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_43);
+ input.seek(index27_27);
if ( s>=0 ) return s;
break;
case 10 :
- int LA26_42 = input.LA(1);
+ int LA27_41 = input.LA(1);
- int index26_42 = input.index();
+ int index27_41 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3980,14 +3994,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_42);
+ input.seek(index27_41);
if ( s>=0 ) return s;
break;
case 11 :
- int LA26_30 = input.LA(1);
+ int LA27_28 = input.LA(1);
- int index26_30 = input.index();
+ int index27_28 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -3995,14 +4009,14 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_30);
+ input.seek(index27_28);
if ( s>=0 ) return s;
break;
case 12 :
- int LA26_33 = input.LA(1);
+ int LA27_26 = input.LA(1);
- int index26_33 = input.index();
+ int index27_26 = input.index();
input.rewind();
s = -1;
if ( (synpred1()) ) {s = 24;}
@@ -4010,224 +4024,226 @@ public class XtendParser extends Parser {
else if ( (true) ) {s = 2;}
- input.seek(index26_33);
+ input.seek(index27_26);
if ( s>=0 ) return s;
break;
}
if (backtracking>0) {failed=true; return -1;}
NoViableAltException nvae =
- new NoViableAltException(getDescription(), 26, _s, input);
+ new NoViableAltException(getDescription(), 27, _s, input);
error(nvae);
throw nvae;
}
}
- public static final BitSet FOLLOW_nsImport_in_file51 = new BitSet(new long[]{0x000001E608540040L});
- public static final BitSet FOLLOW_extImport_in_file61 = new BitSet(new long[]{0x000001E608500040L});
- public static final BitSet FOLLOW_extension_in_file71 = new BitSet(new long[]{0x000001E608400040L});
- public static final BitSet FOLLOW_around_in_file81 = new BitSet(new long[]{0x000001E608400040L});
- public static final BitSet FOLLOW_check_in_file91 = new BitSet(new long[]{0x000001E608400040L});
+ public static final BitSet FOLLOW_nsImport_in_file51 = new BitSet(new long[]{0x000003CC10540040L});
+ public static final BitSet FOLLOW_extImport_in_file61 = new BitSet(new long[]{0x000003CC10500040L});
+ public static final BitSet FOLLOW_extension_in_file71 = new BitSet(new long[]{0x000003CC10400040L});
+ public static final BitSet FOLLOW_around_in_file81 = new BitSet(new long[]{0x000003CC10400040L});
+ public static final BitSet FOLLOW_check_in_file91 = new BitSet(new long[]{0x000003CC10400040L});
public static final BitSet FOLLOW_EOF_in_file99 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_18_in_nsImport117 = new BitSet(new long[]{0x000001C000000040L});
+ public static final BitSet FOLLOW_18_in_nsImport117 = new BitSet(new long[]{0x0000038000000040L});
public static final BitSet FOLLOW_type_in_nsImport121 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_nsImport125 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_20_in_extImport140 = new BitSet(new long[]{0x000001C000000040L});
+ public static final BitSet FOLLOW_20_in_extImport140 = new BitSet(new long[]{0x0000038000000040L});
public static final BitSet FOLLOW_type_in_extImport144 = new BitSet(new long[]{0x0000000000280000L});
public static final BitSet FOLLOW_21_in_extImport149 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_19_in_extImport153 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_22_in_check168 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_type_in_check172 = new BitSet(new long[]{0x0000000003800000L});
- public static final BitSet FOLLOW_23_in_check175 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_check179 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_24_in_check186 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_25_in_check188 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_check193 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_check195 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_check200 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_check202 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_27_in_around223 = new BitSet(new long[]{0x0000000040000040L});
- public static final BitSet FOLLOW_pointcut_in_around227 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_around229 = new BitSet(new long[]{0x000001C0C0000040L});
- public static final BitSet FOLLOW_declaredParameterList_in_around234 = new BitSet(new long[]{0x00000000E0000000L});
- public static final BitSet FOLLOW_29_in_around237 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_around242 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_30_in_around250 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_around254 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_around256 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_around265 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_around267 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_30_in_pointcut295 = new BitSet(new long[]{0x0000000140000042L});
- public static final BitSet FOLLOW_identifier_in_pointcut304 = new BitSet(new long[]{0x0000000140000042L});
- public static final BitSet FOLLOW_30_in_pointcut315 = new BitSet(new long[]{0x0000000140000042L});
- public static final BitSet FOLLOW_identifier_in_pointcut326 = new BitSet(new long[]{0x0000000140000042L});
- public static final BitSet FOLLOW_32_in_pointcut337 = new BitSet(new long[]{0x0000000140000042L});
- public static final BitSet FOLLOW_33_in_extension365 = new BitSet(new long[]{0x000001C400000040L});
- public static final BitSet FOLLOW_34_in_extension372 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_type_in_extension379 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_extension385 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_extension387 = new BitSet(new long[]{0x000001C080000040L});
- public static final BitSet FOLLOW_declaredParameterList_in_extension392 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_extension396 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_extension398 = new BitSet(new long[]{0x400183C810800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_35_in_extension405 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_javaType_in_extension409 = new BitSet(new long[]{0x0000001000000000L});
- public static final BitSet FOLLOW_36_in_extension411 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_extension415 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_extension417 = new BitSet(new long[]{0x0000000080000040L});
- public static final BitSet FOLLOW_javaType_in_extension421 = new BitSet(new long[]{0x00000000A0000000L});
- public static final BitSet FOLLOW_29_in_extension425 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_javaType_in_extension429 = new BitSet(new long[]{0x00000000A0000000L});
- public static final BitSet FOLLOW_31_in_extension437 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_extension439 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expression_in_extension449 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_extension451 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_extension465 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_37_in_extension471 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_type_in_extension475 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_extension480 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_extension486 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_extension488 = new BitSet(new long[]{0x000001C080000040L});
- public static final BitSet FOLLOW_declaredParameterList_in_extension493 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_extension497 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_extension499 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_extension505 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_extension507 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_identifier_in_javaType529 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_36_in_javaType538 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_identifier_in_javaType544 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_38_in_javaType550 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_39_in_javaType559 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_40_in_javaType565 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_letExpression_in_expression587 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_letExpression606 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_letExpression610 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_letExpression612 = new BitSet(new long[]{0x400181C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_castedExpression_in_letExpression616 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_letExpression618 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_letExpression622 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_castedExpression_in_letExpression635 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_castedExpression666 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_type_in_castedExpression670 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_castedExpression672 = new BitSet(new long[]{0x400181C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_chainExpression_in_castedExpression676 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_chainExpression_in_castedExpression685 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ifExpression_in_chainExpression705 = new BitSet(new long[]{0x0000080000000002L});
- public static final BitSet FOLLOW_43_in_chainExpression711 = new BitSet(new long[]{0x400181C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_ifExpression_in_chainExpression715 = new BitSet(new long[]{0x0000080000000002L});
- public static final BitSet FOLLOW_switchExpression_in_ifExpression736 = new BitSet(new long[]{0x0000100000000002L});
- public static final BitSet FOLLOW_44_in_ifExpression740 = new BitSet(new long[]{0x400181C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_switchExpression_in_ifExpression744 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_ifExpression746 = new BitSet(new long[]{0x400181C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_switchExpression_in_ifExpression750 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_23_in_ifExpression758 = new BitSet(new long[]{0x400181C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_switchExpression_in_ifExpression762 = new BitSet(new long[]{0x0000200000000000L});
- public static final BitSet FOLLOW_45_in_ifExpression764 = new BitSet(new long[]{0x400181C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_switchExpression_in_ifExpression768 = new BitSet(new long[]{0x0000400000000002L});
- public static final BitSet FOLLOW_46_in_ifExpression771 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_ifExpression775 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_47_in_switchExpression802 = new BitSet(new long[]{0x0001000010000000L});
- public static final BitSet FOLLOW_28_in_switchExpression805 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_orExpression_in_switchExpression811 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_switchExpression813 = new BitSet(new long[]{0x0001000000000000L});
- public static final BitSet FOLLOW_48_in_switchExpression820 = new BitSet(new long[]{0x0006000000000000L});
- public static final BitSet FOLLOW_49_in_switchExpression833 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_orExpression_in_switchExpression837 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_switchExpression840 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_orExpression_in_switchExpression845 = new BitSet(new long[]{0x0006000000000000L});
- public static final BitSet FOLLOW_50_in_switchExpression863 = new BitSet(new long[]{0x0000000004000000L});
- public static final BitSet FOLLOW_26_in_switchExpression865 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_orExpression_in_switchExpression871 = new BitSet(new long[]{0x0008000000000000L});
- public static final BitSet FOLLOW_51_in_switchExpression876 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_orExpression_in_switchExpression888 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_andExpression_in_orExpression908 = new BitSet(new long[]{0x0010000000000002L});
- public static final BitSet FOLLOW_52_in_orExpression915 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_andExpression_in_orExpression919 = new BitSet(new long[]{0x0010000000000002L});
- public static final BitSet FOLLOW_impliesExpression_in_andExpression942 = new BitSet(new long[]{0x0020000000000002L});
- public static final BitSet FOLLOW_53_in_andExpression949 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_impliesExpression_in_andExpression953 = new BitSet(new long[]{0x0020000000000002L});
- public static final BitSet FOLLOW_relationalExpression_in_impliesExpression975 = new BitSet(new long[]{0x0040000000000002L});
- public static final BitSet FOLLOW_54_in_impliesExpression982 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_relationalExpression_in_impliesExpression986 = new BitSet(new long[]{0x0040000000000002L});
- public static final BitSet FOLLOW_additiveExpression_in_relationalExpression1010 = new BitSet(new long[]{0x1F80000000000002L});
- public static final BitSet FOLLOW_set_in_relationalExpression1018 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_additiveExpression_in_relationalExpression1044 = new BitSet(new long[]{0x1F80000000000002L});
- public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression1065 = new BitSet(new long[]{0x6000000000000002L});
- public static final BitSet FOLLOW_set_in_additiveExpression1075 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression1084 = new BitSet(new long[]{0x6000000000000002L});
- public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression1103 = new BitSet(new long[]{0x8000000040000002L});
- public static final BitSet FOLLOW_set_in_multiplicativeExpression1111 = new BitSet(new long[]{0x400101C010000070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression1121 = new BitSet(new long[]{0x8000000040000002L});
- public static final BitSet FOLLOW_infixExpression_in_unaryExpression1142 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_64_in_unaryExpression1150 = new BitSet(new long[]{0x000101C010000070L,0x0000000000007FFEL});
- public static final BitSet FOLLOW_infixExpression_in_unaryExpression1154 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_62_in_unaryExpression1162 = new BitSet(new long[]{0x000101C010000070L,0x0000000000007FFEL});
- public static final BitSet FOLLOW_infixExpression_in_unaryExpression1166 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_primaryExpression_in_infixExpression1184 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_36_in_infixExpression1190 = new BitSet(new long[]{0x000001C000000040L,0x0000000000007FC0L});
- public static final BitSet FOLLOW_featureCall_in_infixExpression1194 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_StringLiteral_in_primaryExpression1220 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_featureCall_in_primaryExpression1231 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_booleanLiteral_in_primaryExpression1241 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_numberLiteral_in_primaryExpression1251 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_nullLiteral_in_primaryExpression1261 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_listLiteral_in_primaryExpression1271 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_constructorCall_in_primaryExpression1281 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_globalVarExpression_in_primaryExpression1291 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_paranthesizedExpression_in_primaryExpression1301 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_paranthesizedExpression1320 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_paranthesizedExpression1324 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_paranthesizedExpression1326 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_globalVarExpression1346 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_globalVarExpression1350 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_identifier_in_featureCall1368 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_featureCall1370 = new BitSet(new long[]{0x400183C090800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_parameterList_in_featureCall1375 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_featureCall1379 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_type_in_featureCall1389 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_collectionExpression_in_featureCall1400 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_48_in_listLiteral1417 = new BitSet(new long[]{0x400983C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_parameterList_in_listLiteral1422 = new BitSet(new long[]{0x0008000000000000L});
- public static final BitSet FOLLOW_51_in_listLiteral1426 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_66_in_constructorCall1443 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_simpleType_in_constructorCall1447 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_22_in_check168 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_type_in_check172 = new BitSet(new long[]{0x0000000007800000L});
+ public static final BitSet FOLLOW_23_in_check174 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_check177 = new BitSet(new long[]{0x0000000007000000L});
+ public static final BitSet FOLLOW_24_in_check182 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_check186 = new BitSet(new long[]{0x0000000006000000L});
+ public static final BitSet FOLLOW_25_in_check193 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_26_in_check195 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_check200 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_check202 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_check207 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_check209 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_around230 = new BitSet(new long[]{0x0000000080000040L});
+ public static final BitSet FOLLOW_pointcut_in_around234 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_around236 = new BitSet(new long[]{0x0000038180000040L});
+ public static final BitSet FOLLOW_declaredParameterList_in_around241 = new BitSet(new long[]{0x00000001C0000000L});
+ public static final BitSet FOLLOW_30_in_around244 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_31_in_around249 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_31_in_around257 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_around261 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_around263 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_around272 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_around274 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_31_in_pointcut302 = new BitSet(new long[]{0x0000000280000042L});
+ public static final BitSet FOLLOW_identifier_in_pointcut311 = new BitSet(new long[]{0x0000000280000042L});
+ public static final BitSet FOLLOW_31_in_pointcut322 = new BitSet(new long[]{0x0000000280000042L});
+ public static final BitSet FOLLOW_identifier_in_pointcut333 = new BitSet(new long[]{0x0000000280000042L});
+ public static final BitSet FOLLOW_33_in_pointcut344 = new BitSet(new long[]{0x0000000280000042L});
+ public static final BitSet FOLLOW_34_in_extension372 = new BitSet(new long[]{0x0000038800000040L});
+ public static final BitSet FOLLOW_35_in_extension379 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_type_in_extension386 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_extension392 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_extension394 = new BitSet(new long[]{0x0000038100000040L});
+ public static final BitSet FOLLOW_declaredParameterList_in_extension399 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_extension403 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_extension405 = new BitSet(new long[]{0x8003079021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_36_in_extension412 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_javaType_in_extension416 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_extension418 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_extension422 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_extension424 = new BitSet(new long[]{0x0000000100000040L});
+ public static final BitSet FOLLOW_javaType_in_extension428 = new BitSet(new long[]{0x0000000140000000L});
+ public static final BitSet FOLLOW_30_in_extension432 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_javaType_in_extension436 = new BitSet(new long[]{0x0000000140000000L});
+ public static final BitSet FOLLOW_32_in_extension444 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_extension446 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expression_in_extension456 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_extension458 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_extension472 = new BitSet(new long[]{0x0000004000000000L});
+ public static final BitSet FOLLOW_38_in_extension478 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_type_in_extension482 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_extension487 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_extension493 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_extension495 = new BitSet(new long[]{0x0000038100000040L});
+ public static final BitSet FOLLOW_declaredParameterList_in_extension500 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_extension504 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_extension506 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_extension512 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_19_in_extension514 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_identifier_in_javaType536 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_37_in_javaType545 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_identifier_in_javaType551 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_39_in_javaType557 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_40_in_javaType566 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_41_in_javaType572 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_letExpression_in_expression594 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_42_in_letExpression613 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_letExpression617 = new BitSet(new long[]{0x0000080000000000L});
+ public static final BitSet FOLLOW_43_in_letExpression619 = new BitSet(new long[]{0x8003038021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_castedExpression_in_letExpression623 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_letExpression625 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_letExpression629 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_castedExpression_in_letExpression642 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_29_in_castedExpression673 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_type_in_castedExpression677 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_castedExpression679 = new BitSet(new long[]{0x8003038021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_chainExpression_in_castedExpression683 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_chainExpression_in_castedExpression692 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ifExpression_in_chainExpression712 = new BitSet(new long[]{0x0000100000000002L});
+ public static final BitSet FOLLOW_44_in_chainExpression718 = new BitSet(new long[]{0x8003038021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_ifExpression_in_chainExpression722 = new BitSet(new long[]{0x0000100000000002L});
+ public static final BitSet FOLLOW_switchExpression_in_ifExpression743 = new BitSet(new long[]{0x0000200000000002L});
+ public static final BitSet FOLLOW_45_in_ifExpression747 = new BitSet(new long[]{0x8003038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_switchExpression_in_ifExpression751 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_ifExpression753 = new BitSet(new long[]{0x8003038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_switchExpression_in_ifExpression757 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_24_in_ifExpression765 = new BitSet(new long[]{0x8003038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_switchExpression_in_ifExpression769 = new BitSet(new long[]{0x0000400000000000L});
+ public static final BitSet FOLLOW_46_in_ifExpression771 = new BitSet(new long[]{0x8003038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_switchExpression_in_ifExpression775 = new BitSet(new long[]{0x0000800000000002L});
+ public static final BitSet FOLLOW_47_in_ifExpression778 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_ifExpression782 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_48_in_switchExpression809 = new BitSet(new long[]{0x0002000020000000L});
+ public static final BitSet FOLLOW_29_in_switchExpression812 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_orExpression_in_switchExpression818 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_switchExpression820 = new BitSet(new long[]{0x0002000000000000L});
+ public static final BitSet FOLLOW_49_in_switchExpression827 = new BitSet(new long[]{0x000C000000000000L});
+ public static final BitSet FOLLOW_50_in_switchExpression840 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_orExpression_in_switchExpression844 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_switchExpression847 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_orExpression_in_switchExpression852 = new BitSet(new long[]{0x000C000000000000L});
+ public static final BitSet FOLLOW_51_in_switchExpression870 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_switchExpression872 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_orExpression_in_switchExpression878 = new BitSet(new long[]{0x0010000000000000L});
+ public static final BitSet FOLLOW_52_in_switchExpression883 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_orExpression_in_switchExpression895 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_andExpression_in_orExpression915 = new BitSet(new long[]{0x0020000000000002L});
+ public static final BitSet FOLLOW_53_in_orExpression922 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_andExpression_in_orExpression926 = new BitSet(new long[]{0x0020000000000002L});
+ public static final BitSet FOLLOW_impliesExpression_in_andExpression949 = new BitSet(new long[]{0x0040000000000002L});
+ public static final BitSet FOLLOW_54_in_andExpression956 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_impliesExpression_in_andExpression960 = new BitSet(new long[]{0x0040000000000002L});
+ public static final BitSet FOLLOW_relationalExpression_in_impliesExpression982 = new BitSet(new long[]{0x0080000000000002L});
+ public static final BitSet FOLLOW_55_in_impliesExpression989 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_relationalExpression_in_impliesExpression993 = new BitSet(new long[]{0x0080000000000002L});
+ public static final BitSet FOLLOW_additiveExpression_in_relationalExpression1017 = new BitSet(new long[]{0x3F00000000000002L});
+ public static final BitSet FOLLOW_set_in_relationalExpression1025 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_additiveExpression_in_relationalExpression1051 = new BitSet(new long[]{0x3F00000000000002L});
+ public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression1072 = new BitSet(new long[]{0xC000000000000002L});
+ public static final BitSet FOLLOW_set_in_additiveExpression1082 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression1091 = new BitSet(new long[]{0xC000000000000002L});
+ public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression1110 = new BitSet(new long[]{0x0000000080000002L,0x0000000000000001L});
+ public static final BitSet FOLLOW_set_in_multiplicativeExpression1118 = new BitSet(new long[]{0x8002038020000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression1128 = new BitSet(new long[]{0x0000000080000002L,0x0000000000000001L});
+ public static final BitSet FOLLOW_infixExpression_in_unaryExpression1149 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_unaryExpression1157 = new BitSet(new long[]{0x0002038020000070L,0x000000000000FFFCL});
+ public static final BitSet FOLLOW_infixExpression_in_unaryExpression1161 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_63_in_unaryExpression1169 = new BitSet(new long[]{0x0002038020000070L,0x000000000000FFFCL});
+ public static final BitSet FOLLOW_infixExpression_in_unaryExpression1173 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_primaryExpression_in_infixExpression1191 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_37_in_infixExpression1197 = new BitSet(new long[]{0x0000038000000040L,0x000000000000FF80L});
+ public static final BitSet FOLLOW_featureCall_in_infixExpression1201 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_StringLiteral_in_primaryExpression1227 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_featureCall_in_primaryExpression1238 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_booleanLiteral_in_primaryExpression1248 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_numberLiteral_in_primaryExpression1258 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_nullLiteral_in_primaryExpression1268 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_listLiteral_in_primaryExpression1278 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_constructorCall_in_primaryExpression1288 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_globalVarExpression_in_primaryExpression1298 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_paranthesizedExpression_in_primaryExpression1308 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_29_in_paranthesizedExpression1327 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_paranthesizedExpression1331 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_paranthesizedExpression1333 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_66_in_globalVarExpression1353 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_globalVarExpression1357 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_identifier_in_featureCall1375 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_featureCall1377 = new BitSet(new long[]{0x8003078121000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_parameterList_in_featureCall1382 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_featureCall1386 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_type_in_featureCall1396 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_collectionExpression_in_featureCall1407 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_49_in_listLiteral1424 = new BitSet(new long[]{0x8013078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_parameterList_in_listLiteral1429 = new BitSet(new long[]{0x0010000000000000L});
+ public static final BitSet FOLLOW_52_in_listLiteral1433 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_67_in_constructorCall1450 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_simpleType_in_constructorCall1454 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_booleanLiteral0 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_69_in_nullLiteral1482 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_IntLiteral_in_numberLiteral1501 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_IntLiteral_in_numberLiteral1510 = new BitSet(new long[]{0x0000001000000000L});
- public static final BitSet FOLLOW_36_in_numberLiteral1514 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_IntLiteral_in_numberLiteral1518 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_70_in_collectionExpression1538 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_collectionExpression1542 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_type_in_collectionExpression1546 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_collectionExpression1548 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_set_in_collectionExpression1561 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_collectionExpression1611 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_identifier_in_collectionExpression1616 = new BitSet(new long[]{0x0000000000000000L,0x0000000000008000L});
- public static final BitSet FOLLOW_79_in_collectionExpression1618 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_collectionExpression1624 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_collectionExpression1626 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_declaredParameter_in_declaredParameterList1650 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_declaredParameterList1654 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_declaredParameter_in_declaredParameterList1658 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_type_in_declaredParameter1678 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_declaredParameter1682 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expression_in_parameterList1704 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_parameterList1709 = new BitSet(new long[]{0x400183C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_expression_in_parameterList1713 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_collectionType_in_type1739 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_simpleType_in_type1749 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_set_in_collectionType1771 = new BitSet(new long[]{0x0000000000000002L,0x0000000000010000L});
- public static final BitSet FOLLOW_80_in_collectionType1792 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_simpleType_in_collectionType1796 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
- public static final BitSet FOLLOW_81_in_collectionType1800 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_identifier_in_simpleType1820 = new BitSet(new long[]{0x0000000100000002L});
- public static final BitSet FOLLOW_32_in_simpleType1828 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_identifier_in_simpleType1832 = new BitSet(new long[]{0x0000000100000002L});
- public static final BitSet FOLLOW_Identifier_in_identifier1855 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_synpred1655 = new BitSet(new long[]{0x000001C000000040L});
- public static final BitSet FOLLOW_type_in_synpred1657 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_31_in_synpred1659 = new BitSet(new long[]{0x400181C010800070L,0x0000000000007FFFL});
- public static final BitSet FOLLOW_castedExpression_in_synpred1661 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_70_in_nullLiteral1489 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_IntLiteral_in_numberLiteral1508 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_IntLiteral_in_numberLiteral1517 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_numberLiteral1521 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_IntLiteral_in_numberLiteral1525 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_71_in_collectionExpression1545 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_collectionExpression1549 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_type_in_collectionExpression1553 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_collectionExpression1555 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_set_in_collectionExpression1568 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_29_in_collectionExpression1618 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_identifier_in_collectionExpression1623 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L});
+ public static final BitSet FOLLOW_80_in_collectionExpression1625 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_collectionExpression1631 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_collectionExpression1633 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_declaredParameter_in_declaredParameterList1657 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_30_in_declaredParameterList1661 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_declaredParameter_in_declaredParameterList1665 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_type_in_declaredParameter1685 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_declaredParameter1689 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expression_in_parameterList1711 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_30_in_parameterList1716 = new BitSet(new long[]{0x8003078021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_expression_in_parameterList1720 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_collectionType_in_type1746 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_simpleType_in_type1756 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_set_in_collectionType1778 = new BitSet(new long[]{0x0000000000000002L,0x0000000000020000L});
+ public static final BitSet FOLLOW_81_in_collectionType1799 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_simpleType_in_collectionType1803 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L});
+ public static final BitSet FOLLOW_82_in_collectionType1807 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_identifier_in_simpleType1827 = new BitSet(new long[]{0x0000000200000002L});
+ public static final BitSet FOLLOW_33_in_simpleType1835 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_identifier_in_simpleType1839 = new BitSet(new long[]{0x0000000200000002L});
+ public static final BitSet FOLLOW_Identifier_in_identifier1862 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_29_in_synpred1662 = new BitSet(new long[]{0x0000038000000040L});
+ public static final BitSet FOLLOW_type_in_synpred1664 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_32_in_synpred1666 = new BitSet(new long[]{0x8003038021000070L,0x000000000000FFFEL});
+ public static final BitSet FOLLOW_castedExpression_in_synpred1668 = new BitSet(new long[]{0x0000000000000002L});
} \ No newline at end of file
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend__.g b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend__.g
index 260d27e..9b32225 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend__.g
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/xtend/parser/Xtend__.g
@@ -1,13 +1,13 @@
lexer grammar Xtend;
@header {
-package org.eclipse.xtend.xtend.parser;
+package org.eclipse.internal.xtend.xtend.parser;
import java.util.ArrayList;
import java.util.List;
import java.util.Collections;
-import org.eclipse.xtend.expression.ast.*;
-import org.eclipse.xtend.xtend.ast.*;
+import org.eclipse.internal.xtend.expression.ast.*;
+import org.eclipse.internal.xtend.xtend.ast.*;
}
T18 : 'import' ;
@@ -15,76 +15,77 @@ T19 : ';' ;
T20 : 'extension' ;
T21 : 'reexport' ;
T22 : 'context' ;
-T23 : 'if' ;
-T24 : 'ERROR' ;
-T25 : 'WARNING' ;
-T26 : ':' ;
-T27 : 'around' ;
-T28 : '(' ;
-T29 : ',' ;
-T30 : '*' ;
-T31 : ')' ;
-T32 : '::' ;
-T33 : 'private' ;
-T34 : 'cached' ;
-T35 : 'JAVA' ;
-T36 : '.' ;
-T37 : 'create' ;
-T38 : 'Collection' ;
-T39 : 'List' ;
-T40 : 'Set' ;
-T41 : 'let' ;
-T42 : '=' ;
-T43 : '->' ;
-T44 : '?' ;
-T45 : 'then' ;
-T46 : 'else' ;
-T47 : 'switch' ;
-T48 : '{' ;
-T49 : 'case' ;
-T50 : 'default' ;
-T51 : '}' ;
-T52 : '||' ;
-T53 : '&&' ;
-T54 : 'implies' ;
-T55 : '==' ;
-T56 : '!=' ;
-T57 : '>=' ;
-T58 : '<=' ;
-T59 : '>' ;
-T60 : '<' ;
-T61 : '+' ;
-T62 : '-' ;
-T63 : '/' ;
-T64 : '!' ;
-T65 : 'GLOBALVAR' ;
-T66 : 'new' ;
-T67 : 'false' ;
-T68 : 'true' ;
-T69 : 'null' ;
-T70 : 'typeSelect' ;
-T71 : 'collect' ;
-T72 : 'select' ;
-T73 : 'selectFirst' ;
-T74 : 'reject' ;
-T75 : 'exists' ;
-T76 : 'notExists' ;
-T77 : 'sortBy' ;
-T78 : 'forAll' ;
-T79 : '|' ;
-T80 : '[' ;
-T81 : ']' ;
+T23 : '#' ;
+T24 : 'if' ;
+T25 : 'ERROR' ;
+T26 : 'WARNING' ;
+T27 : ':' ;
+T28 : 'around' ;
+T29 : '(' ;
+T30 : ',' ;
+T31 : '*' ;
+T32 : ')' ;
+T33 : '::' ;
+T34 : 'private' ;
+T35 : 'cached' ;
+T36 : 'JAVA' ;
+T37 : '.' ;
+T38 : 'create' ;
+T39 : 'Collection' ;
+T40 : 'List' ;
+T41 : 'Set' ;
+T42 : 'let' ;
+T43 : '=' ;
+T44 : '->' ;
+T45 : '?' ;
+T46 : 'then' ;
+T47 : 'else' ;
+T48 : 'switch' ;
+T49 : '{' ;
+T50 : 'case' ;
+T51 : 'default' ;
+T52 : '}' ;
+T53 : '||' ;
+T54 : '&&' ;
+T55 : 'implies' ;
+T56 : '==' ;
+T57 : '!=' ;
+T58 : '>=' ;
+T59 : '<=' ;
+T60 : '>' ;
+T61 : '<' ;
+T62 : '+' ;
+T63 : '-' ;
+T64 : '/' ;
+T65 : '!' ;
+T66 : 'GLOBALVAR' ;
+T67 : 'new' ;
+T68 : 'false' ;
+T69 : 'true' ;
+T70 : 'null' ;
+T71 : 'typeSelect' ;
+T72 : 'collect' ;
+T73 : 'select' ;
+T74 : 'selectFirst' ;
+T75 : 'reject' ;
+T76 : 'exists' ;
+T77 : 'notExists' ;
+T78 : 'sortBy' ;
+T79 : 'forAll' ;
+T80 : '|' ;
+T81 : '[' ;
+T82 : ']' ;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 284
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 284
IntLiteral : ('0' | '1'..'9' '0'..'9'*) ;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 286
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 286
StringLiteral
: '"' ( EscapeSequence | ~('\\'|'"') )* '"'
| '\'' ( EscapeSequence | ~('\''|'\\') )* '\''
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 291
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 291
fragment
EscapeSequence
: '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\')
@@ -92,7 +93,7 @@ EscapeSequence
| OctalEscape
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 298
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 298
fragment
OctalEscape
: '\\' ('0'..'3') ('0'..'7') ('0'..'7')
@@ -100,21 +101,21 @@ OctalEscape
| '\\' ('0'..'7')
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 305
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 305
fragment
UnicodeEscape
: '\\' 'u' HexDigit HexDigit HexDigit HexDigit
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 309
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 309
fragment
HexDigit : ('0'..'9'|'a'..'f'|'A'..'F') ;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 312
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 312
Identifier
: ('^')? Letter (Letter|JavaIDDigit)*
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 316
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 316
fragment
Letter
: '\u0024' |
@@ -132,7 +133,7 @@ Letter
'\uf900'..'\ufaff'
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 333
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 333
fragment
JavaIDDigit
: '\u0030'..'\u0039' |
@@ -152,24 +153,24 @@ JavaIDDigit
'\u1040'..'\u1049'
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 352
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 352
WS : (' '|'\r'|'\t'|'\u000C'|'\n') {$channel=HIDDEN;}
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 355
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 355
COMMENT
: '/*' ( options {greedy=false;} : . )* '*/' {$channel=HIDDEN;}
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 359
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 359
LINE_COMMENT
: '//' ~('\n'|'\r')* ('\r'? '\n'|EOF) {$channel=HIDDEN;}
;
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 364
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 364
XPAND_TAG_OPEN
: '\u00AB';
-// $ANTLR src "../core.expressions/main/src/org/openarchitectureware/xtend/parser/Xtend.g" 366
+// $ANTLR src "/Users/huebner/Entwicklung/workspace-oaw5/org.eclipse.xtend/bin/org/eclipse/internal/xtend/xtend/parser/Xtend.g" 366
XPAND_TAG_CLOSE
: '\u00BB';