From 771e3773bb7ebbf6712724cb2b248467c9cc2e3c Mon Sep 17 00:00:00 2001
From: Kristóf Marussy
Date: Fri, 8 May 2020 21:02:33 +0200
Subject: Synthetic tokens for solver language
---
.../META-INF/MANIFEST.MF | 3 +-
.../ide/AbstractSolverLanguageIdeModule.java | 9 +-
.../contentassist/antlr/SolverLanguageParser.java | 12 +-
.../antlr/internal/InternalSolverLanguage.g | 9138 ------------
.../antlr/internal/InternalSolverLanguage.tokens | 131 -
.../internal/InternalSolverLanguageLexer.java | 2805 ----
.../antlr/internal/InternalSolverLanguageParser.g | 8991 ++++++++++++
.../internal/InternalSolverLanguageParser.java | 14028 ++++++++-----------
.../internal/InternalSolverLanguageParser.tokens | 83 +
.../antlr/lexer/InternalSolverLanguageLexer.g | 178 +
.../antlr/lexer/InternalSolverLanguageLexer.java | 3208 +++++
.../antlr/lexer/InternalSolverLanguageLexer.tokens | 83 +
.../antlr/SolverLanguageTokenSource.java | 39 +
.../ui/AbstractSolverLanguageUiModule.java | 11 +-
.../AbstractSolverLanguageProposalProvider.java | 12 +-
.../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes
.../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes
.../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes
.../.launch/Launch Runtime Eclipse.launch | 69 +-
.../META-INF/MANIFEST.MF | 3 +-
.../model/generated/SolverLanguage.ecore | 21 +-
.../model/generated/SolverLanguage.genmodel | 15 +-
.../AbstractSolverLanguageRuntimeModule.java | 2 +-
.../viatra/solver/language/SolverLanguage.xtextbin | Bin 11842 -> 11964 bytes
.../SolverLanguageAntlrTokenFileProvider.java | 2 +-
.../parser/antlr/SolverLanguageParser.java | 15 +
.../parser/antlr/internal/InternalSolverLanguage.g | 3902 ------
.../antlr/internal/InternalSolverLanguage.tokens | 131 -
.../internal/InternalSolverLanguageLexer.java | 2805 ----
.../antlr/internal/InternalSolverLanguageParser.g | 3839 +++++
.../internal/InternalSolverLanguageParser.java | 8379 +++++------
.../internal/InternalSolverLanguageParser.tokens | 83 +
.../antlr/lexer/InternalSolverLanguageLexer.g | 178 +
.../antlr/lexer/InternalSolverLanguageLexer.java | 3208 +++++
.../antlr/lexer/InternalSolverLanguageLexer.tokens | 83 +
.../SolverLanguageSemanticSequencer.java | 111 +-
.../SolverLanguageSyntacticSequencer.java | 64 +-
.../services/SolverLanguageGrammarAccess.java | 179 +-
.../solver/language/solverLanguage/Call.java | 46 +-
.../language/solverLanguage/ClassDefinition.java | 97 +
.../solverLanguage/SolverLanguageFactory.java | 9 +
.../solverLanguage/SolverLanguagePackage.java | 2189 +--
.../solver/language/solverLanguage/Statement.java | 79 -
.../language/solverLanguage/impl/CallImpl.java | 118 +-
.../solverLanguage/impl/ClassDefinitionImpl.java | 340 +
.../impl/SolverLanguageFactoryImpl.java | 13 +
.../impl/SolverLanguagePackageImpl.java | 142 +-
.../solverLanguage/impl/StatementImpl.java | 298 -
.../util/SolverLanguageAdapterFactory.java | 20 +
.../solverLanguage/util/SolverLanguageSwitch.java | 24 +
.../viatra/solver/language/SolverLanguage.xtext | 32 +-
.../language/SolverLanguageRuntimeModule.xtend | 12 +
.../SolverLanguageTokenDefInjectingParser.xtend | 16 +
.../parser/antlr/SolverLanguageTokenSource.java | 122 +
...rLanguageSyntheticTokenSyntacticSequencer.xtend | 21 +
....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 0 -> 2742 bytes
.../viatra/solver/language/parser/antlr/.gitignore | 7 +
.../SolverLanguageTokenDefInjectingParser.java | 26 +
...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 0 -> 2758 bytes
.../viatra/solver/language/serializer/.gitignore | 1 +
...erLanguageSyntheticTokenSyntacticSequencer.java | 24 +
61 files changed, 30996 insertions(+), 34460 deletions(-)
delete mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.g
delete mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.tokens
delete mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageLexer.java
create mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g
create mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens
create mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g
create mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java
create mode 100644 Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens
create mode 100644 Application/org.eclipse.viatra.solver.language.ide/src/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageTokenSource.java
delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.g
delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.tokens
delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageLexer.java
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java
create mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java
create mode 100644 Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.xtend
create mode 100644 Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java
create mode 100644 Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.xtend
create mode 100644 Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin
create mode 100644 Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore
create mode 100644 Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java
create mode 100644 Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin
create mode 100644 Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore
create mode 100644 Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.java
diff --git a/Application/org.eclipse.viatra.solver.language.ide/META-INF/MANIFEST.MF b/Application/org.eclipse.viatra.solver.language.ide/META-INF/MANIFEST.MF
index 4312e426..d03c2e74 100644
--- a/Application/org.eclipse.viatra.solver.language.ide/META-INF/MANIFEST.MF
+++ b/Application/org.eclipse.viatra.solver.language.ide/META-INF/MANIFEST.MF
@@ -12,4 +12,5 @@ Require-Bundle: org.eclipse.viatra.solver.language,
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.eclipse.viatra.solver.language.ide.contentassist.antlr,
- org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal
+ org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal,
+ org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java
index 71f91821..3c6c55d8 100644
--- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/AbstractSolverLanguageIdeModule.java
@@ -6,12 +6,14 @@ package org.eclipse.viatra.solver.language.ide;
import com.google.inject.Binder;
import com.google.inject.name.Names;
import org.eclipse.viatra.solver.language.ide.contentassist.antlr.SolverLanguageParser;
-import org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal.InternalSolverLanguageLexer;
+import org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer.InternalSolverLanguageLexer;
import org.eclipse.xtext.ide.DefaultIdeModule;
import org.eclipse.xtext.ide.LexerIdeBindings;
+import org.eclipse.xtext.ide.editor.contentassist.CompletionPrefixProvider;
import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper;
+import org.eclipse.xtext.ide.editor.contentassist.IndentationAwareCompletionPrefixProvider;
import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
@@ -42,6 +44,11 @@ public abstract class AbstractSolverLanguageIdeModule extends DefaultIdeModule {
return AntlrProposalConflictHelper.class;
}
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends CompletionPrefixProvider> bindCompletionPrefixProvider() {
+ return IndentationAwareCompletionPrefixProvider.class;
+ }
+
// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
public Class extends IPrefixMatcher> bindIPrefixMatcher() {
return FQNPrefixMatcher.class;
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java
index fa130139..e4b2806e 100644
--- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java
@@ -7,6 +7,8 @@ import com.google.common.collect.ImmutableMap;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import java.util.Map;
+import org.antlr.runtime.CharStream;
+import org.antlr.runtime.TokenSource;
import org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal.InternalSolverLanguageParser;
import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess;
import org.eclipse.xtext.AbstractElement;
@@ -92,9 +94,7 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getUnaryExpressionAccess().getGroup_1(), "rule__UnaryExpression__Group_1__0");
builder.put(grammarAccess.getCountAccess().getGroup(), "rule__Count__Group__0");
builder.put(grammarAccess.getAggregationAccess().getGroup(), "rule__Aggregation__Group__0");
- builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_0(), "rule__AtomicExpression__Group_0__0");
- builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_0_1(), "rule__AtomicExpression__Group_0_1__0");
- builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_3(), "rule__AtomicExpression__Group_3__0");
+ builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_4(), "rule__AtomicExpression__Group_4__0");
builder.put(grammarAccess.getCallAccess().getGroup(), "rule__Call__Group__0");
builder.put(grammarAccess.getArgumentListAccess().getGroup(), "rule__ArgumentList__Group__0");
builder.put(grammarAccess.getArgumentListAccess().getGroup_2(), "rule__ArgumentList__Group_2__0");
@@ -170,7 +170,6 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
builder.put(grammarAccess.getAggregationAccess().getOpAssignment_0(), "rule__Aggregation__OpAssignment_0");
builder.put(grammarAccess.getAggregationAccess().getBodyAssignment_2(), "rule__Aggregation__BodyAssignment_2");
builder.put(grammarAccess.getAggregationAccess().getConditionAssignment_4(), "rule__Aggregation__ConditionAssignment_4");
- builder.put(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1(), "rule__AtomicExpression__ArgumentListAssignment_0_1_1");
builder.put(grammarAccess.getCallAccess().getFunctorAssignment_0(), "rule__Call__FunctorAssignment_0");
builder.put(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0(), "rule__Call__TransitiveClosureAssignment_1_0");
builder.put(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1(), "rule__Call__ReflexiveTransitiveClosureAssignment_1_1");
@@ -231,6 +230,11 @@ public class SolverLanguageParser extends AbstractContentAssistParser {
return result;
}
+ @Override
+ protected TokenSource createLexer(CharStream stream) {
+ return new SolverLanguageTokenSource(super.createLexer(stream));
+ }
+
@Override
protected String getRuleName(AbstractElement element) {
return nameMappings.getRuleName(element);
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.g
deleted file mode 100644
index 2e277376..00000000
--- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.g
+++ /dev/null
@@ -1,9138 +0,0 @@
-/*
- * generated by Xtext 2.21.0
- */
-grammar InternalSolverLanguage;
-
-options {
- superClass=AbstractInternalContentAssistParser;
- backtrack=true;
-}
-
-@lexer::header {
-package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
-}
-
-@parser::header {
-package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
-
-import java.io.InputStream;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
-import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess;
-
-}
-@parser::members {
- private SolverLanguageGrammarAccess grammarAccess;
-
- public void setGrammarAccess(SolverLanguageGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
- @Override
- protected Grammar getGrammar() {
- return grammarAccess.getGrammar();
- }
-
- @Override
- protected String getValueForTokenName(String tokenName) {
- return tokenName;
- }
-}
-
-// Entry rule entryRuleProblem
-entryRuleProblem
-:
-{ before(grammarAccess.getProblemRule()); }
- ruleProblem
-{ after(grammarAccess.getProblemRule()); }
- EOF
-;
-
-// Rule Problem
-ruleProblem
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getProblemAccess().getStatementsAssignment()); }
- (rule__Problem__StatementsAssignment)*
- { after(grammarAccess.getProblemAccess().getStatementsAssignment()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleStatement
-entryRuleStatement
-:
-{ before(grammarAccess.getStatementRule()); }
- ruleStatement
-{ after(grammarAccess.getStatementRule()); }
- EOF
-;
-
-// Rule Statement
-ruleStatement
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getStatementAccess().getGroup()); }
- (rule__Statement__Group__0)
- { after(grammarAccess.getStatementAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleAssertionOrDefinition
-entryRuleAssertionOrDefinition
-:
-{ before(grammarAccess.getAssertionOrDefinitionRule()); }
- ruleAssertionOrDefinition
-{ after(grammarAccess.getAssertionOrDefinitionRule()); }
- EOF
-;
-
-// Rule AssertionOrDefinition
-ruleAssertionOrDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); }
- (rule__AssertionOrDefinition__Group__0)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRulePredicateDefinition
-entryRulePredicateDefinition
-:
-{ before(grammarAccess.getPredicateDefinitionRule()); }
- rulePredicateDefinition
-{ after(grammarAccess.getPredicateDefinitionRule()); }
- EOF
-;
-
-// Rule PredicateDefinition
-rulePredicateDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getGroup()); }
- (rule__PredicateDefinition__Group__0)
- { after(grammarAccess.getPredicateDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleUnnamedErrorPrediateDefinition
-entryRuleUnnamedErrorPrediateDefinition
-:
-{ before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); }
- ruleUnnamedErrorPrediateDefinition
-{ after(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); }
- EOF
-;
-
-// Rule UnnamedErrorPrediateDefinition
-ruleUnnamedErrorPrediateDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); }
- (rule__UnnamedErrorPrediateDefinition__Group__0)
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleDefaultDefinition
-entryRuleDefaultDefinition
-:
-{ before(grammarAccess.getDefaultDefinitionRule()); }
- ruleDefaultDefinition
-{ after(grammarAccess.getDefaultDefinitionRule()); }
- EOF
-;
-
-// Rule DefaultDefinition
-ruleDefaultDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getDefaultDefinitionAccess().getGroup()); }
- (rule__DefaultDefinition__Group__0)
- { after(grammarAccess.getDefaultDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExternPredicateDefinition
-entryRuleExternPredicateDefinition
-:
-{ before(grammarAccess.getExternPredicateDefinitionRule()); }
- ruleExternPredicateDefinition
-{ after(grammarAccess.getExternPredicateDefinitionRule()); }
- EOF
-;
-
-// Rule ExternPredicateDefinition
-ruleExternPredicateDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); }
- (rule__ExternPredicateDefinition__Group__0)
- { after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleMetricDefinition
-entryRuleMetricDefinition
-:
-{ before(grammarAccess.getMetricDefinitionRule()); }
- ruleMetricDefinition
-{ after(grammarAccess.getMetricDefinitionRule()); }
- EOF
-;
-
-// Rule MetricDefinition
-ruleMetricDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getMetricDefinitionAccess().getGroup()); }
- (rule__MetricDefinition__Group__0)
- { after(grammarAccess.getMetricDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExternMetricDefinition
-entryRuleExternMetricDefinition
-:
-{ before(grammarAccess.getExternMetricDefinitionRule()); }
- ruleExternMetricDefinition
-{ after(grammarAccess.getExternMetricDefinitionRule()); }
- EOF
-;
-
-// Rule ExternMetricDefinition
-ruleExternMetricDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); }
- (rule__ExternMetricDefinition__Group__0)
- { after(grammarAccess.getExternMetricDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExpression
-entryRuleExpression
-:
-{ before(grammarAccess.getExpressionRule()); }
- ruleExpression
-{ after(grammarAccess.getExpressionRule()); }
- EOF
-;
-
-// Rule Expression
-ruleExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExpressionAccess().getAlternatives()); }
- (rule__Expression__Alternatives)
- { after(grammarAccess.getExpressionAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleIfElse
-entryRuleIfElse
-:
-{ before(grammarAccess.getIfElseRule()); }
- ruleIfElse
-{ after(grammarAccess.getIfElseRule()); }
- EOF
-;
-
-// Rule IfElse
-ruleIfElse
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getIfElseAccess().getGroup()); }
- (rule__IfElse__Group__0)
- { after(grammarAccess.getIfElseAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleDisjunctiveExpression
-entryRuleDisjunctiveExpression
-:
-{ before(grammarAccess.getDisjunctiveExpressionRule()); }
- ruleDisjunctiveExpression
-{ after(grammarAccess.getDisjunctiveExpressionRule()); }
- EOF
-;
-
-// Rule DisjunctiveExpression
-ruleDisjunctiveExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); }
- (rule__DisjunctiveExpression__Group__0)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleCase
-entryRuleCase
-:
-{ before(grammarAccess.getCaseRule()); }
- ruleCase
-{ after(grammarAccess.getCaseRule()); }
- EOF
-;
-
-// Rule Case
-ruleCase
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getCaseAccess().getGroup()); }
- (rule__Case__Group__0)
- { after(grammarAccess.getCaseAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleConjunctiveExpression
-entryRuleConjunctiveExpression
-:
-{ before(grammarAccess.getConjunctiveExpressionRule()); }
- ruleConjunctiveExpression
-{ after(grammarAccess.getConjunctiveExpressionRule()); }
- EOF
-;
-
-// Rule ConjunctiveExpression
-ruleConjunctiveExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); }
- (rule__ConjunctiveExpression__Group__0)
- { after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleComparisonExpression
-entryRuleComparisonExpression
-:
-{ before(grammarAccess.getComparisonExpressionRule()); }
- ruleComparisonExpression
-{ after(grammarAccess.getComparisonExpressionRule()); }
- EOF
-;
-
-// Rule ComparisonExpression
-ruleComparisonExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getComparisonExpressionAccess().getGroup()); }
- (rule__ComparisonExpression__Group__0)
- { after(grammarAccess.getComparisonExpressionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleAdditiveExpression
-entryRuleAdditiveExpression
-:
-{ before(grammarAccess.getAdditiveExpressionRule()); }
- ruleAdditiveExpression
-{ after(grammarAccess.getAdditiveExpressionRule()); }
- EOF
-;
-
-// Rule AdditiveExpression
-ruleAdditiveExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getAdditiveExpressionAccess().getGroup()); }
- (rule__AdditiveExpression__Group__0)
- { after(grammarAccess.getAdditiveExpressionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleMultiplicativeExpression
-entryRuleMultiplicativeExpression
-:
-{ before(grammarAccess.getMultiplicativeExpressionRule()); }
- ruleMultiplicativeExpression
-{ after(grammarAccess.getMultiplicativeExpressionRule()); }
- EOF
-;
-
-// Rule MultiplicativeExpression
-ruleMultiplicativeExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); }
- (rule__MultiplicativeExpression__Group__0)
- { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExponentialExpression
-entryRuleExponentialExpression
-:
-{ before(grammarAccess.getExponentialExpressionRule()); }
- ruleExponentialExpression
-{ after(grammarAccess.getExponentialExpressionRule()); }
- EOF
-;
-
-// Rule ExponentialExpression
-ruleExponentialExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExponentialExpressionAccess().getGroup()); }
- (rule__ExponentialExpression__Group__0)
- { after(grammarAccess.getExponentialExpressionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleUnaryExpression
-entryRuleUnaryExpression
-:
-{ before(grammarAccess.getUnaryExpressionRule()); }
- ruleUnaryExpression
-{ after(grammarAccess.getUnaryExpressionRule()); }
- EOF
-;
-
-// Rule UnaryExpression
-ruleUnaryExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); }
- (rule__UnaryExpression__Alternatives)
- { after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleAggregationExpression
-entryRuleAggregationExpression
-:
-{ before(grammarAccess.getAggregationExpressionRule()); }
- ruleAggregationExpression
-{ after(grammarAccess.getAggregationExpressionRule()); }
- EOF
-;
-
-// Rule AggregationExpression
-ruleAggregationExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); }
- (rule__AggregationExpression__Alternatives)
- { after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleCount
-entryRuleCount
-:
-{ before(grammarAccess.getCountRule()); }
- ruleCount
-{ after(grammarAccess.getCountRule()); }
- EOF
-;
-
-// Rule Count
-ruleCount
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getCountAccess().getGroup()); }
- (rule__Count__Group__0)
- { after(grammarAccess.getCountAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleAggregation
-entryRuleAggregation
-:
-{ before(grammarAccess.getAggregationRule()); }
- ruleAggregation
-{ after(grammarAccess.getAggregationRule()); }
- EOF
-;
-
-// Rule Aggregation
-ruleAggregation
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getAggregationAccess().getGroup()); }
- (rule__Aggregation__Group__0)
- { after(grammarAccess.getAggregationAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleAtomicExpression
-entryRuleAtomicExpression
-:
-{ before(grammarAccess.getAtomicExpressionRule()); }
- ruleAtomicExpression
-{ after(grammarAccess.getAtomicExpressionRule()); }
- EOF
-;
-
-// Rule AtomicExpression
-ruleAtomicExpression
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); }
- (rule__AtomicExpression__Alternatives)
- { after(grammarAccess.getAtomicExpressionAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleCall
-entryRuleCall
-:
-{ before(grammarAccess.getCallRule()); }
- ruleCall
-{ after(grammarAccess.getCallRule()); }
- EOF
-;
-
-// Rule Call
-ruleCall
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getCallAccess().getGroup()); }
- (rule__Call__Group__0)
- { after(grammarAccess.getCallAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleArgumentList
-entryRuleArgumentList
-:
-{ before(grammarAccess.getArgumentListRule()); }
- ruleArgumentList
-{ after(grammarAccess.getArgumentListRule()); }
- EOF
-;
-
-// Rule ArgumentList
-ruleArgumentList
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getArgumentListAccess().getGroup()); }
- (rule__ArgumentList__Group__0)
- { after(grammarAccess.getArgumentListAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleArgument
-entryRuleArgument
-:
-{ before(grammarAccess.getArgumentRule()); }
- ruleArgument
-{ after(grammarAccess.getArgumentRule()); }
- EOF
-;
-
-// Rule Argument
-ruleArgument
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getArgumentAccess().getAlternatives()); }
- (rule__Argument__Alternatives)
- { after(grammarAccess.getArgumentAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExpressionArgument
-entryRuleExpressionArgument
-:
-{ before(grammarAccess.getExpressionArgumentRule()); }
- ruleExpressionArgument
-{ after(grammarAccess.getExpressionArgumentRule()); }
- EOF
-;
-
-// Rule ExpressionArgument
-ruleExpressionArgument
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); }
- (rule__ExpressionArgument__BodyAssignment)
- { after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleStarArgument
-entryRuleStarArgument
-:
-{ before(grammarAccess.getStarArgumentRule()); }
- ruleStarArgument
-{ after(grammarAccess.getStarArgumentRule()); }
- EOF
-;
-
-// Rule StarArgument
-ruleStarArgument
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getStarArgumentAccess().getGroup()); }
- (rule__StarArgument__Group__0)
- { after(grammarAccess.getStarArgumentAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleTypedArgument
-entryRuleTypedArgument
-:
-{ before(grammarAccess.getTypedArgumentRule()); }
- ruleTypedArgument
-{ after(grammarAccess.getTypedArgumentRule()); }
- EOF
-;
-
-// Rule TypedArgument
-ruleTypedArgument
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getTypedArgumentAccess().getGroup()); }
- (rule__TypedArgument__Group__0)
- { after(grammarAccess.getTypedArgumentAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleTypedStarArgument
-entryRuleTypedStarArgument
-:
-{ before(grammarAccess.getTypedStarArgumentRule()); }
- ruleTypedStarArgument
-{ after(grammarAccess.getTypedStarArgumentRule()); }
- EOF
-;
-
-// Rule TypedStarArgument
-ruleTypedStarArgument
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getTypedStarArgumentAccess().getGroup()); }
- (rule__TypedStarArgument__Group__0)
- { after(grammarAccess.getTypedStarArgumentAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleReference
-entryRuleReference
-:
-{ before(grammarAccess.getReferenceRule()); }
- ruleReference
-{ after(grammarAccess.getReferenceRule()); }
- EOF
-;
-
-// Rule Reference
-ruleReference
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getReferenceAccess().getReferredAssignment()); }
- (rule__Reference__ReferredAssignment)
- { after(grammarAccess.getReferenceAccess().getReferredAssignment()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleInterval
-entryRuleInterval
-:
-{ before(grammarAccess.getIntervalRule()); }
- ruleInterval
-{ after(grammarAccess.getIntervalRule()); }
- EOF
-;
-
-// Rule Interval
-ruleInterval
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getIntervalAccess().getGroup()); }
- (rule__Interval__Group__0)
- { after(grammarAccess.getIntervalAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleLiteral
-entryRuleLiteral
-:
-{ before(grammarAccess.getLiteralRule()); }
- ruleLiteral
-{ after(grammarAccess.getLiteralRule()); }
- EOF
-;
-
-// Rule Literal
-ruleLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getLiteralAccess().getAlternatives()); }
- (rule__Literal__Alternatives)
- { after(grammarAccess.getLiteralAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleLogicLiteral
-entryRuleLogicLiteral
-:
-{ before(grammarAccess.getLogicLiteralRule()); }
- ruleLogicLiteral
-{ after(grammarAccess.getLogicLiteralRule()); }
- EOF
-;
-
-// Rule LogicLiteral
-ruleLogicLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); }
- (rule__LogicLiteral__ValueAssignment)
- { after(grammarAccess.getLogicLiteralAccess().getValueAssignment()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleNumericLiteral
-entryRuleNumericLiteral
-:
-{ before(grammarAccess.getNumericLiteralRule()); }
- ruleNumericLiteral
-{ after(grammarAccess.getNumericLiteralRule()); }
- EOF
-;
-
-// Rule NumericLiteral
-ruleNumericLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); }
- (rule__NumericLiteral__ValueAssignment)
- { after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleInfinityLiteral
-entryRuleInfinityLiteral
-:
-{ before(grammarAccess.getInfinityLiteralRule()); }
- ruleInfinityLiteral
-{ after(grammarAccess.getInfinityLiteralRule()); }
- EOF
-;
-
-// Rule InfinityLiteral
-ruleInfinityLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getInfinityLiteralAccess().getGroup()); }
- (rule__InfinityLiteral__Group__0)
- { after(grammarAccess.getInfinityLiteralAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleEmptyIntervalLiteral
-entryRuleEmptyIntervalLiteral
-:
-{ before(grammarAccess.getEmptyIntervalLiteralRule()); }
- ruleEmptyIntervalLiteral
-{ after(grammarAccess.getEmptyIntervalLiteralRule()); }
- EOF
-;
-
-// Rule EmptyIntervalLiteral
-ruleEmptyIntervalLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); }
- (rule__EmptyIntervalLiteral__Group__0)
- { after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleStringLiteral
-entryRuleStringLiteral
-:
-{ before(grammarAccess.getStringLiteralRule()); }
- ruleStringLiteral
-{ after(grammarAccess.getStringLiteralRule()); }
- EOF
-;
-
-// Rule StringLiteral
-ruleStringLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getStringLiteralAccess().getValueAssignment()); }
- (rule__StringLiteral__ValueAssignment)
- { after(grammarAccess.getStringLiteralAccess().getValueAssignment()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleClassDefinition
-entryRuleClassDefinition
-:
-{ before(grammarAccess.getClassDefinitionRule()); }
- ruleClassDefinition
-{ after(grammarAccess.getClassDefinitionRule()); }
- EOF
-;
-
-// Rule ClassDefinition
-ruleClassDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getClassDefinitionAccess().getGroup()); }
- (rule__ClassDefinition__Group__0)
- { after(grammarAccess.getClassDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleMemberDefinition
-entryRuleMemberDefinition
-:
-{ before(grammarAccess.getMemberDefinitionRule()); }
- ruleMemberDefinition
-{ after(grammarAccess.getMemberDefinitionRule()); }
- EOF
-;
-
-// Rule MemberDefinition
-ruleMemberDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getMemberDefinitionAccess().getGroup()); }
- (rule__MemberDefinition__Group__0)
- { after(grammarAccess.getMemberDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleMultiplicity
-entryRuleMultiplicity
-:
-{ before(grammarAccess.getMultiplicityRule()); }
- ruleMultiplicity
-{ after(grammarAccess.getMultiplicityRule()); }
- EOF
-;
-
-// Rule Multiplicity
-ruleMultiplicity
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getMultiplicityAccess().getAlternatives()); }
- (rule__Multiplicity__Alternatives)
- { after(grammarAccess.getMultiplicityAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleManyMultiplicity
-entryRuleManyMultiplicity
-:
-{ before(grammarAccess.getManyMultiplicityRule()); }
- ruleManyMultiplicity
-{ after(grammarAccess.getManyMultiplicityRule()); }
- EOF
-;
-
-// Rule ManyMultiplicity
-ruleManyMultiplicity
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getManyMultiplicityAccess().getGroup()); }
- (rule__ManyMultiplicity__Group__0)
- { after(grammarAccess.getManyMultiplicityAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExactMultiplicity
-entryRuleExactMultiplicity
-:
-{ before(grammarAccess.getExactMultiplicityRule()); }
- ruleExactMultiplicity
-{ after(grammarAccess.getExactMultiplicityRule()); }
- EOF
-;
-
-// Rule ExactMultiplicity
-ruleExactMultiplicity
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExactMultiplicityAccess().getGroup()); }
- (rule__ExactMultiplicity__Group__0)
- { after(grammarAccess.getExactMultiplicityAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleBoundedMultiplicity
-entryRuleBoundedMultiplicity
-:
-{ before(grammarAccess.getBoundedMultiplicityRule()); }
- ruleBoundedMultiplicity
-{ after(grammarAccess.getBoundedMultiplicityRule()); }
- EOF
-;
-
-// Rule BoundedMultiplicity
-ruleBoundedMultiplicity
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); }
- (rule__BoundedMultiplicity__Group__0)
- { after(grammarAccess.getBoundedMultiplicityAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleScopeDefinition
-entryRuleScopeDefinition
-:
-{ before(grammarAccess.getScopeDefinitionRule()); }
- ruleScopeDefinition
-{ after(grammarAccess.getScopeDefinitionRule()); }
- EOF
-;
-
-// Rule ScopeDefinition
-ruleScopeDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); }
- (rule__ScopeDefinition__Alternatives)
- { after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleExactScopeDefinition
-entryRuleExactScopeDefinition
-:
-{ before(grammarAccess.getExactScopeDefinitionRule()); }
- ruleExactScopeDefinition
-{ after(grammarAccess.getExactScopeDefinitionRule()); }
- EOF
-;
-
-// Rule ExactScopeDefinition
-ruleExactScopeDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); }
- (rule__ExactScopeDefinition__Group__0)
- { after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleBoundedScopeDefinition
-entryRuleBoundedScopeDefinition
-:
-{ before(grammarAccess.getBoundedScopeDefinitionRule()); }
- ruleBoundedScopeDefinition
-{ after(grammarAccess.getBoundedScopeDefinitionRule()); }
- EOF
-;
-
-// Rule BoundedScopeDefinition
-ruleBoundedScopeDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); }
- (rule__BoundedScopeDefinition__Group__0)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleLowerBoundedScopeDefinition
-entryRuleLowerBoundedScopeDefinition
-:
-{ before(grammarAccess.getLowerBoundedScopeDefinitionRule()); }
- ruleLowerBoundedScopeDefinition
-{ after(grammarAccess.getLowerBoundedScopeDefinitionRule()); }
- EOF
-;
-
-// Rule LowerBoundedScopeDefinition
-ruleLowerBoundedScopeDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); }
- (rule__LowerBoundedScopeDefinition__Group__0)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleObjectiveDefinition
-entryRuleObjectiveDefinition
-:
-{ before(grammarAccess.getObjectiveDefinitionRule()); }
- ruleObjectiveDefinition
-{ after(grammarAccess.getObjectiveDefinitionRule()); }
- EOF
-;
-
-// Rule ObjectiveDefinition
-ruleObjectiveDefinition
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); }
- (rule__ObjectiveDefinition__Group__0)
- { after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleUpperMultiplicty
-entryRuleUpperMultiplicty
-:
-{ before(grammarAccess.getUpperMultiplictyRule()); }
- ruleUpperMultiplicty
-{ after(grammarAccess.getUpperMultiplictyRule()); }
- EOF
-;
-
-// Rule UpperMultiplicty
-ruleUpperMultiplicty
- @init {
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); }
- (rule__UpperMultiplicty__Alternatives)
- { after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Entry rule entryRuleReal
-entryRuleReal
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getRealRule()); }
- ruleReal
-{ after(grammarAccess.getRealRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule Real
-ruleReal
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getRealAccess().getGroup()); }
- (rule__Real__Group__0)
- { after(grammarAccess.getRealAccess().getGroup()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-// Entry rule entryRuleQualifiedName
-entryRuleQualifiedName
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getQualifiedNameRule()); }
- ruleQualifiedName
-{ after(grammarAccess.getQualifiedNameRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule QualifiedName
-ruleQualifiedName
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
- (
- { before(grammarAccess.getQualifiedNameAccess().getAlternatives()); }
- (rule__QualifiedName__Alternatives)
- { after(grammarAccess.getQualifiedNameAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-// Rule MetricType
-ruleMetricType
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMetricTypeAccess().getAlternatives()); }
- (rule__MetricType__Alternatives)
- { after(grammarAccess.getMetricTypeAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule ComparisonOperator
-ruleComparisonOperator
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); }
- (rule__ComparisonOperator__Alternatives)
- { after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule AdditiveBinaryOperator
-ruleAdditiveBinaryOperator
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); }
- (rule__AdditiveBinaryOperator__Alternatives)
- { after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule MultiplicativeBinaryOperator
-ruleMultiplicativeBinaryOperator
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); }
- (rule__MultiplicativeBinaryOperator__Alternatives)
- { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule ExponentialOp
-ruleExponentialOp
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); }
- ('^')
- { after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule UnaryOp
-ruleUnaryOp
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnaryOpAccess().getAlternatives()); }
- (rule__UnaryOp__Alternatives)
- { after(grammarAccess.getUnaryOpAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule AggregationOp
-ruleAggregationOp
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAggregationOpAccess().getAlternatives()); }
- (rule__AggregationOp__Alternatives)
- { after(grammarAccess.getAggregationOpAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule LogicValue
-ruleLogicValue
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLogicValueAccess().getAlternatives()); }
- (rule__LogicValue__Alternatives)
- { after(grammarAccess.getLogicValueAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-// Rule ObjectiveKind
-ruleObjectiveKind
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getObjectiveKindAccess().getAlternatives()); }
- (rule__ObjectiveKind__Alternatives)
- { after(grammarAccess.getObjectiveKindAccess().getAlternatives()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Statement__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); }
- ruleAssertionOrDefinition
- { after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); }
- rulePredicateDefinition
- { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); }
- ruleUnnamedErrorPrediateDefinition
- { after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); }
- ruleDefaultDefinition
- { after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); }
- ruleExternPredicateDefinition
- { after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); }
- ruleMetricDefinition
- { after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); }
- ruleExternMetricDefinition
- { after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); }
- ruleClassDefinition
- { after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); }
- ruleScopeDefinition
- { after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); }
- )
- |
- (
- { before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); }
- ruleObjectiveDefinition
- { after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); }
- (rule__AssertionOrDefinition__Group_1_0__0)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); }
- )
- |
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); }
- (rule__AssertionOrDefinition__Group_1_1__0)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); }
- )
- |
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); }
- (rule__AssertionOrDefinition__Group_1_2__0)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); }
- (rule__PredicateDefinition__Group_0_0__0)
- { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); }
- )
- |
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); }
- (rule__PredicateDefinition__Group_0_1__0)
- { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Expression__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); }
- ruleIfElse
- { after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); }
- ruleDisjunctiveExpression
- { after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); }
- (rule__DisjunctiveExpression__Group_1_0__0)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); }
- )
- |
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); }
- (rule__DisjunctiveExpression__Group_1_1__0)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); }
- ruleAggregationExpression
- { after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); }
- (rule__UnaryExpression__Group_1__0)
- { after(grammarAccess.getUnaryExpressionAccess().getGroup_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AggregationExpression__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); }
- ruleAtomicExpression
- { after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); }
- ruleCount
- { after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); }
- )
- |
- (
- { before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); }
- ruleAggregation
- { after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAtomicExpressionAccess().getGroup_0()); }
- (rule__AtomicExpression__Group_0__0)
- { after(grammarAccess.getAtomicExpressionAccess().getGroup_0()); }
- )
- |
- (
- { before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1()); }
- ruleInterval
- { after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1()); }
- )
- |
- (
- { before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2()); }
- ruleLiteral
- { after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2()); }
- )
- |
- (
- { before(grammarAccess.getAtomicExpressionAccess().getGroup_3()); }
- (rule__AtomicExpression__Group_3__0)
- { after(grammarAccess.getAtomicExpressionAccess().getGroup_3()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); }
- (rule__Call__TransitiveClosureAssignment_1_0)
- { after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); }
- )
- |
- (
- { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); }
- (rule__Call__ReflexiveTransitiveClosureAssignment_1_1)
- { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Argument__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); }
- ruleExpressionArgument
- { after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); }
- ruleStarArgument
- { after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); }
- )
- |
- (
- { before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); }
- ruleTypedArgument
- { after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); }
- )
- |
- (
- { before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); }
- ruleTypedStarArgument
- { after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Literal__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); }
- ruleLogicLiteral
- { after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); }
- ruleNumericLiteral
- { after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); }
- )
- |
- (
- { before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); }
- ruleInfinityLiteral
- { after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); }
- )
- |
- (
- { before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); }
- ruleEmptyIntervalLiteral
- { after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); }
- )
- |
- (
- { before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); }
- ruleStringLiteral
- { after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Multiplicity__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); }
- ruleManyMultiplicity
- { after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); }
- ruleExactMultiplicity
- { after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); }
- )
- |
- (
- { before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); }
- ruleBoundedMultiplicity
- { after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ScopeDefinition__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); }
- ruleExactScopeDefinition
- { after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); }
- ruleBoundedScopeDefinition
- { after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); }
- )
- |
- (
- { before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); }
- ruleLowerBoundedScopeDefinition
- { after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); }
- (rule__BoundedScopeDefinition__Group_1_0__0)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); }
- )
- |
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); }
- (rule__BoundedScopeDefinition__Group_1_1__0)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); }
- (rule__LowerBoundedScopeDefinition__Group_1_0__0)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); }
- )
- |
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); }
- (rule__LowerBoundedScopeDefinition__Group_1_1__0)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UpperMultiplicty__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); }
- RULE_INT
- { after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); }
- )
- |
- (
- { before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); }
- '*'
- { after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getQualifiedNameAccess().getGroup_0()); }
- (rule__QualifiedName__Group_0__0)
- { after(grammarAccess.getQualifiedNameAccess().getGroup_0()); }
- )
- |
- (
- { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); }
- RULE_QUOTED_ID
- { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricType__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); }
- ('int')
- { after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); }
- ('real')
- { after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonOperator__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); }
- ('==')
- { after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); }
- ('!=')
- { after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); }
- )
- |
- (
- { before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); }
- ('<')
- { after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); }
- )
- |
- (
- { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); }
- ('<=')
- { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); }
- )
- |
- (
- { before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); }
- ('>')
- { after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); }
- )
- |
- (
- { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); }
- ('>=')
- { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); }
- )
- |
- (
- { before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); }
- ('in')
- { after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveBinaryOperator__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); }
- ('+')
- { after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); }
- ('-')
- { after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeBinaryOperator__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); }
- ('*')
- { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); }
- ('/')
- { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryOp__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); }
- ('!')
- { after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); }
- ('+')
- { after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); }
- )
- |
- (
- { before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); }
- ('-')
- { after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); }
- )
- |
- (
- { before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); }
- ('may')
- { after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); }
- )
- |
- (
- { before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); }
- ('must')
- { after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); }
- )
- |
- (
- { before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); }
- ('current')
- { after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AggregationOp__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); }
- ('only')
- { after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); }
- ('sum')
- { after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); }
- )
- |
- (
- { before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); }
- ('prod')
- { after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); }
- )
- |
- (
- { before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); }
- ('avg')
- { after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); }
- )
- |
- (
- { before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); }
- ('min')
- { after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); }
- )
- |
- (
- { before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); }
- ('max')
- { after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LogicValue__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); }
- ('true')
- { after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); }
- ('false')
- { after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); }
- )
- |
- (
- { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); }
- ('unknown')
- { after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); }
- )
- |
- (
- { before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); }
- ('error')
- { after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ObjectiveKind__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); }
- ('minimize')
- { after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); }
- )
- |
- (
- { before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); }
- ('maximize')
- { after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Statement__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Statement__Group__0__Impl
- rule__Statement__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Statement__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getStatementAccess().getAlternatives_0()); }
- (rule__Statement__Alternatives_0)
- { after(grammarAccess.getStatementAccess().getAlternatives_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Statement__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Statement__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Statement__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1()); }
- RULE_DOT
- { after(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AssertionOrDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group__0__Impl
- rule__AssertionOrDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); }
- ruleExpression
- { after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); }
- (rule__AssertionOrDefinition__Alternatives_1)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AssertionOrDefinition__Group_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_0__0__Impl
- rule__AssertionOrDefinition__Group_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); }
- ()
- { after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); }
- (rule__AssertionOrDefinition__Group_1_0_1__0)?
- { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AssertionOrDefinition__Group_1_0_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_0_1__0__Impl
- rule__AssertionOrDefinition__Group_1_0_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_0_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); }
- ':'
- { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_0_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_0_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_0_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); }
- (rule__AssertionOrDefinition__RangeAssignment_1_0_1_1)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AssertionOrDefinition__Group_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_1__0__Impl
- rule__AssertionOrDefinition__Group_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); }
- ()
- { after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_1__1__Impl
- rule__AssertionOrDefinition__Group_1_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); }
- ':-'
- { after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); }
- (rule__AssertionOrDefinition__BodyAssignment_1_1_2)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AssertionOrDefinition__Group_1_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_2__0__Impl
- rule__AssertionOrDefinition__Group_1_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); }
- ()
- { after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_2__1__Impl
- rule__AssertionOrDefinition__Group_1_2__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); }
- '='
- { after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_2__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AssertionOrDefinition__Group_1_2__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__Group_1_2__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); }
- (rule__AssertionOrDefinition__BodyAssignment_1_2_2)
- { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PredicateDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group__0__Impl
- rule__PredicateDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); }
- (rule__PredicateDefinition__Alternatives_0)
- { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group__1__Impl
- rule__PredicateDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); }
- (rule__PredicateDefinition__HeadAssignment_1)
- { after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group__2__Impl
- rule__PredicateDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
- ':-'
- { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); }
- (rule__PredicateDefinition__BodyAssignment_3)
- { after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PredicateDefinition__Group_0_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group_0_0__0__Impl
- rule__PredicateDefinition__Group_0_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group_0_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); }
- (rule__PredicateDefinition__FunctionalAssignment_0_0_0)
- { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group_0_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group_0_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group_0_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); }
- (rule__PredicateDefinition__ErrorAssignment_0_0_1)?
- { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PredicateDefinition__Group_0_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group_0_1__0__Impl
- rule__PredicateDefinition__Group_0_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group_0_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); }
- (rule__PredicateDefinition__ErrorAssignment_0_1_0)
- { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group_0_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PredicateDefinition__Group_0_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__Group_0_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); }
- (rule__PredicateDefinition__FunctionalAssignment_0_1_1)?
- { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__UnnamedErrorPrediateDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnnamedErrorPrediateDefinition__Group__0__Impl
- rule__UnnamedErrorPrediateDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); }
- 'error'
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnnamedErrorPrediateDefinition__Group__1__Impl
- rule__UnnamedErrorPrediateDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); }
- (rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1)
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnnamedErrorPrediateDefinition__Group__2__Impl
- rule__UnnamedErrorPrediateDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
- ':-'
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnnamedErrorPrediateDefinition__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); }
- (rule__UnnamedErrorPrediateDefinition__BodyAssignment_3)
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DefaultDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DefaultDefinition__Group__0__Impl
- rule__DefaultDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); }
- 'default'
- { after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DefaultDefinition__Group__1__Impl
- rule__DefaultDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); }
- (rule__DefaultDefinition__HeadAssignment_1)
- { after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DefaultDefinition__Group__2__Impl
- rule__DefaultDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); }
- ':'
- { after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DefaultDefinition__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); }
- (rule__DefaultDefinition__RangeAssignment_3)
- { after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ExternPredicateDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExternPredicateDefinition__Group__0__Impl
- rule__ExternPredicateDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternPredicateDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); }
- 'extern'
- { after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternPredicateDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExternPredicateDefinition__Group__1__Impl
- rule__ExternPredicateDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternPredicateDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); }
- (rule__ExternPredicateDefinition__HeadAssignment_1)
- { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternPredicateDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExternPredicateDefinition__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternPredicateDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2()); }
- '.'
- { after(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MetricDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MetricDefinition__Group__0__Impl
- rule__MetricDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); }
- (rule__MetricDefinition__TypeAssignment_0)
- { after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MetricDefinition__Group__1__Impl
- rule__MetricDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); }
- (rule__MetricDefinition__HeadAssignment_1)
- { after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MetricDefinition__Group__2__Impl
- rule__MetricDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); }
- '='
- { after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MetricDefinition__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); }
- (rule__MetricDefinition__BodyAssignment_3)
- { after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ExternMetricDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExternMetricDefinition__Group__0__Impl
- rule__ExternMetricDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); }
- 'extern'
- { after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExternMetricDefinition__Group__1__Impl
- rule__ExternMetricDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); }
- (rule__ExternMetricDefinition__TypeAssignment_1)
- { after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExternMetricDefinition__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); }
- (rule__ExternMetricDefinition__HeadAssignment_2)
- { after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__IfElse__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IfElse__Group__0__Impl
- rule__IfElse__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIfElseAccess().getIfKeyword_0()); }
- 'if'
- { after(grammarAccess.getIfElseAccess().getIfKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IfElse__Group__1__Impl
- rule__IfElse__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); }
- (rule__IfElse__ConditionAssignment_1)
- { after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IfElse__Group__2__Impl
- rule__IfElse__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIfElseAccess().getThenKeyword_2()); }
- 'then'
- { after(grammarAccess.getIfElseAccess().getThenKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IfElse__Group__3__Impl
- rule__IfElse__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIfElseAccess().getThenAssignment_3()); }
- (rule__IfElse__ThenAssignment_3)
- { after(grammarAccess.getIfElseAccess().getThenAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IfElse__Group__4__Impl
- rule__IfElse__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIfElseAccess().getElseKeyword_4()); }
- 'else'
- { after(grammarAccess.getIfElseAccess().getElseKeyword_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IfElse__Group__5__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIfElseAccess().getElseAssignment_5()); }
- (rule__IfElse__ElseAssignment_5)
- { after(grammarAccess.getIfElseAccess().getElseAssignment_5()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DisjunctiveExpression__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group__0__Impl
- rule__DisjunctiveExpression__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); }
- ruleConjunctiveExpression
- { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); }
- (rule__DisjunctiveExpression__Alternatives_1)?
- { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DisjunctiveExpression__Group_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_0__0__Impl
- rule__DisjunctiveExpression__Group_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); }
- ()
- { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
- (rule__DisjunctiveExpression__Group_1_0_1__0)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
- )
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
- (rule__DisjunctiveExpression__Group_1_0_1__0)*
- { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
- )
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DisjunctiveExpression__Group_1_0_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_0_1__0__Impl
- rule__DisjunctiveExpression__Group_1_0_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_0_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); }
- ';'
- { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_0_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_0_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_0_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); }
- (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DisjunctiveExpression__Group_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1__0__Impl
- rule__DisjunctiveExpression__Group_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); }
- ()
- { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1__1__Impl
- rule__DisjunctiveExpression__Group_1_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); }
- '->'
- { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1__2__Impl
- rule__DisjunctiveExpression__Group_1_1__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); }
- (rule__DisjunctiveExpression__BodyAssignment_1_1_2)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1__3__Impl
- rule__DisjunctiveExpression__Group_1_1__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); }
- ()
- { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); }
- (rule__DisjunctiveExpression__Group_1_1_4__0)*
- { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DisjunctiveExpression__Group_1_1_4__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1_4__0__Impl
- rule__DisjunctiveExpression__Group_1_1_4__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1_4__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); }
- ';'
- { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1_4__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DisjunctiveExpression__Group_1_1_4__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__Group_1_1_4__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); }
- (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1)
- { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Case__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Case__Group__0__Impl
- rule__Case__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); }
- (rule__Case__ConditionAssignment_0)
- { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Case__Group__1__Impl
- rule__Case__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); }
- '->'
- { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Case__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); }
- (rule__Case__BodyAssignment_2)
- { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ConjunctiveExpression__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConjunctiveExpression__Group__0__Impl
- rule__ConjunctiveExpression__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); }
- ruleComparisonExpression
- { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConjunctiveExpression__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); }
- (rule__ConjunctiveExpression__Group_1__0)?
- { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ConjunctiveExpression__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConjunctiveExpression__Group_1__0__Impl
- rule__ConjunctiveExpression__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); }
- ()
- { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConjunctiveExpression__Group_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- (
- { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
- (rule__ConjunctiveExpression__Group_1_1__0)
- { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
- )
- (
- { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
- (rule__ConjunctiveExpression__Group_1_1__0)*
- { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
- )
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ConjunctiveExpression__Group_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConjunctiveExpression__Group_1_1__0__Impl
- rule__ConjunctiveExpression__Group_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); }
- ','
- { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConjunctiveExpression__Group_1_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__Group_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); }
- (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1)
- { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ComparisonExpression__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ComparisonExpression__Group__0__Impl
- rule__ComparisonExpression__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); }
- ruleAdditiveExpression
- { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ComparisonExpression__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); }
- (rule__ComparisonExpression__Group_1__0)?
- { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ComparisonExpression__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ComparisonExpression__Group_1__0__Impl
- rule__ComparisonExpression__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); }
- ()
- { after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ComparisonExpression__Group_1__1__Impl
- rule__ComparisonExpression__Group_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); }
- (rule__ComparisonExpression__OpAssignment_1_1)
- { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ComparisonExpression__Group_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__Group_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); }
- (rule__ComparisonExpression__RightAssignment_1_2)
- { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AdditiveExpression__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AdditiveExpression__Group__0__Impl
- rule__AdditiveExpression__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); }
- ruleMultiplicativeExpression
- { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AdditiveExpression__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); }
- (rule__AdditiveExpression__Group_1__0)*
- { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AdditiveExpression__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AdditiveExpression__Group_1__0__Impl
- rule__AdditiveExpression__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
- ()
- { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AdditiveExpression__Group_1__1__Impl
- rule__AdditiveExpression__Group_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); }
- (rule__AdditiveExpression__OpAssignment_1_1)
- { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AdditiveExpression__Group_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__Group_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); }
- (rule__AdditiveExpression__RightAssignment_1_2)
- { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MultiplicativeExpression__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicativeExpression__Group__0__Impl
- rule__MultiplicativeExpression__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); }
- ruleExponentialExpression
- { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicativeExpression__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); }
- (rule__MultiplicativeExpression__Group_1__0)*
- { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MultiplicativeExpression__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicativeExpression__Group_1__0__Impl
- rule__MultiplicativeExpression__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
- ()
- { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicativeExpression__Group_1__1__Impl
- rule__MultiplicativeExpression__Group_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); }
- (rule__MultiplicativeExpression__OpAssignment_1_1)
- { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicativeExpression__Group_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__Group_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); }
- (rule__MultiplicativeExpression__RightAssignment_1_2)
- { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ExponentialExpression__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExponentialExpression__Group__0__Impl
- rule__ExponentialExpression__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); }
- ruleUnaryExpression
- { after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExponentialExpression__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); }
- (rule__ExponentialExpression__Group_1__0)?
- { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ExponentialExpression__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExponentialExpression__Group_1__0__Impl
- rule__ExponentialExpression__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
- ()
- { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExponentialExpression__Group_1__1__Impl
- rule__ExponentialExpression__Group_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); }
- (rule__ExponentialExpression__OpAssignment_1_1)
- { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExponentialExpression__Group_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__Group_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); }
- (rule__ExponentialExpression__RightAssignment_1_2)
- { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__UnaryExpression__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnaryExpression__Group_1__0__Impl
- rule__UnaryExpression__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); }
- ()
- { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnaryExpression__Group_1__1__Impl
- rule__UnaryExpression__Group_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); }
- (rule__UnaryExpression__OpAssignment_1_1)
- { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__Group_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__UnaryExpression__Group_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__Group_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); }
- (rule__UnaryExpression__BodyAssignment_1_2)
- { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Count__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Count__Group__0__Impl
- rule__Count__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCountAccess().getCountKeyword_0()); }
- 'count'
- { after(grammarAccess.getCountAccess().getCountKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Count__Group__1__Impl
- rule__Count__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); }
- '{'
- { after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Count__Group__2__Impl
- rule__Count__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCountAccess().getBodyAssignment_2()); }
- (rule__Count__BodyAssignment_2)
- { after(grammarAccess.getCountAccess().getBodyAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Count__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); }
- '}'
- { after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Aggregation__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Aggregation__Group__0__Impl
- rule__Aggregation__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAggregationAccess().getOpAssignment_0()); }
- (rule__Aggregation__OpAssignment_0)
- { after(grammarAccess.getAggregationAccess().getOpAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Aggregation__Group__1__Impl
- rule__Aggregation__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); }
- '{'
- { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Aggregation__Group__2__Impl
- rule__Aggregation__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAggregationAccess().getBodyAssignment_2()); }
- (rule__Aggregation__BodyAssignment_2)
- { after(grammarAccess.getAggregationAccess().getBodyAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Aggregation__Group__3__Impl
- rule__Aggregation__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); }
- '|'
- { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Aggregation__Group__4__Impl
- rule__Aggregation__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); }
- (rule__Aggregation__ConditionAssignment_4)
- { after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Aggregation__Group__5__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); }
- '}'
- { after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AtomicExpression__Group_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_0__0__Impl
- rule__AtomicExpression__Group_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0()); }
- ruleReference
- { after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getGroup_0_1()); }
- (rule__AtomicExpression__Group_0_1__0)?
- { after(grammarAccess.getAtomicExpressionAccess().getGroup_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AtomicExpression__Group_0_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_0_1__0__Impl
- rule__AtomicExpression__Group_0_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_0_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0()); }
- ()
- { after(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_0_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_0_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_0_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1()); }
- (rule__AtomicExpression__ArgumentListAssignment_0_1_1)
- { after(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AtomicExpression__Group_3__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_3__0__Impl
- rule__AtomicExpression__Group_3__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_3__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0()); }
- '('
- { after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_3__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_3__1__Impl
- rule__AtomicExpression__Group_3__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_3__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1()); }
- ruleExpression
- { after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_3__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AtomicExpression__Group_3__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__Group_3__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2()); }
- ')'
- { after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Call__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Call__Group__0__Impl
- rule__Call__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCallAccess().getFunctorAssignment_0()); }
- (rule__Call__FunctorAssignment_0)
- { after(grammarAccess.getCallAccess().getFunctorAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Call__Group__1__Impl
- rule__Call__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCallAccess().getAlternatives_1()); }
- (rule__Call__Alternatives_1)?
- { after(grammarAccess.getCallAccess().getAlternatives_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Call__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); }
- (rule__Call__ArgumentListAssignment_2)
- { after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ArgumentList__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group__0__Impl
- rule__ArgumentList__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); }
- ()
- { after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group__1__Impl
- rule__ArgumentList__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); }
- '('
- { after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group__2__Impl
- rule__ArgumentList__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getGroup_2()); }
- (rule__ArgumentList__Group_2__0)?
- { after(grammarAccess.getArgumentListAccess().getGroup_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); }
- ')'
- { after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ArgumentList__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group_2__0__Impl
- rule__ArgumentList__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); }
- (rule__ArgumentList__ArgumentsAssignment_2_0)
- { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getGroup_2_1()); }
- (rule__ArgumentList__Group_2_1__0)*
- { after(grammarAccess.getArgumentListAccess().getGroup_2_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ArgumentList__Group_2_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group_2_1__0__Impl
- rule__ArgumentList__Group_2_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group_2_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); }
- ','
- { after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group_2_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ArgumentList__Group_2_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__Group_2_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); }
- (rule__ArgumentList__ArgumentsAssignment_2_1_1)
- { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__StarArgument__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__StarArgument__Group__0__Impl
- rule__StarArgument__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StarArgument__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); }
- ()
- { after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StarArgument__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__StarArgument__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StarArgument__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); }
- '*'
- { after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__TypedArgument__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__TypedArgument__Group__0__Impl
- rule__TypedArgument__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedArgument__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); }
- (rule__TypedArgument__TypeAssignment_0)
- { after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedArgument__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__TypedArgument__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedArgument__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); }
- (rule__TypedArgument__VariableAssignment_1)
- { after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__TypedStarArgument__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__TypedStarArgument__Group__0__Impl
- rule__TypedStarArgument__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedStarArgument__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); }
- (rule__TypedStarArgument__TypeAssignment_0)
- { after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedStarArgument__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__TypedStarArgument__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedStarArgument__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); }
- '*'
- { after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Interval__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Interval__Group__0__Impl
- rule__Interval__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); }
- '['
- { after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Interval__Group__1__Impl
- rule__Interval__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); }
- (rule__Interval__LowerBoundAssignment_1)
- { after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Interval__Group__2__Impl
- rule__Interval__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); }
- '..'
- { after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Interval__Group__3__Impl
- rule__Interval__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); }
- (rule__Interval__UpperBoundAssignment_3)
- { after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Interval__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); }
- ']'
- { after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__InfinityLiteral__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__InfinityLiteral__Group__0__Impl
- rule__InfinityLiteral__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__InfinityLiteral__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); }
- ()
- { after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__InfinityLiteral__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__InfinityLiteral__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__InfinityLiteral__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); }
- 'inf'
- { after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__EmptyIntervalLiteral__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__EmptyIntervalLiteral__Group__0__Impl
- rule__EmptyIntervalLiteral__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__EmptyIntervalLiteral__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); }
- ()
- { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__EmptyIntervalLiteral__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__EmptyIntervalLiteral__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__EmptyIntervalLiteral__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); }
- 'empty'
- { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ClassDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__0__Impl
- rule__ClassDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); }
- (rule__ClassDefinition__AbstractAssignment_0)?
- { after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__1__Impl
- rule__ClassDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); }
- 'class'
- { after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__2__Impl
- rule__ClassDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); }
- (rule__ClassDefinition__NameAssignment_2)
- { after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__3__Impl
- rule__ClassDefinition__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getGroup_3()); }
- (rule__ClassDefinition__Group_3__0)?
- { after(grammarAccess.getClassDefinitionAccess().getGroup_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__4__Impl
- rule__ClassDefinition__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); }
- '{'
- { after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__5__Impl
- rule__ClassDefinition__Group__6
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); }
- (rule__ClassDefinition__MembersAssignment_5)*
- { after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__6
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group__6__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group__6__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); }
- '}'
- { after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ClassDefinition__Group_3__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group_3__0__Impl
- rule__ClassDefinition__Group_3__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); }
- 'extends'
- { after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group_3__1__Impl
- rule__ClassDefinition__Group_3__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); }
- (rule__ClassDefinition__SuperclassesAssignment_3_1)
- { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group_3__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); }
- (rule__ClassDefinition__Group_3_2__0)*
- { after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ClassDefinition__Group_3_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group_3_2__0__Impl
- rule__ClassDefinition__Group_3_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); }
- ','
- { after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ClassDefinition__Group_3_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__Group_3_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); }
- (rule__ClassDefinition__SuperclassesAssignment_3_2_1)
- { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MemberDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group__0__Impl
- rule__MemberDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); }
- (rule__MemberDefinition__ContainmentAssignment_0)?
- { after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group__1__Impl
- rule__MemberDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); }
- (rule__MemberDefinition__TypeAssignment_1)
- { after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group__2__Impl
- rule__MemberDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); }
- (rule__MemberDefinition__MultiplicityAssignment_2)?
- { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group__3__Impl
- rule__MemberDefinition__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); }
- (rule__MemberDefinition__NameAssignment_3)
- { after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group__4__Impl
- rule__MemberDefinition__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); }
- (rule__MemberDefinition__Group_4__0)?
- { after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group__5__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); }
- (';')?
- { after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MemberDefinition__Group_4__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group_4__0__Impl
- rule__MemberDefinition__Group_4__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group_4__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); }
- 'opposite'
- { after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group_4__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MemberDefinition__Group_4__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__Group_4__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); }
- (rule__MemberDefinition__OppositeAssignment_4_1)
- { after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ManyMultiplicity__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ManyMultiplicity__Group__0__Impl
- rule__ManyMultiplicity__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ManyMultiplicity__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); }
- ()
- { after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ManyMultiplicity__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ManyMultiplicity__Group__1__Impl
- rule__ManyMultiplicity__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ManyMultiplicity__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); }
- '['
- { after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ManyMultiplicity__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ManyMultiplicity__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ManyMultiplicity__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); }
- ']'
- { after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ExactMultiplicity__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactMultiplicity__Group__0__Impl
- rule__ExactMultiplicity__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactMultiplicity__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
- '['
- { after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactMultiplicity__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactMultiplicity__Group__1__Impl
- rule__ExactMultiplicity__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactMultiplicity__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); }
- (rule__ExactMultiplicity__MultiplicityAssignment_1)
- { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactMultiplicity__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactMultiplicity__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactMultiplicity__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); }
- ']'
- { after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BoundedMultiplicity__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedMultiplicity__Group__0__Impl
- rule__BoundedMultiplicity__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
- '['
- { after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedMultiplicity__Group__1__Impl
- rule__BoundedMultiplicity__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); }
- (rule__BoundedMultiplicity__LowerBoundAssignment_1)
- { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedMultiplicity__Group__2__Impl
- rule__BoundedMultiplicity__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); }
- '..'
- { after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedMultiplicity__Group__3__Impl
- rule__BoundedMultiplicity__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); }
- (rule__BoundedMultiplicity__UpperBoundAssignment_3)
- { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedMultiplicity__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); }
- ']'
- { after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ExactScopeDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactScopeDefinition__Group__0__Impl
- rule__ExactScopeDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); }
- 'scope'
- { after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactScopeDefinition__Group__1__Impl
- rule__ExactScopeDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); }
- (rule__ExactScopeDefinition__TypeAssignment_1)
- { after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactScopeDefinition__Group__2__Impl
- rule__ExactScopeDefinition__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); }
- '=='
- { after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ExactScopeDefinition__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); }
- (rule__ExactScopeDefinition__ExactScopeAssignment_3)
- { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BoundedScopeDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group__0__Impl
- rule__BoundedScopeDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
- 'scope'
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group__1__Impl
- rule__BoundedScopeDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); }
- (rule__BoundedScopeDefinition__Alternatives_1)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2()); }
- '.'
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BoundedScopeDefinition__Group_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_0__0__Impl
- rule__BoundedScopeDefinition__Group_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); }
- (rule__BoundedScopeDefinition__Group_1_0_0__0)?
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_0__1__Impl
- rule__BoundedScopeDefinition__Group_1_0__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); }
- (rule__BoundedScopeDefinition__TypeAssignment_1_0_1)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_0__2__Impl
- rule__BoundedScopeDefinition__Group_1_0__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); }
- '<='
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_0__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); }
- (rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BoundedScopeDefinition__Group_1_0_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_0_0__0__Impl
- rule__BoundedScopeDefinition__Group_1_0_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); }
- (rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_0_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_0_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); }
- '<='
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BoundedScopeDefinition__Group_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_1__0__Impl
- rule__BoundedScopeDefinition__Group_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); }
- (rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_1__1__Impl
- rule__BoundedScopeDefinition__Group_1_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
- '>='
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_1__2__Impl
- rule__BoundedScopeDefinition__Group_1_1__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); }
- (rule__BoundedScopeDefinition__TypeAssignment_1_1_2)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_1__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); }
- (rule__BoundedScopeDefinition__Group_1_1_3__0)?
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BoundedScopeDefinition__Group_1_1_3__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_1_3__0__Impl
- rule__BoundedScopeDefinition__Group_1_1_3__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1_3__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); }
- '>='
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1_3__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BoundedScopeDefinition__Group_1_1_3__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__Group_1_1_3__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); }
- (rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1)
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__LowerBoundedScopeDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group__0__Impl
- rule__LowerBoundedScopeDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
- 'scope'
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group__1__Impl
- rule__LowerBoundedScopeDefinition__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); }
- (rule__LowerBoundedScopeDefinition__Alternatives_1)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2()); }
- '.'
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__LowerBoundedScopeDefinition__Group_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl
- rule__LowerBoundedScopeDefinition__Group_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); }
- (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl
- rule__LowerBoundedScopeDefinition__Group_1_0__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); }
- '<='
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_0__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); }
- (rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__LowerBoundedScopeDefinition__Group_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl
- rule__LowerBoundedScopeDefinition__Group_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); }
- (rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl
- rule__LowerBoundedScopeDefinition__Group_1_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
- '>='
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); }
- (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2)
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ObjectiveDefinition__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ObjectiveDefinition__Group__0__Impl
- rule__ObjectiveDefinition__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ObjectiveDefinition__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); }
- (rule__ObjectiveDefinition__KindAssignment_0)
- { after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ObjectiveDefinition__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ObjectiveDefinition__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ObjectiveDefinition__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); }
- (rule__ObjectiveDefinition__ObjectiveAssignment_1)
- { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Real__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Real__Group__0__Impl
- rule__Real__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); }
- RULE_INT
- { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Real__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getRealAccess().getGroup_1()); }
- (rule__Real__Group_1__0)?
- { after(grammarAccess.getRealAccess().getGroup_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Real__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Real__Group_1__0__Impl
- rule__Real__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); }
- '.'
- { after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Real__Group_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); }
- RULE_INT
- { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__QualifiedName__Group_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group_0__0__Impl
- rule__QualifiedName__Group_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); }
- RULE_ID
- { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); }
- (rule__QualifiedName__Group_0_1__0)*
- { after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__QualifiedName__Group_0_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group_0_1__0__Impl
- rule__QualifiedName__Group_0_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group_0_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); }
- '.'
- { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group_0_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group_0_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group_0_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
- { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); }
- RULE_ID
- { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); }
-)
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Problem__StatementsAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); }
- ruleStatement
- { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__RangeAssignment_1_0_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); }
- ruleExpression
- { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__BodyAssignment_1_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); }
- ruleExpression
- { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AssertionOrDefinition__BodyAssignment_1_2_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); }
- ruleExpression
- { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__FunctionalAssignment_0_0_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
- 'functional'
- { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
- )
- { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__ErrorAssignment_0_0_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
- 'error'
- { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
- )
- { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__ErrorAssignment_0_1_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
- 'error'
- { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
- )
- { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__FunctionalAssignment_0_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
- 'functional'
- { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
- )
- { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__HeadAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
- ruleCall
- { after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PredicateDefinition__BodyAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
- ruleExpression
- { after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); }
- ruleArgumentList
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnnamedErrorPrediateDefinition__BodyAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
- ruleExpression
- { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__HeadAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
- ruleCall
- { after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultDefinition__RangeAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); }
- ruleExpression
- { after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternPredicateDefinition__HeadAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
- ruleCall
- { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__TypeAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); }
- ruleMetricType
- { after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__HeadAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); }
- ruleExpression
- { after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MetricDefinition__BodyAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
- ruleExpression
- { after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__TypeAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); }
- ruleMetricType
- { after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExternMetricDefinition__HeadAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); }
- ruleCall
- { after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__ConditionAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); }
- ruleExpression
- { after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__ThenAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); }
- ruleExpression
- { after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IfElse__ElseAssignment_5
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); }
- ruleExpression
- { after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); }
- ruleConjunctiveExpression
- { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__BodyAssignment_1_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); }
- ruleConjunctiveExpression
- { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DisjunctiveExpression__CasesAssignment_1_1_4_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); }
- ruleCase
- { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__ConditionAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); }
- ruleConjunctiveExpression
- { after(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Case__BodyAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); }
- ruleConjunctiveExpression
- { after(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConjunctiveExpression__ChildrenAssignment_1_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); }
- ruleComparisonExpression
- { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__OpAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); }
- ruleComparisonOperator
- { after(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ComparisonExpression__RightAssignment_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); }
- ruleAdditiveExpression
- { after(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__OpAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); }
- ruleAdditiveBinaryOperator
- { after(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AdditiveExpression__RightAssignment_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); }
- ruleMultiplicativeExpression
- { after(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__OpAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); }
- ruleMultiplicativeBinaryOperator
- { after(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicativeExpression__RightAssignment_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
- ruleExponentialExpression
- { after(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__OpAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); }
- ruleExponentialOp
- { after(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExponentialExpression__RightAssignment_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
- ruleExponentialExpression
- { after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__OpAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); }
- ruleUnaryOp
- { after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnaryExpression__BodyAssignment_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); }
- ruleAggregationExpression
- { after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Count__BodyAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); }
- ruleExpression
- { after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__OpAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); }
- ruleAggregationOp
- { after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__BodyAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); }
- ruleExpression
- { after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Aggregation__ConditionAssignment_4
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); }
- ruleExpression
- { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AtomicExpression__ArgumentListAssignment_0_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0()); }
- ruleArgumentList
- { after(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__FunctorAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); }
- ruleReference
- { after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__TransitiveClosureAssignment_1_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0()); }
- RULE_STAR
- { after(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__ReflexiveTransitiveClosureAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0()); }
- RULE_PLUS
- { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Call__ArgumentListAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); }
- ruleArgumentList
- { after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__ArgumentsAssignment_2_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); }
- ruleArgument
- { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ArgumentList__ArgumentsAssignment_2_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); }
- ruleArgument
- { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExpressionArgument__BodyAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); }
- ruleComparisonExpression
- { after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedArgument__TypeAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
- (
- { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
- )
- { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedArgument__VariableAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); }
- (
- { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); }
- )
- { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypedStarArgument__TypeAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
- (
- { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
- )
- { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Reference__ReferredAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); }
- (
- { before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); }
- )
- { after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__LowerBoundAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); }
- ruleExpression
- { after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Interval__UpperBoundAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); }
- ruleExpression
- { after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LogicLiteral__ValueAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); }
- ruleLogicValue
- { after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NumericLiteral__ValueAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); }
- ruleReal
- { after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StringLiteral__ValueAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); }
- RULE_STRING
- { after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__AbstractAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
- (
- { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
- 'abstract'
- { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
- )
- { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__NameAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); }
- RULE_ID
- { after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__SuperclassesAssignment_3_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); }
- (
- { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); }
- )
- { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__SuperclassesAssignment_3_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); }
- (
- { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); }
- )
- { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ClassDefinition__MembersAssignment_5
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); }
- ruleMemberDefinition
- { after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__ContainmentAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
- (
- { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
- 'contains'
- { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
- )
- { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__TypeAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
- (
- { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
- )
- { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__MultiplicityAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); }
- ruleMultiplicity
- { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__NameAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); }
- RULE_ID
- { after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MemberDefinition__OppositeAssignment_4_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); }
- (
- { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); }
- )
- { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactMultiplicity__MultiplicityAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); }
- ruleUpperMultiplicty
- { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__LowerBoundAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); }
- RULE_INT
- { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedMultiplicity__UpperBoundAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); }
- ruleUpperMultiplicty
- { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__TypeAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
- (
- { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
- )
- { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ExactScopeDefinition__ExactScopeAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); }
- RULE_INT
- { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); }
- RULE_INT
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__TypeAssignment_1_0_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); }
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); }
- )
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); }
- RULE_INT
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); }
- RULE_INT
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__TypeAssignment_1_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); }
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); }
- )
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); }
- RULE_INT
- { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); }
- RULE_INT
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); }
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); }
- )
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); }
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); }
- ruleQualifiedName
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); }
- )
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); }
- RULE_INT
- { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ObjectiveDefinition__KindAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); }
- ruleObjectiveKind
- { after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ObjectiveDefinition__ObjectiveAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
- (
- { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); }
- ruleExpression
- { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); }
- )
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"';
-
-RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\'';
-
-RULE_PLUS : 'synthetic::plus';
-
-RULE_STAR : 'synthetic::star';
-
-RULE_DOT : 'synthetic::dot';
-
-RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.tokens
deleted file mode 100644
index f5b014ff..00000000
--- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguage.tokens
+++ /dev/null
@@ -1,131 +0,0 @@
-'!'=29
-'!='=20
-'('=61
-')'=62
-'*'=16
-'+'=26
-','=56
-'-'=27
-'->'=55
-'.'=50
-'..'=64
-'/'=28
-':'=45
-':-'=46
-';'=54
-'<'=21
-'<='=22
-'='=47
-'=='=19
-'>'=23
-'>='=24
-'['=63
-']'=65
-'^'=15
-'abstract'=73
-'avg'=36
-'class'=68
-'contains'=74
-'count'=57
-'current'=32
-'default'=48
-'else'=53
-'empty'=67
-'error'=42
-'extends'=69
-'extern'=49
-'false'=40
-'functional'=72
-'if'=51
-'in'=25
-'inf'=66
-'int'=17
-'max'=38
-'maximize'=44
-'may'=30
-'min'=37
-'minimize'=43
-'must'=31
-'only'=33
-'opposite'=70
-'prod'=35
-'real'=18
-'scope'=71
-'sum'=34
-'then'=52
-'true'=39
-'unknown'=41
-'{'=58
-'|'=60
-'}'=59
-RULE_ANY_OTHER=14
-RULE_DOT=6
-RULE_ID=7
-RULE_INT=4
-RULE_ML_COMMENT=11
-RULE_PLUS=9
-RULE_QUOTED_ID=5
-RULE_SL_COMMENT=12
-RULE_STAR=8
-RULE_STRING=10
-RULE_WS=13
-T__15=15
-T__16=16
-T__17=17
-T__18=18
-T__19=19
-T__20=20
-T__21=21
-T__22=22
-T__23=23
-T__24=24
-T__25=25
-T__26=26
-T__27=27
-T__28=28
-T__29=29
-T__30=30
-T__31=31
-T__32=32
-T__33=33
-T__34=34
-T__35=35
-T__36=36
-T__37=37
-T__38=38
-T__39=39
-T__40=40
-T__41=41
-T__42=42
-T__43=43
-T__44=44
-T__45=45
-T__46=46
-T__47=47
-T__48=48
-T__49=49
-T__50=50
-T__51=51
-T__52=52
-T__53=53
-T__54=54
-T__55=55
-T__56=56
-T__57=57
-T__58=58
-T__59=59
-T__60=60
-T__61=61
-T__62=62
-T__63=63
-T__64=64
-T__65=65
-T__66=66
-T__67=67
-T__68=68
-T__69=69
-T__70=70
-T__71=71
-T__72=72
-T__73=73
-T__74=74
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageLexer.java
deleted file mode 100644
index 1c226c96..00000000
--- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageLexer.java
+++ /dev/null
@@ -1,2805 +0,0 @@
-package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
-
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
-@SuppressWarnings("all")
-public class InternalSolverLanguageLexer extends Lexer {
- public static final int T__50=50;
- public static final int T__19=19;
- public static final int T__15=15;
- public static final int T__59=59;
- public static final int T__16=16;
- public static final int T__17=17;
- public static final int T__18=18;
- public static final int T__55=55;
- public static final int T__56=56;
- public static final int T__57=57;
- public static final int T__58=58;
- public static final int T__51=51;
- public static final int RULE_STAR=8;
- public static final int T__52=52;
- public static final int T__53=53;
- public static final int T__54=54;
- public static final int T__60=60;
- public static final int T__61=61;
- public static final int RULE_ID=7;
- public static final int RULE_QUOTED_ID=5;
- public static final int T__26=26;
- public static final int T__27=27;
- public static final int T__28=28;
- public static final int RULE_INT=4;
- public static final int T__29=29;
- public static final int T__22=22;
- public static final int T__66=66;
- public static final int RULE_ML_COMMENT=11;
- public static final int T__23=23;
- public static final int T__67=67;
- public static final int T__24=24;
- public static final int T__68=68;
- public static final int T__25=25;
- public static final int T__69=69;
- public static final int T__62=62;
- public static final int T__63=63;
- public static final int T__20=20;
- public static final int T__64=64;
- public static final int T__21=21;
- public static final int T__65=65;
- public static final int T__70=70;
- public static final int T__71=71;
- public static final int T__72=72;
- public static final int RULE_STRING=10;
- public static final int RULE_SL_COMMENT=12;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int RULE_PLUS=9;
- public static final int T__36=36;
- public static final int T__73=73;
- public static final int RULE_DOT=6;
- public static final int EOF=-1;
- public static final int T__30=30;
- public static final int T__74=74;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_WS=13;
- public static final int RULE_ANY_OTHER=14;
- public static final int T__48=48;
- public static final int T__49=49;
- public static final int T__44=44;
- public static final int T__45=45;
- public static final int T__46=46;
- public static final int T__47=47;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__42=42;
- public static final int T__43=43;
-
- // delegates
- // delegators
-
- public InternalSolverLanguageLexer() {;}
- public InternalSolverLanguageLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
- public InternalSolverLanguageLexer(CharStream input, RecognizerSharedState state) {
- super(input,state);
-
- }
- public String getGrammarFileName() { return "InternalSolverLanguage.g"; }
-
- // $ANTLR start "T__15"
- public final void mT__15() throws RecognitionException {
- try {
- int _type = T__15;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:11:7: ( '^' )
- // InternalSolverLanguage.g:11:9: '^'
- {
- match('^');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__15"
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:12:7: ( '*' )
- // InternalSolverLanguage.g:12:9: '*'
- {
- match('*');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:13:7: ( 'int' )
- // InternalSolverLanguage.g:13:9: 'int'
- {
- match("int");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:14:7: ( 'real' )
- // InternalSolverLanguage.g:14:9: 'real'
- {
- match("real");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:15:7: ( '==' )
- // InternalSolverLanguage.g:15:9: '=='
- {
- match("==");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:16:7: ( '!=' )
- // InternalSolverLanguage.g:16:9: '!='
- {
- match("!=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:17:7: ( '<' )
- // InternalSolverLanguage.g:17:9: '<'
- {
- match('<');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:18:7: ( '<=' )
- // InternalSolverLanguage.g:18:9: '<='
- {
- match("<=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:19:7: ( '>' )
- // InternalSolverLanguage.g:19:9: '>'
- {
- match('>');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:20:7: ( '>=' )
- // InternalSolverLanguage.g:20:9: '>='
- {
- match(">=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:21:7: ( 'in' )
- // InternalSolverLanguage.g:21:9: 'in'
- {
- match("in");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:22:7: ( '+' )
- // InternalSolverLanguage.g:22:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:23:7: ( '-' )
- // InternalSolverLanguage.g:23:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:24:7: ( '/' )
- // InternalSolverLanguage.g:24:9: '/'
- {
- match('/');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:25:7: ( '!' )
- // InternalSolverLanguage.g:25:9: '!'
- {
- match('!');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:26:7: ( 'may' )
- // InternalSolverLanguage.g:26:9: 'may'
- {
- match("may");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:27:7: ( 'must' )
- // InternalSolverLanguage.g:27:9: 'must'
- {
- match("must");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:28:7: ( 'current' )
- // InternalSolverLanguage.g:28:9: 'current'
- {
- match("current");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:29:7: ( 'only' )
- // InternalSolverLanguage.g:29:9: 'only'
- {
- match("only");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:30:7: ( 'sum' )
- // InternalSolverLanguage.g:30:9: 'sum'
- {
- match("sum");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:31:7: ( 'prod' )
- // InternalSolverLanguage.g:31:9: 'prod'
- {
- match("prod");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:32:7: ( 'avg' )
- // InternalSolverLanguage.g:32:9: 'avg'
- {
- match("avg");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__36"
-
- // $ANTLR start "T__37"
- public final void mT__37() throws RecognitionException {
- try {
- int _type = T__37;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:33:7: ( 'min' )
- // InternalSolverLanguage.g:33:9: 'min'
- {
- match("min");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:34:7: ( 'max' )
- // InternalSolverLanguage.g:34:9: 'max'
- {
- match("max");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__38"
-
- // $ANTLR start "T__39"
- public final void mT__39() throws RecognitionException {
- try {
- int _type = T__39;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:35:7: ( 'true' )
- // InternalSolverLanguage.g:35:9: 'true'
- {
- match("true");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__39"
-
- // $ANTLR start "T__40"
- public final void mT__40() throws RecognitionException {
- try {
- int _type = T__40;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:36:7: ( 'false' )
- // InternalSolverLanguage.g:36:9: 'false'
- {
- match("false");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__40"
-
- // $ANTLR start "T__41"
- public final void mT__41() throws RecognitionException {
- try {
- int _type = T__41;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:37:7: ( 'unknown' )
- // InternalSolverLanguage.g:37:9: 'unknown'
- {
- match("unknown");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__41"
-
- // $ANTLR start "T__42"
- public final void mT__42() throws RecognitionException {
- try {
- int _type = T__42;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:38:7: ( 'error' )
- // InternalSolverLanguage.g:38:9: 'error'
- {
- match("error");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__42"
-
- // $ANTLR start "T__43"
- public final void mT__43() throws RecognitionException {
- try {
- int _type = T__43;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:39:7: ( 'minimize' )
- // InternalSolverLanguage.g:39:9: 'minimize'
- {
- match("minimize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__43"
-
- // $ANTLR start "T__44"
- public final void mT__44() throws RecognitionException {
- try {
- int _type = T__44;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:40:7: ( 'maximize' )
- // InternalSolverLanguage.g:40:9: 'maximize'
- {
- match("maximize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__44"
-
- // $ANTLR start "T__45"
- public final void mT__45() throws RecognitionException {
- try {
- int _type = T__45;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:41:7: ( ':' )
- // InternalSolverLanguage.g:41:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__45"
-
- // $ANTLR start "T__46"
- public final void mT__46() throws RecognitionException {
- try {
- int _type = T__46;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:42:7: ( ':-' )
- // InternalSolverLanguage.g:42:9: ':-'
- {
- match(":-");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__46"
-
- // $ANTLR start "T__47"
- public final void mT__47() throws RecognitionException {
- try {
- int _type = T__47;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:43:7: ( '=' )
- // InternalSolverLanguage.g:43:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__47"
-
- // $ANTLR start "T__48"
- public final void mT__48() throws RecognitionException {
- try {
- int _type = T__48;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:44:7: ( 'default' )
- // InternalSolverLanguage.g:44:9: 'default'
- {
- match("default");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__48"
-
- // $ANTLR start "T__49"
- public final void mT__49() throws RecognitionException {
- try {
- int _type = T__49;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:45:7: ( 'extern' )
- // InternalSolverLanguage.g:45:9: 'extern'
- {
- match("extern");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__49"
-
- // $ANTLR start "T__50"
- public final void mT__50() throws RecognitionException {
- try {
- int _type = T__50;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:46:7: ( '.' )
- // InternalSolverLanguage.g:46:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__50"
-
- // $ANTLR start "T__51"
- public final void mT__51() throws RecognitionException {
- try {
- int _type = T__51;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:47:7: ( 'if' )
- // InternalSolverLanguage.g:47:9: 'if'
- {
- match("if");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__51"
-
- // $ANTLR start "T__52"
- public final void mT__52() throws RecognitionException {
- try {
- int _type = T__52;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:48:7: ( 'then' )
- // InternalSolverLanguage.g:48:9: 'then'
- {
- match("then");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__52"
-
- // $ANTLR start "T__53"
- public final void mT__53() throws RecognitionException {
- try {
- int _type = T__53;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:49:7: ( 'else' )
- // InternalSolverLanguage.g:49:9: 'else'
- {
- match("else");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__53"
-
- // $ANTLR start "T__54"
- public final void mT__54() throws RecognitionException {
- try {
- int _type = T__54;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:50:7: ( ';' )
- // InternalSolverLanguage.g:50:9: ';'
- {
- match(';');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__54"
-
- // $ANTLR start "T__55"
- public final void mT__55() throws RecognitionException {
- try {
- int _type = T__55;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:51:7: ( '->' )
- // InternalSolverLanguage.g:51:9: '->'
- {
- match("->");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__55"
-
- // $ANTLR start "T__56"
- public final void mT__56() throws RecognitionException {
- try {
- int _type = T__56;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:52:7: ( ',' )
- // InternalSolverLanguage.g:52:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__56"
-
- // $ANTLR start "T__57"
- public final void mT__57() throws RecognitionException {
- try {
- int _type = T__57;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:53:7: ( 'count' )
- // InternalSolverLanguage.g:53:9: 'count'
- {
- match("count");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__57"
-
- // $ANTLR start "T__58"
- public final void mT__58() throws RecognitionException {
- try {
- int _type = T__58;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:54:7: ( '{' )
- // InternalSolverLanguage.g:54:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__58"
-
- // $ANTLR start "T__59"
- public final void mT__59() throws RecognitionException {
- try {
- int _type = T__59;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:55:7: ( '}' )
- // InternalSolverLanguage.g:55:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__59"
-
- // $ANTLR start "T__60"
- public final void mT__60() throws RecognitionException {
- try {
- int _type = T__60;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:56:7: ( '|' )
- // InternalSolverLanguage.g:56:9: '|'
- {
- match('|');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__60"
-
- // $ANTLR start "T__61"
- public final void mT__61() throws RecognitionException {
- try {
- int _type = T__61;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:57:7: ( '(' )
- // InternalSolverLanguage.g:57:9: '('
- {
- match('(');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__61"
-
- // $ANTLR start "T__62"
- public final void mT__62() throws RecognitionException {
- try {
- int _type = T__62;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:58:7: ( ')' )
- // InternalSolverLanguage.g:58:9: ')'
- {
- match(')');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__62"
-
- // $ANTLR start "T__63"
- public final void mT__63() throws RecognitionException {
- try {
- int _type = T__63;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:59:7: ( '[' )
- // InternalSolverLanguage.g:59:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__63"
-
- // $ANTLR start "T__64"
- public final void mT__64() throws RecognitionException {
- try {
- int _type = T__64;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:60:7: ( '..' )
- // InternalSolverLanguage.g:60:9: '..'
- {
- match("..");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__64"
-
- // $ANTLR start "T__65"
- public final void mT__65() throws RecognitionException {
- try {
- int _type = T__65;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:61:7: ( ']' )
- // InternalSolverLanguage.g:61:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__65"
-
- // $ANTLR start "T__66"
- public final void mT__66() throws RecognitionException {
- try {
- int _type = T__66;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:62:7: ( 'inf' )
- // InternalSolverLanguage.g:62:9: 'inf'
- {
- match("inf");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__66"
-
- // $ANTLR start "T__67"
- public final void mT__67() throws RecognitionException {
- try {
- int _type = T__67;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:63:7: ( 'empty' )
- // InternalSolverLanguage.g:63:9: 'empty'
- {
- match("empty");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__67"
-
- // $ANTLR start "T__68"
- public final void mT__68() throws RecognitionException {
- try {
- int _type = T__68;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:64:7: ( 'class' )
- // InternalSolverLanguage.g:64:9: 'class'
- {
- match("class");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__68"
-
- // $ANTLR start "T__69"
- public final void mT__69() throws RecognitionException {
- try {
- int _type = T__69;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:65:7: ( 'extends' )
- // InternalSolverLanguage.g:65:9: 'extends'
- {
- match("extends");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__69"
-
- // $ANTLR start "T__70"
- public final void mT__70() throws RecognitionException {
- try {
- int _type = T__70;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:66:7: ( 'opposite' )
- // InternalSolverLanguage.g:66:9: 'opposite'
- {
- match("opposite");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__70"
-
- // $ANTLR start "T__71"
- public final void mT__71() throws RecognitionException {
- try {
- int _type = T__71;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:67:7: ( 'scope' )
- // InternalSolverLanguage.g:67:9: 'scope'
- {
- match("scope");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__71"
-
- // $ANTLR start "T__72"
- public final void mT__72() throws RecognitionException {
- try {
- int _type = T__72;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:68:7: ( 'functional' )
- // InternalSolverLanguage.g:68:9: 'functional'
- {
- match("functional");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__72"
-
- // $ANTLR start "T__73"
- public final void mT__73() throws RecognitionException {
- try {
- int _type = T__73;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:69:7: ( 'abstract' )
- // InternalSolverLanguage.g:69:9: 'abstract'
- {
- match("abstract");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__73"
-
- // $ANTLR start "T__74"
- public final void mT__74() throws RecognitionException {
- try {
- int _type = T__74;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:70:7: ( 'contains' )
- // InternalSolverLanguage.g:70:9: 'contains'
- {
- match("contains");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__74"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9118:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // InternalSolverLanguage.g:9118:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // InternalSolverLanguage.g:9118:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
- loop1:
- do {
- int alt1=3;
- int LA1_0 = input.LA(1);
-
- if ( (LA1_0=='\\') ) {
- alt1=1;
- }
- else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) {
- alt1=2;
- }
-
-
- switch (alt1) {
- case 1 :
- // InternalSolverLanguage.g:9118:20: '\\\\' .
- {
- match('\\');
- matchAny();
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:9118:27: ~ ( ( '\\\\' | '\"' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop1;
- }
- } while (true);
-
- match('\"');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_QUOTED_ID"
- public final void mRULE_QUOTED_ID() throws RecognitionException {
- try {
- int _type = RULE_QUOTED_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9120:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- // InternalSolverLanguage.g:9120:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
- {
- match('\'');
- // InternalSolverLanguage.g:9120:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop2:
- do {
- int alt2=3;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0=='\\') ) {
- alt2=1;
- }
- else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) {
- alt2=2;
- }
-
-
- switch (alt2) {
- case 1 :
- // InternalSolverLanguage.g:9120:24: '\\\\' .
- {
- match('\\');
- matchAny();
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:9120:31: ~ ( ( '\\\\' | '\\'' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop2;
- }
- } while (true);
-
- match('\'');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_QUOTED_ID"
-
- // $ANTLR start "RULE_PLUS"
- public final void mRULE_PLUS() throws RecognitionException {
- try {
- int _type = RULE_PLUS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9122:11: ( 'synthetic::plus' )
- // InternalSolverLanguage.g:9122:13: 'synthetic::plus'
- {
- match("synthetic::plus");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_PLUS"
-
- // $ANTLR start "RULE_STAR"
- public final void mRULE_STAR() throws RecognitionException {
- try {
- int _type = RULE_STAR;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9124:11: ( 'synthetic::star' )
- // InternalSolverLanguage.g:9124:13: 'synthetic::star'
- {
- match("synthetic::star");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_STAR"
-
- // $ANTLR start "RULE_DOT"
- public final void mRULE_DOT() throws RecognitionException {
- try {
- int _type = RULE_DOT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9126:10: ( 'synthetic::dot' )
- // InternalSolverLanguage.g:9126:12: 'synthetic::dot'
- {
- match("synthetic::dot");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_DOT"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9128:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalSolverLanguage.g:9128:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- // InternalSolverLanguage.g:9128:11: ( '^' )?
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0=='^') ) {
- alt3=1;
- }
- switch (alt3) {
- case 1 :
- // InternalSolverLanguage.g:9128:11: '^'
- {
- match('^');
-
- }
- break;
-
- }
-
- if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
- // InternalSolverLanguage.g:9128:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
- do {
- int alt4=2;
- int LA4_0 = input.LA(1);
-
- if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
- alt4=1;
- }
-
-
- switch (alt4) {
- case 1 :
- // InternalSolverLanguage.g:
- {
- if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop4;
- }
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9130:10: ( ( '0' .. '9' )+ )
- // InternalSolverLanguage.g:9130:12: ( '0' .. '9' )+
- {
- // InternalSolverLanguage.g:9130:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
- do {
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( ((LA5_0>='0' && LA5_0<='9')) ) {
- alt5=1;
- }
-
-
- switch (alt5) {
- case 1 :
- // InternalSolverLanguage.g:9130:13: '0' .. '9'
- {
- matchRange('0','9');
-
- }
- break;
-
- default :
- if ( cnt5 >= 1 ) break loop5;
- EarlyExitException eee =
- new EarlyExitException(5, input);
- throw eee;
- }
- cnt5++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9132:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalSolverLanguage.g:9132:19: '/*' ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- // InternalSolverLanguage.g:9132:24: ( options {greedy=false; } : . )*
- loop6:
- do {
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( (LA6_0=='*') ) {
- int LA6_1 = input.LA(2);
-
- if ( (LA6_1=='/') ) {
- alt6=2;
- }
- else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) {
- alt6=1;
- }
-
-
- }
- else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) {
- alt6=1;
- }
-
-
- switch (alt6) {
- case 1 :
- // InternalSolverLanguage.g:9132:52: .
- {
- matchAny();
-
- }
- break;
-
- default :
- break loop6;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9134:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalSolverLanguage.g:9134:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // InternalSolverLanguage.g:9134:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop7:
- do {
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) {
- alt7=1;
- }
-
-
- switch (alt7) {
- case 1 :
- // InternalSolverLanguage.g:9134:24: ~ ( ( '\\n' | '\\r' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop7;
- }
- } while (true);
-
- // InternalSolverLanguage.g:9134:40: ( ( '\\r' )? '\\n' )?
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0=='\n'||LA9_0=='\r') ) {
- alt9=1;
- }
- switch (alt9) {
- case 1 :
- // InternalSolverLanguage.g:9134:41: ( '\\r' )? '\\n'
- {
- // InternalSolverLanguage.g:9134:41: ( '\\r' )?
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0=='\r') ) {
- alt8=1;
- }
- switch (alt8) {
- case 1 :
- // InternalSolverLanguage.g:9134:41: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9136:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalSolverLanguage.g:9136:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // InternalSolverLanguage.g:9136:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt10=0;
- loop10:
- do {
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {
- alt10=1;
- }
-
-
- switch (alt10) {
- case 1 :
- // InternalSolverLanguage.g:
- {
- if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- if ( cnt10 >= 1 ) break loop10;
- EarlyExitException eee =
- new EarlyExitException(10, input);
- throw eee;
- }
- cnt10++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:9138:16: ( . )
- // InternalSolverLanguage.g:9138:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ANY_OTHER"
-
- public void mTokens() throws RecognitionException {
- // InternalSolverLanguage.g:1:8: ( T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | RULE_STRING | RULE_QUOTED_ID | RULE_PLUS | RULE_STAR | RULE_DOT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt11=71;
- alt11 = dfa11.predict(input);
- switch (alt11) {
- case 1 :
- // InternalSolverLanguage.g:1:10: T__15
- {
- mT__15();
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:1:16: T__16
- {
- mT__16();
-
- }
- break;
- case 3 :
- // InternalSolverLanguage.g:1:22: T__17
- {
- mT__17();
-
- }
- break;
- case 4 :
- // InternalSolverLanguage.g:1:28: T__18
- {
- mT__18();
-
- }
- break;
- case 5 :
- // InternalSolverLanguage.g:1:34: T__19
- {
- mT__19();
-
- }
- break;
- case 6 :
- // InternalSolverLanguage.g:1:40: T__20
- {
- mT__20();
-
- }
- break;
- case 7 :
- // InternalSolverLanguage.g:1:46: T__21
- {
- mT__21();
-
- }
- break;
- case 8 :
- // InternalSolverLanguage.g:1:52: T__22
- {
- mT__22();
-
- }
- break;
- case 9 :
- // InternalSolverLanguage.g:1:58: T__23
- {
- mT__23();
-
- }
- break;
- case 10 :
- // InternalSolverLanguage.g:1:64: T__24
- {
- mT__24();
-
- }
- break;
- case 11 :
- // InternalSolverLanguage.g:1:70: T__25
- {
- mT__25();
-
- }
- break;
- case 12 :
- // InternalSolverLanguage.g:1:76: T__26
- {
- mT__26();
-
- }
- break;
- case 13 :
- // InternalSolverLanguage.g:1:82: T__27
- {
- mT__27();
-
- }
- break;
- case 14 :
- // InternalSolverLanguage.g:1:88: T__28
- {
- mT__28();
-
- }
- break;
- case 15 :
- // InternalSolverLanguage.g:1:94: T__29
- {
- mT__29();
-
- }
- break;
- case 16 :
- // InternalSolverLanguage.g:1:100: T__30
- {
- mT__30();
-
- }
- break;
- case 17 :
- // InternalSolverLanguage.g:1:106: T__31
- {
- mT__31();
-
- }
- break;
- case 18 :
- // InternalSolverLanguage.g:1:112: T__32
- {
- mT__32();
-
- }
- break;
- case 19 :
- // InternalSolverLanguage.g:1:118: T__33
- {
- mT__33();
-
- }
- break;
- case 20 :
- // InternalSolverLanguage.g:1:124: T__34
- {
- mT__34();
-
- }
- break;
- case 21 :
- // InternalSolverLanguage.g:1:130: T__35
- {
- mT__35();
-
- }
- break;
- case 22 :
- // InternalSolverLanguage.g:1:136: T__36
- {
- mT__36();
-
- }
- break;
- case 23 :
- // InternalSolverLanguage.g:1:142: T__37
- {
- mT__37();
-
- }
- break;
- case 24 :
- // InternalSolverLanguage.g:1:148: T__38
- {
- mT__38();
-
- }
- break;
- case 25 :
- // InternalSolverLanguage.g:1:154: T__39
- {
- mT__39();
-
- }
- break;
- case 26 :
- // InternalSolverLanguage.g:1:160: T__40
- {
- mT__40();
-
- }
- break;
- case 27 :
- // InternalSolverLanguage.g:1:166: T__41
- {
- mT__41();
-
- }
- break;
- case 28 :
- // InternalSolverLanguage.g:1:172: T__42
- {
- mT__42();
-
- }
- break;
- case 29 :
- // InternalSolverLanguage.g:1:178: T__43
- {
- mT__43();
-
- }
- break;
- case 30 :
- // InternalSolverLanguage.g:1:184: T__44
- {
- mT__44();
-
- }
- break;
- case 31 :
- // InternalSolverLanguage.g:1:190: T__45
- {
- mT__45();
-
- }
- break;
- case 32 :
- // InternalSolverLanguage.g:1:196: T__46
- {
- mT__46();
-
- }
- break;
- case 33 :
- // InternalSolverLanguage.g:1:202: T__47
- {
- mT__47();
-
- }
- break;
- case 34 :
- // InternalSolverLanguage.g:1:208: T__48
- {
- mT__48();
-
- }
- break;
- case 35 :
- // InternalSolverLanguage.g:1:214: T__49
- {
- mT__49();
-
- }
- break;
- case 36 :
- // InternalSolverLanguage.g:1:220: T__50
- {
- mT__50();
-
- }
- break;
- case 37 :
- // InternalSolverLanguage.g:1:226: T__51
- {
- mT__51();
-
- }
- break;
- case 38 :
- // InternalSolverLanguage.g:1:232: T__52
- {
- mT__52();
-
- }
- break;
- case 39 :
- // InternalSolverLanguage.g:1:238: T__53
- {
- mT__53();
-
- }
- break;
- case 40 :
- // InternalSolverLanguage.g:1:244: T__54
- {
- mT__54();
-
- }
- break;
- case 41 :
- // InternalSolverLanguage.g:1:250: T__55
- {
- mT__55();
-
- }
- break;
- case 42 :
- // InternalSolverLanguage.g:1:256: T__56
- {
- mT__56();
-
- }
- break;
- case 43 :
- // InternalSolverLanguage.g:1:262: T__57
- {
- mT__57();
-
- }
- break;
- case 44 :
- // InternalSolverLanguage.g:1:268: T__58
- {
- mT__58();
-
- }
- break;
- case 45 :
- // InternalSolverLanguage.g:1:274: T__59
- {
- mT__59();
-
- }
- break;
- case 46 :
- // InternalSolverLanguage.g:1:280: T__60
- {
- mT__60();
-
- }
- break;
- case 47 :
- // InternalSolverLanguage.g:1:286: T__61
- {
- mT__61();
-
- }
- break;
- case 48 :
- // InternalSolverLanguage.g:1:292: T__62
- {
- mT__62();
-
- }
- break;
- case 49 :
- // InternalSolverLanguage.g:1:298: T__63
- {
- mT__63();
-
- }
- break;
- case 50 :
- // InternalSolverLanguage.g:1:304: T__64
- {
- mT__64();
-
- }
- break;
- case 51 :
- // InternalSolverLanguage.g:1:310: T__65
- {
- mT__65();
-
- }
- break;
- case 52 :
- // InternalSolverLanguage.g:1:316: T__66
- {
- mT__66();
-
- }
- break;
- case 53 :
- // InternalSolverLanguage.g:1:322: T__67
- {
- mT__67();
-
- }
- break;
- case 54 :
- // InternalSolverLanguage.g:1:328: T__68
- {
- mT__68();
-
- }
- break;
- case 55 :
- // InternalSolverLanguage.g:1:334: T__69
- {
- mT__69();
-
- }
- break;
- case 56 :
- // InternalSolverLanguage.g:1:340: T__70
- {
- mT__70();
-
- }
- break;
- case 57 :
- // InternalSolverLanguage.g:1:346: T__71
- {
- mT__71();
-
- }
- break;
- case 58 :
- // InternalSolverLanguage.g:1:352: T__72
- {
- mT__72();
-
- }
- break;
- case 59 :
- // InternalSolverLanguage.g:1:358: T__73
- {
- mT__73();
-
- }
- break;
- case 60 :
- // InternalSolverLanguage.g:1:364: T__74
- {
- mT__74();
-
- }
- break;
- case 61 :
- // InternalSolverLanguage.g:1:370: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 62 :
- // InternalSolverLanguage.g:1:382: RULE_QUOTED_ID
- {
- mRULE_QUOTED_ID();
-
- }
- break;
- case 63 :
- // InternalSolverLanguage.g:1:397: RULE_PLUS
- {
- mRULE_PLUS();
-
- }
- break;
- case 64 :
- // InternalSolverLanguage.g:1:407: RULE_STAR
- {
- mRULE_STAR();
-
- }
- break;
- case 65 :
- // InternalSolverLanguage.g:1:417: RULE_DOT
- {
- mRULE_DOT();
-
- }
- break;
- case 66 :
- // InternalSolverLanguage.g:1:426: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 67 :
- // InternalSolverLanguage.g:1:434: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 68 :
- // InternalSolverLanguage.g:1:443: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 69 :
- // InternalSolverLanguage.g:1:459: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 70 :
- // InternalSolverLanguage.g:1:475: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 71 :
- // InternalSolverLanguage.g:1:483: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA11 dfa11 = new DFA11(this);
- static final String DFA11_eotS =
- "\1\uffff\1\50\1\uffff\2\51\1\57\1\61\1\63\1\65\1\uffff\1\70\1\73\12\51\1\124\1\51\1\127\11\uffff\2\47\7\uffff\1\147\1\150\1\51\16\uffff\27\51\2\uffff\1\51\17\uffff\1\u0084\1\u0085\2\uffff\1\51\1\u0087\1\u0089\1\51\1\u008c\6\51\1\u0093\3\51\1\u0097\13\51\2\uffff\1\u00a3\1\uffff\1\51\1\uffff\1\u00a5\1\51\1\uffff\4\51\1\u00ab\1\51\1\uffff\2\51\1\u00af\1\uffff\1\51\1\u00b1\1\u00b2\5\51\1\u00b9\2\51\1\uffff\1\51\1\uffff\2\51\1\u00bf\1\51\1\u00c1\1\uffff\1\51\1\u00c3\1\51\1\uffff\1\51\2\uffff\1\u00c6\2\51\1\u00c9\2\51\1\uffff\1\u00cc\4\51\1\uffff\1\51\1\uffff\1\51\1\uffff\2\51\1\uffff\2\51\1\uffff\1\u00d7\1\51\1\uffff\3\51\1\u00dc\5\51\1\u00e2\1\uffff\1\u00e3\1\u00e4\1\u00e5\1\u00e6\1\uffff\1\u00e7\1\u00e8\1\51\1\u00ea\1\51\7\uffff\1\51\1\uffff\1\51\1\uffff\1\u00ef\5\uffff";
- static final String DFA11_eofS =
- "\u00f3\uffff";
- static final String DFA11_minS =
- "\1\0\1\101\1\uffff\1\146\1\145\4\75\1\uffff\1\76\1\52\1\141\1\154\1\156\1\143\1\162\1\142\1\150\1\141\1\156\1\154\1\55\1\145\1\56\11\uffff\2\0\7\uffff\2\60\1\141\16\uffff\1\170\1\163\1\156\1\162\1\156\1\141\1\154\1\160\1\155\1\157\1\156\1\157\1\147\1\163\1\165\1\145\1\154\1\156\1\153\1\162\1\164\1\163\1\160\2\uffff\1\146\17\uffff\2\60\2\uffff\1\154\2\60\1\164\1\60\1\162\1\156\1\164\1\163\1\171\1\157\1\60\1\160\1\164\1\144\1\60\1\164\1\145\1\156\1\163\1\143\1\156\1\157\2\145\1\164\1\141\2\uffff\1\60\1\uffff\1\155\1\uffff\1\60\1\155\1\uffff\1\145\1\164\1\141\1\163\1\60\1\163\1\uffff\1\145\1\150\1\60\1\uffff\1\162\2\60\1\145\1\164\1\157\1\162\1\156\1\60\1\171\1\165\1\uffff\1\151\1\uffff\1\151\1\156\1\60\1\151\1\60\1\uffff\1\151\1\60\1\145\1\uffff\1\141\2\uffff\1\60\1\151\1\167\1\60\1\156\1\144\1\uffff\1\60\1\154\2\172\1\164\1\uffff\1\156\1\uffff\1\164\1\uffff\1\164\1\143\1\uffff\1\157\1\156\1\uffff\1\60\1\163\1\uffff\1\164\2\145\1\60\1\163\1\145\1\151\1\164\1\156\1\60\1\uffff\4\60\1\uffff\2\60\1\143\1\60\1\141\7\uffff\1\72\1\uffff\1\154\1\72\1\60\1\144\4\uffff";
- static final String DFA11_maxS =
- "\1\uffff\1\172\1\uffff\1\156\1\145\4\75\1\uffff\1\76\1\57\2\165\1\160\1\171\1\162\1\166\1\162\1\165\1\156\1\170\1\55\1\145\1\56\11\uffff\2\uffff\7\uffff\2\172\1\141\16\uffff\1\171\1\163\1\156\1\162\1\165\1\141\1\154\1\160\1\155\1\157\1\156\1\157\1\147\1\163\1\165\1\145\1\154\1\156\1\153\1\162\1\164\1\163\1\160\2\uffff\1\146\17\uffff\2\172\2\uffff\1\154\2\172\1\164\1\172\1\162\1\156\1\164\1\163\1\171\1\157\1\172\1\160\1\164\1\144\1\172\1\164\1\145\1\156\1\163\1\143\1\156\1\157\2\145\1\164\1\141\2\uffff\1\172\1\uffff\1\155\1\uffff\1\172\1\155\1\uffff\1\145\1\164\1\141\1\163\1\172\1\163\1\uffff\1\145\1\150\1\172\1\uffff\1\162\2\172\1\145\1\164\1\157\2\162\1\172\1\171\1\165\1\uffff\1\151\1\uffff\1\151\1\156\1\172\1\151\1\172\1\uffff\1\151\1\172\1\145\1\uffff\1\141\2\uffff\1\172\1\151\1\167\1\172\1\156\1\144\1\uffff\1\172\1\154\2\172\1\164\1\uffff\1\156\1\uffff\1\164\1\uffff\1\164\1\143\1\uffff\1\157\1\156\1\uffff\1\172\1\163\1\uffff\1\164\2\145\1\172\1\163\1\145\1\151\1\164\1\156\1\172\1\uffff\4\172\1\uffff\2\172\1\143\1\172\1\141\7\uffff\1\72\1\uffff\1\154\1\72\1\172\1\163\4\uffff";
- static final String DFA11_acceptS =
- "\2\uffff\1\2\6\uffff\1\14\17\uffff\1\50\1\52\1\54\1\55\1\56\1\57\1\60\1\61\1\63\2\uffff\1\102\1\103\1\106\1\107\1\1\1\102\1\2\3\uffff\1\5\1\41\1\6\1\17\1\10\1\7\1\12\1\11\1\14\1\51\1\15\1\104\1\105\1\16\27\uffff\1\40\1\37\1\uffff\1\62\1\44\1\50\1\52\1\54\1\55\1\56\1\57\1\60\1\61\1\63\1\75\1\76\1\103\1\106\2\uffff\1\13\1\45\33\uffff\1\3\1\64\1\uffff\1\20\1\uffff\1\30\2\uffff\1\27\6\uffff\1\24\3\uffff\1\26\13\uffff\1\4\1\uffff\1\21\5\uffff\1\23\3\uffff\1\25\1\uffff\1\31\1\46\6\uffff\1\47\5\uffff\1\53\1\uffff\1\66\1\uffff\1\71\2\uffff\1\32\2\uffff\1\34\2\uffff\1\65\12\uffff\1\43\4\uffff\1\22\5\uffff\1\33\1\67\1\42\1\36\1\35\1\74\1\70\1\uffff\1\73\4\uffff\1\72\1\77\1\100\1\101";
- static final String DFA11_specialS =
- "\1\1\41\uffff\1\2\1\0\u00cf\uffff}>";
- static final String[] DFA11_transitionS = {
- "\11\47\2\46\2\47\1\46\22\47\1\46\1\6\1\42\4\47\1\43\1\36\1\37\1\2\1\11\1\32\1\12\1\30\1\13\12\45\1\26\1\31\1\7\1\5\1\10\2\47\32\44\1\40\1\47\1\41\1\1\1\44\1\47\1\21\1\44\1\15\1\27\1\25\1\23\2\44\1\3\3\44\1\14\1\44\1\16\1\20\1\44\1\4\1\17\1\22\1\24\5\44\1\33\1\35\1\34\uff82\47",
- "\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "\1\54\7\uffff\1\53",
- "\1\55",
- "\1\56",
- "\1\60",
- "\1\62",
- "\1\64",
- "",
- "\1\67",
- "\1\71\4\uffff\1\72",
- "\1\74\7\uffff\1\76\13\uffff\1\75",
- "\1\101\2\uffff\1\100\5\uffff\1\77",
- "\1\102\1\uffff\1\103",
- "\1\105\21\uffff\1\104\3\uffff\1\106",
- "\1\107",
- "\1\111\23\uffff\1\110",
- "\1\113\11\uffff\1\112",
- "\1\114\23\uffff\1\115",
- "\1\116",
- "\1\121\1\122\4\uffff\1\117\5\uffff\1\120",
- "\1\123",
- "\1\125",
- "\1\126",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\0\141",
- "\0\142",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\5\51\1\146\15\51\1\145\6\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\151",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\153\1\152",
- "\1\154",
- "\1\155",
- "\1\156",
- "\1\160\6\uffff\1\157",
- "\1\161",
- "\1\162",
- "\1\163",
- "\1\164",
- "\1\165",
- "\1\166",
- "\1\167",
- "\1\170",
- "\1\171",
- "\1\172",
- "\1\173",
- "\1\174",
- "\1\175",
- "\1\176",
- "\1\177",
- "\1\u0080",
- "\1\u0081",
- "\1\u0082",
- "",
- "",
- "\1\u0083",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "",
- "\1\u0086",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\10\51\1\u0088\21\51",
- "\1\u008a",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\10\51\1\u008b\21\51",
- "\1\u008d",
- "\1\u008e",
- "\1\u008f",
- "\1\u0090",
- "\1\u0091",
- "\1\u0092",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u0094",
- "\1\u0095",
- "\1\u0096",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u0098",
- "\1\u0099",
- "\1\u009a",
- "\1\u009b",
- "\1\u009c",
- "\1\u009d",
- "\1\u009e",
- "\1\u009f",
- "\1\u00a0",
- "\1\u00a1",
- "\1\u00a2",
- "",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "\1\u00a4",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00a6",
- "",
- "\1\u00a7",
- "\1\u00a8",
- "\1\u00a9",
- "\1\u00aa",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00ac",
- "",
- "\1\u00ad",
- "\1\u00ae",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "\1\u00b0",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00b3",
- "\1\u00b4",
- "\1\u00b5",
- "\1\u00b6",
- "\1\u00b8\3\uffff\1\u00b7",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00ba",
- "\1\u00bb",
- "",
- "\1\u00bc",
- "",
- "\1\u00bd",
- "\1\u00be",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00c0",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "\1\u00c2",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00c4",
- "",
- "\1\u00c5",
- "",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00c7",
- "\1\u00c8",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00ca",
- "\1\u00cb",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00cd",
- "\1\u00ce",
- "\1\u00cf",
- "\1\u00d0",
- "",
- "\1\u00d1",
- "",
- "\1\u00d2",
- "",
- "\1\u00d3",
- "\1\u00d4",
- "",
- "\1\u00d5",
- "\1\u00d6",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00d8",
- "",
- "\1\u00d9",
- "\1\u00da",
- "\1\u00db",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00dd",
- "\1\u00de",
- "\1\u00df",
- "\1\u00e0",
- "\1\u00e1",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00e9",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00eb",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\u00ec",
- "",
- "\1\u00ed",
- "\1\u00ee",
- "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51",
- "\1\u00f2\13\uffff\1\u00f0\2\uffff\1\u00f1",
- "",
- "",
- "",
- ""
- };
-
- static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS);
- static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS);
- static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS);
- static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS);
- static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS);
- static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS);
- static final short[][] DFA11_transition;
-
- static {
- int numStates = DFA11_transitionS.length;
- DFA11_transition = new short[numStates][];
- for (int i=0; i='\u0000' && LA11_35<='\uFFFF')) ) {s = 98;}
-
- else s = 39;
-
- if ( s>=0 ) return s;
- break;
- case 1 :
- int LA11_0 = input.LA(1);
-
- s = -1;
- if ( (LA11_0=='^') ) {s = 1;}
-
- else if ( (LA11_0=='*') ) {s = 2;}
-
- else if ( (LA11_0=='i') ) {s = 3;}
-
- else if ( (LA11_0=='r') ) {s = 4;}
-
- else if ( (LA11_0=='=') ) {s = 5;}
-
- else if ( (LA11_0=='!') ) {s = 6;}
-
- else if ( (LA11_0=='<') ) {s = 7;}
-
- else if ( (LA11_0=='>') ) {s = 8;}
-
- else if ( (LA11_0=='+') ) {s = 9;}
-
- else if ( (LA11_0=='-') ) {s = 10;}
-
- else if ( (LA11_0=='/') ) {s = 11;}
-
- else if ( (LA11_0=='m') ) {s = 12;}
-
- else if ( (LA11_0=='c') ) {s = 13;}
-
- else if ( (LA11_0=='o') ) {s = 14;}
-
- else if ( (LA11_0=='s') ) {s = 15;}
-
- else if ( (LA11_0=='p') ) {s = 16;}
-
- else if ( (LA11_0=='a') ) {s = 17;}
-
- else if ( (LA11_0=='t') ) {s = 18;}
-
- else if ( (LA11_0=='f') ) {s = 19;}
-
- else if ( (LA11_0=='u') ) {s = 20;}
-
- else if ( (LA11_0=='e') ) {s = 21;}
-
- else if ( (LA11_0==':') ) {s = 22;}
-
- else if ( (LA11_0=='d') ) {s = 23;}
-
- else if ( (LA11_0=='.') ) {s = 24;}
-
- else if ( (LA11_0==';') ) {s = 25;}
-
- else if ( (LA11_0==',') ) {s = 26;}
-
- else if ( (LA11_0=='{') ) {s = 27;}
-
- else if ( (LA11_0=='}') ) {s = 28;}
-
- else if ( (LA11_0=='|') ) {s = 29;}
-
- else if ( (LA11_0=='(') ) {s = 30;}
-
- else if ( (LA11_0==')') ) {s = 31;}
-
- else if ( (LA11_0=='[') ) {s = 32;}
-
- else if ( (LA11_0==']') ) {s = 33;}
-
- else if ( (LA11_0=='\"') ) {s = 34;}
-
- else if ( (LA11_0=='\'') ) {s = 35;}
-
- else if ( ((LA11_0>='A' && LA11_0<='Z')||LA11_0=='_'||LA11_0=='b'||(LA11_0>='g' && LA11_0<='h')||(LA11_0>='j' && LA11_0<='l')||LA11_0=='n'||LA11_0=='q'||(LA11_0>='v' && LA11_0<='z')) ) {s = 36;}
-
- else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 37;}
-
- else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 38;}
-
- else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='#' && LA11_0<='&')||(LA11_0>='?' && LA11_0<='@')||LA11_0=='\\'||LA11_0=='`'||(LA11_0>='~' && LA11_0<='\uFFFF')) ) {s = 39;}
-
- if ( s>=0 ) return s;
- break;
- case 2 :
- int LA11_34 = input.LA(1);
-
- s = -1;
- if ( ((LA11_34>='\u0000' && LA11_34<='\uFFFF')) ) {s = 97;}
-
- else s = 39;
-
- if ( s>=0 ) return s;
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 11, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
-
-}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g
new file mode 100644
index 00000000..f5a473f4
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g
@@ -0,0 +1,8991 @@
+/*
+ * generated by Xtext 2.21.0
+ */
+parser grammar InternalSolverLanguageParser;
+
+options {
+ tokenVocab=InternalSolverLanguageLexer;
+ superClass=AbstractInternalContentAssistParser;
+}
+
+@header {
+package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
+import java.util.Map;
+import java.util.HashMap;
+
+import java.io.InputStream;
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.parser.*;
+import org.eclipse.xtext.parser.impl.*;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
+import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
+import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess;
+
+}
+@members {
+ private SolverLanguageGrammarAccess grammarAccess;
+ private final Map tokenNameToValue = new HashMap();
+
+ {
+ tokenNameToValue.put("ExclamationMark", "'!'");
+ tokenNameToValue.put("LeftParenthesis", "'('");
+ tokenNameToValue.put("RightParenthesis", "')'");
+ tokenNameToValue.put("Asterisk", "'*'");
+ tokenNameToValue.put("PlusSign", "'+'");
+ tokenNameToValue.put("Comma", "','");
+ tokenNameToValue.put("HyphenMinus", "'-'");
+ tokenNameToValue.put("FullStop", "'.'");
+ tokenNameToValue.put("Solidus", "'/'");
+ tokenNameToValue.put("Colon", "':'");
+ tokenNameToValue.put("Semicolon", "';'");
+ tokenNameToValue.put("LessThanSign", "'<'");
+ tokenNameToValue.put("EqualsSign", "'='");
+ tokenNameToValue.put("GreaterThanSign", "'>'");
+ tokenNameToValue.put("LeftSquareBracket", "'['");
+ tokenNameToValue.put("RightSquareBracket", "']'");
+ tokenNameToValue.put("CircumflexAccent", "'^'");
+ tokenNameToValue.put("LeftCurlyBracket", "'{'");
+ tokenNameToValue.put("VerticalLine", "'|'");
+ tokenNameToValue.put("RightCurlyBracket", "'}'");
+ tokenNameToValue.put("ExclamationMarkEqualsSign", "'!='");
+ tokenNameToValue.put("HyphenMinusGreaterThanSign", "'->'");
+ tokenNameToValue.put("FullStopFullStop", "'..'");
+ tokenNameToValue.put("ColonHyphenMinus", "':-'");
+ tokenNameToValue.put("LessThanSignEqualsSign", "'<='");
+ tokenNameToValue.put("EqualsSignEqualsSign", "'=='");
+ tokenNameToValue.put("GreaterThanSignEqualsSign", "'>='");
+ tokenNameToValue.put("EQ", "'EQ'");
+ tokenNameToValue.put("IN", "'IN'");
+ tokenNameToValue.put("If", "'if'");
+ tokenNameToValue.put("In", "'in'");
+ tokenNameToValue.put("ADD", "'ADD'");
+ tokenNameToValue.put("DIV", "'DIV'");
+ tokenNameToValue.put("MUL", "'MUL'");
+ tokenNameToValue.put("POW", "'POW'");
+ tokenNameToValue.put("SUB", "'SUB'");
+ tokenNameToValue.put("Avg", "'avg'");
+ tokenNameToValue.put("Inf", "'inf'");
+ tokenNameToValue.put("Int", "'int'");
+ tokenNameToValue.put("Max", "'max'");
+ tokenNameToValue.put("May", "'may'");
+ tokenNameToValue.put("Min", "'min'");
+ tokenNameToValue.put("Sum", "'sum'");
+ tokenNameToValue.put("LESS", "'LESS'");
+ tokenNameToValue.put("Else", "'else'");
+ tokenNameToValue.put("Must", "'must'");
+ tokenNameToValue.put("Only", "'only'");
+ tokenNameToValue.put("Prod", "'prod'");
+ tokenNameToValue.put("Real", "'real'");
+ tokenNameToValue.put("Then", "'then'");
+ tokenNameToValue.put("True", "'true'");
+ tokenNameToValue.put("Class", "'class'");
+ tokenNameToValue.put("Count", "'count'");
+ tokenNameToValue.put("Empty", "'empty'");
+ tokenNameToValue.put("Error", "'error'");
+ tokenNameToValue.put("False", "'false'");
+ tokenNameToValue.put("Scope", "'scope'");
+ tokenNameToValue.put("NOT_EQ", "'NOT_EQ'");
+ tokenNameToValue.put("Extern", "'extern'");
+ tokenNameToValue.put("GREATER", "'GREATER'");
+ tokenNameToValue.put("LESS_EQ", "'LESS_EQ'");
+ tokenNameToValue.put("Current", "'current'");
+ tokenNameToValue.put("Default", "'default'");
+ tokenNameToValue.put("Extends", "'extends'");
+ tokenNameToValue.put("Unknown", "'unknown'");
+ tokenNameToValue.put("Abstract", "'abstract'");
+ tokenNameToValue.put("Contains", "'contains'");
+ tokenNameToValue.put("Maximize", "'maximize'");
+ tokenNameToValue.put("Minimize", "'minimize'");
+ tokenNameToValue.put("Opposite", "'opposite'");
+ tokenNameToValue.put("GREATER_EQ", "'GREATER_EQ'");
+ tokenNameToValue.put("Functional", "'functional'");
+ }
+
+ public void setGrammarAccess(SolverLanguageGrammarAccess grammarAccess) {
+ this.grammarAccess = grammarAccess;
+ }
+
+ @Override
+ protected Grammar getGrammar() {
+ return grammarAccess.getGrammar();
+ }
+
+ @Override
+ protected String getValueForTokenName(String tokenName) {
+ String result = tokenNameToValue.get(tokenName);
+ if (result == null)
+ result = tokenName;
+ return result;
+ }
+}
+
+// Entry rule entryRuleProblem
+entryRuleProblem
+:
+{ before(grammarAccess.getProblemRule()); }
+ ruleProblem
+{ after(grammarAccess.getProblemRule()); }
+ EOF
+;
+
+// Rule Problem
+ruleProblem
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getProblemAccess().getStatementsAssignment()); }
+ (rule__Problem__StatementsAssignment)*
+ { after(grammarAccess.getProblemAccess().getStatementsAssignment()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleStatement
+entryRuleStatement
+:
+{ before(grammarAccess.getStatementRule()); }
+ ruleStatement
+{ after(grammarAccess.getStatementRule()); }
+ EOF
+;
+
+// Rule Statement
+ruleStatement
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getStatementAccess().getGroup()); }
+ (rule__Statement__Group__0)
+ { after(grammarAccess.getStatementAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleAssertionOrDefinition
+entryRuleAssertionOrDefinition
+:
+{ before(grammarAccess.getAssertionOrDefinitionRule()); }
+ ruleAssertionOrDefinition
+{ after(grammarAccess.getAssertionOrDefinitionRule()); }
+ EOF
+;
+
+// Rule AssertionOrDefinition
+ruleAssertionOrDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); }
+ (rule__AssertionOrDefinition__Group__0)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRulePredicateDefinition
+entryRulePredicateDefinition
+:
+{ before(grammarAccess.getPredicateDefinitionRule()); }
+ rulePredicateDefinition
+{ after(grammarAccess.getPredicateDefinitionRule()); }
+ EOF
+;
+
+// Rule PredicateDefinition
+rulePredicateDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getGroup()); }
+ (rule__PredicateDefinition__Group__0)
+ { after(grammarAccess.getPredicateDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleUnnamedErrorPrediateDefinition
+entryRuleUnnamedErrorPrediateDefinition
+:
+{ before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); }
+ ruleUnnamedErrorPrediateDefinition
+{ after(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); }
+ EOF
+;
+
+// Rule UnnamedErrorPrediateDefinition
+ruleUnnamedErrorPrediateDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); }
+ (rule__UnnamedErrorPrediateDefinition__Group__0)
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleDefaultDefinition
+entryRuleDefaultDefinition
+:
+{ before(grammarAccess.getDefaultDefinitionRule()); }
+ ruleDefaultDefinition
+{ after(grammarAccess.getDefaultDefinitionRule()); }
+ EOF
+;
+
+// Rule DefaultDefinition
+ruleDefaultDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getDefaultDefinitionAccess().getGroup()); }
+ (rule__DefaultDefinition__Group__0)
+ { after(grammarAccess.getDefaultDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExternPredicateDefinition
+entryRuleExternPredicateDefinition
+:
+{ before(grammarAccess.getExternPredicateDefinitionRule()); }
+ ruleExternPredicateDefinition
+{ after(grammarAccess.getExternPredicateDefinitionRule()); }
+ EOF
+;
+
+// Rule ExternPredicateDefinition
+ruleExternPredicateDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); }
+ (rule__ExternPredicateDefinition__Group__0)
+ { after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleMetricDefinition
+entryRuleMetricDefinition
+:
+{ before(grammarAccess.getMetricDefinitionRule()); }
+ ruleMetricDefinition
+{ after(grammarAccess.getMetricDefinitionRule()); }
+ EOF
+;
+
+// Rule MetricDefinition
+ruleMetricDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getMetricDefinitionAccess().getGroup()); }
+ (rule__MetricDefinition__Group__0)
+ { after(grammarAccess.getMetricDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExternMetricDefinition
+entryRuleExternMetricDefinition
+:
+{ before(grammarAccess.getExternMetricDefinitionRule()); }
+ ruleExternMetricDefinition
+{ after(grammarAccess.getExternMetricDefinitionRule()); }
+ EOF
+;
+
+// Rule ExternMetricDefinition
+ruleExternMetricDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); }
+ (rule__ExternMetricDefinition__Group__0)
+ { after(grammarAccess.getExternMetricDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExpression
+entryRuleExpression
+:
+{ before(grammarAccess.getExpressionRule()); }
+ ruleExpression
+{ after(grammarAccess.getExpressionRule()); }
+ EOF
+;
+
+// Rule Expression
+ruleExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExpressionAccess().getAlternatives()); }
+ (rule__Expression__Alternatives)
+ { after(grammarAccess.getExpressionAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleIfElse
+entryRuleIfElse
+:
+{ before(grammarAccess.getIfElseRule()); }
+ ruleIfElse
+{ after(grammarAccess.getIfElseRule()); }
+ EOF
+;
+
+// Rule IfElse
+ruleIfElse
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getIfElseAccess().getGroup()); }
+ (rule__IfElse__Group__0)
+ { after(grammarAccess.getIfElseAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleDisjunctiveExpression
+entryRuleDisjunctiveExpression
+:
+{ before(grammarAccess.getDisjunctiveExpressionRule()); }
+ ruleDisjunctiveExpression
+{ after(grammarAccess.getDisjunctiveExpressionRule()); }
+ EOF
+;
+
+// Rule DisjunctiveExpression
+ruleDisjunctiveExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); }
+ (rule__DisjunctiveExpression__Group__0)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleCase
+entryRuleCase
+:
+{ before(grammarAccess.getCaseRule()); }
+ ruleCase
+{ after(grammarAccess.getCaseRule()); }
+ EOF
+;
+
+// Rule Case
+ruleCase
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getCaseAccess().getGroup()); }
+ (rule__Case__Group__0)
+ { after(grammarAccess.getCaseAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleConjunctiveExpression
+entryRuleConjunctiveExpression
+:
+{ before(grammarAccess.getConjunctiveExpressionRule()); }
+ ruleConjunctiveExpression
+{ after(grammarAccess.getConjunctiveExpressionRule()); }
+ EOF
+;
+
+// Rule ConjunctiveExpression
+ruleConjunctiveExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); }
+ (rule__ConjunctiveExpression__Group__0)
+ { after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleComparisonExpression
+entryRuleComparisonExpression
+:
+{ before(grammarAccess.getComparisonExpressionRule()); }
+ ruleComparisonExpression
+{ after(grammarAccess.getComparisonExpressionRule()); }
+ EOF
+;
+
+// Rule ComparisonExpression
+ruleComparisonExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getComparisonExpressionAccess().getGroup()); }
+ (rule__ComparisonExpression__Group__0)
+ { after(grammarAccess.getComparisonExpressionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleAdditiveExpression
+entryRuleAdditiveExpression
+:
+{ before(grammarAccess.getAdditiveExpressionRule()); }
+ ruleAdditiveExpression
+{ after(grammarAccess.getAdditiveExpressionRule()); }
+ EOF
+;
+
+// Rule AdditiveExpression
+ruleAdditiveExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getAdditiveExpressionAccess().getGroup()); }
+ (rule__AdditiveExpression__Group__0)
+ { after(grammarAccess.getAdditiveExpressionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleMultiplicativeExpression
+entryRuleMultiplicativeExpression
+:
+{ before(grammarAccess.getMultiplicativeExpressionRule()); }
+ ruleMultiplicativeExpression
+{ after(grammarAccess.getMultiplicativeExpressionRule()); }
+ EOF
+;
+
+// Rule MultiplicativeExpression
+ruleMultiplicativeExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); }
+ (rule__MultiplicativeExpression__Group__0)
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExponentialExpression
+entryRuleExponentialExpression
+:
+{ before(grammarAccess.getExponentialExpressionRule()); }
+ ruleExponentialExpression
+{ after(grammarAccess.getExponentialExpressionRule()); }
+ EOF
+;
+
+// Rule ExponentialExpression
+ruleExponentialExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExponentialExpressionAccess().getGroup()); }
+ (rule__ExponentialExpression__Group__0)
+ { after(grammarAccess.getExponentialExpressionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleUnaryExpression
+entryRuleUnaryExpression
+:
+{ before(grammarAccess.getUnaryExpressionRule()); }
+ ruleUnaryExpression
+{ after(grammarAccess.getUnaryExpressionRule()); }
+ EOF
+;
+
+// Rule UnaryExpression
+ruleUnaryExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); }
+ (rule__UnaryExpression__Alternatives)
+ { after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleAggregationExpression
+entryRuleAggregationExpression
+:
+{ before(grammarAccess.getAggregationExpressionRule()); }
+ ruleAggregationExpression
+{ after(grammarAccess.getAggregationExpressionRule()); }
+ EOF
+;
+
+// Rule AggregationExpression
+ruleAggregationExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); }
+ (rule__AggregationExpression__Alternatives)
+ { after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleCount
+entryRuleCount
+:
+{ before(grammarAccess.getCountRule()); }
+ ruleCount
+{ after(grammarAccess.getCountRule()); }
+ EOF
+;
+
+// Rule Count
+ruleCount
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getCountAccess().getGroup()); }
+ (rule__Count__Group__0)
+ { after(grammarAccess.getCountAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleAggregation
+entryRuleAggregation
+:
+{ before(grammarAccess.getAggregationRule()); }
+ ruleAggregation
+{ after(grammarAccess.getAggregationRule()); }
+ EOF
+;
+
+// Rule Aggregation
+ruleAggregation
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getAggregationAccess().getGroup()); }
+ (rule__Aggregation__Group__0)
+ { after(grammarAccess.getAggregationAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleAtomicExpression
+entryRuleAtomicExpression
+:
+{ before(grammarAccess.getAtomicExpressionRule()); }
+ ruleAtomicExpression
+{ after(grammarAccess.getAtomicExpressionRule()); }
+ EOF
+;
+
+// Rule AtomicExpression
+ruleAtomicExpression
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); }
+ (rule__AtomicExpression__Alternatives)
+ { after(grammarAccess.getAtomicExpressionAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleCall
+entryRuleCall
+:
+{ before(grammarAccess.getCallRule()); }
+ ruleCall
+{ after(grammarAccess.getCallRule()); }
+ EOF
+;
+
+// Rule Call
+ruleCall
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getCallAccess().getGroup()); }
+ (rule__Call__Group__0)
+ { after(grammarAccess.getCallAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleArgumentList
+entryRuleArgumentList
+:
+{ before(grammarAccess.getArgumentListRule()); }
+ ruleArgumentList
+{ after(grammarAccess.getArgumentListRule()); }
+ EOF
+;
+
+// Rule ArgumentList
+ruleArgumentList
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getArgumentListAccess().getGroup()); }
+ (rule__ArgumentList__Group__0)
+ { after(grammarAccess.getArgumentListAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleArgument
+entryRuleArgument
+:
+{ before(grammarAccess.getArgumentRule()); }
+ ruleArgument
+{ after(grammarAccess.getArgumentRule()); }
+ EOF
+;
+
+// Rule Argument
+ruleArgument
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getArgumentAccess().getAlternatives()); }
+ (rule__Argument__Alternatives)
+ { after(grammarAccess.getArgumentAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExpressionArgument
+entryRuleExpressionArgument
+:
+{ before(grammarAccess.getExpressionArgumentRule()); }
+ ruleExpressionArgument
+{ after(grammarAccess.getExpressionArgumentRule()); }
+ EOF
+;
+
+// Rule ExpressionArgument
+ruleExpressionArgument
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); }
+ (rule__ExpressionArgument__BodyAssignment)
+ { after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleStarArgument
+entryRuleStarArgument
+:
+{ before(grammarAccess.getStarArgumentRule()); }
+ ruleStarArgument
+{ after(grammarAccess.getStarArgumentRule()); }
+ EOF
+;
+
+// Rule StarArgument
+ruleStarArgument
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getStarArgumentAccess().getGroup()); }
+ (rule__StarArgument__Group__0)
+ { after(grammarAccess.getStarArgumentAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleTypedArgument
+entryRuleTypedArgument
+:
+{ before(grammarAccess.getTypedArgumentRule()); }
+ ruleTypedArgument
+{ after(grammarAccess.getTypedArgumentRule()); }
+ EOF
+;
+
+// Rule TypedArgument
+ruleTypedArgument
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getTypedArgumentAccess().getGroup()); }
+ (rule__TypedArgument__Group__0)
+ { after(grammarAccess.getTypedArgumentAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleTypedStarArgument
+entryRuleTypedStarArgument
+:
+{ before(grammarAccess.getTypedStarArgumentRule()); }
+ ruleTypedStarArgument
+{ after(grammarAccess.getTypedStarArgumentRule()); }
+ EOF
+;
+
+// Rule TypedStarArgument
+ruleTypedStarArgument
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getTypedStarArgumentAccess().getGroup()); }
+ (rule__TypedStarArgument__Group__0)
+ { after(grammarAccess.getTypedStarArgumentAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleReference
+entryRuleReference
+:
+{ before(grammarAccess.getReferenceRule()); }
+ ruleReference
+{ after(grammarAccess.getReferenceRule()); }
+ EOF
+;
+
+// Rule Reference
+ruleReference
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getReferenceAccess().getReferredAssignment()); }
+ (rule__Reference__ReferredAssignment)
+ { after(grammarAccess.getReferenceAccess().getReferredAssignment()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleInterval
+entryRuleInterval
+:
+{ before(grammarAccess.getIntervalRule()); }
+ ruleInterval
+{ after(grammarAccess.getIntervalRule()); }
+ EOF
+;
+
+// Rule Interval
+ruleInterval
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getIntervalAccess().getGroup()); }
+ (rule__Interval__Group__0)
+ { after(grammarAccess.getIntervalAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleLiteral
+entryRuleLiteral
+:
+{ before(grammarAccess.getLiteralRule()); }
+ ruleLiteral
+{ after(grammarAccess.getLiteralRule()); }
+ EOF
+;
+
+// Rule Literal
+ruleLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getLiteralAccess().getAlternatives()); }
+ (rule__Literal__Alternatives)
+ { after(grammarAccess.getLiteralAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleLogicLiteral
+entryRuleLogicLiteral
+:
+{ before(grammarAccess.getLogicLiteralRule()); }
+ ruleLogicLiteral
+{ after(grammarAccess.getLogicLiteralRule()); }
+ EOF
+;
+
+// Rule LogicLiteral
+ruleLogicLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); }
+ (rule__LogicLiteral__ValueAssignment)
+ { after(grammarAccess.getLogicLiteralAccess().getValueAssignment()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleNumericLiteral
+entryRuleNumericLiteral
+:
+{ before(grammarAccess.getNumericLiteralRule()); }
+ ruleNumericLiteral
+{ after(grammarAccess.getNumericLiteralRule()); }
+ EOF
+;
+
+// Rule NumericLiteral
+ruleNumericLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); }
+ (rule__NumericLiteral__ValueAssignment)
+ { after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleInfinityLiteral
+entryRuleInfinityLiteral
+:
+{ before(grammarAccess.getInfinityLiteralRule()); }
+ ruleInfinityLiteral
+{ after(grammarAccess.getInfinityLiteralRule()); }
+ EOF
+;
+
+// Rule InfinityLiteral
+ruleInfinityLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getInfinityLiteralAccess().getGroup()); }
+ (rule__InfinityLiteral__Group__0)
+ { after(grammarAccess.getInfinityLiteralAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleEmptyIntervalLiteral
+entryRuleEmptyIntervalLiteral
+:
+{ before(grammarAccess.getEmptyIntervalLiteralRule()); }
+ ruleEmptyIntervalLiteral
+{ after(grammarAccess.getEmptyIntervalLiteralRule()); }
+ EOF
+;
+
+// Rule EmptyIntervalLiteral
+ruleEmptyIntervalLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); }
+ (rule__EmptyIntervalLiteral__Group__0)
+ { after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleStringLiteral
+entryRuleStringLiteral
+:
+{ before(grammarAccess.getStringLiteralRule()); }
+ ruleStringLiteral
+{ after(grammarAccess.getStringLiteralRule()); }
+ EOF
+;
+
+// Rule StringLiteral
+ruleStringLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getStringLiteralAccess().getValueAssignment()); }
+ (rule__StringLiteral__ValueAssignment)
+ { after(grammarAccess.getStringLiteralAccess().getValueAssignment()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleClassDefinition
+entryRuleClassDefinition
+:
+{ before(grammarAccess.getClassDefinitionRule()); }
+ ruleClassDefinition
+{ after(grammarAccess.getClassDefinitionRule()); }
+ EOF
+;
+
+// Rule ClassDefinition
+ruleClassDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getGroup()); }
+ (rule__ClassDefinition__Group__0)
+ { after(grammarAccess.getClassDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleMemberDefinition
+entryRuleMemberDefinition
+:
+{ before(grammarAccess.getMemberDefinitionRule()); }
+ ruleMemberDefinition
+{ after(grammarAccess.getMemberDefinitionRule()); }
+ EOF
+;
+
+// Rule MemberDefinition
+ruleMemberDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getGroup()); }
+ (rule__MemberDefinition__Group__0)
+ { after(grammarAccess.getMemberDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleMultiplicity
+entryRuleMultiplicity
+:
+{ before(grammarAccess.getMultiplicityRule()); }
+ ruleMultiplicity
+{ after(grammarAccess.getMultiplicityRule()); }
+ EOF
+;
+
+// Rule Multiplicity
+ruleMultiplicity
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getMultiplicityAccess().getAlternatives()); }
+ (rule__Multiplicity__Alternatives)
+ { after(grammarAccess.getMultiplicityAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleManyMultiplicity
+entryRuleManyMultiplicity
+:
+{ before(grammarAccess.getManyMultiplicityRule()); }
+ ruleManyMultiplicity
+{ after(grammarAccess.getManyMultiplicityRule()); }
+ EOF
+;
+
+// Rule ManyMultiplicity
+ruleManyMultiplicity
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getManyMultiplicityAccess().getGroup()); }
+ (rule__ManyMultiplicity__Group__0)
+ { after(grammarAccess.getManyMultiplicityAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExactMultiplicity
+entryRuleExactMultiplicity
+:
+{ before(grammarAccess.getExactMultiplicityRule()); }
+ ruleExactMultiplicity
+{ after(grammarAccess.getExactMultiplicityRule()); }
+ EOF
+;
+
+// Rule ExactMultiplicity
+ruleExactMultiplicity
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExactMultiplicityAccess().getGroup()); }
+ (rule__ExactMultiplicity__Group__0)
+ { after(grammarAccess.getExactMultiplicityAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleBoundedMultiplicity
+entryRuleBoundedMultiplicity
+:
+{ before(grammarAccess.getBoundedMultiplicityRule()); }
+ ruleBoundedMultiplicity
+{ after(grammarAccess.getBoundedMultiplicityRule()); }
+ EOF
+;
+
+// Rule BoundedMultiplicity
+ruleBoundedMultiplicity
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); }
+ (rule__BoundedMultiplicity__Group__0)
+ { after(grammarAccess.getBoundedMultiplicityAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleScopeDefinition
+entryRuleScopeDefinition
+:
+{ before(grammarAccess.getScopeDefinitionRule()); }
+ ruleScopeDefinition
+{ after(grammarAccess.getScopeDefinitionRule()); }
+ EOF
+;
+
+// Rule ScopeDefinition
+ruleScopeDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); }
+ (rule__ScopeDefinition__Alternatives)
+ { after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleExactScopeDefinition
+entryRuleExactScopeDefinition
+:
+{ before(grammarAccess.getExactScopeDefinitionRule()); }
+ ruleExactScopeDefinition
+{ after(grammarAccess.getExactScopeDefinitionRule()); }
+ EOF
+;
+
+// Rule ExactScopeDefinition
+ruleExactScopeDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); }
+ (rule__ExactScopeDefinition__Group__0)
+ { after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleBoundedScopeDefinition
+entryRuleBoundedScopeDefinition
+:
+{ before(grammarAccess.getBoundedScopeDefinitionRule()); }
+ ruleBoundedScopeDefinition
+{ after(grammarAccess.getBoundedScopeDefinitionRule()); }
+ EOF
+;
+
+// Rule BoundedScopeDefinition
+ruleBoundedScopeDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); }
+ (rule__BoundedScopeDefinition__Group__0)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleLowerBoundedScopeDefinition
+entryRuleLowerBoundedScopeDefinition
+:
+{ before(grammarAccess.getLowerBoundedScopeDefinitionRule()); }
+ ruleLowerBoundedScopeDefinition
+{ after(grammarAccess.getLowerBoundedScopeDefinitionRule()); }
+ EOF
+;
+
+// Rule LowerBoundedScopeDefinition
+ruleLowerBoundedScopeDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); }
+ (rule__LowerBoundedScopeDefinition__Group__0)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleObjectiveDefinition
+entryRuleObjectiveDefinition
+:
+{ before(grammarAccess.getObjectiveDefinitionRule()); }
+ ruleObjectiveDefinition
+{ after(grammarAccess.getObjectiveDefinitionRule()); }
+ EOF
+;
+
+// Rule ObjectiveDefinition
+ruleObjectiveDefinition
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); }
+ (rule__ObjectiveDefinition__Group__0)
+ { after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleUpperMultiplicty
+entryRuleUpperMultiplicty
+:
+{ before(grammarAccess.getUpperMultiplictyRule()); }
+ ruleUpperMultiplicty
+{ after(grammarAccess.getUpperMultiplictyRule()); }
+ EOF
+;
+
+// Rule UpperMultiplicty
+ruleUpperMultiplicty
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); }
+ (rule__UpperMultiplicty__Alternatives)
+ { after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Entry rule entryRuleReal
+entryRuleReal
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getRealRule()); }
+ ruleReal
+{ after(grammarAccess.getRealRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule Real
+ruleReal
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getRealAccess().getGroup()); }
+ (rule__Real__Group__0)
+ { after(grammarAccess.getRealAccess().getGroup()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+// Entry rule entryRuleQualifiedName
+entryRuleQualifiedName
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getQualifiedNameRule()); }
+ ruleQualifiedName
+{ after(grammarAccess.getQualifiedNameRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule QualifiedName
+ruleQualifiedName
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+ (
+ { before(grammarAccess.getQualifiedNameAccess().getAlternatives()); }
+ (rule__QualifiedName__Alternatives)
+ { after(grammarAccess.getQualifiedNameAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+// Rule MetricType
+ruleMetricType
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMetricTypeAccess().getAlternatives()); }
+ (rule__MetricType__Alternatives)
+ { after(grammarAccess.getMetricTypeAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule ComparisonOperator
+ruleComparisonOperator
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); }
+ (rule__ComparisonOperator__Alternatives)
+ { after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule AdditiveBinaryOperator
+ruleAdditiveBinaryOperator
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); }
+ (rule__AdditiveBinaryOperator__Alternatives)
+ { after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule MultiplicativeBinaryOperator
+ruleMultiplicativeBinaryOperator
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); }
+ (rule__MultiplicativeBinaryOperator__Alternatives)
+ { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule ExponentialOp
+ruleExponentialOp
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); }
+ (CircumflexAccent)
+ { after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule UnaryOp
+ruleUnaryOp
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnaryOpAccess().getAlternatives()); }
+ (rule__UnaryOp__Alternatives)
+ { after(grammarAccess.getUnaryOpAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule AggregationOp
+ruleAggregationOp
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAggregationOpAccess().getAlternatives()); }
+ (rule__AggregationOp__Alternatives)
+ { after(grammarAccess.getAggregationOpAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule LogicValue
+ruleLogicValue
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLogicValueAccess().getAlternatives()); }
+ (rule__LogicValue__Alternatives)
+ { after(grammarAccess.getLogicValueAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+// Rule ObjectiveKind
+ruleObjectiveKind
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getObjectiveKindAccess().getAlternatives()); }
+ (rule__ObjectiveKind__Alternatives)
+ { after(grammarAccess.getObjectiveKindAccess().getAlternatives()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Statement__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); }
+ ruleAssertionOrDefinition
+ { after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); }
+ rulePredicateDefinition
+ { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); }
+ ruleUnnamedErrorPrediateDefinition
+ { after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); }
+ ruleDefaultDefinition
+ { after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); }
+ ruleExternPredicateDefinition
+ { after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); }
+ ruleMetricDefinition
+ { after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); }
+ ruleExternMetricDefinition
+ { after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); }
+ ruleClassDefinition
+ { after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); }
+ ruleScopeDefinition
+ { after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); }
+ )
+ |
+ (
+ { before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); }
+ ruleObjectiveDefinition
+ { after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); }
+ (rule__AssertionOrDefinition__Group_1_0__0)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); }
+ (rule__AssertionOrDefinition__Group_1_1__0)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); }
+ (rule__AssertionOrDefinition__Group_1_2__0)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); }
+ (rule__PredicateDefinition__Group_0_0__0)
+ { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); }
+ (rule__PredicateDefinition__Group_0_1__0)
+ { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Expression__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); }
+ ruleIfElse
+ { after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); }
+ ruleDisjunctiveExpression
+ { after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); }
+ (rule__DisjunctiveExpression__Group_1_0__0)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); }
+ (rule__DisjunctiveExpression__Group_1_1__0)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); }
+ ruleAggregationExpression
+ { after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); }
+ (rule__UnaryExpression__Group_1__0)
+ { after(grammarAccess.getUnaryExpressionAccess().getGroup_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AggregationExpression__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); }
+ ruleAtomicExpression
+ { after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); }
+ ruleCount
+ { after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); }
+ ruleAggregation
+ { after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AtomicExpression__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); }
+ ruleReference
+ { after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); }
+ ruleCall
+ { after(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); }
+ ruleInterval
+ { after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); }
+ ruleLiteral
+ { after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAtomicExpressionAccess().getGroup_4()); }
+ (rule__AtomicExpression__Group_4__0)
+ { after(grammarAccess.getAtomicExpressionAccess().getGroup_4()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); }
+ (rule__Call__TransitiveClosureAssignment_1_0)
+ { after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); }
+ (rule__Call__ReflexiveTransitiveClosureAssignment_1_1)
+ { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Argument__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); }
+ ruleExpressionArgument
+ { after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); }
+ ruleStarArgument
+ { after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); }
+ ruleTypedArgument
+ { after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); }
+ ruleTypedStarArgument
+ { after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Literal__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); }
+ ruleLogicLiteral
+ { after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); }
+ ruleNumericLiteral
+ { after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); }
+ ruleInfinityLiteral
+ { after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); }
+ ruleEmptyIntervalLiteral
+ { after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); }
+ ruleStringLiteral
+ { after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Multiplicity__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); }
+ ruleManyMultiplicity
+ { after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); }
+ ruleExactMultiplicity
+ { after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); }
+ ruleBoundedMultiplicity
+ { after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ScopeDefinition__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); }
+ ruleExactScopeDefinition
+ { after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); }
+ ruleBoundedScopeDefinition
+ { after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); }
+ ruleLowerBoundedScopeDefinition
+ { after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); }
+ (rule__BoundedScopeDefinition__Group_1_0__0)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); }
+ (rule__BoundedScopeDefinition__Group_1_1__0)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); }
+ (rule__LowerBoundedScopeDefinition__Group_1_0__0)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); }
+ (rule__LowerBoundedScopeDefinition__Group_1_1__0)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UpperMultiplicty__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); }
+ RULE_INT
+ { after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); }
+ Asterisk
+ { after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getQualifiedNameAccess().getGroup_0()); }
+ (rule__QualifiedName__Group_0__0)
+ { after(grammarAccess.getQualifiedNameAccess().getGroup_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); }
+ RULE_QUOTED_ID
+ { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricType__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); }
+ (Int)
+ { after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); }
+ (Real)
+ { after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonOperator__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); }
+ (EqualsSignEqualsSign)
+ { after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); }
+ (ExclamationMarkEqualsSign)
+ { after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); }
+ (LessThanSign)
+ { after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); }
+ (LessThanSignEqualsSign)
+ { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); }
+ )
+ |
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); }
+ (GreaterThanSign)
+ { after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); }
+ )
+ |
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); }
+ (GreaterThanSignEqualsSign)
+ { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); }
+ )
+ |
+ (
+ { before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); }
+ (In)
+ { after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveBinaryOperator__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); }
+ (PlusSign)
+ { after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); }
+ (HyphenMinus)
+ { after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeBinaryOperator__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); }
+ (Asterisk)
+ { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); }
+ (Solidus)
+ { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryOp__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); }
+ (ExclamationMark)
+ { after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); }
+ (PlusSign)
+ { after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); }
+ (HyphenMinus)
+ { after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); }
+ (May)
+ { after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); }
+ (Must)
+ { after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); }
+ )
+ |
+ (
+ { before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); }
+ (Current)
+ { after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AggregationOp__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); }
+ (Only)
+ { after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); }
+ (Sum)
+ { after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); }
+ (Prod)
+ { after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); }
+ (Avg)
+ { after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); }
+ (Min)
+ { after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); }
+ )
+ |
+ (
+ { before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); }
+ (Max)
+ { after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LogicValue__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); }
+ (True)
+ { after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); }
+ (False)
+ { after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); }
+ (Unknown)
+ { after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); }
+ )
+ |
+ (
+ { before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); }
+ (Error)
+ { after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ObjectiveKind__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); }
+ (Minimize)
+ { after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); }
+ )
+ |
+ (
+ { before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); }
+ (Maximize)
+ { after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Statement__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Statement__Group__0__Impl
+ rule__Statement__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Statement__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getStatementAccess().getAlternatives_0()); }
+ (rule__Statement__Alternatives_0)
+ { after(grammarAccess.getStatementAccess().getAlternatives_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Statement__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Statement__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Statement__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); }
+ RULE_FULL_STOP
+ { after(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AssertionOrDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group__0__Impl
+ rule__AssertionOrDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); }
+ ruleExpression
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); }
+ (rule__AssertionOrDefinition__Alternatives_1)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AssertionOrDefinition__Group_1_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_0__0__Impl
+ rule__AssertionOrDefinition__Group_1_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); }
+ ()
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); }
+ (rule__AssertionOrDefinition__Group_1_0_1__0)?
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AssertionOrDefinition__Group_1_0_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_0_1__0__Impl
+ rule__AssertionOrDefinition__Group_1_0_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_0_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); }
+ Colon
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_0_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_0_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_0_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); }
+ (rule__AssertionOrDefinition__RangeAssignment_1_0_1_1)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AssertionOrDefinition__Group_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_1__0__Impl
+ rule__AssertionOrDefinition__Group_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); }
+ ()
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_1__1__Impl
+ rule__AssertionOrDefinition__Group_1_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); }
+ ColonHyphenMinus
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); }
+ (rule__AssertionOrDefinition__BodyAssignment_1_1_2)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AssertionOrDefinition__Group_1_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_2__0__Impl
+ rule__AssertionOrDefinition__Group_1_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); }
+ ()
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_2__1__Impl
+ rule__AssertionOrDefinition__Group_1_2__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); }
+ EqualsSign
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_2__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AssertionOrDefinition__Group_1_2__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__Group_1_2__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); }
+ (rule__AssertionOrDefinition__BodyAssignment_1_2_2)
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PredicateDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group__0__Impl
+ rule__PredicateDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); }
+ (rule__PredicateDefinition__Alternatives_0)
+ { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group__1__Impl
+ rule__PredicateDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); }
+ (rule__PredicateDefinition__HeadAssignment_1)
+ { after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group__2__Impl
+ rule__PredicateDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
+ ColonHyphenMinus
+ { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); }
+ (rule__PredicateDefinition__BodyAssignment_3)
+ { after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PredicateDefinition__Group_0_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group_0_0__0__Impl
+ rule__PredicateDefinition__Group_0_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group_0_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); }
+ (rule__PredicateDefinition__FunctionalAssignment_0_0_0)
+ { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group_0_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group_0_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group_0_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); }
+ (rule__PredicateDefinition__ErrorAssignment_0_0_1)?
+ { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PredicateDefinition__Group_0_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group_0_1__0__Impl
+ rule__PredicateDefinition__Group_0_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group_0_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); }
+ (rule__PredicateDefinition__ErrorAssignment_0_1_0)
+ { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group_0_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PredicateDefinition__Group_0_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__Group_0_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); }
+ (rule__PredicateDefinition__FunctionalAssignment_0_1_1)?
+ { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__UnnamedErrorPrediateDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnnamedErrorPrediateDefinition__Group__0__Impl
+ rule__UnnamedErrorPrediateDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); }
+ Error
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnnamedErrorPrediateDefinition__Group__1__Impl
+ rule__UnnamedErrorPrediateDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); }
+ (rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1)
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnnamedErrorPrediateDefinition__Group__2__Impl
+ rule__UnnamedErrorPrediateDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
+ ColonHyphenMinus
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnnamedErrorPrediateDefinition__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); }
+ (rule__UnnamedErrorPrediateDefinition__BodyAssignment_3)
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DefaultDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DefaultDefinition__Group__0__Impl
+ rule__DefaultDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); }
+ Default
+ { after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DefaultDefinition__Group__1__Impl
+ rule__DefaultDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); }
+ (rule__DefaultDefinition__HeadAssignment_1)
+ { after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DefaultDefinition__Group__2__Impl
+ rule__DefaultDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); }
+ Colon
+ { after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DefaultDefinition__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); }
+ (rule__DefaultDefinition__RangeAssignment_3)
+ { after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ExternPredicateDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExternPredicateDefinition__Group__0__Impl
+ rule__ExternPredicateDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternPredicateDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); }
+ Extern
+ { after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternPredicateDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExternPredicateDefinition__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternPredicateDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); }
+ (rule__ExternPredicateDefinition__HeadAssignment_1)
+ { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MetricDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MetricDefinition__Group__0__Impl
+ rule__MetricDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); }
+ (rule__MetricDefinition__TypeAssignment_0)
+ { after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MetricDefinition__Group__1__Impl
+ rule__MetricDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); }
+ (rule__MetricDefinition__HeadAssignment_1)
+ { after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MetricDefinition__Group__2__Impl
+ rule__MetricDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); }
+ EqualsSign
+ { after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MetricDefinition__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); }
+ (rule__MetricDefinition__BodyAssignment_3)
+ { after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ExternMetricDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExternMetricDefinition__Group__0__Impl
+ rule__ExternMetricDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); }
+ Extern
+ { after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExternMetricDefinition__Group__1__Impl
+ rule__ExternMetricDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); }
+ (rule__ExternMetricDefinition__TypeAssignment_1)
+ { after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExternMetricDefinition__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); }
+ (rule__ExternMetricDefinition__HeadAssignment_2)
+ { after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__IfElse__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__IfElse__Group__0__Impl
+ rule__IfElse__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIfElseAccess().getIfKeyword_0()); }
+ If
+ { after(grammarAccess.getIfElseAccess().getIfKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__IfElse__Group__1__Impl
+ rule__IfElse__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); }
+ (rule__IfElse__ConditionAssignment_1)
+ { after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__IfElse__Group__2__Impl
+ rule__IfElse__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIfElseAccess().getThenKeyword_2()); }
+ Then
+ { after(grammarAccess.getIfElseAccess().getThenKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__IfElse__Group__3__Impl
+ rule__IfElse__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIfElseAccess().getThenAssignment_3()); }
+ (rule__IfElse__ThenAssignment_3)
+ { after(grammarAccess.getIfElseAccess().getThenAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__IfElse__Group__4__Impl
+ rule__IfElse__Group__5
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIfElseAccess().getElseKeyword_4()); }
+ Else
+ { after(grammarAccess.getIfElseAccess().getElseKeyword_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__IfElse__Group__5__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__Group__5__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIfElseAccess().getElseAssignment_5()); }
+ (rule__IfElse__ElseAssignment_5)
+ { after(grammarAccess.getIfElseAccess().getElseAssignment_5()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DisjunctiveExpression__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group__0__Impl
+ rule__DisjunctiveExpression__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); }
+ ruleConjunctiveExpression
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); }
+ (rule__DisjunctiveExpression__Alternatives_1)?
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DisjunctiveExpression__Group_1_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_0__0__Impl
+ rule__DisjunctiveExpression__Group_1_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); }
+ ()
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
+ (rule__DisjunctiveExpression__Group_1_0_1__0)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
+ )
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
+ (rule__DisjunctiveExpression__Group_1_0_1__0)*
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); }
+ )
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DisjunctiveExpression__Group_1_0_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_0_1__0__Impl
+ rule__DisjunctiveExpression__Group_1_0_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_0_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); }
+ Semicolon
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_0_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_0_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_0_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); }
+ (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DisjunctiveExpression__Group_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1__0__Impl
+ rule__DisjunctiveExpression__Group_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); }
+ ()
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1__1__Impl
+ rule__DisjunctiveExpression__Group_1_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); }
+ HyphenMinusGreaterThanSign
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1__2__Impl
+ rule__DisjunctiveExpression__Group_1_1__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); }
+ (rule__DisjunctiveExpression__BodyAssignment_1_1_2)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1__3__Impl
+ rule__DisjunctiveExpression__Group_1_1__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); }
+ ()
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); }
+ (rule__DisjunctiveExpression__Group_1_1_4__0)*
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DisjunctiveExpression__Group_1_1_4__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1_4__0__Impl
+ rule__DisjunctiveExpression__Group_1_1_4__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1_4__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); }
+ Semicolon
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1_4__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DisjunctiveExpression__Group_1_1_4__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__Group_1_1_4__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); }
+ (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1)
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Case__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Case__Group__0__Impl
+ rule__Case__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); }
+ (rule__Case__ConditionAssignment_0)
+ { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Case__Group__1__Impl
+ rule__Case__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); }
+ HyphenMinusGreaterThanSign
+ { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Case__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); }
+ (rule__Case__BodyAssignment_2)
+ { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ConjunctiveExpression__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConjunctiveExpression__Group__0__Impl
+ rule__ConjunctiveExpression__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); }
+ ruleComparisonExpression
+ { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConjunctiveExpression__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); }
+ (rule__ConjunctiveExpression__Group_1__0)?
+ { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ConjunctiveExpression__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConjunctiveExpression__Group_1__0__Impl
+ rule__ConjunctiveExpression__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); }
+ ()
+ { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConjunctiveExpression__Group_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ (
+ { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
+ (rule__ConjunctiveExpression__Group_1_1__0)
+ { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
+ )
+ (
+ { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
+ (rule__ConjunctiveExpression__Group_1_1__0)*
+ { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); }
+ )
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ConjunctiveExpression__Group_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConjunctiveExpression__Group_1_1__0__Impl
+ rule__ConjunctiveExpression__Group_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); }
+ Comma
+ { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConjunctiveExpression__Group_1_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__Group_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); }
+ (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1)
+ { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ComparisonExpression__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComparisonExpression__Group__0__Impl
+ rule__ComparisonExpression__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); }
+ ruleAdditiveExpression
+ { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComparisonExpression__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); }
+ (rule__ComparisonExpression__Group_1__0)?
+ { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ComparisonExpression__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComparisonExpression__Group_1__0__Impl
+ rule__ComparisonExpression__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); }
+ ()
+ { after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComparisonExpression__Group_1__1__Impl
+ rule__ComparisonExpression__Group_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); }
+ (rule__ComparisonExpression__OpAssignment_1_1)
+ { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ComparisonExpression__Group_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__Group_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); }
+ (rule__ComparisonExpression__RightAssignment_1_2)
+ { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AdditiveExpression__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AdditiveExpression__Group__0__Impl
+ rule__AdditiveExpression__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); }
+ ruleMultiplicativeExpression
+ { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AdditiveExpression__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); }
+ (rule__AdditiveExpression__Group_1__0)*
+ { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AdditiveExpression__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AdditiveExpression__Group_1__0__Impl
+ rule__AdditiveExpression__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
+ ()
+ { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AdditiveExpression__Group_1__1__Impl
+ rule__AdditiveExpression__Group_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); }
+ (rule__AdditiveExpression__OpAssignment_1_1)
+ { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AdditiveExpression__Group_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__Group_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); }
+ (rule__AdditiveExpression__RightAssignment_1_2)
+ { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MultiplicativeExpression__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicativeExpression__Group__0__Impl
+ rule__MultiplicativeExpression__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); }
+ ruleExponentialExpression
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicativeExpression__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); }
+ (rule__MultiplicativeExpression__Group_1__0)*
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MultiplicativeExpression__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicativeExpression__Group_1__0__Impl
+ rule__MultiplicativeExpression__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
+ ()
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicativeExpression__Group_1__1__Impl
+ rule__MultiplicativeExpression__Group_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); }
+ (rule__MultiplicativeExpression__OpAssignment_1_1)
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicativeExpression__Group_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__Group_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); }
+ (rule__MultiplicativeExpression__RightAssignment_1_2)
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ExponentialExpression__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExponentialExpression__Group__0__Impl
+ rule__ExponentialExpression__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); }
+ ruleUnaryExpression
+ { after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExponentialExpression__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); }
+ (rule__ExponentialExpression__Group_1__0)?
+ { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ExponentialExpression__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExponentialExpression__Group_1__0__Impl
+ rule__ExponentialExpression__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
+ ()
+ { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExponentialExpression__Group_1__1__Impl
+ rule__ExponentialExpression__Group_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); }
+ (rule__ExponentialExpression__OpAssignment_1_1)
+ { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExponentialExpression__Group_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__Group_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); }
+ (rule__ExponentialExpression__RightAssignment_1_2)
+ { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__UnaryExpression__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnaryExpression__Group_1__0__Impl
+ rule__UnaryExpression__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); }
+ ()
+ { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnaryExpression__Group_1__1__Impl
+ rule__UnaryExpression__Group_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); }
+ (rule__UnaryExpression__OpAssignment_1_1)
+ { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__Group_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__UnaryExpression__Group_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__Group_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); }
+ (rule__UnaryExpression__BodyAssignment_1_2)
+ { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Count__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Count__Group__0__Impl
+ rule__Count__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCountAccess().getCountKeyword_0()); }
+ Count
+ { after(grammarAccess.getCountAccess().getCountKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Count__Group__1__Impl
+ rule__Count__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); }
+ LeftCurlyBracket
+ { after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Count__Group__2__Impl
+ rule__Count__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCountAccess().getBodyAssignment_2()); }
+ (rule__Count__BodyAssignment_2)
+ { after(grammarAccess.getCountAccess().getBodyAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Count__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); }
+ RightCurlyBracket
+ { after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Aggregation__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Aggregation__Group__0__Impl
+ rule__Aggregation__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAggregationAccess().getOpAssignment_0()); }
+ (rule__Aggregation__OpAssignment_0)
+ { after(grammarAccess.getAggregationAccess().getOpAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Aggregation__Group__1__Impl
+ rule__Aggregation__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); }
+ LeftCurlyBracket
+ { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Aggregation__Group__2__Impl
+ rule__Aggregation__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAggregationAccess().getBodyAssignment_2()); }
+ (rule__Aggregation__BodyAssignment_2)
+ { after(grammarAccess.getAggregationAccess().getBodyAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Aggregation__Group__3__Impl
+ rule__Aggregation__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); }
+ VerticalLine
+ { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Aggregation__Group__4__Impl
+ rule__Aggregation__Group__5
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); }
+ (rule__Aggregation__ConditionAssignment_4)
+ { after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Aggregation__Group__5__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__Group__5__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); }
+ RightCurlyBracket
+ { after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AtomicExpression__Group_4__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AtomicExpression__Group_4__0__Impl
+ rule__AtomicExpression__Group_4__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AtomicExpression__Group_4__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); }
+ LeftParenthesis
+ { after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AtomicExpression__Group_4__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AtomicExpression__Group_4__1__Impl
+ rule__AtomicExpression__Group_4__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AtomicExpression__Group_4__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); }
+ ruleExpression
+ { after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AtomicExpression__Group_4__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AtomicExpression__Group_4__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AtomicExpression__Group_4__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); }
+ RightParenthesis
+ { after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Call__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Call__Group__0__Impl
+ rule__Call__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCallAccess().getFunctorAssignment_0()); }
+ (rule__Call__FunctorAssignment_0)
+ { after(grammarAccess.getCallAccess().getFunctorAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Call__Group__1__Impl
+ rule__Call__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCallAccess().getAlternatives_1()); }
+ (rule__Call__Alternatives_1)?
+ { after(grammarAccess.getCallAccess().getAlternatives_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Call__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); }
+ (rule__Call__ArgumentListAssignment_2)
+ { after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ArgumentList__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group__0__Impl
+ rule__ArgumentList__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); }
+ ()
+ { after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group__1__Impl
+ rule__ArgumentList__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); }
+ LeftParenthesis
+ { after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group__2__Impl
+ rule__ArgumentList__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getGroup_2()); }
+ (rule__ArgumentList__Group_2__0)?
+ { after(grammarAccess.getArgumentListAccess().getGroup_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); }
+ RightParenthesis
+ { after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ArgumentList__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group_2__0__Impl
+ rule__ArgumentList__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); }
+ (rule__ArgumentList__ArgumentsAssignment_2_0)
+ { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getGroup_2_1()); }
+ (rule__ArgumentList__Group_2_1__0)*
+ { after(grammarAccess.getArgumentListAccess().getGroup_2_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ArgumentList__Group_2_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group_2_1__0__Impl
+ rule__ArgumentList__Group_2_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group_2_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); }
+ Comma
+ { after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group_2_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ArgumentList__Group_2_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__Group_2_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); }
+ (rule__ArgumentList__ArgumentsAssignment_2_1_1)
+ { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__StarArgument__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__StarArgument__Group__0__Impl
+ rule__StarArgument__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__StarArgument__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); }
+ ()
+ { after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__StarArgument__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__StarArgument__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__StarArgument__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); }
+ Asterisk
+ { after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__TypedArgument__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__TypedArgument__Group__0__Impl
+ rule__TypedArgument__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedArgument__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); }
+ (rule__TypedArgument__TypeAssignment_0)
+ { after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedArgument__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__TypedArgument__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedArgument__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); }
+ (rule__TypedArgument__VariableAssignment_1)
+ { after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__TypedStarArgument__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__TypedStarArgument__Group__0__Impl
+ rule__TypedStarArgument__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedStarArgument__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); }
+ (rule__TypedStarArgument__TypeAssignment_0)
+ { after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedStarArgument__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__TypedStarArgument__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedStarArgument__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); }
+ Asterisk
+ { after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Interval__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Interval__Group__0__Impl
+ rule__Interval__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); }
+ LeftSquareBracket
+ { after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Interval__Group__1__Impl
+ rule__Interval__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); }
+ (rule__Interval__LowerBoundAssignment_1)
+ { after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Interval__Group__2__Impl
+ rule__Interval__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); }
+ FullStopFullStop
+ { after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Interval__Group__3__Impl
+ rule__Interval__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); }
+ (rule__Interval__UpperBoundAssignment_3)
+ { after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Interval__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); }
+ RightSquareBracket
+ { after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__InfinityLiteral__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__InfinityLiteral__Group__0__Impl
+ rule__InfinityLiteral__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__InfinityLiteral__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); }
+ ()
+ { after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__InfinityLiteral__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__InfinityLiteral__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__InfinityLiteral__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); }
+ Inf
+ { after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__EmptyIntervalLiteral__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__EmptyIntervalLiteral__Group__0__Impl
+ rule__EmptyIntervalLiteral__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__EmptyIntervalLiteral__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); }
+ ()
+ { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__EmptyIntervalLiteral__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__EmptyIntervalLiteral__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__EmptyIntervalLiteral__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); }
+ Empty
+ { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ClassDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__0__Impl
+ rule__ClassDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); }
+ (rule__ClassDefinition__AbstractAssignment_0)?
+ { after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__1__Impl
+ rule__ClassDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); }
+ Class
+ { after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__2__Impl
+ rule__ClassDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); }
+ (rule__ClassDefinition__NameAssignment_2)
+ { after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__3__Impl
+ rule__ClassDefinition__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getGroup_3()); }
+ (rule__ClassDefinition__Group_3__0)?
+ { after(grammarAccess.getClassDefinitionAccess().getGroup_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__4__Impl
+ rule__ClassDefinition__Group__5
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); }
+ LeftCurlyBracket
+ { after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__5__Impl
+ rule__ClassDefinition__Group__6
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__5__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); }
+ (rule__ClassDefinition__MembersAssignment_5)*
+ { after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__6
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group__6__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group__6__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); }
+ RightCurlyBracket
+ { after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ClassDefinition__Group_3__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group_3__0__Impl
+ rule__ClassDefinition__Group_3__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); }
+ Extends
+ { after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group_3__1__Impl
+ rule__ClassDefinition__Group_3__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); }
+ (rule__ClassDefinition__SuperclassesAssignment_3_1)
+ { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group_3__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); }
+ (rule__ClassDefinition__Group_3_2__0)*
+ { after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ClassDefinition__Group_3_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group_3_2__0__Impl
+ rule__ClassDefinition__Group_3_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); }
+ Comma
+ { after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ClassDefinition__Group_3_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__Group_3_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); }
+ (rule__ClassDefinition__SuperclassesAssignment_3_2_1)
+ { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MemberDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group__0__Impl
+ rule__MemberDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); }
+ (rule__MemberDefinition__ContainmentAssignment_0)?
+ { after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group__1__Impl
+ rule__MemberDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); }
+ (rule__MemberDefinition__TypeAssignment_1)
+ { after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group__2__Impl
+ rule__MemberDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); }
+ (rule__MemberDefinition__MultiplicityAssignment_2)?
+ { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group__3__Impl
+ rule__MemberDefinition__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); }
+ (rule__MemberDefinition__NameAssignment_3)
+ { after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group__4__Impl
+ rule__MemberDefinition__Group__5
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); }
+ (rule__MemberDefinition__Group_4__0)?
+ { after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group__5__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group__5__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); }
+ (Semicolon)?
+ { after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MemberDefinition__Group_4__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group_4__0__Impl
+ rule__MemberDefinition__Group_4__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group_4__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); }
+ Opposite
+ { after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group_4__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MemberDefinition__Group_4__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__Group_4__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); }
+ (rule__MemberDefinition__OppositeAssignment_4_1)
+ { after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ManyMultiplicity__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ManyMultiplicity__Group__0__Impl
+ rule__ManyMultiplicity__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ManyMultiplicity__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); }
+ ()
+ { after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ManyMultiplicity__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ManyMultiplicity__Group__1__Impl
+ rule__ManyMultiplicity__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ManyMultiplicity__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); }
+ LeftSquareBracket
+ { after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ManyMultiplicity__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ManyMultiplicity__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ManyMultiplicity__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); }
+ RightSquareBracket
+ { after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ExactMultiplicity__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactMultiplicity__Group__0__Impl
+ rule__ExactMultiplicity__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactMultiplicity__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
+ LeftSquareBracket
+ { after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactMultiplicity__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactMultiplicity__Group__1__Impl
+ rule__ExactMultiplicity__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactMultiplicity__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); }
+ (rule__ExactMultiplicity__MultiplicityAssignment_1)
+ { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactMultiplicity__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactMultiplicity__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactMultiplicity__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); }
+ RightSquareBracket
+ { after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BoundedMultiplicity__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedMultiplicity__Group__0__Impl
+ rule__BoundedMultiplicity__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
+ LeftSquareBracket
+ { after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedMultiplicity__Group__1__Impl
+ rule__BoundedMultiplicity__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); }
+ (rule__BoundedMultiplicity__LowerBoundAssignment_1)
+ { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedMultiplicity__Group__2__Impl
+ rule__BoundedMultiplicity__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); }
+ FullStopFullStop
+ { after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedMultiplicity__Group__3__Impl
+ rule__BoundedMultiplicity__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); }
+ (rule__BoundedMultiplicity__UpperBoundAssignment_3)
+ { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedMultiplicity__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); }
+ RightSquareBracket
+ { after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ExactScopeDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactScopeDefinition__Group__0__Impl
+ rule__ExactScopeDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); }
+ Scope
+ { after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactScopeDefinition__Group__1__Impl
+ rule__ExactScopeDefinition__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); }
+ (rule__ExactScopeDefinition__TypeAssignment_1)
+ { after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactScopeDefinition__Group__2__Impl
+ rule__ExactScopeDefinition__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); }
+ EqualsSignEqualsSign
+ { after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ExactScopeDefinition__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); }
+ (rule__ExactScopeDefinition__ExactScopeAssignment_3)
+ { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BoundedScopeDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group__0__Impl
+ rule__BoundedScopeDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
+ Scope
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); }
+ (rule__BoundedScopeDefinition__Alternatives_1)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BoundedScopeDefinition__Group_1_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_0__0__Impl
+ rule__BoundedScopeDefinition__Group_1_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); }
+ (rule__BoundedScopeDefinition__Group_1_0_0__0)?
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_0__1__Impl
+ rule__BoundedScopeDefinition__Group_1_0__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); }
+ (rule__BoundedScopeDefinition__TypeAssignment_1_0_1)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_0__2__Impl
+ rule__BoundedScopeDefinition__Group_1_0__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); }
+ LessThanSignEqualsSign
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_0__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); }
+ (rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BoundedScopeDefinition__Group_1_0_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_0_0__0__Impl
+ rule__BoundedScopeDefinition__Group_1_0_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); }
+ (rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_0_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_0_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); }
+ LessThanSignEqualsSign
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BoundedScopeDefinition__Group_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_1__0__Impl
+ rule__BoundedScopeDefinition__Group_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); }
+ (rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_1__1__Impl
+ rule__BoundedScopeDefinition__Group_1_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
+ GreaterThanSignEqualsSign
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_1__2__Impl
+ rule__BoundedScopeDefinition__Group_1_1__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); }
+ (rule__BoundedScopeDefinition__TypeAssignment_1_1_2)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_1__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); }
+ (rule__BoundedScopeDefinition__Group_1_1_3__0)?
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__BoundedScopeDefinition__Group_1_1_3__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_1_3__0__Impl
+ rule__BoundedScopeDefinition__Group_1_1_3__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1_3__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); }
+ GreaterThanSignEqualsSign
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1_3__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__BoundedScopeDefinition__Group_1_1_3__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__Group_1_1_3__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); }
+ (rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1)
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__LowerBoundedScopeDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group__0__Impl
+ rule__LowerBoundedScopeDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
+ Scope
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); }
+ (rule__LowerBoundedScopeDefinition__Alternatives_1)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__LowerBoundedScopeDefinition__Group_1_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl
+ rule__LowerBoundedScopeDefinition__Group_1_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); }
+ (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl
+ rule__LowerBoundedScopeDefinition__Group_1_0__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); }
+ LessThanSignEqualsSign
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_0__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); }
+ (rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__LowerBoundedScopeDefinition__Group_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl
+ rule__LowerBoundedScopeDefinition__Group_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); }
+ (rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl
+ rule__LowerBoundedScopeDefinition__Group_1_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
+ GreaterThanSignEqualsSign
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); }
+ (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2)
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ObjectiveDefinition__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ObjectiveDefinition__Group__0__Impl
+ rule__ObjectiveDefinition__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ObjectiveDefinition__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); }
+ (rule__ObjectiveDefinition__KindAssignment_0)
+ { after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ObjectiveDefinition__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ObjectiveDefinition__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ObjectiveDefinition__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); }
+ (rule__ObjectiveDefinition__ObjectiveAssignment_1)
+ { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Real__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Real__Group__0__Impl
+ rule__Real__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); }
+ RULE_INT
+ { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Real__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRealAccess().getGroup_1()); }
+ (rule__Real__Group_1__0)?
+ { after(grammarAccess.getRealAccess().getGroup_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Real__Group_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Real__Group_1__0__Impl
+ rule__Real__Group_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Group_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); }
+ FullStop
+ { after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Group_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__Real__Group_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Group_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); }
+ RULE_INT
+ { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__QualifiedName__Group_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group_0__0__Impl
+ rule__QualifiedName__Group_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); }
+ RULE_ID
+ { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); }
+ (rule__QualifiedName__Group_0_1__0)*
+ { after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__QualifiedName__Group_0_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group_0_1__0__Impl
+ rule__QualifiedName__Group_0_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group_0_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); }
+ FullStop
+ { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group_0_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group_0_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group_0_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+ { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); }
+ RULE_ID
+ { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); }
+)
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__Problem__StatementsAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); }
+ ruleStatement
+ { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__RangeAssignment_1_0_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); }
+ ruleExpression
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__BodyAssignment_1_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); }
+ ruleExpression
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AssertionOrDefinition__BodyAssignment_1_2_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); }
+ ruleExpression
+ { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__FunctionalAssignment_0_0_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
+ Functional
+ { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
+ )
+ { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__ErrorAssignment_0_0_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
+ Error
+ { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
+ )
+ { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__ErrorAssignment_0_1_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
+ Error
+ { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
+ )
+ { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__FunctionalAssignment_0_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
+ Functional
+ { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
+ )
+ { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__HeadAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
+ ruleCall
+ { after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PredicateDefinition__BodyAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
+ ruleExpression
+ { after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); }
+ ruleArgumentList
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnnamedErrorPrediateDefinition__BodyAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
+ ruleExpression
+ { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__HeadAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
+ ruleCall
+ { after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultDefinition__RangeAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); }
+ ruleExpression
+ { after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternPredicateDefinition__HeadAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
+ ruleCall
+ { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__TypeAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); }
+ ruleMetricType
+ { after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__HeadAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); }
+ ruleExpression
+ { after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MetricDefinition__BodyAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
+ ruleExpression
+ { after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__TypeAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); }
+ ruleMetricType
+ { after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExternMetricDefinition__HeadAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); }
+ ruleCall
+ { after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__ConditionAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); }
+ ruleExpression
+ { after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__ThenAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); }
+ ruleExpression
+ { after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__IfElse__ElseAssignment_5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); }
+ ruleExpression
+ { after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); }
+ ruleConjunctiveExpression
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__BodyAssignment_1_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); }
+ ruleConjunctiveExpression
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DisjunctiveExpression__CasesAssignment_1_1_4_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); }
+ ruleCase
+ { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__ConditionAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); }
+ ruleConjunctiveExpression
+ { after(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Case__BodyAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); }
+ ruleConjunctiveExpression
+ { after(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConjunctiveExpression__ChildrenAssignment_1_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); }
+ ruleComparisonExpression
+ { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__OpAssignment_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); }
+ ruleComparisonOperator
+ { after(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ComparisonExpression__RightAssignment_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); }
+ ruleAdditiveExpression
+ { after(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__OpAssignment_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); }
+ ruleAdditiveBinaryOperator
+ { after(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AdditiveExpression__RightAssignment_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); }
+ ruleMultiplicativeExpression
+ { after(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__OpAssignment_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); }
+ ruleMultiplicativeBinaryOperator
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicativeExpression__RightAssignment_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
+ ruleExponentialExpression
+ { after(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__OpAssignment_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); }
+ ruleExponentialOp
+ { after(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExponentialExpression__RightAssignment_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
+ ruleExponentialExpression
+ { after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__OpAssignment_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); }
+ ruleUnaryOp
+ { after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnaryExpression__BodyAssignment_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); }
+ ruleAggregationExpression
+ { after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Count__BodyAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); }
+ ruleExpression
+ { after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__OpAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); }
+ ruleAggregationOp
+ { after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__BodyAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); }
+ ruleExpression
+ { after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Aggregation__ConditionAssignment_4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); }
+ ruleExpression
+ { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__FunctorAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); }
+ ruleReference
+ { after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__TransitiveClosureAssignment_1_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); }
+ RULE_TRANSITIVE_CLOSURE
+ { after(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__ReflexiveTransitiveClosureAssignment_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); }
+ RULE_REFLEXIVE_TRANSITIVE_CLOSURE
+ { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Call__ArgumentListAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); }
+ ruleArgumentList
+ { after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__ArgumentsAssignment_2_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); }
+ ruleArgument
+ { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ArgumentList__ArgumentsAssignment_2_1_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); }
+ ruleArgument
+ { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExpressionArgument__BodyAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); }
+ ruleComparisonExpression
+ { after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedArgument__TypeAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
+ (
+ { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
+ )
+ { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedArgument__VariableAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); }
+ (
+ { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); }
+ )
+ { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypedStarArgument__TypeAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
+ (
+ { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); }
+ )
+ { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Reference__ReferredAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); }
+ (
+ { before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); }
+ )
+ { after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__LowerBoundAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); }
+ ruleExpression
+ { after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Interval__UpperBoundAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); }
+ ruleExpression
+ { after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LogicLiteral__ValueAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); }
+ ruleLogicValue
+ { after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__NumericLiteral__ValueAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); }
+ ruleReal
+ { after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__StringLiteral__ValueAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); }
+ RULE_STRING
+ { after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__AbstractAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
+ Abstract
+ { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
+ )
+ { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__NameAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); }
+ RULE_ID
+ { after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__SuperclassesAssignment_3_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); }
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); }
+ )
+ { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__SuperclassesAssignment_3_2_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); }
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); }
+ )
+ { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ClassDefinition__MembersAssignment_5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); }
+ ruleMemberDefinition
+ { after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__ContainmentAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
+ Contains
+ { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
+ )
+ { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__TypeAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
+ )
+ { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__MultiplicityAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); }
+ ruleMultiplicity
+ { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__NameAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); }
+ RULE_ID
+ { after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MemberDefinition__OppositeAssignment_4_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); }
+ (
+ { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); }
+ )
+ { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactMultiplicity__MultiplicityAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); }
+ ruleUpperMultiplicty
+ { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__LowerBoundAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); }
+ RULE_INT
+ { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedMultiplicity__UpperBoundAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); }
+ ruleUpperMultiplicty
+ { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__TypeAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
+ (
+ { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); }
+ )
+ { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ExactScopeDefinition__ExactScopeAssignment_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); }
+ RULE_INT
+ { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); }
+ RULE_INT
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__TypeAssignment_1_0_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); }
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); }
+ )
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); }
+ RULE_INT
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); }
+ RULE_INT
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__TypeAssignment_1_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); }
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); }
+ )
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); }
+ RULE_INT
+ { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); }
+ RULE_INT
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); }
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); }
+ )
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); }
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); }
+ ruleQualifiedName
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); }
+ )
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); }
+ RULE_INT
+ { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ObjectiveDefinition__KindAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); }
+ ruleObjectiveKind
+ { after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ObjectiveDefinition__ObjectiveAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ (
+ { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); }
+ ruleExpression
+ { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); }
+ )
+;
+finally {
+ restoreStackSize(stackSize);
+}
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java
index 2da6b7d6..8664bb6d 100644
--- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java
@@ -1,4 +1,6 @@
package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
+import java.util.Map;
+import java.util.HashMap;
import java.io.InputStream;
import org.eclipse.xtext.*;
@@ -18,85 +20,96 @@ import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
+
@SuppressWarnings("all")
public class InternalSolverLanguageParser extends AbstractInternalContentAssistParser {
public static final String[] tokenNames = new String[] {
- "", "", "", "", "RULE_INT", "RULE_QUOTED_ID", "RULE_DOT", "RULE_ID", "RULE_STAR", "RULE_PLUS", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'^'", "'*'", "'int'", "'real'", "'=='", "'!='", "'<'", "'<='", "'>'", "'>='", "'in'", "'+'", "'-'", "'/'", "'!'", "'may'", "'must'", "'current'", "'only'", "'sum'", "'prod'", "'avg'", "'min'", "'max'", "'true'", "'false'", "'unknown'", "'error'", "'minimize'", "'maximize'", "':'", "':-'", "'='", "'default'", "'extern'", "'.'", "'if'", "'then'", "'else'", "';'", "'->'", "','", "'count'", "'{'", "'}'", "'|'", "'('", "')'", "'['", "'..'", "']'", "'inf'", "'empty'", "'class'", "'extends'", "'opposite'", "'scope'", "'functional'", "'abstract'", "'contains'"
+ "", "", "", "", "GREATER_EQ", "Functional", "Abstract", "Contains", "Maximize", "Minimize", "Opposite", "GREATER", "LESS_EQ", "Current", "Default", "Extends", "Unknown", "NOT_EQ", "Extern", "Class", "Count", "Empty", "Error", "False", "Scope", "LESS", "Else", "Must", "Only", "Prod", "Real", "Then", "True", "ADD", "DIV", "MUL", "POW", "SUB", "Avg", "Inf", "Int", "Max", "May", "Min", "Sum", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "GreaterThanSignEqualsSign", "EQ", "IN", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER"
};
- public static final int T__50=50;
- public static final int T__19=19;
- public static final int T__15=15;
- public static final int T__59=59;
- public static final int T__16=16;
- public static final int T__17=17;
- public static final int T__18=18;
- public static final int T__55=55;
- public static final int T__56=56;
- public static final int T__57=57;
- public static final int T__58=58;
- public static final int T__51=51;
- public static final int RULE_STAR=8;
- public static final int T__52=52;
- public static final int T__53=53;
- public static final int T__54=54;
- public static final int T__60=60;
- public static final int T__61=61;
- public static final int RULE_ID=7;
- public static final int RULE_QUOTED_ID=5;
- public static final int T__26=26;
- public static final int T__27=27;
- public static final int T__28=28;
- public static final int RULE_INT=4;
- public static final int T__29=29;
- public static final int T__22=22;
- public static final int T__66=66;
- public static final int RULE_ML_COMMENT=11;
- public static final int T__23=23;
- public static final int T__67=67;
- public static final int T__24=24;
- public static final int T__68=68;
- public static final int T__25=25;
- public static final int T__69=69;
- public static final int T__62=62;
- public static final int T__63=63;
- public static final int T__20=20;
- public static final int T__64=64;
- public static final int T__21=21;
- public static final int T__65=65;
- public static final int T__70=70;
- public static final int T__71=71;
- public static final int T__72=72;
- public static final int RULE_STRING=10;
- public static final int RULE_SL_COMMENT=12;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int RULE_PLUS=9;
- public static final int T__36=36;
- public static final int T__73=73;
- public static final int RULE_DOT=6;
+ public static final int ADD=33;
+ public static final int True=32;
+ public static final int GREATER_EQ=4;
+ public static final int Count=20;
+ public static final int False=23;
+ public static final int Must=27;
+ public static final int LessThanSign=67;
+ public static final int LeftParenthesis=57;
+ public static final int Unknown=16;
+ public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80;
+ public static final int FullStopFullStop=47;
+ public static final int Real=30;
+ public static final int Then=31;
+ public static final int Extends=15;
+ public static final int RightSquareBracket=71;
+ public static final int ExclamationMark=56;
+ public static final int Opposite=10;
+ public static final int SUB=37;
+ public static final int GreaterThanSign=69;
+ public static final int NOT_EQ=17;
+ public static final int RULE_ID=82;
+ public static final int MUL=35;
+ public static final int IN=53;
+ public static final int RULE_QUOTED_ID=77;
+ public static final int RightParenthesis=58;
+ public static final int Sum=44;
+ public static final int EQ=52;
+ public static final int GreaterThanSignEqualsSign=51;
+ public static final int Functional=5;
+ public static final int EqualsSignEqualsSign=50;
+ public static final int Avg=38;
+ public static final int Min=43;
+ public static final int VerticalLine=74;
+ public static final int PlusSign=60;
+ public static final int RULE_INT=83;
+ public static final int Contains=7;
+ public static final int RULE_ML_COMMENT=84;
+ public static final int POW=36;
+ public static final int RULE_TRANSITIVE_CLOSURE=79;
+ public static final int Class=19;
+ public static final int LESS=25;
+ public static final int LeftSquareBracket=70;
+ public static final int RULE_FULL_STOP=81;
+ public static final int Current=13;
+ public static final int If=54;
+ public static final int Inf=39;
+ public static final int LESS_EQ=12;
+ public static final int May=42;
+ public static final int Max=41;
+ public static final int In=55;
+ public static final int RULE_STRING=76;
+ public static final int Int=40;
+ public static final int Extern=18;
+ public static final int RULE_SL_COMMENT=78;
+ public static final int Prod=29;
+ public static final int Comma=61;
+ public static final int EqualsSign=68;
+ public static final int Empty=21;
+ public static final int HyphenMinus=62;
+ public static final int Maximize=8;
+ public static final int LessThanSignEqualsSign=49;
+ public static final int Solidus=64;
+ public static final int Colon=65;
+ public static final int RightCurlyBracket=75;
public static final int EOF=-1;
- public static final int T__30=30;
- public static final int T__74=74;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_WS=13;
- public static final int RULE_ANY_OTHER=14;
- public static final int T__48=48;
- public static final int T__49=49;
- public static final int T__44=44;
- public static final int T__45=45;
- public static final int T__46=46;
- public static final int T__47=47;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__42=42;
- public static final int T__43=43;
+ public static final int Asterisk=59;
+ public static final int FullStop=63;
+ public static final int RULE_WS=85;
+ public static final int Abstract=6;
+ public static final int Minimize=9;
+ public static final int GREATER=11;
+ public static final int LeftCurlyBracket=73;
+ public static final int Error=22;
+ public static final int Only=28;
+ public static final int RULE_ANY_OTHER=86;
+ public static final int Default=14;
+ public static final int ColonHyphenMinus=48;
+ public static final int CircumflexAccent=72;
+ public static final int DIV=34;
+ public static final int Semicolon=66;
+ public static final int Scope=24;
+ public static final int Else=26;
+ public static final int ExclamationMarkEqualsSign=45;
+ public static final int HyphenMinusGreaterThanSign=46;
// delegates
// delegators
@@ -112,10 +125,86 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
public String[] getTokenNames() { return InternalSolverLanguageParser.tokenNames; }
- public String getGrammarFileName() { return "InternalSolverLanguage.g"; }
+ public String getGrammarFileName() { return "InternalSolverLanguageParser.g"; }
private SolverLanguageGrammarAccess grammarAccess;
+ private final Map tokenNameToValue = new HashMap();
+
+ {
+ tokenNameToValue.put("ExclamationMark", "'!'");
+ tokenNameToValue.put("LeftParenthesis", "'('");
+ tokenNameToValue.put("RightParenthesis", "')'");
+ tokenNameToValue.put("Asterisk", "'*'");
+ tokenNameToValue.put("PlusSign", "'+'");
+ tokenNameToValue.put("Comma", "','");
+ tokenNameToValue.put("HyphenMinus", "'-'");
+ tokenNameToValue.put("FullStop", "'.'");
+ tokenNameToValue.put("Solidus", "'/'");
+ tokenNameToValue.put("Colon", "':'");
+ tokenNameToValue.put("Semicolon", "';'");
+ tokenNameToValue.put("LessThanSign", "'<'");
+ tokenNameToValue.put("EqualsSign", "'='");
+ tokenNameToValue.put("GreaterThanSign", "'>'");
+ tokenNameToValue.put("LeftSquareBracket", "'['");
+ tokenNameToValue.put("RightSquareBracket", "']'");
+ tokenNameToValue.put("CircumflexAccent", "'^'");
+ tokenNameToValue.put("LeftCurlyBracket", "'{'");
+ tokenNameToValue.put("VerticalLine", "'|'");
+ tokenNameToValue.put("RightCurlyBracket", "'}'");
+ tokenNameToValue.put("ExclamationMarkEqualsSign", "'!='");
+ tokenNameToValue.put("HyphenMinusGreaterThanSign", "'->'");
+ tokenNameToValue.put("FullStopFullStop", "'..'");
+ tokenNameToValue.put("ColonHyphenMinus", "':-'");
+ tokenNameToValue.put("LessThanSignEqualsSign", "'<='");
+ tokenNameToValue.put("EqualsSignEqualsSign", "'=='");
+ tokenNameToValue.put("GreaterThanSignEqualsSign", "'>='");
+ tokenNameToValue.put("EQ", "'EQ'");
+ tokenNameToValue.put("IN", "'IN'");
+ tokenNameToValue.put("If", "'if'");
+ tokenNameToValue.put("In", "'in'");
+ tokenNameToValue.put("ADD", "'ADD'");
+ tokenNameToValue.put("DIV", "'DIV'");
+ tokenNameToValue.put("MUL", "'MUL'");
+ tokenNameToValue.put("POW", "'POW'");
+ tokenNameToValue.put("SUB", "'SUB'");
+ tokenNameToValue.put("Avg", "'avg'");
+ tokenNameToValue.put("Inf", "'inf'");
+ tokenNameToValue.put("Int", "'int'");
+ tokenNameToValue.put("Max", "'max'");
+ tokenNameToValue.put("May", "'may'");
+ tokenNameToValue.put("Min", "'min'");
+ tokenNameToValue.put("Sum", "'sum'");
+ tokenNameToValue.put("LESS", "'LESS'");
+ tokenNameToValue.put("Else", "'else'");
+ tokenNameToValue.put("Must", "'must'");
+ tokenNameToValue.put("Only", "'only'");
+ tokenNameToValue.put("Prod", "'prod'");
+ tokenNameToValue.put("Real", "'real'");
+ tokenNameToValue.put("Then", "'then'");
+ tokenNameToValue.put("True", "'true'");
+ tokenNameToValue.put("Class", "'class'");
+ tokenNameToValue.put("Count", "'count'");
+ tokenNameToValue.put("Empty", "'empty'");
+ tokenNameToValue.put("Error", "'error'");
+ tokenNameToValue.put("False", "'false'");
+ tokenNameToValue.put("Scope", "'scope'");
+ tokenNameToValue.put("NOT_EQ", "'NOT_EQ'");
+ tokenNameToValue.put("Extern", "'extern'");
+ tokenNameToValue.put("GREATER", "'GREATER'");
+ tokenNameToValue.put("LESS_EQ", "'LESS_EQ'");
+ tokenNameToValue.put("Current", "'current'");
+ tokenNameToValue.put("Default", "'default'");
+ tokenNameToValue.put("Extends", "'extends'");
+ tokenNameToValue.put("Unknown", "'unknown'");
+ tokenNameToValue.put("Abstract", "'abstract'");
+ tokenNameToValue.put("Contains", "'contains'");
+ tokenNameToValue.put("Maximize", "'maximize'");
+ tokenNameToValue.put("Minimize", "'minimize'");
+ tokenNameToValue.put("Opposite", "'opposite'");
+ tokenNameToValue.put("GREATER_EQ", "'GREATER_EQ'");
+ tokenNameToValue.put("Functional", "'functional'");
+ }
public void setGrammarAccess(SolverLanguageGrammarAccess grammarAccess) {
this.grammarAccess = grammarAccess;
@@ -128,30 +217,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
@Override
protected String getValueForTokenName(String tokenName) {
- return tokenName;
+ String result = tokenNameToValue.get(tokenName);
+ if (result == null)
+ result = tokenName;
+ return result;
}
// $ANTLR start "entryRuleProblem"
- // InternalSolverLanguage.g:54:1: entryRuleProblem : ruleProblem EOF ;
+ // InternalSolverLanguageParser.g:127:1: entryRuleProblem : ruleProblem EOF ;
public final void entryRuleProblem() throws RecognitionException {
try {
- // InternalSolverLanguage.g:55:1: ( ruleProblem EOF )
- // InternalSolverLanguage.g:56:1: ruleProblem EOF
+ // InternalSolverLanguageParser.g:128:1: ( ruleProblem EOF )
+ // InternalSolverLanguageParser.g:129:1: ruleProblem EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getProblemRule());
- }
+ before(grammarAccess.getProblemRule());
pushFollow(FOLLOW_1);
ruleProblem();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getProblemRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getProblemRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -168,41 +256,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleProblem"
- // InternalSolverLanguage.g:63:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ;
+ // InternalSolverLanguageParser.g:136:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ;
public final void ruleProblem() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:67:2: ( ( ( rule__Problem__StatementsAssignment )* ) )
- // InternalSolverLanguage.g:68:2: ( ( rule__Problem__StatementsAssignment )* )
+ // InternalSolverLanguageParser.g:140:2: ( ( ( rule__Problem__StatementsAssignment )* ) )
+ // InternalSolverLanguageParser.g:141:2: ( ( rule__Problem__StatementsAssignment )* )
{
- // InternalSolverLanguage.g:68:2: ( ( rule__Problem__StatementsAssignment )* )
- // InternalSolverLanguage.g:69:3: ( rule__Problem__StatementsAssignment )*
+ // InternalSolverLanguageParser.g:141:2: ( ( rule__Problem__StatementsAssignment )* )
+ // InternalSolverLanguageParser.g:142:3: ( rule__Problem__StatementsAssignment )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getProblemAccess().getStatementsAssignment());
- }
- // InternalSolverLanguage.g:70:3: ( rule__Problem__StatementsAssignment )*
+ before(grammarAccess.getProblemAccess().getStatementsAssignment());
+ // InternalSolverLanguageParser.g:143:3: ( rule__Problem__StatementsAssignment )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( ((LA1_0>=RULE_INT && LA1_0<=RULE_QUOTED_ID)||LA1_0==RULE_ID||LA1_0==RULE_STRING||(LA1_0>=17 && LA1_0<=18)||(LA1_0>=26 && LA1_0<=27)||(LA1_0>=29 && LA1_0<=44)||(LA1_0>=48 && LA1_0<=49)||LA1_0==51||LA1_0==57||LA1_0==61||LA1_0==63||(LA1_0>=66 && LA1_0<=68)||(LA1_0>=71 && LA1_0<=73)) ) {
+ if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||LA1_0==Unknown||(LA1_0>=Extern && LA1_0<=False)||LA1_0==Scope||(LA1_0>=Must && LA1_0<=Real)||LA1_0==True||(LA1_0>=Avg && LA1_0<=Sum)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) {
alt1=1;
}
switch (alt1) {
case 1 :
- // InternalSolverLanguage.g:70:4: rule__Problem__StatementsAssignment
+ // InternalSolverLanguageParser.g:143:4: rule__Problem__StatementsAssignment
{
pushFollow(FOLLOW_3);
rule__Problem__StatementsAssignment();
state._fsp--;
- if (state.failed) return ;
+
}
break;
@@ -212,9 +298,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getProblemAccess().getStatementsAssignment());
- }
+ after(grammarAccess.getProblemAccess().getStatementsAssignment());
}
@@ -237,24 +321,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleStatement"
- // InternalSolverLanguage.g:79:1: entryRuleStatement : ruleStatement EOF ;
+ // InternalSolverLanguageParser.g:152:1: entryRuleStatement : ruleStatement EOF ;
public final void entryRuleStatement() throws RecognitionException {
try {
- // InternalSolverLanguage.g:80:1: ( ruleStatement EOF )
- // InternalSolverLanguage.g:81:1: ruleStatement EOF
+ // InternalSolverLanguageParser.g:153:1: ( ruleStatement EOF )
+ // InternalSolverLanguageParser.g:154:1: ruleStatement EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementRule());
- }
+ before(grammarAccess.getStatementRule());
pushFollow(FOLLOW_1);
ruleStatement();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getStatementRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -271,36 +351,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleStatement"
- // InternalSolverLanguage.g:88:1: ruleStatement : ( ( rule__Statement__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:161:1: ruleStatement : ( ( rule__Statement__Group__0 ) ) ;
public final void ruleStatement() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:92:2: ( ( ( rule__Statement__Group__0 ) ) )
- // InternalSolverLanguage.g:93:2: ( ( rule__Statement__Group__0 ) )
+ // InternalSolverLanguageParser.g:165:2: ( ( ( rule__Statement__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:166:2: ( ( rule__Statement__Group__0 ) )
{
- // InternalSolverLanguage.g:93:2: ( ( rule__Statement__Group__0 ) )
- // InternalSolverLanguage.g:94:3: ( rule__Statement__Group__0 )
+ // InternalSolverLanguageParser.g:166:2: ( ( rule__Statement__Group__0 ) )
+ // InternalSolverLanguageParser.g:167:3: ( rule__Statement__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getGroup());
- }
- // InternalSolverLanguage.g:95:3: ( rule__Statement__Group__0 )
- // InternalSolverLanguage.g:95:4: rule__Statement__Group__0
+ before(grammarAccess.getStatementAccess().getGroup());
+ // InternalSolverLanguageParser.g:168:3: ( rule__Statement__Group__0 )
+ // InternalSolverLanguageParser.g:168:4: rule__Statement__Group__0
{
pushFollow(FOLLOW_2);
rule__Statement__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getGroup());
}
+ after(grammarAccess.getStatementAccess().getGroup());
+
}
@@ -322,24 +398,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAssertionOrDefinition"
- // InternalSolverLanguage.g:104:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ;
+ // InternalSolverLanguageParser.g:177:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ;
public final void entryRuleAssertionOrDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:105:1: ( ruleAssertionOrDefinition EOF )
- // InternalSolverLanguage.g:106:1: ruleAssertionOrDefinition EOF
+ // InternalSolverLanguageParser.g:178:1: ( ruleAssertionOrDefinition EOF )
+ // InternalSolverLanguageParser.g:179:1: ruleAssertionOrDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionRule());
- }
+ before(grammarAccess.getAssertionOrDefinitionRule());
pushFollow(FOLLOW_1);
ruleAssertionOrDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getAssertionOrDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -356,36 +428,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAssertionOrDefinition"
- // InternalSolverLanguage.g:113:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:186:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ;
public final void ruleAssertionOrDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:117:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:118:2: ( ( rule__AssertionOrDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:190:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:191:2: ( ( rule__AssertionOrDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:118:2: ( ( rule__AssertionOrDefinition__Group__0 ) )
- // InternalSolverLanguage.g:119:3: ( rule__AssertionOrDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:191:2: ( ( rule__AssertionOrDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:192:3: ( rule__AssertionOrDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:120:3: ( rule__AssertionOrDefinition__Group__0 )
- // InternalSolverLanguage.g:120:4: rule__AssertionOrDefinition__Group__0
+ before(grammarAccess.getAssertionOrDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:193:3: ( rule__AssertionOrDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:193:4: rule__AssertionOrDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getGroup());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getGroup());
+
}
@@ -407,24 +475,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRulePredicateDefinition"
- // InternalSolverLanguage.g:129:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ;
+ // InternalSolverLanguageParser.g:202:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ;
public final void entryRulePredicateDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:130:1: ( rulePredicateDefinition EOF )
- // InternalSolverLanguage.g:131:1: rulePredicateDefinition EOF
+ // InternalSolverLanguageParser.g:203:1: ( rulePredicateDefinition EOF )
+ // InternalSolverLanguageParser.g:204:1: rulePredicateDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionRule());
- }
+ before(grammarAccess.getPredicateDefinitionRule());
pushFollow(FOLLOW_1);
rulePredicateDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getPredicateDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -441,36 +505,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rulePredicateDefinition"
- // InternalSolverLanguage.g:138:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:211:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ;
public final void rulePredicateDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:142:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:143:2: ( ( rule__PredicateDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:215:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:216:2: ( ( rule__PredicateDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:143:2: ( ( rule__PredicateDefinition__Group__0 ) )
- // InternalSolverLanguage.g:144:3: ( rule__PredicateDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:216:2: ( ( rule__PredicateDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:217:3: ( rule__PredicateDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:145:3: ( rule__PredicateDefinition__Group__0 )
- // InternalSolverLanguage.g:145:4: rule__PredicateDefinition__Group__0
+ before(grammarAccess.getPredicateDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:218:3: ( rule__PredicateDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:218:4: rule__PredicateDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getGroup());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getGroup());
+
}
@@ -492,24 +552,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleUnnamedErrorPrediateDefinition"
- // InternalSolverLanguage.g:154:1: entryRuleUnnamedErrorPrediateDefinition : ruleUnnamedErrorPrediateDefinition EOF ;
+ // InternalSolverLanguageParser.g:227:1: entryRuleUnnamedErrorPrediateDefinition : ruleUnnamedErrorPrediateDefinition EOF ;
public final void entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:155:1: ( ruleUnnamedErrorPrediateDefinition EOF )
- // InternalSolverLanguage.g:156:1: ruleUnnamedErrorPrediateDefinition EOF
+ // InternalSolverLanguageParser.g:228:1: ( ruleUnnamedErrorPrediateDefinition EOF )
+ // InternalSolverLanguageParser.g:229:1: ruleUnnamedErrorPrediateDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
pushFollow(FOLLOW_1);
ruleUnnamedErrorPrediateDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -526,36 +582,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleUnnamedErrorPrediateDefinition"
- // InternalSolverLanguage.g:163:1: ruleUnnamedErrorPrediateDefinition : ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:236:1: ruleUnnamedErrorPrediateDefinition : ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ;
public final void ruleUnnamedErrorPrediateDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:167:2: ( ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:168:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:240:2: ( ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:241:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:168:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) )
- // InternalSolverLanguage.g:169:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:241:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:242:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:170:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 )
- // InternalSolverLanguage.g:170:4: rule__UnnamedErrorPrediateDefinition__Group__0
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:243:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:243:4: rule__UnnamedErrorPrediateDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup());
}
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup());
+
}
@@ -577,24 +629,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleDefaultDefinition"
- // InternalSolverLanguage.g:179:1: entryRuleDefaultDefinition : ruleDefaultDefinition EOF ;
+ // InternalSolverLanguageParser.g:252:1: entryRuleDefaultDefinition : ruleDefaultDefinition EOF ;
public final void entryRuleDefaultDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:180:1: ( ruleDefaultDefinition EOF )
- // InternalSolverLanguage.g:181:1: ruleDefaultDefinition EOF
+ // InternalSolverLanguageParser.g:253:1: ( ruleDefaultDefinition EOF )
+ // InternalSolverLanguageParser.g:254:1: ruleDefaultDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionRule());
- }
+ before(grammarAccess.getDefaultDefinitionRule());
pushFollow(FOLLOW_1);
ruleDefaultDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getDefaultDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -611,36 +659,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleDefaultDefinition"
- // InternalSolverLanguage.g:188:1: ruleDefaultDefinition : ( ( rule__DefaultDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:261:1: ruleDefaultDefinition : ( ( rule__DefaultDefinition__Group__0 ) ) ;
public final void ruleDefaultDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:192:2: ( ( ( rule__DefaultDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:193:2: ( ( rule__DefaultDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:265:2: ( ( ( rule__DefaultDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:266:2: ( ( rule__DefaultDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:193:2: ( ( rule__DefaultDefinition__Group__0 ) )
- // InternalSolverLanguage.g:194:3: ( rule__DefaultDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:266:2: ( ( rule__DefaultDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:267:3: ( rule__DefaultDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:195:3: ( rule__DefaultDefinition__Group__0 )
- // InternalSolverLanguage.g:195:4: rule__DefaultDefinition__Group__0
+ before(grammarAccess.getDefaultDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:268:3: ( rule__DefaultDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:268:4: rule__DefaultDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__DefaultDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getGroup());
}
+ after(grammarAccess.getDefaultDefinitionAccess().getGroup());
+
}
@@ -662,24 +706,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExternPredicateDefinition"
- // InternalSolverLanguage.g:204:1: entryRuleExternPredicateDefinition : ruleExternPredicateDefinition EOF ;
+ // InternalSolverLanguageParser.g:277:1: entryRuleExternPredicateDefinition : ruleExternPredicateDefinition EOF ;
public final void entryRuleExternPredicateDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:205:1: ( ruleExternPredicateDefinition EOF )
- // InternalSolverLanguage.g:206:1: ruleExternPredicateDefinition EOF
+ // InternalSolverLanguageParser.g:278:1: ( ruleExternPredicateDefinition EOF )
+ // InternalSolverLanguageParser.g:279:1: ruleExternPredicateDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternPredicateDefinitionRule());
- }
+ before(grammarAccess.getExternPredicateDefinitionRule());
pushFollow(FOLLOW_1);
ruleExternPredicateDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternPredicateDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExternPredicateDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -696,36 +736,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExternPredicateDefinition"
- // InternalSolverLanguage.g:213:1: ruleExternPredicateDefinition : ( ( rule__ExternPredicateDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:286:1: ruleExternPredicateDefinition : ( ( rule__ExternPredicateDefinition__Group__0 ) ) ;
public final void ruleExternPredicateDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:217:2: ( ( ( rule__ExternPredicateDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:218:2: ( ( rule__ExternPredicateDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:290:2: ( ( ( rule__ExternPredicateDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:291:2: ( ( rule__ExternPredicateDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:218:2: ( ( rule__ExternPredicateDefinition__Group__0 ) )
- // InternalSolverLanguage.g:219:3: ( rule__ExternPredicateDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:291:2: ( ( rule__ExternPredicateDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:292:3: ( rule__ExternPredicateDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternPredicateDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:220:3: ( rule__ExternPredicateDefinition__Group__0 )
- // InternalSolverLanguage.g:220:4: rule__ExternPredicateDefinition__Group__0
+ before(grammarAccess.getExternPredicateDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:293:3: ( rule__ExternPredicateDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:293:4: rule__ExternPredicateDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__ExternPredicateDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternPredicateDefinitionAccess().getGroup());
}
+ after(grammarAccess.getExternPredicateDefinitionAccess().getGroup());
+
}
@@ -747,24 +783,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleMetricDefinition"
- // InternalSolverLanguage.g:229:1: entryRuleMetricDefinition : ruleMetricDefinition EOF ;
+ // InternalSolverLanguageParser.g:302:1: entryRuleMetricDefinition : ruleMetricDefinition EOF ;
public final void entryRuleMetricDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:230:1: ( ruleMetricDefinition EOF )
- // InternalSolverLanguage.g:231:1: ruleMetricDefinition EOF
+ // InternalSolverLanguageParser.g:303:1: ( ruleMetricDefinition EOF )
+ // InternalSolverLanguageParser.g:304:1: ruleMetricDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionRule());
- }
+ before(grammarAccess.getMetricDefinitionRule());
pushFollow(FOLLOW_1);
ruleMetricDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getMetricDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -781,36 +813,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMetricDefinition"
- // InternalSolverLanguage.g:238:1: ruleMetricDefinition : ( ( rule__MetricDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:311:1: ruleMetricDefinition : ( ( rule__MetricDefinition__Group__0 ) ) ;
public final void ruleMetricDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:242:2: ( ( ( rule__MetricDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:243:2: ( ( rule__MetricDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:315:2: ( ( ( rule__MetricDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:316:2: ( ( rule__MetricDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:243:2: ( ( rule__MetricDefinition__Group__0 ) )
- // InternalSolverLanguage.g:244:3: ( rule__MetricDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:316:2: ( ( rule__MetricDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:317:3: ( rule__MetricDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:245:3: ( rule__MetricDefinition__Group__0 )
- // InternalSolverLanguage.g:245:4: rule__MetricDefinition__Group__0
+ before(grammarAccess.getMetricDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:318:3: ( rule__MetricDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:318:4: rule__MetricDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__MetricDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getGroup());
}
+ after(grammarAccess.getMetricDefinitionAccess().getGroup());
+
}
@@ -832,24 +860,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExternMetricDefinition"
- // InternalSolverLanguage.g:254:1: entryRuleExternMetricDefinition : ruleExternMetricDefinition EOF ;
+ // InternalSolverLanguageParser.g:327:1: entryRuleExternMetricDefinition : ruleExternMetricDefinition EOF ;
public final void entryRuleExternMetricDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:255:1: ( ruleExternMetricDefinition EOF )
- // InternalSolverLanguage.g:256:1: ruleExternMetricDefinition EOF
+ // InternalSolverLanguageParser.g:328:1: ( ruleExternMetricDefinition EOF )
+ // InternalSolverLanguageParser.g:329:1: ruleExternMetricDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionRule());
- }
+ before(grammarAccess.getExternMetricDefinitionRule());
pushFollow(FOLLOW_1);
ruleExternMetricDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExternMetricDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -866,36 +890,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExternMetricDefinition"
- // InternalSolverLanguage.g:263:1: ruleExternMetricDefinition : ( ( rule__ExternMetricDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:336:1: ruleExternMetricDefinition : ( ( rule__ExternMetricDefinition__Group__0 ) ) ;
public final void ruleExternMetricDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:267:2: ( ( ( rule__ExternMetricDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:268:2: ( ( rule__ExternMetricDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:340:2: ( ( ( rule__ExternMetricDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:341:2: ( ( rule__ExternMetricDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:268:2: ( ( rule__ExternMetricDefinition__Group__0 ) )
- // InternalSolverLanguage.g:269:3: ( rule__ExternMetricDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:341:2: ( ( rule__ExternMetricDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:342:3: ( rule__ExternMetricDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:270:3: ( rule__ExternMetricDefinition__Group__0 )
- // InternalSolverLanguage.g:270:4: rule__ExternMetricDefinition__Group__0
+ before(grammarAccess.getExternMetricDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:343:3: ( rule__ExternMetricDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:343:4: rule__ExternMetricDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__ExternMetricDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionAccess().getGroup());
}
+ after(grammarAccess.getExternMetricDefinitionAccess().getGroup());
+
}
@@ -917,24 +937,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExpression"
- // InternalSolverLanguage.g:279:1: entryRuleExpression : ruleExpression EOF ;
+ // InternalSolverLanguageParser.g:352:1: entryRuleExpression : ruleExpression EOF ;
public final void entryRuleExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:280:1: ( ruleExpression EOF )
- // InternalSolverLanguage.g:281:1: ruleExpression EOF
+ // InternalSolverLanguageParser.g:353:1: ( ruleExpression EOF )
+ // InternalSolverLanguageParser.g:354:1: ruleExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionRule());
- }
+ before(grammarAccess.getExpressionRule());
pushFollow(FOLLOW_1);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -951,36 +967,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExpression"
- // InternalSolverLanguage.g:288:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:361:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ;
public final void ruleExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:292:2: ( ( ( rule__Expression__Alternatives ) ) )
- // InternalSolverLanguage.g:293:2: ( ( rule__Expression__Alternatives ) )
+ // InternalSolverLanguageParser.g:365:2: ( ( ( rule__Expression__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:366:2: ( ( rule__Expression__Alternatives ) )
{
- // InternalSolverLanguage.g:293:2: ( ( rule__Expression__Alternatives ) )
- // InternalSolverLanguage.g:294:3: ( rule__Expression__Alternatives )
+ // InternalSolverLanguageParser.g:366:2: ( ( rule__Expression__Alternatives ) )
+ // InternalSolverLanguageParser.g:367:3: ( rule__Expression__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:295:3: ( rule__Expression__Alternatives )
- // InternalSolverLanguage.g:295:4: rule__Expression__Alternatives
+ before(grammarAccess.getExpressionAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:368:3: ( rule__Expression__Alternatives )
+ // InternalSolverLanguageParser.g:368:4: rule__Expression__Alternatives
{
pushFollow(FOLLOW_2);
rule__Expression__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionAccess().getAlternatives());
}
+ after(grammarAccess.getExpressionAccess().getAlternatives());
+
}
@@ -1002,24 +1014,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleIfElse"
- // InternalSolverLanguage.g:304:1: entryRuleIfElse : ruleIfElse EOF ;
+ // InternalSolverLanguageParser.g:377:1: entryRuleIfElse : ruleIfElse EOF ;
public final void entryRuleIfElse() throws RecognitionException {
try {
- // InternalSolverLanguage.g:305:1: ( ruleIfElse EOF )
- // InternalSolverLanguage.g:306:1: ruleIfElse EOF
+ // InternalSolverLanguageParser.g:378:1: ( ruleIfElse EOF )
+ // InternalSolverLanguageParser.g:379:1: ruleIfElse EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseRule());
- }
+ before(grammarAccess.getIfElseRule());
pushFollow(FOLLOW_1);
ruleIfElse();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getIfElseRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1036,36 +1044,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleIfElse"
- // InternalSolverLanguage.g:313:1: ruleIfElse : ( ( rule__IfElse__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:386:1: ruleIfElse : ( ( rule__IfElse__Group__0 ) ) ;
public final void ruleIfElse() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:317:2: ( ( ( rule__IfElse__Group__0 ) ) )
- // InternalSolverLanguage.g:318:2: ( ( rule__IfElse__Group__0 ) )
+ // InternalSolverLanguageParser.g:390:2: ( ( ( rule__IfElse__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:391:2: ( ( rule__IfElse__Group__0 ) )
{
- // InternalSolverLanguage.g:318:2: ( ( rule__IfElse__Group__0 ) )
- // InternalSolverLanguage.g:319:3: ( rule__IfElse__Group__0 )
+ // InternalSolverLanguageParser.g:391:2: ( ( rule__IfElse__Group__0 ) )
+ // InternalSolverLanguageParser.g:392:3: ( rule__IfElse__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getGroup());
- }
- // InternalSolverLanguage.g:320:3: ( rule__IfElse__Group__0 )
- // InternalSolverLanguage.g:320:4: rule__IfElse__Group__0
+ before(grammarAccess.getIfElseAccess().getGroup());
+ // InternalSolverLanguageParser.g:393:3: ( rule__IfElse__Group__0 )
+ // InternalSolverLanguageParser.g:393:4: rule__IfElse__Group__0
{
pushFollow(FOLLOW_2);
rule__IfElse__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getGroup());
}
+ after(grammarAccess.getIfElseAccess().getGroup());
+
}
@@ -1087,24 +1091,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleDisjunctiveExpression"
- // InternalSolverLanguage.g:329:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ;
+ // InternalSolverLanguageParser.g:402:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ;
public final void entryRuleDisjunctiveExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:330:1: ( ruleDisjunctiveExpression EOF )
- // InternalSolverLanguage.g:331:1: ruleDisjunctiveExpression EOF
+ // InternalSolverLanguageParser.g:403:1: ( ruleDisjunctiveExpression EOF )
+ // InternalSolverLanguageParser.g:404:1: ruleDisjunctiveExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionRule());
- }
+ before(grammarAccess.getDisjunctiveExpressionRule());
pushFollow(FOLLOW_1);
ruleDisjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getDisjunctiveExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1121,36 +1121,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleDisjunctiveExpression"
- // InternalSolverLanguage.g:338:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:411:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ;
public final void ruleDisjunctiveExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:342:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) )
- // InternalSolverLanguage.g:343:2: ( ( rule__DisjunctiveExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:415:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:416:2: ( ( rule__DisjunctiveExpression__Group__0 ) )
{
- // InternalSolverLanguage.g:343:2: ( ( rule__DisjunctiveExpression__Group__0 ) )
- // InternalSolverLanguage.g:344:3: ( rule__DisjunctiveExpression__Group__0 )
+ // InternalSolverLanguageParser.g:416:2: ( ( rule__DisjunctiveExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:417:3: ( rule__DisjunctiveExpression__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getGroup());
- }
- // InternalSolverLanguage.g:345:3: ( rule__DisjunctiveExpression__Group__0 )
- // InternalSolverLanguage.g:345:4: rule__DisjunctiveExpression__Group__0
+ before(grammarAccess.getDisjunctiveExpressionAccess().getGroup());
+ // InternalSolverLanguageParser.g:418:3: ( rule__DisjunctiveExpression__Group__0 )
+ // InternalSolverLanguageParser.g:418:4: rule__DisjunctiveExpression__Group__0
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getGroup());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getGroup());
+
}
@@ -1172,24 +1168,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleCase"
- // InternalSolverLanguage.g:354:1: entryRuleCase : ruleCase EOF ;
+ // InternalSolverLanguageParser.g:427:1: entryRuleCase : ruleCase EOF ;
public final void entryRuleCase() throws RecognitionException {
try {
- // InternalSolverLanguage.g:355:1: ( ruleCase EOF )
- // InternalSolverLanguage.g:356:1: ruleCase EOF
+ // InternalSolverLanguageParser.g:428:1: ( ruleCase EOF )
+ // InternalSolverLanguageParser.g:429:1: ruleCase EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseRule());
- }
+ before(grammarAccess.getCaseRule());
pushFollow(FOLLOW_1);
ruleCase();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getCaseRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1206,36 +1198,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleCase"
- // InternalSolverLanguage.g:363:1: ruleCase : ( ( rule__Case__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:436:1: ruleCase : ( ( rule__Case__Group__0 ) ) ;
public final void ruleCase() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:367:2: ( ( ( rule__Case__Group__0 ) ) )
- // InternalSolverLanguage.g:368:2: ( ( rule__Case__Group__0 ) )
+ // InternalSolverLanguageParser.g:440:2: ( ( ( rule__Case__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:441:2: ( ( rule__Case__Group__0 ) )
{
- // InternalSolverLanguage.g:368:2: ( ( rule__Case__Group__0 ) )
- // InternalSolverLanguage.g:369:3: ( rule__Case__Group__0 )
+ // InternalSolverLanguageParser.g:441:2: ( ( rule__Case__Group__0 ) )
+ // InternalSolverLanguageParser.g:442:3: ( rule__Case__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseAccess().getGroup());
- }
- // InternalSolverLanguage.g:370:3: ( rule__Case__Group__0 )
- // InternalSolverLanguage.g:370:4: rule__Case__Group__0
+ before(grammarAccess.getCaseAccess().getGroup());
+ // InternalSolverLanguageParser.g:443:3: ( rule__Case__Group__0 )
+ // InternalSolverLanguageParser.g:443:4: rule__Case__Group__0
{
pushFollow(FOLLOW_2);
rule__Case__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseAccess().getGroup());
}
+ after(grammarAccess.getCaseAccess().getGroup());
+
}
@@ -1257,24 +1245,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleConjunctiveExpression"
- // InternalSolverLanguage.g:379:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ;
+ // InternalSolverLanguageParser.g:452:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ;
public final void entryRuleConjunctiveExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:380:1: ( ruleConjunctiveExpression EOF )
- // InternalSolverLanguage.g:381:1: ruleConjunctiveExpression EOF
+ // InternalSolverLanguageParser.g:453:1: ( ruleConjunctiveExpression EOF )
+ // InternalSolverLanguageParser.g:454:1: ruleConjunctiveExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionRule());
- }
+ before(grammarAccess.getConjunctiveExpressionRule());
pushFollow(FOLLOW_1);
ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getConjunctiveExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1291,36 +1275,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleConjunctiveExpression"
- // InternalSolverLanguage.g:388:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:461:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ;
public final void ruleConjunctiveExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:392:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) )
- // InternalSolverLanguage.g:393:2: ( ( rule__ConjunctiveExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:465:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:466:2: ( ( rule__ConjunctiveExpression__Group__0 ) )
{
- // InternalSolverLanguage.g:393:2: ( ( rule__ConjunctiveExpression__Group__0 ) )
- // InternalSolverLanguage.g:394:3: ( rule__ConjunctiveExpression__Group__0 )
+ // InternalSolverLanguageParser.g:466:2: ( ( rule__ConjunctiveExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:467:3: ( rule__ConjunctiveExpression__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getGroup());
- }
- // InternalSolverLanguage.g:395:3: ( rule__ConjunctiveExpression__Group__0 )
- // InternalSolverLanguage.g:395:4: rule__ConjunctiveExpression__Group__0
+ before(grammarAccess.getConjunctiveExpressionAccess().getGroup());
+ // InternalSolverLanguageParser.g:468:3: ( rule__ConjunctiveExpression__Group__0 )
+ // InternalSolverLanguageParser.g:468:4: rule__ConjunctiveExpression__Group__0
{
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getGroup());
}
+ after(grammarAccess.getConjunctiveExpressionAccess().getGroup());
+
}
@@ -1342,24 +1322,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleComparisonExpression"
- // InternalSolverLanguage.g:404:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ;
+ // InternalSolverLanguageParser.g:477:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ;
public final void entryRuleComparisonExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:405:1: ( ruleComparisonExpression EOF )
- // InternalSolverLanguage.g:406:1: ruleComparisonExpression EOF
+ // InternalSolverLanguageParser.g:478:1: ( ruleComparisonExpression EOF )
+ // InternalSolverLanguageParser.g:479:1: ruleComparisonExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionRule());
- }
+ before(grammarAccess.getComparisonExpressionRule());
pushFollow(FOLLOW_1);
ruleComparisonExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getComparisonExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1376,36 +1352,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleComparisonExpression"
- // InternalSolverLanguage.g:413:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:486:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ;
public final void ruleComparisonExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:417:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) )
- // InternalSolverLanguage.g:418:2: ( ( rule__ComparisonExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:490:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:491:2: ( ( rule__ComparisonExpression__Group__0 ) )
{
- // InternalSolverLanguage.g:418:2: ( ( rule__ComparisonExpression__Group__0 ) )
- // InternalSolverLanguage.g:419:3: ( rule__ComparisonExpression__Group__0 )
+ // InternalSolverLanguageParser.g:491:2: ( ( rule__ComparisonExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:492:3: ( rule__ComparisonExpression__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getGroup());
- }
- // InternalSolverLanguage.g:420:3: ( rule__ComparisonExpression__Group__0 )
- // InternalSolverLanguage.g:420:4: rule__ComparisonExpression__Group__0
+ before(grammarAccess.getComparisonExpressionAccess().getGroup());
+ // InternalSolverLanguageParser.g:493:3: ( rule__ComparisonExpression__Group__0 )
+ // InternalSolverLanguageParser.g:493:4: rule__ComparisonExpression__Group__0
{
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getGroup());
}
+ after(grammarAccess.getComparisonExpressionAccess().getGroup());
+
}
@@ -1427,24 +1399,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAdditiveExpression"
- // InternalSolverLanguage.g:429:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ;
+ // InternalSolverLanguageParser.g:502:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ;
public final void entryRuleAdditiveExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:430:1: ( ruleAdditiveExpression EOF )
- // InternalSolverLanguage.g:431:1: ruleAdditiveExpression EOF
+ // InternalSolverLanguageParser.g:503:1: ( ruleAdditiveExpression EOF )
+ // InternalSolverLanguageParser.g:504:1: ruleAdditiveExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionRule());
- }
+ before(grammarAccess.getAdditiveExpressionRule());
pushFollow(FOLLOW_1);
ruleAdditiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getAdditiveExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1461,36 +1429,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAdditiveExpression"
- // InternalSolverLanguage.g:438:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:511:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ;
public final void ruleAdditiveExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:442:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) )
- // InternalSolverLanguage.g:443:2: ( ( rule__AdditiveExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:515:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:516:2: ( ( rule__AdditiveExpression__Group__0 ) )
{
- // InternalSolverLanguage.g:443:2: ( ( rule__AdditiveExpression__Group__0 ) )
- // InternalSolverLanguage.g:444:3: ( rule__AdditiveExpression__Group__0 )
+ // InternalSolverLanguageParser.g:516:2: ( ( rule__AdditiveExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:517:3: ( rule__AdditiveExpression__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getGroup());
- }
- // InternalSolverLanguage.g:445:3: ( rule__AdditiveExpression__Group__0 )
- // InternalSolverLanguage.g:445:4: rule__AdditiveExpression__Group__0
+ before(grammarAccess.getAdditiveExpressionAccess().getGroup());
+ // InternalSolverLanguageParser.g:518:3: ( rule__AdditiveExpression__Group__0 )
+ // InternalSolverLanguageParser.g:518:4: rule__AdditiveExpression__Group__0
{
pushFollow(FOLLOW_2);
rule__AdditiveExpression__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getGroup());
}
+ after(grammarAccess.getAdditiveExpressionAccess().getGroup());
+
}
@@ -1512,24 +1476,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleMultiplicativeExpression"
- // InternalSolverLanguage.g:454:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ;
+ // InternalSolverLanguageParser.g:527:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ;
public final void entryRuleMultiplicativeExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:455:1: ( ruleMultiplicativeExpression EOF )
- // InternalSolverLanguage.g:456:1: ruleMultiplicativeExpression EOF
+ // InternalSolverLanguageParser.g:528:1: ( ruleMultiplicativeExpression EOF )
+ // InternalSolverLanguageParser.g:529:1: ruleMultiplicativeExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionRule());
- }
+ before(grammarAccess.getMultiplicativeExpressionRule());
pushFollow(FOLLOW_1);
ruleMultiplicativeExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getMultiplicativeExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1546,36 +1506,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMultiplicativeExpression"
- // InternalSolverLanguage.g:463:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:536:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ;
public final void ruleMultiplicativeExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:467:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) )
- // InternalSolverLanguage.g:468:2: ( ( rule__MultiplicativeExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:540:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:541:2: ( ( rule__MultiplicativeExpression__Group__0 ) )
{
- // InternalSolverLanguage.g:468:2: ( ( rule__MultiplicativeExpression__Group__0 ) )
- // InternalSolverLanguage.g:469:3: ( rule__MultiplicativeExpression__Group__0 )
+ // InternalSolverLanguageParser.g:541:2: ( ( rule__MultiplicativeExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:542:3: ( rule__MultiplicativeExpression__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getGroup());
- }
- // InternalSolverLanguage.g:470:3: ( rule__MultiplicativeExpression__Group__0 )
- // InternalSolverLanguage.g:470:4: rule__MultiplicativeExpression__Group__0
+ before(grammarAccess.getMultiplicativeExpressionAccess().getGroup());
+ // InternalSolverLanguageParser.g:543:3: ( rule__MultiplicativeExpression__Group__0 )
+ // InternalSolverLanguageParser.g:543:4: rule__MultiplicativeExpression__Group__0
{
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getGroup());
}
+ after(grammarAccess.getMultiplicativeExpressionAccess().getGroup());
+
}
@@ -1597,24 +1553,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExponentialExpression"
- // InternalSolverLanguage.g:479:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ;
+ // InternalSolverLanguageParser.g:552:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ;
public final void entryRuleExponentialExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:480:1: ( ruleExponentialExpression EOF )
- // InternalSolverLanguage.g:481:1: ruleExponentialExpression EOF
+ // InternalSolverLanguageParser.g:553:1: ( ruleExponentialExpression EOF )
+ // InternalSolverLanguageParser.g:554:1: ruleExponentialExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionRule());
- }
+ before(grammarAccess.getExponentialExpressionRule());
pushFollow(FOLLOW_1);
ruleExponentialExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExponentialExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1631,36 +1583,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExponentialExpression"
- // InternalSolverLanguage.g:488:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:561:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ;
public final void ruleExponentialExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:492:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) )
- // InternalSolverLanguage.g:493:2: ( ( rule__ExponentialExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:565:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:566:2: ( ( rule__ExponentialExpression__Group__0 ) )
{
- // InternalSolverLanguage.g:493:2: ( ( rule__ExponentialExpression__Group__0 ) )
- // InternalSolverLanguage.g:494:3: ( rule__ExponentialExpression__Group__0 )
+ // InternalSolverLanguageParser.g:566:2: ( ( rule__ExponentialExpression__Group__0 ) )
+ // InternalSolverLanguageParser.g:567:3: ( rule__ExponentialExpression__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getGroup());
- }
- // InternalSolverLanguage.g:495:3: ( rule__ExponentialExpression__Group__0 )
- // InternalSolverLanguage.g:495:4: rule__ExponentialExpression__Group__0
+ before(grammarAccess.getExponentialExpressionAccess().getGroup());
+ // InternalSolverLanguageParser.g:568:3: ( rule__ExponentialExpression__Group__0 )
+ // InternalSolverLanguageParser.g:568:4: rule__ExponentialExpression__Group__0
{
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getGroup());
}
+ after(grammarAccess.getExponentialExpressionAccess().getGroup());
+
}
@@ -1682,24 +1630,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleUnaryExpression"
- // InternalSolverLanguage.g:504:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ;
+ // InternalSolverLanguageParser.g:577:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ;
public final void entryRuleUnaryExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:505:1: ( ruleUnaryExpression EOF )
- // InternalSolverLanguage.g:506:1: ruleUnaryExpression EOF
+ // InternalSolverLanguageParser.g:578:1: ( ruleUnaryExpression EOF )
+ // InternalSolverLanguageParser.g:579:1: ruleUnaryExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionRule());
- }
+ before(grammarAccess.getUnaryExpressionRule());
pushFollow(FOLLOW_1);
ruleUnaryExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getUnaryExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1716,36 +1660,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleUnaryExpression"
- // InternalSolverLanguage.g:513:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:586:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ;
public final void ruleUnaryExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:517:2: ( ( ( rule__UnaryExpression__Alternatives ) ) )
- // InternalSolverLanguage.g:518:2: ( ( rule__UnaryExpression__Alternatives ) )
+ // InternalSolverLanguageParser.g:590:2: ( ( ( rule__UnaryExpression__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:591:2: ( ( rule__UnaryExpression__Alternatives ) )
{
- // InternalSolverLanguage.g:518:2: ( ( rule__UnaryExpression__Alternatives ) )
- // InternalSolverLanguage.g:519:3: ( rule__UnaryExpression__Alternatives )
+ // InternalSolverLanguageParser.g:591:2: ( ( rule__UnaryExpression__Alternatives ) )
+ // InternalSolverLanguageParser.g:592:3: ( rule__UnaryExpression__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:520:3: ( rule__UnaryExpression__Alternatives )
- // InternalSolverLanguage.g:520:4: rule__UnaryExpression__Alternatives
+ before(grammarAccess.getUnaryExpressionAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:593:3: ( rule__UnaryExpression__Alternatives )
+ // InternalSolverLanguageParser.g:593:4: rule__UnaryExpression__Alternatives
{
pushFollow(FOLLOW_2);
rule__UnaryExpression__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getAlternatives());
}
+ after(grammarAccess.getUnaryExpressionAccess().getAlternatives());
+
}
@@ -1767,24 +1707,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAggregationExpression"
- // InternalSolverLanguage.g:529:1: entryRuleAggregationExpression : ruleAggregationExpression EOF ;
+ // InternalSolverLanguageParser.g:602:1: entryRuleAggregationExpression : ruleAggregationExpression EOF ;
public final void entryRuleAggregationExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:530:1: ( ruleAggregationExpression EOF )
- // InternalSolverLanguage.g:531:1: ruleAggregationExpression EOF
+ // InternalSolverLanguageParser.g:603:1: ( ruleAggregationExpression EOF )
+ // InternalSolverLanguageParser.g:604:1: ruleAggregationExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationExpressionRule());
- }
+ before(grammarAccess.getAggregationExpressionRule());
pushFollow(FOLLOW_1);
ruleAggregationExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getAggregationExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1801,36 +1737,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAggregationExpression"
- // InternalSolverLanguage.g:538:1: ruleAggregationExpression : ( ( rule__AggregationExpression__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:611:1: ruleAggregationExpression : ( ( rule__AggregationExpression__Alternatives ) ) ;
public final void ruleAggregationExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:542:2: ( ( ( rule__AggregationExpression__Alternatives ) ) )
- // InternalSolverLanguage.g:543:2: ( ( rule__AggregationExpression__Alternatives ) )
+ // InternalSolverLanguageParser.g:615:2: ( ( ( rule__AggregationExpression__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:616:2: ( ( rule__AggregationExpression__Alternatives ) )
{
- // InternalSolverLanguage.g:543:2: ( ( rule__AggregationExpression__Alternatives ) )
- // InternalSolverLanguage.g:544:3: ( rule__AggregationExpression__Alternatives )
+ // InternalSolverLanguageParser.g:616:2: ( ( rule__AggregationExpression__Alternatives ) )
+ // InternalSolverLanguageParser.g:617:3: ( rule__AggregationExpression__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationExpressionAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:545:3: ( rule__AggregationExpression__Alternatives )
- // InternalSolverLanguage.g:545:4: rule__AggregationExpression__Alternatives
+ before(grammarAccess.getAggregationExpressionAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:618:3: ( rule__AggregationExpression__Alternatives )
+ // InternalSolverLanguageParser.g:618:4: rule__AggregationExpression__Alternatives
{
pushFollow(FOLLOW_2);
rule__AggregationExpression__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationExpressionAccess().getAlternatives());
}
+ after(grammarAccess.getAggregationExpressionAccess().getAlternatives());
+
}
@@ -1852,24 +1784,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleCount"
- // InternalSolverLanguage.g:554:1: entryRuleCount : ruleCount EOF ;
+ // InternalSolverLanguageParser.g:627:1: entryRuleCount : ruleCount EOF ;
public final void entryRuleCount() throws RecognitionException {
try {
- // InternalSolverLanguage.g:555:1: ( ruleCount EOF )
- // InternalSolverLanguage.g:556:1: ruleCount EOF
+ // InternalSolverLanguageParser.g:628:1: ( ruleCount EOF )
+ // InternalSolverLanguageParser.g:629:1: ruleCount EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountRule());
- }
+ before(grammarAccess.getCountRule());
pushFollow(FOLLOW_1);
ruleCount();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getCountRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1886,36 +1814,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleCount"
- // InternalSolverLanguage.g:563:1: ruleCount : ( ( rule__Count__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:636:1: ruleCount : ( ( rule__Count__Group__0 ) ) ;
public final void ruleCount() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:567:2: ( ( ( rule__Count__Group__0 ) ) )
- // InternalSolverLanguage.g:568:2: ( ( rule__Count__Group__0 ) )
+ // InternalSolverLanguageParser.g:640:2: ( ( ( rule__Count__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:641:2: ( ( rule__Count__Group__0 ) )
{
- // InternalSolverLanguage.g:568:2: ( ( rule__Count__Group__0 ) )
- // InternalSolverLanguage.g:569:3: ( rule__Count__Group__0 )
+ // InternalSolverLanguageParser.g:641:2: ( ( rule__Count__Group__0 ) )
+ // InternalSolverLanguageParser.g:642:3: ( rule__Count__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountAccess().getGroup());
- }
- // InternalSolverLanguage.g:570:3: ( rule__Count__Group__0 )
- // InternalSolverLanguage.g:570:4: rule__Count__Group__0
+ before(grammarAccess.getCountAccess().getGroup());
+ // InternalSolverLanguageParser.g:643:3: ( rule__Count__Group__0 )
+ // InternalSolverLanguageParser.g:643:4: rule__Count__Group__0
{
pushFollow(FOLLOW_2);
rule__Count__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountAccess().getGroup());
}
+ after(grammarAccess.getCountAccess().getGroup());
+
}
@@ -1937,24 +1861,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAggregation"
- // InternalSolverLanguage.g:579:1: entryRuleAggregation : ruleAggregation EOF ;
+ // InternalSolverLanguageParser.g:652:1: entryRuleAggregation : ruleAggregation EOF ;
public final void entryRuleAggregation() throws RecognitionException {
try {
- // InternalSolverLanguage.g:580:1: ( ruleAggregation EOF )
- // InternalSolverLanguage.g:581:1: ruleAggregation EOF
+ // InternalSolverLanguageParser.g:653:1: ( ruleAggregation EOF )
+ // InternalSolverLanguageParser.g:654:1: ruleAggregation EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationRule());
- }
+ before(grammarAccess.getAggregationRule());
pushFollow(FOLLOW_1);
ruleAggregation();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getAggregationRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -1971,36 +1891,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAggregation"
- // InternalSolverLanguage.g:588:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:661:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ;
public final void ruleAggregation() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:592:2: ( ( ( rule__Aggregation__Group__0 ) ) )
- // InternalSolverLanguage.g:593:2: ( ( rule__Aggregation__Group__0 ) )
+ // InternalSolverLanguageParser.g:665:2: ( ( ( rule__Aggregation__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:666:2: ( ( rule__Aggregation__Group__0 ) )
{
- // InternalSolverLanguage.g:593:2: ( ( rule__Aggregation__Group__0 ) )
- // InternalSolverLanguage.g:594:3: ( rule__Aggregation__Group__0 )
+ // InternalSolverLanguageParser.g:666:2: ( ( rule__Aggregation__Group__0 ) )
+ // InternalSolverLanguageParser.g:667:3: ( rule__Aggregation__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getGroup());
- }
- // InternalSolverLanguage.g:595:3: ( rule__Aggregation__Group__0 )
- // InternalSolverLanguage.g:595:4: rule__Aggregation__Group__0
+ before(grammarAccess.getAggregationAccess().getGroup());
+ // InternalSolverLanguageParser.g:668:3: ( rule__Aggregation__Group__0 )
+ // InternalSolverLanguageParser.g:668:4: rule__Aggregation__Group__0
{
pushFollow(FOLLOW_2);
rule__Aggregation__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getGroup());
}
+ after(grammarAccess.getAggregationAccess().getGroup());
+
}
@@ -2022,24 +1938,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleAtomicExpression"
- // InternalSolverLanguage.g:604:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ;
+ // InternalSolverLanguageParser.g:677:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ;
public final void entryRuleAtomicExpression() throws RecognitionException {
try {
- // InternalSolverLanguage.g:605:1: ( ruleAtomicExpression EOF )
- // InternalSolverLanguage.g:606:1: ruleAtomicExpression EOF
+ // InternalSolverLanguageParser.g:678:1: ( ruleAtomicExpression EOF )
+ // InternalSolverLanguageParser.g:679:1: ruleAtomicExpression EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionRule());
- }
+ before(grammarAccess.getAtomicExpressionRule());
pushFollow(FOLLOW_1);
ruleAtomicExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getAtomicExpressionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2056,36 +1968,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAtomicExpression"
- // InternalSolverLanguage.g:613:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:686:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ;
public final void ruleAtomicExpression() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:617:2: ( ( ( rule__AtomicExpression__Alternatives ) ) )
- // InternalSolverLanguage.g:618:2: ( ( rule__AtomicExpression__Alternatives ) )
+ // InternalSolverLanguageParser.g:690:2: ( ( ( rule__AtomicExpression__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:691:2: ( ( rule__AtomicExpression__Alternatives ) )
{
- // InternalSolverLanguage.g:618:2: ( ( rule__AtomicExpression__Alternatives ) )
- // InternalSolverLanguage.g:619:3: ( rule__AtomicExpression__Alternatives )
+ // InternalSolverLanguageParser.g:691:2: ( ( rule__AtomicExpression__Alternatives ) )
+ // InternalSolverLanguageParser.g:692:3: ( rule__AtomicExpression__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:620:3: ( rule__AtomicExpression__Alternatives )
- // InternalSolverLanguage.g:620:4: rule__AtomicExpression__Alternatives
+ before(grammarAccess.getAtomicExpressionAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:693:3: ( rule__AtomicExpression__Alternatives )
+ // InternalSolverLanguageParser.g:693:4: rule__AtomicExpression__Alternatives
{
pushFollow(FOLLOW_2);
rule__AtomicExpression__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getAlternatives());
}
+ after(grammarAccess.getAtomicExpressionAccess().getAlternatives());
+
}
@@ -2107,24 +2015,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleCall"
- // InternalSolverLanguage.g:629:1: entryRuleCall : ruleCall EOF ;
+ // InternalSolverLanguageParser.g:702:1: entryRuleCall : ruleCall EOF ;
public final void entryRuleCall() throws RecognitionException {
try {
- // InternalSolverLanguage.g:630:1: ( ruleCall EOF )
- // InternalSolverLanguage.g:631:1: ruleCall EOF
+ // InternalSolverLanguageParser.g:703:1: ( ruleCall EOF )
+ // InternalSolverLanguageParser.g:704:1: ruleCall EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallRule());
- }
+ before(grammarAccess.getCallRule());
pushFollow(FOLLOW_1);
ruleCall();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getCallRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2141,36 +2045,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleCall"
- // InternalSolverLanguage.g:638:1: ruleCall : ( ( rule__Call__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:711:1: ruleCall : ( ( rule__Call__Group__0 ) ) ;
public final void ruleCall() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:642:2: ( ( ( rule__Call__Group__0 ) ) )
- // InternalSolverLanguage.g:643:2: ( ( rule__Call__Group__0 ) )
+ // InternalSolverLanguageParser.g:715:2: ( ( ( rule__Call__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:716:2: ( ( rule__Call__Group__0 ) )
{
- // InternalSolverLanguage.g:643:2: ( ( rule__Call__Group__0 ) )
- // InternalSolverLanguage.g:644:3: ( rule__Call__Group__0 )
+ // InternalSolverLanguageParser.g:716:2: ( ( rule__Call__Group__0 ) )
+ // InternalSolverLanguageParser.g:717:3: ( rule__Call__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getGroup());
- }
- // InternalSolverLanguage.g:645:3: ( rule__Call__Group__0 )
- // InternalSolverLanguage.g:645:4: rule__Call__Group__0
+ before(grammarAccess.getCallAccess().getGroup());
+ // InternalSolverLanguageParser.g:718:3: ( rule__Call__Group__0 )
+ // InternalSolverLanguageParser.g:718:4: rule__Call__Group__0
{
pushFollow(FOLLOW_2);
rule__Call__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getGroup());
}
+ after(grammarAccess.getCallAccess().getGroup());
+
}
@@ -2192,24 +2092,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleArgumentList"
- // InternalSolverLanguage.g:654:1: entryRuleArgumentList : ruleArgumentList EOF ;
+ // InternalSolverLanguageParser.g:727:1: entryRuleArgumentList : ruleArgumentList EOF ;
public final void entryRuleArgumentList() throws RecognitionException {
try {
- // InternalSolverLanguage.g:655:1: ( ruleArgumentList EOF )
- // InternalSolverLanguage.g:656:1: ruleArgumentList EOF
+ // InternalSolverLanguageParser.g:728:1: ( ruleArgumentList EOF )
+ // InternalSolverLanguageParser.g:729:1: ruleArgumentList EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListRule());
- }
+ before(grammarAccess.getArgumentListRule());
pushFollow(FOLLOW_1);
ruleArgumentList();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getArgumentListRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2226,36 +2122,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleArgumentList"
- // InternalSolverLanguage.g:663:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:736:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ;
public final void ruleArgumentList() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:667:2: ( ( ( rule__ArgumentList__Group__0 ) ) )
- // InternalSolverLanguage.g:668:2: ( ( rule__ArgumentList__Group__0 ) )
+ // InternalSolverLanguageParser.g:740:2: ( ( ( rule__ArgumentList__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:741:2: ( ( rule__ArgumentList__Group__0 ) )
{
- // InternalSolverLanguage.g:668:2: ( ( rule__ArgumentList__Group__0 ) )
- // InternalSolverLanguage.g:669:3: ( rule__ArgumentList__Group__0 )
+ // InternalSolverLanguageParser.g:741:2: ( ( rule__ArgumentList__Group__0 ) )
+ // InternalSolverLanguageParser.g:742:3: ( rule__ArgumentList__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getGroup());
- }
- // InternalSolverLanguage.g:670:3: ( rule__ArgumentList__Group__0 )
- // InternalSolverLanguage.g:670:4: rule__ArgumentList__Group__0
+ before(grammarAccess.getArgumentListAccess().getGroup());
+ // InternalSolverLanguageParser.g:743:3: ( rule__ArgumentList__Group__0 )
+ // InternalSolverLanguageParser.g:743:4: rule__ArgumentList__Group__0
{
pushFollow(FOLLOW_2);
rule__ArgumentList__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getGroup());
}
+ after(grammarAccess.getArgumentListAccess().getGroup());
+
}
@@ -2277,24 +2169,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleArgument"
- // InternalSolverLanguage.g:679:1: entryRuleArgument : ruleArgument EOF ;
+ // InternalSolverLanguageParser.g:752:1: entryRuleArgument : ruleArgument EOF ;
public final void entryRuleArgument() throws RecognitionException {
try {
- // InternalSolverLanguage.g:680:1: ( ruleArgument EOF )
- // InternalSolverLanguage.g:681:1: ruleArgument EOF
+ // InternalSolverLanguageParser.g:753:1: ( ruleArgument EOF )
+ // InternalSolverLanguageParser.g:754:1: ruleArgument EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentRule());
- }
+ before(grammarAccess.getArgumentRule());
pushFollow(FOLLOW_1);
ruleArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getArgumentRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2311,36 +2199,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleArgument"
- // InternalSolverLanguage.g:688:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:761:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ;
public final void ruleArgument() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:692:2: ( ( ( rule__Argument__Alternatives ) ) )
- // InternalSolverLanguage.g:693:2: ( ( rule__Argument__Alternatives ) )
+ // InternalSolverLanguageParser.g:765:2: ( ( ( rule__Argument__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:766:2: ( ( rule__Argument__Alternatives ) )
{
- // InternalSolverLanguage.g:693:2: ( ( rule__Argument__Alternatives ) )
- // InternalSolverLanguage.g:694:3: ( rule__Argument__Alternatives )
+ // InternalSolverLanguageParser.g:766:2: ( ( rule__Argument__Alternatives ) )
+ // InternalSolverLanguageParser.g:767:3: ( rule__Argument__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:695:3: ( rule__Argument__Alternatives )
- // InternalSolverLanguage.g:695:4: rule__Argument__Alternatives
+ before(grammarAccess.getArgumentAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:768:3: ( rule__Argument__Alternatives )
+ // InternalSolverLanguageParser.g:768:4: rule__Argument__Alternatives
{
pushFollow(FOLLOW_2);
rule__Argument__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentAccess().getAlternatives());
}
+ after(grammarAccess.getArgumentAccess().getAlternatives());
+
}
@@ -2362,24 +2246,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExpressionArgument"
- // InternalSolverLanguage.g:704:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ;
+ // InternalSolverLanguageParser.g:777:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ;
public final void entryRuleExpressionArgument() throws RecognitionException {
try {
- // InternalSolverLanguage.g:705:1: ( ruleExpressionArgument EOF )
- // InternalSolverLanguage.g:706:1: ruleExpressionArgument EOF
+ // InternalSolverLanguageParser.g:778:1: ( ruleExpressionArgument EOF )
+ // InternalSolverLanguageParser.g:779:1: ruleExpressionArgument EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionArgumentRule());
- }
+ before(grammarAccess.getExpressionArgumentRule());
pushFollow(FOLLOW_1);
ruleExpressionArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionArgumentRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExpressionArgumentRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2396,36 +2276,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExpressionArgument"
- // InternalSolverLanguage.g:713:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__BodyAssignment ) ) ;
+ // InternalSolverLanguageParser.g:786:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__BodyAssignment ) ) ;
public final void ruleExpressionArgument() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:717:2: ( ( ( rule__ExpressionArgument__BodyAssignment ) ) )
- // InternalSolverLanguage.g:718:2: ( ( rule__ExpressionArgument__BodyAssignment ) )
+ // InternalSolverLanguageParser.g:790:2: ( ( ( rule__ExpressionArgument__BodyAssignment ) ) )
+ // InternalSolverLanguageParser.g:791:2: ( ( rule__ExpressionArgument__BodyAssignment ) )
{
- // InternalSolverLanguage.g:718:2: ( ( rule__ExpressionArgument__BodyAssignment ) )
- // InternalSolverLanguage.g:719:3: ( rule__ExpressionArgument__BodyAssignment )
+ // InternalSolverLanguageParser.g:791:2: ( ( rule__ExpressionArgument__BodyAssignment ) )
+ // InternalSolverLanguageParser.g:792:3: ( rule__ExpressionArgument__BodyAssignment )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment());
- }
- // InternalSolverLanguage.g:720:3: ( rule__ExpressionArgument__BodyAssignment )
- // InternalSolverLanguage.g:720:4: rule__ExpressionArgument__BodyAssignment
+ before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment());
+ // InternalSolverLanguageParser.g:793:3: ( rule__ExpressionArgument__BodyAssignment )
+ // InternalSolverLanguageParser.g:793:4: rule__ExpressionArgument__BodyAssignment
{
pushFollow(FOLLOW_2);
rule__ExpressionArgument__BodyAssignment();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment());
}
+ after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment());
+
}
@@ -2447,24 +2323,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleStarArgument"
- // InternalSolverLanguage.g:729:1: entryRuleStarArgument : ruleStarArgument EOF ;
+ // InternalSolverLanguageParser.g:802:1: entryRuleStarArgument : ruleStarArgument EOF ;
public final void entryRuleStarArgument() throws RecognitionException {
try {
- // InternalSolverLanguage.g:730:1: ( ruleStarArgument EOF )
- // InternalSolverLanguage.g:731:1: ruleStarArgument EOF
+ // InternalSolverLanguageParser.g:803:1: ( ruleStarArgument EOF )
+ // InternalSolverLanguageParser.g:804:1: ruleStarArgument EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStarArgumentRule());
- }
+ before(grammarAccess.getStarArgumentRule());
pushFollow(FOLLOW_1);
ruleStarArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStarArgumentRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getStarArgumentRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2481,36 +2353,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleStarArgument"
- // InternalSolverLanguage.g:738:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:811:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ;
public final void ruleStarArgument() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:742:2: ( ( ( rule__StarArgument__Group__0 ) ) )
- // InternalSolverLanguage.g:743:2: ( ( rule__StarArgument__Group__0 ) )
+ // InternalSolverLanguageParser.g:815:2: ( ( ( rule__StarArgument__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:816:2: ( ( rule__StarArgument__Group__0 ) )
{
- // InternalSolverLanguage.g:743:2: ( ( rule__StarArgument__Group__0 ) )
- // InternalSolverLanguage.g:744:3: ( rule__StarArgument__Group__0 )
+ // InternalSolverLanguageParser.g:816:2: ( ( rule__StarArgument__Group__0 ) )
+ // InternalSolverLanguageParser.g:817:3: ( rule__StarArgument__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStarArgumentAccess().getGroup());
- }
- // InternalSolverLanguage.g:745:3: ( rule__StarArgument__Group__0 )
- // InternalSolverLanguage.g:745:4: rule__StarArgument__Group__0
+ before(grammarAccess.getStarArgumentAccess().getGroup());
+ // InternalSolverLanguageParser.g:818:3: ( rule__StarArgument__Group__0 )
+ // InternalSolverLanguageParser.g:818:4: rule__StarArgument__Group__0
{
pushFollow(FOLLOW_2);
rule__StarArgument__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStarArgumentAccess().getGroup());
}
+ after(grammarAccess.getStarArgumentAccess().getGroup());
+
}
@@ -2532,24 +2400,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleTypedArgument"
- // InternalSolverLanguage.g:754:1: entryRuleTypedArgument : ruleTypedArgument EOF ;
+ // InternalSolverLanguageParser.g:827:1: entryRuleTypedArgument : ruleTypedArgument EOF ;
public final void entryRuleTypedArgument() throws RecognitionException {
try {
- // InternalSolverLanguage.g:755:1: ( ruleTypedArgument EOF )
- // InternalSolverLanguage.g:756:1: ruleTypedArgument EOF
+ // InternalSolverLanguageParser.g:828:1: ( ruleTypedArgument EOF )
+ // InternalSolverLanguageParser.g:829:1: ruleTypedArgument EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentRule());
- }
+ before(grammarAccess.getTypedArgumentRule());
pushFollow(FOLLOW_1);
ruleTypedArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getTypedArgumentRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2566,36 +2430,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleTypedArgument"
- // InternalSolverLanguage.g:763:1: ruleTypedArgument : ( ( rule__TypedArgument__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:836:1: ruleTypedArgument : ( ( rule__TypedArgument__Group__0 ) ) ;
public final void ruleTypedArgument() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:767:2: ( ( ( rule__TypedArgument__Group__0 ) ) )
- // InternalSolverLanguage.g:768:2: ( ( rule__TypedArgument__Group__0 ) )
+ // InternalSolverLanguageParser.g:840:2: ( ( ( rule__TypedArgument__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:841:2: ( ( rule__TypedArgument__Group__0 ) )
{
- // InternalSolverLanguage.g:768:2: ( ( rule__TypedArgument__Group__0 ) )
- // InternalSolverLanguage.g:769:3: ( rule__TypedArgument__Group__0 )
+ // InternalSolverLanguageParser.g:841:2: ( ( rule__TypedArgument__Group__0 ) )
+ // InternalSolverLanguageParser.g:842:3: ( rule__TypedArgument__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getGroup());
- }
- // InternalSolverLanguage.g:770:3: ( rule__TypedArgument__Group__0 )
- // InternalSolverLanguage.g:770:4: rule__TypedArgument__Group__0
+ before(grammarAccess.getTypedArgumentAccess().getGroup());
+ // InternalSolverLanguageParser.g:843:3: ( rule__TypedArgument__Group__0 )
+ // InternalSolverLanguageParser.g:843:4: rule__TypedArgument__Group__0
{
pushFollow(FOLLOW_2);
rule__TypedArgument__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getGroup());
}
+ after(grammarAccess.getTypedArgumentAccess().getGroup());
+
}
@@ -2617,24 +2477,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleTypedStarArgument"
- // InternalSolverLanguage.g:779:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ;
+ // InternalSolverLanguageParser.g:852:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ;
public final void entryRuleTypedStarArgument() throws RecognitionException {
try {
- // InternalSolverLanguage.g:780:1: ( ruleTypedStarArgument EOF )
- // InternalSolverLanguage.g:781:1: ruleTypedStarArgument EOF
+ // InternalSolverLanguageParser.g:853:1: ( ruleTypedStarArgument EOF )
+ // InternalSolverLanguageParser.g:854:1: ruleTypedStarArgument EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedStarArgumentRule());
- }
+ before(grammarAccess.getTypedStarArgumentRule());
pushFollow(FOLLOW_1);
ruleTypedStarArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedStarArgumentRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getTypedStarArgumentRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2651,36 +2507,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleTypedStarArgument"
- // InternalSolverLanguage.g:788:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:861:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ;
public final void ruleTypedStarArgument() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:792:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) )
- // InternalSolverLanguage.g:793:2: ( ( rule__TypedStarArgument__Group__0 ) )
+ // InternalSolverLanguageParser.g:865:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:866:2: ( ( rule__TypedStarArgument__Group__0 ) )
{
- // InternalSolverLanguage.g:793:2: ( ( rule__TypedStarArgument__Group__0 ) )
- // InternalSolverLanguage.g:794:3: ( rule__TypedStarArgument__Group__0 )
+ // InternalSolverLanguageParser.g:866:2: ( ( rule__TypedStarArgument__Group__0 ) )
+ // InternalSolverLanguageParser.g:867:3: ( rule__TypedStarArgument__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedStarArgumentAccess().getGroup());
- }
- // InternalSolverLanguage.g:795:3: ( rule__TypedStarArgument__Group__0 )
- // InternalSolverLanguage.g:795:4: rule__TypedStarArgument__Group__0
+ before(grammarAccess.getTypedStarArgumentAccess().getGroup());
+ // InternalSolverLanguageParser.g:868:3: ( rule__TypedStarArgument__Group__0 )
+ // InternalSolverLanguageParser.g:868:4: rule__TypedStarArgument__Group__0
{
pushFollow(FOLLOW_2);
rule__TypedStarArgument__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedStarArgumentAccess().getGroup());
}
+ after(grammarAccess.getTypedStarArgumentAccess().getGroup());
+
}
@@ -2702,24 +2554,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleReference"
- // InternalSolverLanguage.g:804:1: entryRuleReference : ruleReference EOF ;
+ // InternalSolverLanguageParser.g:877:1: entryRuleReference : ruleReference EOF ;
public final void entryRuleReference() throws RecognitionException {
try {
- // InternalSolverLanguage.g:805:1: ( ruleReference EOF )
- // InternalSolverLanguage.g:806:1: ruleReference EOF
+ // InternalSolverLanguageParser.g:878:1: ( ruleReference EOF )
+ // InternalSolverLanguageParser.g:879:1: ruleReference EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getReferenceRule());
- }
+ before(grammarAccess.getReferenceRule());
pushFollow(FOLLOW_1);
ruleReference();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getReferenceRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getReferenceRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2736,36 +2584,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleReference"
- // InternalSolverLanguage.g:813:1: ruleReference : ( ( rule__Reference__ReferredAssignment ) ) ;
+ // InternalSolverLanguageParser.g:886:1: ruleReference : ( ( rule__Reference__ReferredAssignment ) ) ;
public final void ruleReference() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:817:2: ( ( ( rule__Reference__ReferredAssignment ) ) )
- // InternalSolverLanguage.g:818:2: ( ( rule__Reference__ReferredAssignment ) )
+ // InternalSolverLanguageParser.g:890:2: ( ( ( rule__Reference__ReferredAssignment ) ) )
+ // InternalSolverLanguageParser.g:891:2: ( ( rule__Reference__ReferredAssignment ) )
{
- // InternalSolverLanguage.g:818:2: ( ( rule__Reference__ReferredAssignment ) )
- // InternalSolverLanguage.g:819:3: ( rule__Reference__ReferredAssignment )
+ // InternalSolverLanguageParser.g:891:2: ( ( rule__Reference__ReferredAssignment ) )
+ // InternalSolverLanguageParser.g:892:3: ( rule__Reference__ReferredAssignment )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getReferenceAccess().getReferredAssignment());
- }
- // InternalSolverLanguage.g:820:3: ( rule__Reference__ReferredAssignment )
- // InternalSolverLanguage.g:820:4: rule__Reference__ReferredAssignment
+ before(grammarAccess.getReferenceAccess().getReferredAssignment());
+ // InternalSolverLanguageParser.g:893:3: ( rule__Reference__ReferredAssignment )
+ // InternalSolverLanguageParser.g:893:4: rule__Reference__ReferredAssignment
{
pushFollow(FOLLOW_2);
rule__Reference__ReferredAssignment();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getReferenceAccess().getReferredAssignment());
}
+ after(grammarAccess.getReferenceAccess().getReferredAssignment());
+
}
@@ -2787,24 +2631,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleInterval"
- // InternalSolverLanguage.g:829:1: entryRuleInterval : ruleInterval EOF ;
+ // InternalSolverLanguageParser.g:902:1: entryRuleInterval : ruleInterval EOF ;
public final void entryRuleInterval() throws RecognitionException {
try {
- // InternalSolverLanguage.g:830:1: ( ruleInterval EOF )
- // InternalSolverLanguage.g:831:1: ruleInterval EOF
+ // InternalSolverLanguageParser.g:903:1: ( ruleInterval EOF )
+ // InternalSolverLanguageParser.g:904:1: ruleInterval EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalRule());
- }
+ before(grammarAccess.getIntervalRule());
pushFollow(FOLLOW_1);
ruleInterval();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getIntervalRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2821,36 +2661,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleInterval"
- // InternalSolverLanguage.g:838:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:911:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ;
public final void ruleInterval() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:842:2: ( ( ( rule__Interval__Group__0 ) ) )
- // InternalSolverLanguage.g:843:2: ( ( rule__Interval__Group__0 ) )
+ // InternalSolverLanguageParser.g:915:2: ( ( ( rule__Interval__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:916:2: ( ( rule__Interval__Group__0 ) )
{
- // InternalSolverLanguage.g:843:2: ( ( rule__Interval__Group__0 ) )
- // InternalSolverLanguage.g:844:3: ( rule__Interval__Group__0 )
+ // InternalSolverLanguageParser.g:916:2: ( ( rule__Interval__Group__0 ) )
+ // InternalSolverLanguageParser.g:917:3: ( rule__Interval__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getGroup());
- }
- // InternalSolverLanguage.g:845:3: ( rule__Interval__Group__0 )
- // InternalSolverLanguage.g:845:4: rule__Interval__Group__0
+ before(grammarAccess.getIntervalAccess().getGroup());
+ // InternalSolverLanguageParser.g:918:3: ( rule__Interval__Group__0 )
+ // InternalSolverLanguageParser.g:918:4: rule__Interval__Group__0
{
pushFollow(FOLLOW_2);
rule__Interval__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getGroup());
}
+ after(grammarAccess.getIntervalAccess().getGroup());
+
}
@@ -2872,24 +2708,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleLiteral"
- // InternalSolverLanguage.g:854:1: entryRuleLiteral : ruleLiteral EOF ;
+ // InternalSolverLanguageParser.g:927:1: entryRuleLiteral : ruleLiteral EOF ;
public final void entryRuleLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:855:1: ( ruleLiteral EOF )
- // InternalSolverLanguage.g:856:1: ruleLiteral EOF
+ // InternalSolverLanguageParser.g:928:1: ( ruleLiteral EOF )
+ // InternalSolverLanguageParser.g:929:1: ruleLiteral EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralRule());
- }
+ before(grammarAccess.getLiteralRule());
pushFollow(FOLLOW_1);
ruleLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getLiteralRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2906,36 +2738,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleLiteral"
- // InternalSolverLanguage.g:863:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:936:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ;
public final void ruleLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:867:2: ( ( ( rule__Literal__Alternatives ) ) )
- // InternalSolverLanguage.g:868:2: ( ( rule__Literal__Alternatives ) )
+ // InternalSolverLanguageParser.g:940:2: ( ( ( rule__Literal__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:941:2: ( ( rule__Literal__Alternatives ) )
{
- // InternalSolverLanguage.g:868:2: ( ( rule__Literal__Alternatives ) )
- // InternalSolverLanguage.g:869:3: ( rule__Literal__Alternatives )
+ // InternalSolverLanguageParser.g:941:2: ( ( rule__Literal__Alternatives ) )
+ // InternalSolverLanguageParser.g:942:3: ( rule__Literal__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:870:3: ( rule__Literal__Alternatives )
- // InternalSolverLanguage.g:870:4: rule__Literal__Alternatives
+ before(grammarAccess.getLiteralAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:943:3: ( rule__Literal__Alternatives )
+ // InternalSolverLanguageParser.g:943:4: rule__Literal__Alternatives
{
pushFollow(FOLLOW_2);
rule__Literal__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralAccess().getAlternatives());
}
+ after(grammarAccess.getLiteralAccess().getAlternatives());
+
}
@@ -2957,24 +2785,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleLogicLiteral"
- // InternalSolverLanguage.g:879:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ;
+ // InternalSolverLanguageParser.g:952:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ;
public final void entryRuleLogicLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:880:1: ( ruleLogicLiteral EOF )
- // InternalSolverLanguage.g:881:1: ruleLogicLiteral EOF
+ // InternalSolverLanguageParser.g:953:1: ( ruleLogicLiteral EOF )
+ // InternalSolverLanguageParser.g:954:1: ruleLogicLiteral EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicLiteralRule());
- }
+ before(grammarAccess.getLogicLiteralRule());
pushFollow(FOLLOW_1);
ruleLogicLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicLiteralRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getLogicLiteralRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -2991,36 +2815,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleLogicLiteral"
- // InternalSolverLanguage.g:888:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ;
+ // InternalSolverLanguageParser.g:961:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ;
public final void ruleLogicLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:892:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) )
- // InternalSolverLanguage.g:893:2: ( ( rule__LogicLiteral__ValueAssignment ) )
+ // InternalSolverLanguageParser.g:965:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) )
+ // InternalSolverLanguageParser.g:966:2: ( ( rule__LogicLiteral__ValueAssignment ) )
{
- // InternalSolverLanguage.g:893:2: ( ( rule__LogicLiteral__ValueAssignment ) )
- // InternalSolverLanguage.g:894:3: ( rule__LogicLiteral__ValueAssignment )
+ // InternalSolverLanguageParser.g:966:2: ( ( rule__LogicLiteral__ValueAssignment ) )
+ // InternalSolverLanguageParser.g:967:3: ( rule__LogicLiteral__ValueAssignment )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicLiteralAccess().getValueAssignment());
- }
- // InternalSolverLanguage.g:895:3: ( rule__LogicLiteral__ValueAssignment )
- // InternalSolverLanguage.g:895:4: rule__LogicLiteral__ValueAssignment
+ before(grammarAccess.getLogicLiteralAccess().getValueAssignment());
+ // InternalSolverLanguageParser.g:968:3: ( rule__LogicLiteral__ValueAssignment )
+ // InternalSolverLanguageParser.g:968:4: rule__LogicLiteral__ValueAssignment
{
pushFollow(FOLLOW_2);
rule__LogicLiteral__ValueAssignment();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicLiteralAccess().getValueAssignment());
}
+ after(grammarAccess.getLogicLiteralAccess().getValueAssignment());
+
}
@@ -3042,24 +2862,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleNumericLiteral"
- // InternalSolverLanguage.g:904:1: entryRuleNumericLiteral : ruleNumericLiteral EOF ;
+ // InternalSolverLanguageParser.g:977:1: entryRuleNumericLiteral : ruleNumericLiteral EOF ;
public final void entryRuleNumericLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:905:1: ( ruleNumericLiteral EOF )
- // InternalSolverLanguage.g:906:1: ruleNumericLiteral EOF
+ // InternalSolverLanguageParser.g:978:1: ( ruleNumericLiteral EOF )
+ // InternalSolverLanguageParser.g:979:1: ruleNumericLiteral EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getNumericLiteralRule());
- }
+ before(grammarAccess.getNumericLiteralRule());
pushFollow(FOLLOW_1);
ruleNumericLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getNumericLiteralRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getNumericLiteralRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3076,36 +2892,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleNumericLiteral"
- // InternalSolverLanguage.g:913:1: ruleNumericLiteral : ( ( rule__NumericLiteral__ValueAssignment ) ) ;
+ // InternalSolverLanguageParser.g:986:1: ruleNumericLiteral : ( ( rule__NumericLiteral__ValueAssignment ) ) ;
public final void ruleNumericLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:917:2: ( ( ( rule__NumericLiteral__ValueAssignment ) ) )
- // InternalSolverLanguage.g:918:2: ( ( rule__NumericLiteral__ValueAssignment ) )
+ // InternalSolverLanguageParser.g:990:2: ( ( ( rule__NumericLiteral__ValueAssignment ) ) )
+ // InternalSolverLanguageParser.g:991:2: ( ( rule__NumericLiteral__ValueAssignment ) )
{
- // InternalSolverLanguage.g:918:2: ( ( rule__NumericLiteral__ValueAssignment ) )
- // InternalSolverLanguage.g:919:3: ( rule__NumericLiteral__ValueAssignment )
+ // InternalSolverLanguageParser.g:991:2: ( ( rule__NumericLiteral__ValueAssignment ) )
+ // InternalSolverLanguageParser.g:992:3: ( rule__NumericLiteral__ValueAssignment )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getNumericLiteralAccess().getValueAssignment());
- }
- // InternalSolverLanguage.g:920:3: ( rule__NumericLiteral__ValueAssignment )
- // InternalSolverLanguage.g:920:4: rule__NumericLiteral__ValueAssignment
+ before(grammarAccess.getNumericLiteralAccess().getValueAssignment());
+ // InternalSolverLanguageParser.g:993:3: ( rule__NumericLiteral__ValueAssignment )
+ // InternalSolverLanguageParser.g:993:4: rule__NumericLiteral__ValueAssignment
{
pushFollow(FOLLOW_2);
rule__NumericLiteral__ValueAssignment();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getNumericLiteralAccess().getValueAssignment());
}
+ after(grammarAccess.getNumericLiteralAccess().getValueAssignment());
+
}
@@ -3127,24 +2939,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleInfinityLiteral"
- // InternalSolverLanguage.g:929:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ;
+ // InternalSolverLanguageParser.g:1002:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ;
public final void entryRuleInfinityLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:930:1: ( ruleInfinityLiteral EOF )
- // InternalSolverLanguage.g:931:1: ruleInfinityLiteral EOF
+ // InternalSolverLanguageParser.g:1003:1: ( ruleInfinityLiteral EOF )
+ // InternalSolverLanguageParser.g:1004:1: ruleInfinityLiteral EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getInfinityLiteralRule());
- }
+ before(grammarAccess.getInfinityLiteralRule());
pushFollow(FOLLOW_1);
ruleInfinityLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getInfinityLiteralRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getInfinityLiteralRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3161,36 +2969,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleInfinityLiteral"
- // InternalSolverLanguage.g:938:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1011:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ;
public final void ruleInfinityLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:942:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) )
- // InternalSolverLanguage.g:943:2: ( ( rule__InfinityLiteral__Group__0 ) )
+ // InternalSolverLanguageParser.g:1015:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1016:2: ( ( rule__InfinityLiteral__Group__0 ) )
{
- // InternalSolverLanguage.g:943:2: ( ( rule__InfinityLiteral__Group__0 ) )
- // InternalSolverLanguage.g:944:3: ( rule__InfinityLiteral__Group__0 )
+ // InternalSolverLanguageParser.g:1016:2: ( ( rule__InfinityLiteral__Group__0 ) )
+ // InternalSolverLanguageParser.g:1017:3: ( rule__InfinityLiteral__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getInfinityLiteralAccess().getGroup());
- }
- // InternalSolverLanguage.g:945:3: ( rule__InfinityLiteral__Group__0 )
- // InternalSolverLanguage.g:945:4: rule__InfinityLiteral__Group__0
+ before(grammarAccess.getInfinityLiteralAccess().getGroup());
+ // InternalSolverLanguageParser.g:1018:3: ( rule__InfinityLiteral__Group__0 )
+ // InternalSolverLanguageParser.g:1018:4: rule__InfinityLiteral__Group__0
{
pushFollow(FOLLOW_2);
rule__InfinityLiteral__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getInfinityLiteralAccess().getGroup());
}
+ after(grammarAccess.getInfinityLiteralAccess().getGroup());
+
}
@@ -3212,24 +3016,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleEmptyIntervalLiteral"
- // InternalSolverLanguage.g:954:1: entryRuleEmptyIntervalLiteral : ruleEmptyIntervalLiteral EOF ;
+ // InternalSolverLanguageParser.g:1027:1: entryRuleEmptyIntervalLiteral : ruleEmptyIntervalLiteral EOF ;
public final void entryRuleEmptyIntervalLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:955:1: ( ruleEmptyIntervalLiteral EOF )
- // InternalSolverLanguage.g:956:1: ruleEmptyIntervalLiteral EOF
+ // InternalSolverLanguageParser.g:1028:1: ( ruleEmptyIntervalLiteral EOF )
+ // InternalSolverLanguageParser.g:1029:1: ruleEmptyIntervalLiteral EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getEmptyIntervalLiteralRule());
- }
+ before(grammarAccess.getEmptyIntervalLiteralRule());
pushFollow(FOLLOW_1);
ruleEmptyIntervalLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getEmptyIntervalLiteralRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getEmptyIntervalLiteralRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3246,36 +3046,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleEmptyIntervalLiteral"
- // InternalSolverLanguage.g:963:1: ruleEmptyIntervalLiteral : ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1036:1: ruleEmptyIntervalLiteral : ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ;
public final void ruleEmptyIntervalLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:967:2: ( ( ( rule__EmptyIntervalLiteral__Group__0 ) ) )
- // InternalSolverLanguage.g:968:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) )
+ // InternalSolverLanguageParser.g:1040:2: ( ( ( rule__EmptyIntervalLiteral__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1041:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) )
{
- // InternalSolverLanguage.g:968:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) )
- // InternalSolverLanguage.g:969:3: ( rule__EmptyIntervalLiteral__Group__0 )
+ // InternalSolverLanguageParser.g:1041:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) )
+ // InternalSolverLanguageParser.g:1042:3: ( rule__EmptyIntervalLiteral__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup());
- }
- // InternalSolverLanguage.g:970:3: ( rule__EmptyIntervalLiteral__Group__0 )
- // InternalSolverLanguage.g:970:4: rule__EmptyIntervalLiteral__Group__0
+ before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup());
+ // InternalSolverLanguageParser.g:1043:3: ( rule__EmptyIntervalLiteral__Group__0 )
+ // InternalSolverLanguageParser.g:1043:4: rule__EmptyIntervalLiteral__Group__0
{
pushFollow(FOLLOW_2);
rule__EmptyIntervalLiteral__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup());
}
+ after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup());
+
}
@@ -3297,24 +3093,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleStringLiteral"
- // InternalSolverLanguage.g:979:1: entryRuleStringLiteral : ruleStringLiteral EOF ;
+ // InternalSolverLanguageParser.g:1052:1: entryRuleStringLiteral : ruleStringLiteral EOF ;
public final void entryRuleStringLiteral() throws RecognitionException {
try {
- // InternalSolverLanguage.g:980:1: ( ruleStringLiteral EOF )
- // InternalSolverLanguage.g:981:1: ruleStringLiteral EOF
+ // InternalSolverLanguageParser.g:1053:1: ( ruleStringLiteral EOF )
+ // InternalSolverLanguageParser.g:1054:1: ruleStringLiteral EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStringLiteralRule());
- }
+ before(grammarAccess.getStringLiteralRule());
pushFollow(FOLLOW_1);
ruleStringLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStringLiteralRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getStringLiteralRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3331,36 +3123,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleStringLiteral"
- // InternalSolverLanguage.g:988:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ;
+ // InternalSolverLanguageParser.g:1061:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ;
public final void ruleStringLiteral() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:992:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) )
- // InternalSolverLanguage.g:993:2: ( ( rule__StringLiteral__ValueAssignment ) )
+ // InternalSolverLanguageParser.g:1065:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) )
+ // InternalSolverLanguageParser.g:1066:2: ( ( rule__StringLiteral__ValueAssignment ) )
{
- // InternalSolverLanguage.g:993:2: ( ( rule__StringLiteral__ValueAssignment ) )
- // InternalSolverLanguage.g:994:3: ( rule__StringLiteral__ValueAssignment )
+ // InternalSolverLanguageParser.g:1066:2: ( ( rule__StringLiteral__ValueAssignment ) )
+ // InternalSolverLanguageParser.g:1067:3: ( rule__StringLiteral__ValueAssignment )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStringLiteralAccess().getValueAssignment());
- }
- // InternalSolverLanguage.g:995:3: ( rule__StringLiteral__ValueAssignment )
- // InternalSolverLanguage.g:995:4: rule__StringLiteral__ValueAssignment
+ before(grammarAccess.getStringLiteralAccess().getValueAssignment());
+ // InternalSolverLanguageParser.g:1068:3: ( rule__StringLiteral__ValueAssignment )
+ // InternalSolverLanguageParser.g:1068:4: rule__StringLiteral__ValueAssignment
{
pushFollow(FOLLOW_2);
rule__StringLiteral__ValueAssignment();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStringLiteralAccess().getValueAssignment());
}
+ after(grammarAccess.getStringLiteralAccess().getValueAssignment());
+
}
@@ -3382,24 +3170,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleClassDefinition"
- // InternalSolverLanguage.g:1004:1: entryRuleClassDefinition : ruleClassDefinition EOF ;
+ // InternalSolverLanguageParser.g:1077:1: entryRuleClassDefinition : ruleClassDefinition EOF ;
public final void entryRuleClassDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1005:1: ( ruleClassDefinition EOF )
- // InternalSolverLanguage.g:1006:1: ruleClassDefinition EOF
+ // InternalSolverLanguageParser.g:1078:1: ( ruleClassDefinition EOF )
+ // InternalSolverLanguageParser.g:1079:1: ruleClassDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionRule());
- }
+ before(grammarAccess.getClassDefinitionRule());
pushFollow(FOLLOW_1);
ruleClassDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getClassDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3416,36 +3200,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleClassDefinition"
- // InternalSolverLanguage.g:1013:1: ruleClassDefinition : ( ( rule__ClassDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1086:1: ruleClassDefinition : ( ( rule__ClassDefinition__Group__0 ) ) ;
public final void ruleClassDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1017:2: ( ( ( rule__ClassDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1018:2: ( ( rule__ClassDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1090:2: ( ( ( rule__ClassDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1091:2: ( ( rule__ClassDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1018:2: ( ( rule__ClassDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1019:3: ( rule__ClassDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1091:2: ( ( rule__ClassDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1092:3: ( rule__ClassDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:1020:3: ( rule__ClassDefinition__Group__0 )
- // InternalSolverLanguage.g:1020:4: rule__ClassDefinition__Group__0
+ before(grammarAccess.getClassDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:1093:3: ( rule__ClassDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1093:4: rule__ClassDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getGroup());
}
+ after(grammarAccess.getClassDefinitionAccess().getGroup());
+
}
@@ -3467,24 +3247,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleMemberDefinition"
- // InternalSolverLanguage.g:1029:1: entryRuleMemberDefinition : ruleMemberDefinition EOF ;
+ // InternalSolverLanguageParser.g:1102:1: entryRuleMemberDefinition : ruleMemberDefinition EOF ;
public final void entryRuleMemberDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1030:1: ( ruleMemberDefinition EOF )
- // InternalSolverLanguage.g:1031:1: ruleMemberDefinition EOF
+ // InternalSolverLanguageParser.g:1103:1: ( ruleMemberDefinition EOF )
+ // InternalSolverLanguageParser.g:1104:1: ruleMemberDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionRule());
- }
+ before(grammarAccess.getMemberDefinitionRule());
pushFollow(FOLLOW_1);
ruleMemberDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getMemberDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3501,36 +3277,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMemberDefinition"
- // InternalSolverLanguage.g:1038:1: ruleMemberDefinition : ( ( rule__MemberDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1111:1: ruleMemberDefinition : ( ( rule__MemberDefinition__Group__0 ) ) ;
public final void ruleMemberDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1042:2: ( ( ( rule__MemberDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1043:2: ( ( rule__MemberDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1115:2: ( ( ( rule__MemberDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1116:2: ( ( rule__MemberDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1043:2: ( ( rule__MemberDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1044:3: ( rule__MemberDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1116:2: ( ( rule__MemberDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1117:3: ( rule__MemberDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:1045:3: ( rule__MemberDefinition__Group__0 )
- // InternalSolverLanguage.g:1045:4: rule__MemberDefinition__Group__0
+ before(grammarAccess.getMemberDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:1118:3: ( rule__MemberDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1118:4: rule__MemberDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getGroup());
}
+ after(grammarAccess.getMemberDefinitionAccess().getGroup());
+
}
@@ -3552,24 +3324,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleMultiplicity"
- // InternalSolverLanguage.g:1054:1: entryRuleMultiplicity : ruleMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:1127:1: entryRuleMultiplicity : ruleMultiplicity EOF ;
public final void entryRuleMultiplicity() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1055:1: ( ruleMultiplicity EOF )
- // InternalSolverLanguage.g:1056:1: ruleMultiplicity EOF
+ // InternalSolverLanguageParser.g:1128:1: ( ruleMultiplicity EOF )
+ // InternalSolverLanguageParser.g:1129:1: ruleMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicityRule());
- }
+ before(grammarAccess.getMultiplicityRule());
pushFollow(FOLLOW_1);
ruleMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicityRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getMultiplicityRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3586,36 +3354,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMultiplicity"
- // InternalSolverLanguage.g:1063:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1136:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ;
public final void ruleMultiplicity() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1067:2: ( ( ( rule__Multiplicity__Alternatives ) ) )
- // InternalSolverLanguage.g:1068:2: ( ( rule__Multiplicity__Alternatives ) )
+ // InternalSolverLanguageParser.g:1140:2: ( ( ( rule__Multiplicity__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1141:2: ( ( rule__Multiplicity__Alternatives ) )
{
- // InternalSolverLanguage.g:1068:2: ( ( rule__Multiplicity__Alternatives ) )
- // InternalSolverLanguage.g:1069:3: ( rule__Multiplicity__Alternatives )
+ // InternalSolverLanguageParser.g:1141:2: ( ( rule__Multiplicity__Alternatives ) )
+ // InternalSolverLanguageParser.g:1142:3: ( rule__Multiplicity__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicityAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1070:3: ( rule__Multiplicity__Alternatives )
- // InternalSolverLanguage.g:1070:4: rule__Multiplicity__Alternatives
+ before(grammarAccess.getMultiplicityAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1143:3: ( rule__Multiplicity__Alternatives )
+ // InternalSolverLanguageParser.g:1143:4: rule__Multiplicity__Alternatives
{
pushFollow(FOLLOW_2);
rule__Multiplicity__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicityAccess().getAlternatives());
}
+ after(grammarAccess.getMultiplicityAccess().getAlternatives());
+
}
@@ -3637,24 +3401,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleManyMultiplicity"
- // InternalSolverLanguage.g:1079:1: entryRuleManyMultiplicity : ruleManyMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:1152:1: entryRuleManyMultiplicity : ruleManyMultiplicity EOF ;
public final void entryRuleManyMultiplicity() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1080:1: ( ruleManyMultiplicity EOF )
- // InternalSolverLanguage.g:1081:1: ruleManyMultiplicity EOF
+ // InternalSolverLanguageParser.g:1153:1: ( ruleManyMultiplicity EOF )
+ // InternalSolverLanguageParser.g:1154:1: ruleManyMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getManyMultiplicityRule());
- }
+ before(grammarAccess.getManyMultiplicityRule());
pushFollow(FOLLOW_1);
ruleManyMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getManyMultiplicityRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getManyMultiplicityRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3671,36 +3431,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleManyMultiplicity"
- // InternalSolverLanguage.g:1088:1: ruleManyMultiplicity : ( ( rule__ManyMultiplicity__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1161:1: ruleManyMultiplicity : ( ( rule__ManyMultiplicity__Group__0 ) ) ;
public final void ruleManyMultiplicity() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1092:2: ( ( ( rule__ManyMultiplicity__Group__0 ) ) )
- // InternalSolverLanguage.g:1093:2: ( ( rule__ManyMultiplicity__Group__0 ) )
+ // InternalSolverLanguageParser.g:1165:2: ( ( ( rule__ManyMultiplicity__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1166:2: ( ( rule__ManyMultiplicity__Group__0 ) )
{
- // InternalSolverLanguage.g:1093:2: ( ( rule__ManyMultiplicity__Group__0 ) )
- // InternalSolverLanguage.g:1094:3: ( rule__ManyMultiplicity__Group__0 )
+ // InternalSolverLanguageParser.g:1166:2: ( ( rule__ManyMultiplicity__Group__0 ) )
+ // InternalSolverLanguageParser.g:1167:3: ( rule__ManyMultiplicity__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getManyMultiplicityAccess().getGroup());
- }
- // InternalSolverLanguage.g:1095:3: ( rule__ManyMultiplicity__Group__0 )
- // InternalSolverLanguage.g:1095:4: rule__ManyMultiplicity__Group__0
+ before(grammarAccess.getManyMultiplicityAccess().getGroup());
+ // InternalSolverLanguageParser.g:1168:3: ( rule__ManyMultiplicity__Group__0 )
+ // InternalSolverLanguageParser.g:1168:4: rule__ManyMultiplicity__Group__0
{
pushFollow(FOLLOW_2);
rule__ManyMultiplicity__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getManyMultiplicityAccess().getGroup());
}
+ after(grammarAccess.getManyMultiplicityAccess().getGroup());
+
}
@@ -3722,24 +3478,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExactMultiplicity"
- // InternalSolverLanguage.g:1104:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:1177:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ;
public final void entryRuleExactMultiplicity() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1105:1: ( ruleExactMultiplicity EOF )
- // InternalSolverLanguage.g:1106:1: ruleExactMultiplicity EOF
+ // InternalSolverLanguageParser.g:1178:1: ( ruleExactMultiplicity EOF )
+ // InternalSolverLanguageParser.g:1179:1: ruleExactMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactMultiplicityRule());
- }
+ before(grammarAccess.getExactMultiplicityRule());
pushFollow(FOLLOW_1);
ruleExactMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactMultiplicityRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExactMultiplicityRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3756,36 +3508,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExactMultiplicity"
- // InternalSolverLanguage.g:1113:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1186:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ;
public final void ruleExactMultiplicity() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1117:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) )
- // InternalSolverLanguage.g:1118:2: ( ( rule__ExactMultiplicity__Group__0 ) )
+ // InternalSolverLanguageParser.g:1190:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1191:2: ( ( rule__ExactMultiplicity__Group__0 ) )
{
- // InternalSolverLanguage.g:1118:2: ( ( rule__ExactMultiplicity__Group__0 ) )
- // InternalSolverLanguage.g:1119:3: ( rule__ExactMultiplicity__Group__0 )
+ // InternalSolverLanguageParser.g:1191:2: ( ( rule__ExactMultiplicity__Group__0 ) )
+ // InternalSolverLanguageParser.g:1192:3: ( rule__ExactMultiplicity__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactMultiplicityAccess().getGroup());
- }
- // InternalSolverLanguage.g:1120:3: ( rule__ExactMultiplicity__Group__0 )
- // InternalSolverLanguage.g:1120:4: rule__ExactMultiplicity__Group__0
+ before(grammarAccess.getExactMultiplicityAccess().getGroup());
+ // InternalSolverLanguageParser.g:1193:3: ( rule__ExactMultiplicity__Group__0 )
+ // InternalSolverLanguageParser.g:1193:4: rule__ExactMultiplicity__Group__0
{
pushFollow(FOLLOW_2);
rule__ExactMultiplicity__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactMultiplicityAccess().getGroup());
}
+ after(grammarAccess.getExactMultiplicityAccess().getGroup());
+
}
@@ -3807,24 +3555,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleBoundedMultiplicity"
- // InternalSolverLanguage.g:1129:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:1202:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ;
public final void entryRuleBoundedMultiplicity() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1130:1: ( ruleBoundedMultiplicity EOF )
- // InternalSolverLanguage.g:1131:1: ruleBoundedMultiplicity EOF
+ // InternalSolverLanguageParser.g:1203:1: ( ruleBoundedMultiplicity EOF )
+ // InternalSolverLanguageParser.g:1204:1: ruleBoundedMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityRule());
- }
+ before(grammarAccess.getBoundedMultiplicityRule());
pushFollow(FOLLOW_1);
ruleBoundedMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getBoundedMultiplicityRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3841,36 +3585,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleBoundedMultiplicity"
- // InternalSolverLanguage.g:1138:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1211:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ;
public final void ruleBoundedMultiplicity() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1142:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) )
- // InternalSolverLanguage.g:1143:2: ( ( rule__BoundedMultiplicity__Group__0 ) )
+ // InternalSolverLanguageParser.g:1215:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1216:2: ( ( rule__BoundedMultiplicity__Group__0 ) )
{
- // InternalSolverLanguage.g:1143:2: ( ( rule__BoundedMultiplicity__Group__0 ) )
- // InternalSolverLanguage.g:1144:3: ( rule__BoundedMultiplicity__Group__0 )
+ // InternalSolverLanguageParser.g:1216:2: ( ( rule__BoundedMultiplicity__Group__0 ) )
+ // InternalSolverLanguageParser.g:1217:3: ( rule__BoundedMultiplicity__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getGroup());
- }
- // InternalSolverLanguage.g:1145:3: ( rule__BoundedMultiplicity__Group__0 )
- // InternalSolverLanguage.g:1145:4: rule__BoundedMultiplicity__Group__0
+ before(grammarAccess.getBoundedMultiplicityAccess().getGroup());
+ // InternalSolverLanguageParser.g:1218:3: ( rule__BoundedMultiplicity__Group__0 )
+ // InternalSolverLanguageParser.g:1218:4: rule__BoundedMultiplicity__Group__0
{
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getGroup());
}
+ after(grammarAccess.getBoundedMultiplicityAccess().getGroup());
+
}
@@ -3892,24 +3632,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleScopeDefinition"
- // InternalSolverLanguage.g:1154:1: entryRuleScopeDefinition : ruleScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:1227:1: entryRuleScopeDefinition : ruleScopeDefinition EOF ;
public final void entryRuleScopeDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1155:1: ( ruleScopeDefinition EOF )
- // InternalSolverLanguage.g:1156:1: ruleScopeDefinition EOF
+ // InternalSolverLanguageParser.g:1228:1: ( ruleScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:1229:1: ruleScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getScopeDefinitionRule());
- }
+ before(grammarAccess.getScopeDefinitionRule());
pushFollow(FOLLOW_1);
ruleScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getScopeDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getScopeDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -3926,36 +3662,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleScopeDefinition"
- // InternalSolverLanguage.g:1163:1: ruleScopeDefinition : ( ( rule__ScopeDefinition__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1236:1: ruleScopeDefinition : ( ( rule__ScopeDefinition__Alternatives ) ) ;
public final void ruleScopeDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1167:2: ( ( ( rule__ScopeDefinition__Alternatives ) ) )
- // InternalSolverLanguage.g:1168:2: ( ( rule__ScopeDefinition__Alternatives ) )
+ // InternalSolverLanguageParser.g:1240:2: ( ( ( rule__ScopeDefinition__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1241:2: ( ( rule__ScopeDefinition__Alternatives ) )
{
- // InternalSolverLanguage.g:1168:2: ( ( rule__ScopeDefinition__Alternatives ) )
- // InternalSolverLanguage.g:1169:3: ( rule__ScopeDefinition__Alternatives )
+ // InternalSolverLanguageParser.g:1241:2: ( ( rule__ScopeDefinition__Alternatives ) )
+ // InternalSolverLanguageParser.g:1242:3: ( rule__ScopeDefinition__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getScopeDefinitionAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1170:3: ( rule__ScopeDefinition__Alternatives )
- // InternalSolverLanguage.g:1170:4: rule__ScopeDefinition__Alternatives
+ before(grammarAccess.getScopeDefinitionAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1243:3: ( rule__ScopeDefinition__Alternatives )
+ // InternalSolverLanguageParser.g:1243:4: rule__ScopeDefinition__Alternatives
{
pushFollow(FOLLOW_2);
rule__ScopeDefinition__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getScopeDefinitionAccess().getAlternatives());
}
+ after(grammarAccess.getScopeDefinitionAccess().getAlternatives());
+
}
@@ -3977,24 +3709,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleExactScopeDefinition"
- // InternalSolverLanguage.g:1179:1: entryRuleExactScopeDefinition : ruleExactScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:1252:1: entryRuleExactScopeDefinition : ruleExactScopeDefinition EOF ;
public final void entryRuleExactScopeDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1180:1: ( ruleExactScopeDefinition EOF )
- // InternalSolverLanguage.g:1181:1: ruleExactScopeDefinition EOF
+ // InternalSolverLanguageParser.g:1253:1: ( ruleExactScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:1254:1: ruleExactScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionRule());
- }
+ before(grammarAccess.getExactScopeDefinitionRule());
pushFollow(FOLLOW_1);
ruleExactScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getExactScopeDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4011,36 +3739,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExactScopeDefinition"
- // InternalSolverLanguage.g:1188:1: ruleExactScopeDefinition : ( ( rule__ExactScopeDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1261:1: ruleExactScopeDefinition : ( ( rule__ExactScopeDefinition__Group__0 ) ) ;
public final void ruleExactScopeDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1192:2: ( ( ( rule__ExactScopeDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1193:2: ( ( rule__ExactScopeDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1265:2: ( ( ( rule__ExactScopeDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1266:2: ( ( rule__ExactScopeDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1193:2: ( ( rule__ExactScopeDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1194:3: ( rule__ExactScopeDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1266:2: ( ( rule__ExactScopeDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1267:3: ( rule__ExactScopeDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:1195:3: ( rule__ExactScopeDefinition__Group__0 )
- // InternalSolverLanguage.g:1195:4: rule__ExactScopeDefinition__Group__0
+ before(grammarAccess.getExactScopeDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:1268:3: ( rule__ExactScopeDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1268:4: rule__ExactScopeDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getGroup());
}
+ after(grammarAccess.getExactScopeDefinitionAccess().getGroup());
+
}
@@ -4062,24 +3786,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleBoundedScopeDefinition"
- // InternalSolverLanguage.g:1204:1: entryRuleBoundedScopeDefinition : ruleBoundedScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:1277:1: entryRuleBoundedScopeDefinition : ruleBoundedScopeDefinition EOF ;
public final void entryRuleBoundedScopeDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1205:1: ( ruleBoundedScopeDefinition EOF )
- // InternalSolverLanguage.g:1206:1: ruleBoundedScopeDefinition EOF
+ // InternalSolverLanguageParser.g:1278:1: ( ruleBoundedScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:1279:1: ruleBoundedScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionRule());
- }
+ before(grammarAccess.getBoundedScopeDefinitionRule());
pushFollow(FOLLOW_1);
ruleBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getBoundedScopeDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4096,36 +3816,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleBoundedScopeDefinition"
- // InternalSolverLanguage.g:1213:1: ruleBoundedScopeDefinition : ( ( rule__BoundedScopeDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1286:1: ruleBoundedScopeDefinition : ( ( rule__BoundedScopeDefinition__Group__0 ) ) ;
public final void ruleBoundedScopeDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1217:2: ( ( ( rule__BoundedScopeDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1218:2: ( ( rule__BoundedScopeDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1290:2: ( ( ( rule__BoundedScopeDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1291:2: ( ( rule__BoundedScopeDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1218:2: ( ( rule__BoundedScopeDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1219:3: ( rule__BoundedScopeDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1291:2: ( ( rule__BoundedScopeDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1292:3: ( rule__BoundedScopeDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:1220:3: ( rule__BoundedScopeDefinition__Group__0 )
- // InternalSolverLanguage.g:1220:4: rule__BoundedScopeDefinition__Group__0
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:1293:3: ( rule__BoundedScopeDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1293:4: rule__BoundedScopeDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup());
+
}
@@ -4147,24 +3863,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleLowerBoundedScopeDefinition"
- // InternalSolverLanguage.g:1229:1: entryRuleLowerBoundedScopeDefinition : ruleLowerBoundedScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:1302:1: entryRuleLowerBoundedScopeDefinition : ruleLowerBoundedScopeDefinition EOF ;
public final void entryRuleLowerBoundedScopeDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1230:1: ( ruleLowerBoundedScopeDefinition EOF )
- // InternalSolverLanguage.g:1231:1: ruleLowerBoundedScopeDefinition EOF
+ // InternalSolverLanguageParser.g:1303:1: ( ruleLowerBoundedScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:1304:1: ruleLowerBoundedScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionRule());
pushFollow(FOLLOW_1);
ruleLowerBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4181,36 +3893,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleLowerBoundedScopeDefinition"
- // InternalSolverLanguage.g:1238:1: ruleLowerBoundedScopeDefinition : ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1311:1: ruleLowerBoundedScopeDefinition : ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ;
public final void ruleLowerBoundedScopeDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1242:2: ( ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1243:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1315:2: ( ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1316:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1243:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1244:3: ( rule__LowerBoundedScopeDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1316:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1317:3: ( rule__LowerBoundedScopeDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:1245:3: ( rule__LowerBoundedScopeDefinition__Group__0 )
- // InternalSolverLanguage.g:1245:4: rule__LowerBoundedScopeDefinition__Group__0
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:1318:3: ( rule__LowerBoundedScopeDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1318:4: rule__LowerBoundedScopeDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup());
+
}
@@ -4232,24 +3940,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleObjectiveDefinition"
- // InternalSolverLanguage.g:1254:1: entryRuleObjectiveDefinition : ruleObjectiveDefinition EOF ;
+ // InternalSolverLanguageParser.g:1327:1: entryRuleObjectiveDefinition : ruleObjectiveDefinition EOF ;
public final void entryRuleObjectiveDefinition() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1255:1: ( ruleObjectiveDefinition EOF )
- // InternalSolverLanguage.g:1256:1: ruleObjectiveDefinition EOF
+ // InternalSolverLanguageParser.g:1328:1: ( ruleObjectiveDefinition EOF )
+ // InternalSolverLanguageParser.g:1329:1: ruleObjectiveDefinition EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveDefinitionRule());
- }
+ before(grammarAccess.getObjectiveDefinitionRule());
pushFollow(FOLLOW_1);
ruleObjectiveDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveDefinitionRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getObjectiveDefinitionRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4266,36 +3970,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleObjectiveDefinition"
- // InternalSolverLanguage.g:1263:1: ruleObjectiveDefinition : ( ( rule__ObjectiveDefinition__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1336:1: ruleObjectiveDefinition : ( ( rule__ObjectiveDefinition__Group__0 ) ) ;
public final void ruleObjectiveDefinition() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1267:2: ( ( ( rule__ObjectiveDefinition__Group__0 ) ) )
- // InternalSolverLanguage.g:1268:2: ( ( rule__ObjectiveDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1340:2: ( ( ( rule__ObjectiveDefinition__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1341:2: ( ( rule__ObjectiveDefinition__Group__0 ) )
{
- // InternalSolverLanguage.g:1268:2: ( ( rule__ObjectiveDefinition__Group__0 ) )
- // InternalSolverLanguage.g:1269:3: ( rule__ObjectiveDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1341:2: ( ( rule__ObjectiveDefinition__Group__0 ) )
+ // InternalSolverLanguageParser.g:1342:3: ( rule__ObjectiveDefinition__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveDefinitionAccess().getGroup());
- }
- // InternalSolverLanguage.g:1270:3: ( rule__ObjectiveDefinition__Group__0 )
- // InternalSolverLanguage.g:1270:4: rule__ObjectiveDefinition__Group__0
+ before(grammarAccess.getObjectiveDefinitionAccess().getGroup());
+ // InternalSolverLanguageParser.g:1343:3: ( rule__ObjectiveDefinition__Group__0 )
+ // InternalSolverLanguageParser.g:1343:4: rule__ObjectiveDefinition__Group__0
{
pushFollow(FOLLOW_2);
rule__ObjectiveDefinition__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveDefinitionAccess().getGroup());
}
+ after(grammarAccess.getObjectiveDefinitionAccess().getGroup());
+
}
@@ -4317,24 +4017,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleUpperMultiplicty"
- // InternalSolverLanguage.g:1279:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ;
+ // InternalSolverLanguageParser.g:1352:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ;
public final void entryRuleUpperMultiplicty() throws RecognitionException {
try {
- // InternalSolverLanguage.g:1280:1: ( ruleUpperMultiplicty EOF )
- // InternalSolverLanguage.g:1281:1: ruleUpperMultiplicty EOF
+ // InternalSolverLanguageParser.g:1353:1: ( ruleUpperMultiplicty EOF )
+ // InternalSolverLanguageParser.g:1354:1: ruleUpperMultiplicty EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUpperMultiplictyRule());
- }
+ before(grammarAccess.getUpperMultiplictyRule());
pushFollow(FOLLOW_1);
ruleUpperMultiplicty();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUpperMultiplictyRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getUpperMultiplictyRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4351,36 +4047,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleUpperMultiplicty"
- // InternalSolverLanguage.g:1288:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1361:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ;
public final void ruleUpperMultiplicty() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1292:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) )
- // InternalSolverLanguage.g:1293:2: ( ( rule__UpperMultiplicty__Alternatives ) )
+ // InternalSolverLanguageParser.g:1365:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1366:2: ( ( rule__UpperMultiplicty__Alternatives ) )
{
- // InternalSolverLanguage.g:1293:2: ( ( rule__UpperMultiplicty__Alternatives ) )
- // InternalSolverLanguage.g:1294:3: ( rule__UpperMultiplicty__Alternatives )
+ // InternalSolverLanguageParser.g:1366:2: ( ( rule__UpperMultiplicty__Alternatives ) )
+ // InternalSolverLanguageParser.g:1367:3: ( rule__UpperMultiplicty__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUpperMultiplictyAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1295:3: ( rule__UpperMultiplicty__Alternatives )
- // InternalSolverLanguage.g:1295:4: rule__UpperMultiplicty__Alternatives
+ before(grammarAccess.getUpperMultiplictyAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1368:3: ( rule__UpperMultiplicty__Alternatives )
+ // InternalSolverLanguageParser.g:1368:4: rule__UpperMultiplicty__Alternatives
{
pushFollow(FOLLOW_2);
rule__UpperMultiplicty__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUpperMultiplictyAccess().getAlternatives());
}
+ after(grammarAccess.getUpperMultiplictyAccess().getAlternatives());
+
}
@@ -4402,27 +4094,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleReal"
- // InternalSolverLanguage.g:1304:1: entryRuleReal : ruleReal EOF ;
+ // InternalSolverLanguageParser.g:1377:1: entryRuleReal : ruleReal EOF ;
public final void entryRuleReal() throws RecognitionException {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalSolverLanguage.g:1308:1: ( ruleReal EOF )
- // InternalSolverLanguage.g:1309:1: ruleReal EOF
+ // InternalSolverLanguageParser.g:1381:1: ( ruleReal EOF )
+ // InternalSolverLanguageParser.g:1382:1: ruleReal EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getRealRule());
- }
+ before(grammarAccess.getRealRule());
pushFollow(FOLLOW_1);
ruleReal();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getRealRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getRealRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4442,37 +4130,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleReal"
- // InternalSolverLanguage.g:1319:1: ruleReal : ( ( rule__Real__Group__0 ) ) ;
+ // InternalSolverLanguageParser.g:1392:1: ruleReal : ( ( rule__Real__Group__0 ) ) ;
public final void ruleReal() throws RecognitionException {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1324:2: ( ( ( rule__Real__Group__0 ) ) )
- // InternalSolverLanguage.g:1325:2: ( ( rule__Real__Group__0 ) )
+ // InternalSolverLanguageParser.g:1397:2: ( ( ( rule__Real__Group__0 ) ) )
+ // InternalSolverLanguageParser.g:1398:2: ( ( rule__Real__Group__0 ) )
{
- // InternalSolverLanguage.g:1325:2: ( ( rule__Real__Group__0 ) )
- // InternalSolverLanguage.g:1326:3: ( rule__Real__Group__0 )
+ // InternalSolverLanguageParser.g:1398:2: ( ( rule__Real__Group__0 ) )
+ // InternalSolverLanguageParser.g:1399:3: ( rule__Real__Group__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getRealAccess().getGroup());
- }
- // InternalSolverLanguage.g:1327:3: ( rule__Real__Group__0 )
- // InternalSolverLanguage.g:1327:4: rule__Real__Group__0
+ before(grammarAccess.getRealAccess().getGroup());
+ // InternalSolverLanguageParser.g:1400:3: ( rule__Real__Group__0 )
+ // InternalSolverLanguageParser.g:1400:4: rule__Real__Group__0
{
pushFollow(FOLLOW_2);
rule__Real__Group__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getRealAccess().getGroup());
}
+ after(grammarAccess.getRealAccess().getGroup());
+
}
@@ -4495,27 +4179,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "entryRuleQualifiedName"
- // InternalSolverLanguage.g:1337:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
+ // InternalSolverLanguageParser.g:1410:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
public final void entryRuleQualifiedName() throws RecognitionException {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalSolverLanguage.g:1341:1: ( ruleQualifiedName EOF )
- // InternalSolverLanguage.g:1342:1: ruleQualifiedName EOF
+ // InternalSolverLanguageParser.g:1414:1: ( ruleQualifiedName EOF )
+ // InternalSolverLanguageParser.g:1415:1: ruleQualifiedName EOF
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameRule());
- }
+ before(grammarAccess.getQualifiedNameRule());
pushFollow(FOLLOW_1);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameRule());
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return ;
+
+ after(grammarAccess.getQualifiedNameRule());
+ match(input,EOF,FOLLOW_2);
}
@@ -4535,37 +4215,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleQualifiedName"
- // InternalSolverLanguage.g:1352:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1425:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ;
public final void ruleQualifiedName() throws RecognitionException {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1357:2: ( ( ( rule__QualifiedName__Alternatives ) ) )
- // InternalSolverLanguage.g:1358:2: ( ( rule__QualifiedName__Alternatives ) )
+ // InternalSolverLanguageParser.g:1430:2: ( ( ( rule__QualifiedName__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1431:2: ( ( rule__QualifiedName__Alternatives ) )
{
- // InternalSolverLanguage.g:1358:2: ( ( rule__QualifiedName__Alternatives ) )
- // InternalSolverLanguage.g:1359:3: ( rule__QualifiedName__Alternatives )
+ // InternalSolverLanguageParser.g:1431:2: ( ( rule__QualifiedName__Alternatives ) )
+ // InternalSolverLanguageParser.g:1432:3: ( rule__QualifiedName__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1360:3: ( rule__QualifiedName__Alternatives )
- // InternalSolverLanguage.g:1360:4: rule__QualifiedName__Alternatives
+ before(grammarAccess.getQualifiedNameAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1433:3: ( rule__QualifiedName__Alternatives )
+ // InternalSolverLanguageParser.g:1433:4: rule__QualifiedName__Alternatives
{
pushFollow(FOLLOW_2);
rule__QualifiedName__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getAlternatives());
}
+ after(grammarAccess.getQualifiedNameAccess().getAlternatives());
+
}
@@ -4588,36 +4264,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMetricType"
- // InternalSolverLanguage.g:1370:1: ruleMetricType : ( ( rule__MetricType__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1443:1: ruleMetricType : ( ( rule__MetricType__Alternatives ) ) ;
public final void ruleMetricType() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1374:1: ( ( ( rule__MetricType__Alternatives ) ) )
- // InternalSolverLanguage.g:1375:2: ( ( rule__MetricType__Alternatives ) )
+ // InternalSolverLanguageParser.g:1447:1: ( ( ( rule__MetricType__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1448:2: ( ( rule__MetricType__Alternatives ) )
{
- // InternalSolverLanguage.g:1375:2: ( ( rule__MetricType__Alternatives ) )
- // InternalSolverLanguage.g:1376:3: ( rule__MetricType__Alternatives )
+ // InternalSolverLanguageParser.g:1448:2: ( ( rule__MetricType__Alternatives ) )
+ // InternalSolverLanguageParser.g:1449:3: ( rule__MetricType__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricTypeAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1377:3: ( rule__MetricType__Alternatives )
- // InternalSolverLanguage.g:1377:4: rule__MetricType__Alternatives
+ before(grammarAccess.getMetricTypeAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1450:3: ( rule__MetricType__Alternatives )
+ // InternalSolverLanguageParser.g:1450:4: rule__MetricType__Alternatives
{
pushFollow(FOLLOW_2);
rule__MetricType__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricTypeAccess().getAlternatives());
}
+ after(grammarAccess.getMetricTypeAccess().getAlternatives());
+
}
@@ -4639,36 +4311,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleComparisonOperator"
- // InternalSolverLanguage.g:1386:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1459:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ;
public final void ruleComparisonOperator() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1390:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) )
- // InternalSolverLanguage.g:1391:2: ( ( rule__ComparisonOperator__Alternatives ) )
+ // InternalSolverLanguageParser.g:1463:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1464:2: ( ( rule__ComparisonOperator__Alternatives ) )
{
- // InternalSolverLanguage.g:1391:2: ( ( rule__ComparisonOperator__Alternatives ) )
- // InternalSolverLanguage.g:1392:3: ( rule__ComparisonOperator__Alternatives )
+ // InternalSolverLanguageParser.g:1464:2: ( ( rule__ComparisonOperator__Alternatives ) )
+ // InternalSolverLanguageParser.g:1465:3: ( rule__ComparisonOperator__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1393:3: ( rule__ComparisonOperator__Alternatives )
- // InternalSolverLanguage.g:1393:4: rule__ComparisonOperator__Alternatives
+ before(grammarAccess.getComparisonOperatorAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1466:3: ( rule__ComparisonOperator__Alternatives )
+ // InternalSolverLanguageParser.g:1466:4: rule__ComparisonOperator__Alternatives
{
pushFollow(FOLLOW_2);
rule__ComparisonOperator__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getAlternatives());
}
+ after(grammarAccess.getComparisonOperatorAccess().getAlternatives());
+
}
@@ -4690,36 +4358,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAdditiveBinaryOperator"
- // InternalSolverLanguage.g:1402:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1475:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ;
public final void ruleAdditiveBinaryOperator() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1406:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) )
- // InternalSolverLanguage.g:1407:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) )
+ // InternalSolverLanguageParser.g:1479:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1480:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) )
{
- // InternalSolverLanguage.g:1407:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) )
- // InternalSolverLanguage.g:1408:3: ( rule__AdditiveBinaryOperator__Alternatives )
+ // InternalSolverLanguageParser.g:1480:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) )
+ // InternalSolverLanguageParser.g:1481:3: ( rule__AdditiveBinaryOperator__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1409:3: ( rule__AdditiveBinaryOperator__Alternatives )
- // InternalSolverLanguage.g:1409:4: rule__AdditiveBinaryOperator__Alternatives
+ before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1482:3: ( rule__AdditiveBinaryOperator__Alternatives )
+ // InternalSolverLanguageParser.g:1482:4: rule__AdditiveBinaryOperator__Alternatives
{
pushFollow(FOLLOW_2);
rule__AdditiveBinaryOperator__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives());
}
+ after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives());
+
}
@@ -4741,36 +4405,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleMultiplicativeBinaryOperator"
- // InternalSolverLanguage.g:1418:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1491:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ;
public final void ruleMultiplicativeBinaryOperator() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1422:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) )
- // InternalSolverLanguage.g:1423:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) )
+ // InternalSolverLanguageParser.g:1495:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1496:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) )
{
- // InternalSolverLanguage.g:1423:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) )
- // InternalSolverLanguage.g:1424:3: ( rule__MultiplicativeBinaryOperator__Alternatives )
+ // InternalSolverLanguageParser.g:1496:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) )
+ // InternalSolverLanguageParser.g:1497:3: ( rule__MultiplicativeBinaryOperator__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1425:3: ( rule__MultiplicativeBinaryOperator__Alternatives )
- // InternalSolverLanguage.g:1425:4: rule__MultiplicativeBinaryOperator__Alternatives
+ before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1498:3: ( rule__MultiplicativeBinaryOperator__Alternatives )
+ // InternalSolverLanguageParser.g:1498:4: rule__MultiplicativeBinaryOperator__Alternatives
{
pushFollow(FOLLOW_2);
rule__MultiplicativeBinaryOperator__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives());
}
+ after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives());
+
}
@@ -4792,31 +4452,27 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleExponentialOp"
- // InternalSolverLanguage.g:1434:1: ruleExponentialOp : ( ( '^' ) ) ;
+ // InternalSolverLanguageParser.g:1507:1: ruleExponentialOp : ( ( CircumflexAccent ) ) ;
public final void ruleExponentialOp() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1438:1: ( ( ( '^' ) ) )
- // InternalSolverLanguage.g:1439:2: ( ( '^' ) )
+ // InternalSolverLanguageParser.g:1511:1: ( ( ( CircumflexAccent ) ) )
+ // InternalSolverLanguageParser.g:1512:2: ( ( CircumflexAccent ) )
{
- // InternalSolverLanguage.g:1439:2: ( ( '^' ) )
- // InternalSolverLanguage.g:1440:3: ( '^' )
+ // InternalSolverLanguageParser.g:1512:2: ( ( CircumflexAccent ) )
+ // InternalSolverLanguageParser.g:1513:3: ( CircumflexAccent )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
- }
- // InternalSolverLanguage.g:1441:3: ( '^' )
- // InternalSolverLanguage.g:1441:4: '^'
+ before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
+ // InternalSolverLanguageParser.g:1514:3: ( CircumflexAccent )
+ // InternalSolverLanguageParser.g:1514:4: CircumflexAccent
{
- match(input,15,FOLLOW_2); if (state.failed) return ;
+ match(input,CircumflexAccent,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
- }
+ after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
}
@@ -4839,36 +4495,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleUnaryOp"
- // InternalSolverLanguage.g:1450:1: ruleUnaryOp : ( ( rule__UnaryOp__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1523:1: ruleUnaryOp : ( ( rule__UnaryOp__Alternatives ) ) ;
public final void ruleUnaryOp() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1454:1: ( ( ( rule__UnaryOp__Alternatives ) ) )
- // InternalSolverLanguage.g:1455:2: ( ( rule__UnaryOp__Alternatives ) )
+ // InternalSolverLanguageParser.g:1527:1: ( ( ( rule__UnaryOp__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1528:2: ( ( rule__UnaryOp__Alternatives ) )
{
- // InternalSolverLanguage.g:1455:2: ( ( rule__UnaryOp__Alternatives ) )
- // InternalSolverLanguage.g:1456:3: ( rule__UnaryOp__Alternatives )
+ // InternalSolverLanguageParser.g:1528:2: ( ( rule__UnaryOp__Alternatives ) )
+ // InternalSolverLanguageParser.g:1529:3: ( rule__UnaryOp__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1457:3: ( rule__UnaryOp__Alternatives )
- // InternalSolverLanguage.g:1457:4: rule__UnaryOp__Alternatives
+ before(grammarAccess.getUnaryOpAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1530:3: ( rule__UnaryOp__Alternatives )
+ // InternalSolverLanguageParser.g:1530:4: rule__UnaryOp__Alternatives
{
pushFollow(FOLLOW_2);
rule__UnaryOp__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getAlternatives());
}
+ after(grammarAccess.getUnaryOpAccess().getAlternatives());
+
}
@@ -4890,36 +4542,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleAggregationOp"
- // InternalSolverLanguage.g:1466:1: ruleAggregationOp : ( ( rule__AggregationOp__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1539:1: ruleAggregationOp : ( ( rule__AggregationOp__Alternatives ) ) ;
public final void ruleAggregationOp() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1470:1: ( ( ( rule__AggregationOp__Alternatives ) ) )
- // InternalSolverLanguage.g:1471:2: ( ( rule__AggregationOp__Alternatives ) )
+ // InternalSolverLanguageParser.g:1543:1: ( ( ( rule__AggregationOp__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1544:2: ( ( rule__AggregationOp__Alternatives ) )
{
- // InternalSolverLanguage.g:1471:2: ( ( rule__AggregationOp__Alternatives ) )
- // InternalSolverLanguage.g:1472:3: ( rule__AggregationOp__Alternatives )
+ // InternalSolverLanguageParser.g:1544:2: ( ( rule__AggregationOp__Alternatives ) )
+ // InternalSolverLanguageParser.g:1545:3: ( rule__AggregationOp__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1473:3: ( rule__AggregationOp__Alternatives )
- // InternalSolverLanguage.g:1473:4: rule__AggregationOp__Alternatives
+ before(grammarAccess.getAggregationOpAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1546:3: ( rule__AggregationOp__Alternatives )
+ // InternalSolverLanguageParser.g:1546:4: rule__AggregationOp__Alternatives
{
pushFollow(FOLLOW_2);
rule__AggregationOp__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getAlternatives());
}
+ after(grammarAccess.getAggregationOpAccess().getAlternatives());
+
}
@@ -4941,36 +4589,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleLogicValue"
- // InternalSolverLanguage.g:1482:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1555:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ;
public final void ruleLogicValue() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1486:1: ( ( ( rule__LogicValue__Alternatives ) ) )
- // InternalSolverLanguage.g:1487:2: ( ( rule__LogicValue__Alternatives ) )
+ // InternalSolverLanguageParser.g:1559:1: ( ( ( rule__LogicValue__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1560:2: ( ( rule__LogicValue__Alternatives ) )
{
- // InternalSolverLanguage.g:1487:2: ( ( rule__LogicValue__Alternatives ) )
- // InternalSolverLanguage.g:1488:3: ( rule__LogicValue__Alternatives )
+ // InternalSolverLanguageParser.g:1560:2: ( ( rule__LogicValue__Alternatives ) )
+ // InternalSolverLanguageParser.g:1561:3: ( rule__LogicValue__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicValueAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1489:3: ( rule__LogicValue__Alternatives )
- // InternalSolverLanguage.g:1489:4: rule__LogicValue__Alternatives
+ before(grammarAccess.getLogicValueAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1562:3: ( rule__LogicValue__Alternatives )
+ // InternalSolverLanguageParser.g:1562:4: rule__LogicValue__Alternatives
{
pushFollow(FOLLOW_2);
rule__LogicValue__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicValueAccess().getAlternatives());
}
+ after(grammarAccess.getLogicValueAccess().getAlternatives());
+
}
@@ -4992,36 +4636,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "ruleObjectiveKind"
- // InternalSolverLanguage.g:1498:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ;
+ // InternalSolverLanguageParser.g:1571:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ;
public final void ruleObjectiveKind() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1502:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) )
- // InternalSolverLanguage.g:1503:2: ( ( rule__ObjectiveKind__Alternatives ) )
+ // InternalSolverLanguageParser.g:1575:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) )
+ // InternalSolverLanguageParser.g:1576:2: ( ( rule__ObjectiveKind__Alternatives ) )
{
- // InternalSolverLanguage.g:1503:2: ( ( rule__ObjectiveKind__Alternatives ) )
- // InternalSolverLanguage.g:1504:3: ( rule__ObjectiveKind__Alternatives )
+ // InternalSolverLanguageParser.g:1576:2: ( ( rule__ObjectiveKind__Alternatives ) )
+ // InternalSolverLanguageParser.g:1577:3: ( rule__ObjectiveKind__Alternatives )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveKindAccess().getAlternatives());
- }
- // InternalSolverLanguage.g:1505:3: ( rule__ObjectiveKind__Alternatives )
- // InternalSolverLanguage.g:1505:4: rule__ObjectiveKind__Alternatives
+ before(grammarAccess.getObjectiveKindAccess().getAlternatives());
+ // InternalSolverLanguageParser.g:1578:3: ( rule__ObjectiveKind__Alternatives )
+ // InternalSolverLanguageParser.g:1578:4: rule__ObjectiveKind__Alternatives
{
pushFollow(FOLLOW_2);
rule__ObjectiveKind__Alternatives();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveKindAccess().getAlternatives());
}
+ after(grammarAccess.getObjectiveKindAccess().getAlternatives());
+
}
@@ -5043,33 +4683,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Statement__Alternatives_0"
- // InternalSolverLanguage.g:1513:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );
+ // InternalSolverLanguageParser.g:1586:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );
public final void rule__Statement__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1517:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) )
+ // InternalSolverLanguageParser.g:1590:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) )
int alt2=10;
alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
- // InternalSolverLanguage.g:1518:2: ( ruleAssertionOrDefinition )
+ // InternalSolverLanguageParser.g:1591:2: ( ruleAssertionOrDefinition )
{
- // InternalSolverLanguage.g:1518:2: ( ruleAssertionOrDefinition )
- // InternalSolverLanguage.g:1519:3: ruleAssertionOrDefinition
+ // InternalSolverLanguageParser.g:1591:2: ( ruleAssertionOrDefinition )
+ // InternalSolverLanguageParser.g:1592:3: ruleAssertionOrDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
- }
+ before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
pushFollow(FOLLOW_2);
ruleAssertionOrDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
- }
+
+ after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
}
@@ -5077,22 +4713,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1524:2: ( rulePredicateDefinition )
+ // InternalSolverLanguageParser.g:1597:2: ( rulePredicateDefinition )
{
- // InternalSolverLanguage.g:1524:2: ( rulePredicateDefinition )
- // InternalSolverLanguage.g:1525:3: rulePredicateDefinition
+ // InternalSolverLanguageParser.g:1597:2: ( rulePredicateDefinition )
+ // InternalSolverLanguageParser.g:1598:3: rulePredicateDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
- }
+ before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
pushFollow(FOLLOW_2);
rulePredicateDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
- }
+
+ after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
}
@@ -5100,22 +4732,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1530:2: ( ruleUnnamedErrorPrediateDefinition )
+ // InternalSolverLanguageParser.g:1603:2: ( ruleUnnamedErrorPrediateDefinition )
{
- // InternalSolverLanguage.g:1530:2: ( ruleUnnamedErrorPrediateDefinition )
- // InternalSolverLanguage.g:1531:3: ruleUnnamedErrorPrediateDefinition
+ // InternalSolverLanguageParser.g:1603:2: ( ruleUnnamedErrorPrediateDefinition )
+ // InternalSolverLanguageParser.g:1604:3: ruleUnnamedErrorPrediateDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
- }
+ before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
pushFollow(FOLLOW_2);
ruleUnnamedErrorPrediateDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
- }
+
+ after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
}
@@ -5123,22 +4751,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:1536:2: ( ruleDefaultDefinition )
+ // InternalSolverLanguageParser.g:1609:2: ( ruleDefaultDefinition )
{
- // InternalSolverLanguage.g:1536:2: ( ruleDefaultDefinition )
- // InternalSolverLanguage.g:1537:3: ruleDefaultDefinition
+ // InternalSolverLanguageParser.g:1609:2: ( ruleDefaultDefinition )
+ // InternalSolverLanguageParser.g:1610:3: ruleDefaultDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
- }
+ before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
pushFollow(FOLLOW_2);
ruleDefaultDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
- }
+
+ after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
}
@@ -5146,22 +4770,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 5 :
- // InternalSolverLanguage.g:1542:2: ( ruleExternPredicateDefinition )
+ // InternalSolverLanguageParser.g:1615:2: ( ruleExternPredicateDefinition )
{
- // InternalSolverLanguage.g:1542:2: ( ruleExternPredicateDefinition )
- // InternalSolverLanguage.g:1543:3: ruleExternPredicateDefinition
+ // InternalSolverLanguageParser.g:1615:2: ( ruleExternPredicateDefinition )
+ // InternalSolverLanguageParser.g:1616:3: ruleExternPredicateDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
- }
+ before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
pushFollow(FOLLOW_2);
ruleExternPredicateDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
- }
+
+ after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
}
@@ -5169,22 +4789,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 6 :
- // InternalSolverLanguage.g:1548:2: ( ruleMetricDefinition )
+ // InternalSolverLanguageParser.g:1621:2: ( ruleMetricDefinition )
{
- // InternalSolverLanguage.g:1548:2: ( ruleMetricDefinition )
- // InternalSolverLanguage.g:1549:3: ruleMetricDefinition
+ // InternalSolverLanguageParser.g:1621:2: ( ruleMetricDefinition )
+ // InternalSolverLanguageParser.g:1622:3: ruleMetricDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
- }
+ before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
pushFollow(FOLLOW_2);
ruleMetricDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
- }
+
+ after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
}
@@ -5192,22 +4808,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 7 :
- // InternalSolverLanguage.g:1554:2: ( ruleExternMetricDefinition )
+ // InternalSolverLanguageParser.g:1627:2: ( ruleExternMetricDefinition )
{
- // InternalSolverLanguage.g:1554:2: ( ruleExternMetricDefinition )
- // InternalSolverLanguage.g:1555:3: ruleExternMetricDefinition
+ // InternalSolverLanguageParser.g:1627:2: ( ruleExternMetricDefinition )
+ // InternalSolverLanguageParser.g:1628:3: ruleExternMetricDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
- }
+ before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
pushFollow(FOLLOW_2);
ruleExternMetricDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
- }
+
+ after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
}
@@ -5215,22 +4827,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 8 :
- // InternalSolverLanguage.g:1560:2: ( ruleClassDefinition )
+ // InternalSolverLanguageParser.g:1633:2: ( ruleClassDefinition )
{
- // InternalSolverLanguage.g:1560:2: ( ruleClassDefinition )
- // InternalSolverLanguage.g:1561:3: ruleClassDefinition
+ // InternalSolverLanguageParser.g:1633:2: ( ruleClassDefinition )
+ // InternalSolverLanguageParser.g:1634:3: ruleClassDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
- }
+ before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
pushFollow(FOLLOW_2);
ruleClassDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
- }
+
+ after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
}
@@ -5238,22 +4846,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 9 :
- // InternalSolverLanguage.g:1566:2: ( ruleScopeDefinition )
+ // InternalSolverLanguageParser.g:1639:2: ( ruleScopeDefinition )
{
- // InternalSolverLanguage.g:1566:2: ( ruleScopeDefinition )
- // InternalSolverLanguage.g:1567:3: ruleScopeDefinition
+ // InternalSolverLanguageParser.g:1639:2: ( ruleScopeDefinition )
+ // InternalSolverLanguageParser.g:1640:3: ruleScopeDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
- }
+ before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
pushFollow(FOLLOW_2);
ruleScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
- }
+
+ after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
}
@@ -5261,22 +4865,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 10 :
- // InternalSolverLanguage.g:1572:2: ( ruleObjectiveDefinition )
+ // InternalSolverLanguageParser.g:1645:2: ( ruleObjectiveDefinition )
{
- // InternalSolverLanguage.g:1572:2: ( ruleObjectiveDefinition )
- // InternalSolverLanguage.g:1573:3: ruleObjectiveDefinition
+ // InternalSolverLanguageParser.g:1645:2: ( ruleObjectiveDefinition )
+ // InternalSolverLanguageParser.g:1646:3: ruleObjectiveDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
- }
+ before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
pushFollow(FOLLOW_2);
ruleObjectiveDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
- }
+
+ after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
}
@@ -5301,34 +4901,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Alternatives_1"
- // InternalSolverLanguage.g:1582:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) );
+ // InternalSolverLanguageParser.g:1655:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) );
public final void rule__AssertionOrDefinition__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1586:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) )
+ // InternalSolverLanguageParser.g:1659:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) )
int alt3=3;
switch ( input.LA(1) ) {
case EOF:
- case RULE_DOT:
- case 45:
+ case Colon:
+ case RULE_FULL_STOP:
{
alt3=1;
}
break;
- case 46:
+ case ColonHyphenMinus:
{
alt3=2;
}
break;
- case 47:
+ case EqualsSign:
{
alt3=3;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
@@ -5337,87 +4936,75 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt3) {
case 1 :
- // InternalSolverLanguage.g:1587:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:1660:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) )
{
- // InternalSolverLanguage.g:1587:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) )
- // InternalSolverLanguage.g:1588:3: ( rule__AssertionOrDefinition__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:1660:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:1661:3: ( rule__AssertionOrDefinition__Group_1_0__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0());
- }
- // InternalSolverLanguage.g:1589:3: ( rule__AssertionOrDefinition__Group_1_0__0 )
- // InternalSolverLanguage.g:1589:4: rule__AssertionOrDefinition__Group_1_0__0
+ before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0());
+ // InternalSolverLanguageParser.g:1662:3: ( rule__AssertionOrDefinition__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:1662:4: rule__AssertionOrDefinition__Group_1_0__0
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_0__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1593:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:1666:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) )
{
- // InternalSolverLanguage.g:1593:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) )
- // InternalSolverLanguage.g:1594:3: ( rule__AssertionOrDefinition__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:1666:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:1667:3: ( rule__AssertionOrDefinition__Group_1_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1());
- }
- // InternalSolverLanguage.g:1595:3: ( rule__AssertionOrDefinition__Group_1_1__0 )
- // InternalSolverLanguage.g:1595:4: rule__AssertionOrDefinition__Group_1_1__0
+ before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1());
+ // InternalSolverLanguageParser.g:1668:3: ( rule__AssertionOrDefinition__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:1668:4: rule__AssertionOrDefinition__Group_1_1__0
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1());
+
}
}
break;
case 3 :
- // InternalSolverLanguage.g:1599:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) )
+ // InternalSolverLanguageParser.g:1672:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) )
{
- // InternalSolverLanguage.g:1599:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) )
- // InternalSolverLanguage.g:1600:3: ( rule__AssertionOrDefinition__Group_1_2__0 )
+ // InternalSolverLanguageParser.g:1672:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) )
+ // InternalSolverLanguageParser.g:1673:3: ( rule__AssertionOrDefinition__Group_1_2__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2());
- }
- // InternalSolverLanguage.g:1601:3: ( rule__AssertionOrDefinition__Group_1_2__0 )
- // InternalSolverLanguage.g:1601:4: rule__AssertionOrDefinition__Group_1_2__0
+ before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2());
+ // InternalSolverLanguageParser.g:1674:3: ( rule__AssertionOrDefinition__Group_1_2__0 )
+ // InternalSolverLanguageParser.g:1674:4: rule__AssertionOrDefinition__Group_1_2__0
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_2__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2());
+
}
@@ -5441,24 +5028,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Alternatives_0"
- // InternalSolverLanguage.g:1609:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) );
+ // InternalSolverLanguageParser.g:1682:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) );
public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1613:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) )
+ // InternalSolverLanguageParser.g:1686:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) )
int alt4=2;
int LA4_0 = input.LA(1);
- if ( (LA4_0==72) ) {
+ if ( (LA4_0==Functional) ) {
alt4=1;
}
- else if ( (LA4_0==42) ) {
+ else if ( (LA4_0==Error) ) {
alt4=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 4, 0, input);
@@ -5466,58 +5052,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt4) {
case 1 :
- // InternalSolverLanguage.g:1614:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) )
+ // InternalSolverLanguageParser.g:1687:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) )
{
- // InternalSolverLanguage.g:1614:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) )
- // InternalSolverLanguage.g:1615:3: ( rule__PredicateDefinition__Group_0_0__0 )
+ // InternalSolverLanguageParser.g:1687:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) )
+ // InternalSolverLanguageParser.g:1688:3: ( rule__PredicateDefinition__Group_0_0__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0());
- }
- // InternalSolverLanguage.g:1616:3: ( rule__PredicateDefinition__Group_0_0__0 )
- // InternalSolverLanguage.g:1616:4: rule__PredicateDefinition__Group_0_0__0
+ before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0());
+ // InternalSolverLanguageParser.g:1689:3: ( rule__PredicateDefinition__Group_0_0__0 )
+ // InternalSolverLanguageParser.g:1689:4: rule__PredicateDefinition__Group_0_0__0
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group_0_0__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1620:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) )
+ // InternalSolverLanguageParser.g:1693:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) )
{
- // InternalSolverLanguage.g:1620:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) )
- // InternalSolverLanguage.g:1621:3: ( rule__PredicateDefinition__Group_0_1__0 )
+ // InternalSolverLanguageParser.g:1693:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) )
+ // InternalSolverLanguageParser.g:1694:3: ( rule__PredicateDefinition__Group_0_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1());
- }
- // InternalSolverLanguage.g:1622:3: ( rule__PredicateDefinition__Group_0_1__0 )
- // InternalSolverLanguage.g:1622:4: rule__PredicateDefinition__Group_0_1__0
+ before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1());
+ // InternalSolverLanguageParser.g:1695:3: ( rule__PredicateDefinition__Group_0_1__0 )
+ // InternalSolverLanguageParser.g:1695:4: rule__PredicateDefinition__Group_0_1__0
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group_0_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1());
+
}
@@ -5541,24 +5119,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Expression__Alternatives"
- // InternalSolverLanguage.g:1630:1: rule__Expression__Alternatives : ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) );
+ // InternalSolverLanguageParser.g:1703:1: rule__Expression__Alternatives : ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) );
public final void rule__Expression__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1634:1: ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:1707:1: ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) )
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==51) ) {
+ if ( (LA5_0==If) ) {
alt5=1;
}
- else if ( ((LA5_0>=RULE_INT && LA5_0<=RULE_QUOTED_ID)||LA5_0==RULE_ID||LA5_0==RULE_STRING||(LA5_0>=26 && LA5_0<=27)||(LA5_0>=29 && LA5_0<=42)||LA5_0==57||LA5_0==61||LA5_0==63||(LA5_0>=66 && LA5_0<=67)) ) {
+ else if ( (LA5_0==Current||LA5_0==Unknown||(LA5_0>=Count && LA5_0<=False)||(LA5_0>=Must && LA5_0<=Prod)||LA5_0==True||(LA5_0>=Avg && LA5_0<=Inf)||(LA5_0>=Max && LA5_0<=Sum)||(LA5_0>=ExclamationMark && LA5_0<=LeftParenthesis)||LA5_0==PlusSign||LA5_0==HyphenMinus||LA5_0==LeftSquareBracket||(LA5_0>=RULE_STRING && LA5_0<=RULE_QUOTED_ID)||(LA5_0>=RULE_ID && LA5_0<=RULE_INT)) ) {
alt5=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 5, 0, input);
@@ -5566,22 +5143,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt5) {
case 1 :
- // InternalSolverLanguage.g:1635:2: ( ruleIfElse )
+ // InternalSolverLanguageParser.g:1708:2: ( ruleIfElse )
{
- // InternalSolverLanguage.g:1635:2: ( ruleIfElse )
- // InternalSolverLanguage.g:1636:3: ruleIfElse
+ // InternalSolverLanguageParser.g:1708:2: ( ruleIfElse )
+ // InternalSolverLanguageParser.g:1709:3: ruleIfElse
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
- }
+ before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleIfElse();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
- }
+
+ after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
}
@@ -5589,22 +5162,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1641:2: ( ruleDisjunctiveExpression )
+ // InternalSolverLanguageParser.g:1714:2: ( ruleDisjunctiveExpression )
{
- // InternalSolverLanguage.g:1641:2: ( ruleDisjunctiveExpression )
- // InternalSolverLanguage.g:1642:3: ruleDisjunctiveExpression
+ // InternalSolverLanguageParser.g:1714:2: ( ruleDisjunctiveExpression )
+ // InternalSolverLanguageParser.g:1715:3: ruleDisjunctiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
- }
+ before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
pushFollow(FOLLOW_2);
ruleDisjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
- }
+
+ after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
}
@@ -5629,24 +5198,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Alternatives_1"
- // InternalSolverLanguage.g:1651:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) );
+ // InternalSolverLanguageParser.g:1724:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) );
public final void rule__DisjunctiveExpression__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1655:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) )
+ // InternalSolverLanguageParser.g:1728:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) )
int alt6=2;
int LA6_0 = input.LA(1);
- if ( (LA6_0==54) ) {
+ if ( (LA6_0==Semicolon) ) {
alt6=1;
}
- else if ( (LA6_0==55) ) {
+ else if ( (LA6_0==HyphenMinusGreaterThanSign) ) {
alt6=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 6, 0, input);
@@ -5654,58 +5222,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt6) {
case 1 :
- // InternalSolverLanguage.g:1656:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:1729:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) )
{
- // InternalSolverLanguage.g:1656:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) )
- // InternalSolverLanguage.g:1657:3: ( rule__DisjunctiveExpression__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:1729:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:1730:3: ( rule__DisjunctiveExpression__Group_1_0__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0());
- }
- // InternalSolverLanguage.g:1658:3: ( rule__DisjunctiveExpression__Group_1_0__0 )
- // InternalSolverLanguage.g:1658:4: rule__DisjunctiveExpression__Group_1_0__0
+ before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0());
+ // InternalSolverLanguageParser.g:1731:3: ( rule__DisjunctiveExpression__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:1731:4: rule__DisjunctiveExpression__Group_1_0__0
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_0__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1662:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:1735:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) )
{
- // InternalSolverLanguage.g:1662:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) )
- // InternalSolverLanguage.g:1663:3: ( rule__DisjunctiveExpression__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:1735:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:1736:3: ( rule__DisjunctiveExpression__Group_1_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1());
- }
- // InternalSolverLanguage.g:1664:3: ( rule__DisjunctiveExpression__Group_1_1__0 )
- // InternalSolverLanguage.g:1664:4: rule__DisjunctiveExpression__Group_1_1__0
+ before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1());
+ // InternalSolverLanguageParser.g:1737:3: ( rule__DisjunctiveExpression__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:1737:4: rule__DisjunctiveExpression__Group_1_1__0
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1());
+
}
@@ -5729,24 +5289,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Alternatives"
- // InternalSolverLanguage.g:1672:1: rule__UnaryExpression__Alternatives : ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) );
+ // InternalSolverLanguageParser.g:1745:1: rule__UnaryExpression__Alternatives : ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) );
public final void rule__UnaryExpression__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1676:1: ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) )
+ // InternalSolverLanguageParser.g:1749:1: ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) )
int alt7=2;
int LA7_0 = input.LA(1);
- if ( ((LA7_0>=RULE_INT && LA7_0<=RULE_QUOTED_ID)||LA7_0==RULE_ID||LA7_0==RULE_STRING||(LA7_0>=33 && LA7_0<=42)||LA7_0==57||LA7_0==61||LA7_0==63||(LA7_0>=66 && LA7_0<=67)) ) {
+ if ( (LA7_0==Unknown||(LA7_0>=Count && LA7_0<=False)||(LA7_0>=Only && LA7_0<=Prod)||LA7_0==True||(LA7_0>=Avg && LA7_0<=Inf)||LA7_0==Max||(LA7_0>=Min && LA7_0<=Sum)||LA7_0==LeftParenthesis||LA7_0==LeftSquareBracket||(LA7_0>=RULE_STRING && LA7_0<=RULE_QUOTED_ID)||(LA7_0>=RULE_ID && LA7_0<=RULE_INT)) ) {
alt7=1;
}
- else if ( ((LA7_0>=26 && LA7_0<=27)||(LA7_0>=29 && LA7_0<=32)) ) {
+ else if ( (LA7_0==Current||LA7_0==Must||LA7_0==May||LA7_0==ExclamationMark||LA7_0==PlusSign||LA7_0==HyphenMinus) ) {
alt7=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 7, 0, input);
@@ -5754,22 +5313,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt7) {
case 1 :
- // InternalSolverLanguage.g:1677:2: ( ruleAggregationExpression )
+ // InternalSolverLanguageParser.g:1750:2: ( ruleAggregationExpression )
{
- // InternalSolverLanguage.g:1677:2: ( ruleAggregationExpression )
- // InternalSolverLanguage.g:1678:3: ruleAggregationExpression
+ // InternalSolverLanguageParser.g:1750:2: ( ruleAggregationExpression )
+ // InternalSolverLanguageParser.g:1751:3: ruleAggregationExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleAggregationExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
}
@@ -5777,29 +5332,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1683:2: ( ( rule__UnaryExpression__Group_1__0 ) )
+ // InternalSolverLanguageParser.g:1756:2: ( ( rule__UnaryExpression__Group_1__0 ) )
{
- // InternalSolverLanguage.g:1683:2: ( ( rule__UnaryExpression__Group_1__0 ) )
- // InternalSolverLanguage.g:1684:3: ( rule__UnaryExpression__Group_1__0 )
+ // InternalSolverLanguageParser.g:1756:2: ( ( rule__UnaryExpression__Group_1__0 ) )
+ // InternalSolverLanguageParser.g:1757:3: ( rule__UnaryExpression__Group_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:1685:3: ( rule__UnaryExpression__Group_1__0 )
- // InternalSolverLanguage.g:1685:4: rule__UnaryExpression__Group_1__0
+ before(grammarAccess.getUnaryExpressionAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:1758:3: ( rule__UnaryExpression__Group_1__0 )
+ // InternalSolverLanguageParser.g:1758:4: rule__UnaryExpression__Group_1__0
{
pushFollow(FOLLOW_2);
rule__UnaryExpression__Group_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getGroup_1());
}
+ after(grammarAccess.getUnaryExpressionAccess().getGroup_1());
+
}
@@ -5823,48 +5374,47 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AggregationExpression__Alternatives"
- // InternalSolverLanguage.g:1693:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) );
+ // InternalSolverLanguageParser.g:1766:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) );
public final void rule__AggregationExpression__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1697:1: ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) )
+ // InternalSolverLanguageParser.g:1770:1: ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) )
int alt8=3;
switch ( input.LA(1) ) {
- case RULE_INT:
+ case Unknown:
+ case Empty:
+ case Error:
+ case False:
+ case True:
+ case Inf:
+ case LeftParenthesis:
+ case LeftSquareBracket:
+ case RULE_STRING:
case RULE_QUOTED_ID:
case RULE_ID:
- case RULE_STRING:
- case 39:
- case 40:
- case 41:
- case 42:
- case 61:
- case 63:
- case 66:
- case 67:
+ case RULE_INT:
{
alt8=1;
}
break;
- case 57:
+ case Count:
{
alt8=2;
}
break;
- case 33:
- case 34:
- case 35:
- case 36:
- case 37:
- case 38:
+ case Only:
+ case Prod:
+ case Avg:
+ case Max:
+ case Min:
+ case Sum:
{
alt8=3;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 8, 0, input);
@@ -5873,22 +5423,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt8) {
case 1 :
- // InternalSolverLanguage.g:1698:2: ( ruleAtomicExpression )
+ // InternalSolverLanguageParser.g:1771:2: ( ruleAtomicExpression )
{
- // InternalSolverLanguage.g:1698:2: ( ruleAtomicExpression )
- // InternalSolverLanguage.g:1699:3: ruleAtomicExpression
+ // InternalSolverLanguageParser.g:1771:2: ( ruleAtomicExpression )
+ // InternalSolverLanguageParser.g:1772:3: ruleAtomicExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleAtomicExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
}
@@ -5896,22 +5442,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1704:2: ( ruleCount )
+ // InternalSolverLanguageParser.g:1777:2: ( ruleCount )
{
- // InternalSolverLanguage.g:1704:2: ( ruleCount )
- // InternalSolverLanguage.g:1705:3: ruleCount
+ // InternalSolverLanguageParser.g:1777:2: ( ruleCount )
+ // InternalSolverLanguageParser.g:1778:3: ruleCount
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
- }
+ before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
pushFollow(FOLLOW_2);
ruleCount();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
- }
+
+ after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
}
@@ -5919,22 +5461,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1710:2: ( ruleAggregation )
+ // InternalSolverLanguageParser.g:1783:2: ( ruleAggregation )
{
- // InternalSolverLanguage.g:1710:2: ( ruleAggregation )
- // InternalSolverLanguage.g:1711:3: ruleAggregation
+ // InternalSolverLanguageParser.g:1783:2: ( ruleAggregation )
+ // InternalSolverLanguageParser.g:1784:3: ruleAggregation
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
- }
+ before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
pushFollow(FOLLOW_2);
ruleAggregation();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
- }
+
+ after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
}
@@ -5959,151 +5497,112 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AtomicExpression__Alternatives"
- // InternalSolverLanguage.g:1720:1: rule__AtomicExpression__Alternatives : ( ( ( rule__AtomicExpression__Group_0__0 ) ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_3__0 ) ) );
+ // InternalSolverLanguageParser.g:1793:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) );
public final void rule__AtomicExpression__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1724:1: ( ( ( rule__AtomicExpression__Group_0__0 ) ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_3__0 ) ) )
- int alt9=4;
- switch ( input.LA(1) ) {
- case RULE_QUOTED_ID:
- case RULE_ID:
- {
- alt9=1;
- }
- break;
- case 63:
- {
- alt9=2;
- }
- break;
- case RULE_INT:
- case RULE_STRING:
- case 39:
- case 40:
- case 41:
- case 42:
- case 66:
- case 67:
- {
- alt9=3;
- }
- break;
- case 61:
- {
- alt9=4;
- }
- break;
- default:
- if (state.backtracking>0) {state.failed=true; return ;}
- NoViableAltException nvae =
- new NoViableAltException("", 9, 0, input);
-
- throw nvae;
- }
-
+ // InternalSolverLanguageParser.g:1797:1: ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) )
+ int alt9=5;
+ alt9 = dfa9.predict(input);
switch (alt9) {
case 1 :
- // InternalSolverLanguage.g:1725:2: ( ( rule__AtomicExpression__Group_0__0 ) )
- {
- // InternalSolverLanguage.g:1725:2: ( ( rule__AtomicExpression__Group_0__0 ) )
- // InternalSolverLanguage.g:1726:3: ( rule__AtomicExpression__Group_0__0 )
+ // InternalSolverLanguageParser.g:1798:2: ( ruleReference )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getGroup_0());
- }
- // InternalSolverLanguage.g:1727:3: ( rule__AtomicExpression__Group_0__0 )
- // InternalSolverLanguage.g:1727:4: rule__AtomicExpression__Group_0__0
+ // InternalSolverLanguageParser.g:1798:2: ( ruleReference )
+ // InternalSolverLanguageParser.g:1799:3: ruleReference
{
+ before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0());
pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_0__0();
+ ruleReference();
state._fsp--;
- if (state.failed) return ;
+
+ after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getGroup_0());
+
}
+ break;
+ case 2 :
+ // InternalSolverLanguageParser.g:1804:2: ( ruleCall )
+ {
+ // InternalSolverLanguageParser.g:1804:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:1805:3: ruleCall
+ {
+ before(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1());
+ pushFollow(FOLLOW_2);
+ ruleCall();
+
+ state._fsp--;
+
+ after(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1());
}
}
break;
- case 2 :
- // InternalSolverLanguage.g:1731:2: ( ruleInterval )
+ case 3 :
+ // InternalSolverLanguageParser.g:1810:2: ( ruleInterval )
{
- // InternalSolverLanguage.g:1731:2: ( ruleInterval )
- // InternalSolverLanguage.g:1732:3: ruleInterval
+ // InternalSolverLanguageParser.g:1810:2: ( ruleInterval )
+ // InternalSolverLanguageParser.g:1811:3: ruleInterval
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1());
- }
+ before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2());
pushFollow(FOLLOW_2);
ruleInterval();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1());
- }
+
+ after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2());
}
}
break;
- case 3 :
- // InternalSolverLanguage.g:1737:2: ( ruleLiteral )
+ case 4 :
+ // InternalSolverLanguageParser.g:1816:2: ( ruleLiteral )
{
- // InternalSolverLanguage.g:1737:2: ( ruleLiteral )
- // InternalSolverLanguage.g:1738:3: ruleLiteral
+ // InternalSolverLanguageParser.g:1816:2: ( ruleLiteral )
+ // InternalSolverLanguageParser.g:1817:3: ruleLiteral
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2());
- }
+ before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3());
pushFollow(FOLLOW_2);
ruleLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2());
- }
+
+ after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3());
}
}
break;
- case 4 :
- // InternalSolverLanguage.g:1743:2: ( ( rule__AtomicExpression__Group_3__0 ) )
+ case 5 :
+ // InternalSolverLanguageParser.g:1822:2: ( ( rule__AtomicExpression__Group_4__0 ) )
{
- // InternalSolverLanguage.g:1743:2: ( ( rule__AtomicExpression__Group_3__0 ) )
- // InternalSolverLanguage.g:1744:3: ( rule__AtomicExpression__Group_3__0 )
+ // InternalSolverLanguageParser.g:1822:2: ( ( rule__AtomicExpression__Group_4__0 ) )
+ // InternalSolverLanguageParser.g:1823:3: ( rule__AtomicExpression__Group_4__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getGroup_3());
- }
- // InternalSolverLanguage.g:1745:3: ( rule__AtomicExpression__Group_3__0 )
- // InternalSolverLanguage.g:1745:4: rule__AtomicExpression__Group_3__0
+ before(grammarAccess.getAtomicExpressionAccess().getGroup_4());
+ // InternalSolverLanguageParser.g:1824:3: ( rule__AtomicExpression__Group_4__0 )
+ // InternalSolverLanguageParser.g:1824:4: rule__AtomicExpression__Group_4__0
{
pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_3__0();
+ rule__AtomicExpression__Group_4__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getGroup_3());
}
+ after(grammarAccess.getAtomicExpressionAccess().getGroup_4());
+
}
@@ -6127,24 +5626,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__Alternatives_1"
- // InternalSolverLanguage.g:1753:1: rule__Call__Alternatives_1 : ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) );
+ // InternalSolverLanguageParser.g:1832:1: rule__Call__Alternatives_1 : ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) );
public final void rule__Call__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1757:1: ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) )
+ // InternalSolverLanguageParser.g:1836:1: ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) )
int alt10=2;
int LA10_0 = input.LA(1);
- if ( (LA10_0==RULE_STAR) ) {
+ if ( (LA10_0==RULE_TRANSITIVE_CLOSURE) ) {
alt10=1;
}
- else if ( (LA10_0==RULE_PLUS) ) {
+ else if ( (LA10_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) {
alt10=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 10, 0, input);
@@ -6152,58 +5650,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt10) {
case 1 :
- // InternalSolverLanguage.g:1758:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) )
+ // InternalSolverLanguageParser.g:1837:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) )
{
- // InternalSolverLanguage.g:1758:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) )
- // InternalSolverLanguage.g:1759:3: ( rule__Call__TransitiveClosureAssignment_1_0 )
+ // InternalSolverLanguageParser.g:1837:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) )
+ // InternalSolverLanguageParser.g:1838:3: ( rule__Call__TransitiveClosureAssignment_1_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0());
- }
- // InternalSolverLanguage.g:1760:3: ( rule__Call__TransitiveClosureAssignment_1_0 )
- // InternalSolverLanguage.g:1760:4: rule__Call__TransitiveClosureAssignment_1_0
+ before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0());
+ // InternalSolverLanguageParser.g:1839:3: ( rule__Call__TransitiveClosureAssignment_1_0 )
+ // InternalSolverLanguageParser.g:1839:4: rule__Call__TransitiveClosureAssignment_1_0
{
pushFollow(FOLLOW_2);
rule__Call__TransitiveClosureAssignment_1_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0());
}
+ after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1764:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:1843:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:1764:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) )
- // InternalSolverLanguage.g:1765:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 )
+ // InternalSolverLanguageParser.g:1843:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:1844:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1());
- }
- // InternalSolverLanguage.g:1766:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 )
- // InternalSolverLanguage.g:1766:4: rule__Call__ReflexiveTransitiveClosureAssignment_1_1
+ before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1());
+ // InternalSolverLanguageParser.g:1845:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 )
+ // InternalSolverLanguageParser.g:1845:4: rule__Call__ReflexiveTransitiveClosureAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__Call__ReflexiveTransitiveClosureAssignment_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1());
}
+ after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1());
+
}
@@ -6227,33 +5717,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Argument__Alternatives"
- // InternalSolverLanguage.g:1774:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );
+ // InternalSolverLanguageParser.g:1853:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );
public final void rule__Argument__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1778:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) )
+ // InternalSolverLanguageParser.g:1857:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) )
int alt11=4;
alt11 = dfa11.predict(input);
switch (alt11) {
case 1 :
- // InternalSolverLanguage.g:1779:2: ( ruleExpressionArgument )
+ // InternalSolverLanguageParser.g:1858:2: ( ruleExpressionArgument )
{
- // InternalSolverLanguage.g:1779:2: ( ruleExpressionArgument )
- // InternalSolverLanguage.g:1780:3: ruleExpressionArgument
+ // InternalSolverLanguageParser.g:1858:2: ( ruleExpressionArgument )
+ // InternalSolverLanguageParser.g:1859:3: ruleExpressionArgument
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
- }
+ before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleExpressionArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
- }
+
+ after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
}
@@ -6261,22 +5747,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1785:2: ( ruleStarArgument )
+ // InternalSolverLanguageParser.g:1864:2: ( ruleStarArgument )
{
- // InternalSolverLanguage.g:1785:2: ( ruleStarArgument )
- // InternalSolverLanguage.g:1786:3: ruleStarArgument
+ // InternalSolverLanguageParser.g:1864:2: ( ruleStarArgument )
+ // InternalSolverLanguageParser.g:1865:3: ruleStarArgument
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
- }
+ before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
pushFollow(FOLLOW_2);
ruleStarArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
- }
+
+ after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
}
@@ -6284,22 +5766,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1791:2: ( ruleTypedArgument )
+ // InternalSolverLanguageParser.g:1870:2: ( ruleTypedArgument )
{
- // InternalSolverLanguage.g:1791:2: ( ruleTypedArgument )
- // InternalSolverLanguage.g:1792:3: ruleTypedArgument
+ // InternalSolverLanguageParser.g:1870:2: ( ruleTypedArgument )
+ // InternalSolverLanguageParser.g:1871:3: ruleTypedArgument
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
- }
+ before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
pushFollow(FOLLOW_2);
ruleTypedArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
- }
+
+ after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
}
@@ -6307,22 +5785,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:1797:2: ( ruleTypedStarArgument )
+ // InternalSolverLanguageParser.g:1876:2: ( ruleTypedStarArgument )
{
- // InternalSolverLanguage.g:1797:2: ( ruleTypedStarArgument )
- // InternalSolverLanguage.g:1798:3: ruleTypedStarArgument
+ // InternalSolverLanguageParser.g:1876:2: ( ruleTypedStarArgument )
+ // InternalSolverLanguageParser.g:1877:3: ruleTypedStarArgument
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
- }
+ before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
pushFollow(FOLLOW_2);
ruleTypedStarArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
- }
+
+ after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
}
@@ -6347,19 +5821,19 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Literal__Alternatives"
- // InternalSolverLanguage.g:1807:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) );
+ // InternalSolverLanguageParser.g:1886:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) );
public final void rule__Literal__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1811:1: ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) )
+ // InternalSolverLanguageParser.g:1890:1: ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) )
int alt12=5;
switch ( input.LA(1) ) {
- case 39:
- case 40:
- case 41:
- case 42:
+ case Unknown:
+ case Error:
+ case False:
+ case True:
{
alt12=1;
}
@@ -6369,12 +5843,12 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
alt12=2;
}
break;
- case 66:
+ case Inf:
{
alt12=3;
}
break;
- case 67:
+ case Empty:
{
alt12=4;
}
@@ -6385,7 +5859,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 12, 0, input);
@@ -6394,22 +5867,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt12) {
case 1 :
- // InternalSolverLanguage.g:1812:2: ( ruleLogicLiteral )
+ // InternalSolverLanguageParser.g:1891:2: ( ruleLogicLiteral )
{
- // InternalSolverLanguage.g:1812:2: ( ruleLogicLiteral )
- // InternalSolverLanguage.g:1813:3: ruleLogicLiteral
+ // InternalSolverLanguageParser.g:1891:2: ( ruleLogicLiteral )
+ // InternalSolverLanguageParser.g:1892:3: ruleLogicLiteral
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
- }
+ before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleLogicLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
- }
+
+ after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
}
@@ -6417,22 +5886,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1818:2: ( ruleNumericLiteral )
+ // InternalSolverLanguageParser.g:1897:2: ( ruleNumericLiteral )
{
- // InternalSolverLanguage.g:1818:2: ( ruleNumericLiteral )
- // InternalSolverLanguage.g:1819:3: ruleNumericLiteral
+ // InternalSolverLanguageParser.g:1897:2: ( ruleNumericLiteral )
+ // InternalSolverLanguageParser.g:1898:3: ruleNumericLiteral
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
- }
+ before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
pushFollow(FOLLOW_2);
ruleNumericLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
- }
+
+ after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
}
@@ -6440,22 +5905,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1824:2: ( ruleInfinityLiteral )
+ // InternalSolverLanguageParser.g:1903:2: ( ruleInfinityLiteral )
{
- // InternalSolverLanguage.g:1824:2: ( ruleInfinityLiteral )
- // InternalSolverLanguage.g:1825:3: ruleInfinityLiteral
+ // InternalSolverLanguageParser.g:1903:2: ( ruleInfinityLiteral )
+ // InternalSolverLanguageParser.g:1904:3: ruleInfinityLiteral
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
- }
+ before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
pushFollow(FOLLOW_2);
ruleInfinityLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
- }
+
+ after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
}
@@ -6463,22 +5924,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:1830:2: ( ruleEmptyIntervalLiteral )
+ // InternalSolverLanguageParser.g:1909:2: ( ruleEmptyIntervalLiteral )
{
- // InternalSolverLanguage.g:1830:2: ( ruleEmptyIntervalLiteral )
- // InternalSolverLanguage.g:1831:3: ruleEmptyIntervalLiteral
+ // InternalSolverLanguageParser.g:1909:2: ( ruleEmptyIntervalLiteral )
+ // InternalSolverLanguageParser.g:1910:3: ruleEmptyIntervalLiteral
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
- }
+ before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
pushFollow(FOLLOW_2);
ruleEmptyIntervalLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
- }
+
+ after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
}
@@ -6486,22 +5943,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 5 :
- // InternalSolverLanguage.g:1836:2: ( ruleStringLiteral )
+ // InternalSolverLanguageParser.g:1915:2: ( ruleStringLiteral )
{
- // InternalSolverLanguage.g:1836:2: ( ruleStringLiteral )
- // InternalSolverLanguage.g:1837:3: ruleStringLiteral
+ // InternalSolverLanguageParser.g:1915:2: ( ruleStringLiteral )
+ // InternalSolverLanguageParser.g:1916:3: ruleStringLiteral
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
- }
+ before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
pushFollow(FOLLOW_2);
ruleStringLiteral();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
- }
+
+ after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
}
@@ -6526,30 +5979,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Multiplicity__Alternatives"
- // InternalSolverLanguage.g:1846:1: rule__Multiplicity__Alternatives : ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) );
+ // InternalSolverLanguageParser.g:1925:1: rule__Multiplicity__Alternatives : ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) );
public final void rule__Multiplicity__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1850:1: ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) )
+ // InternalSolverLanguageParser.g:1929:1: ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) )
int alt13=3;
int LA13_0 = input.LA(1);
- if ( (LA13_0==63) ) {
+ if ( (LA13_0==LeftSquareBracket) ) {
switch ( input.LA(2) ) {
case RULE_INT:
{
int LA13_2 = input.LA(3);
- if ( (LA13_2==64) ) {
- alt13=3;
- }
- else if ( (LA13_2==65) ) {
+ if ( (LA13_2==RightSquareBracket) ) {
alt13=2;
}
+ else if ( (LA13_2==FullStopFullStop) ) {
+ alt13=3;
+ }
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 13, 2, input);
@@ -6557,18 +6009,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
}
break;
- case 16:
+ case Asterisk:
{
alt13=2;
}
break;
- case 65:
+ case RightSquareBracket:
{
alt13=1;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 13, 1, input);
@@ -6577,7 +6028,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 13, 0, input);
@@ -6585,22 +6035,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt13) {
case 1 :
- // InternalSolverLanguage.g:1851:2: ( ruleManyMultiplicity )
+ // InternalSolverLanguageParser.g:1930:2: ( ruleManyMultiplicity )
{
- // InternalSolverLanguage.g:1851:2: ( ruleManyMultiplicity )
- // InternalSolverLanguage.g:1852:3: ruleManyMultiplicity
+ // InternalSolverLanguageParser.g:1930:2: ( ruleManyMultiplicity )
+ // InternalSolverLanguageParser.g:1931:3: ruleManyMultiplicity
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
- }
+ before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleManyMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
- }
+
+ after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
}
@@ -6608,22 +6054,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1857:2: ( ruleExactMultiplicity )
+ // InternalSolverLanguageParser.g:1936:2: ( ruleExactMultiplicity )
{
- // InternalSolverLanguage.g:1857:2: ( ruleExactMultiplicity )
- // InternalSolverLanguage.g:1858:3: ruleExactMultiplicity
+ // InternalSolverLanguageParser.g:1936:2: ( ruleExactMultiplicity )
+ // InternalSolverLanguageParser.g:1937:3: ruleExactMultiplicity
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
- }
+ before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
pushFollow(FOLLOW_2);
ruleExactMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
- }
+
+ after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
}
@@ -6631,22 +6073,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1863:2: ( ruleBoundedMultiplicity )
+ // InternalSolverLanguageParser.g:1942:2: ( ruleBoundedMultiplicity )
{
- // InternalSolverLanguage.g:1863:2: ( ruleBoundedMultiplicity )
- // InternalSolverLanguage.g:1864:3: ruleBoundedMultiplicity
+ // InternalSolverLanguageParser.g:1942:2: ( ruleBoundedMultiplicity )
+ // InternalSolverLanguageParser.g:1943:3: ruleBoundedMultiplicity
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
- }
+ before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
pushFollow(FOLLOW_2);
ruleBoundedMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
- }
+
+ after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
}
@@ -6671,33 +6109,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ScopeDefinition__Alternatives"
- // InternalSolverLanguage.g:1873:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );
+ // InternalSolverLanguageParser.g:1952:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );
public final void rule__ScopeDefinition__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1877:1: ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) )
+ // InternalSolverLanguageParser.g:1956:1: ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) )
int alt14=3;
alt14 = dfa14.predict(input);
switch (alt14) {
case 1 :
- // InternalSolverLanguage.g:1878:2: ( ruleExactScopeDefinition )
+ // InternalSolverLanguageParser.g:1957:2: ( ruleExactScopeDefinition )
{
- // InternalSolverLanguage.g:1878:2: ( ruleExactScopeDefinition )
- // InternalSolverLanguage.g:1879:3: ruleExactScopeDefinition
+ // InternalSolverLanguageParser.g:1957:2: ( ruleExactScopeDefinition )
+ // InternalSolverLanguageParser.g:1958:3: ruleExactScopeDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
- }
+ before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleExactScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
- }
+
+ after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
}
@@ -6705,22 +6139,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1884:2: ( ruleBoundedScopeDefinition )
+ // InternalSolverLanguageParser.g:1963:2: ( ruleBoundedScopeDefinition )
{
- // InternalSolverLanguage.g:1884:2: ( ruleBoundedScopeDefinition )
- // InternalSolverLanguage.g:1885:3: ruleBoundedScopeDefinition
+ // InternalSolverLanguageParser.g:1963:2: ( ruleBoundedScopeDefinition )
+ // InternalSolverLanguageParser.g:1964:3: ruleBoundedScopeDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
- }
+ before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
pushFollow(FOLLOW_2);
ruleBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
- }
+
+ after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
}
@@ -6728,22 +6158,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:1890:2: ( ruleLowerBoundedScopeDefinition )
+ // InternalSolverLanguageParser.g:1969:2: ( ruleLowerBoundedScopeDefinition )
{
- // InternalSolverLanguage.g:1890:2: ( ruleLowerBoundedScopeDefinition )
- // InternalSolverLanguage.g:1891:3: ruleLowerBoundedScopeDefinition
+ // InternalSolverLanguageParser.g:1969:2: ( ruleLowerBoundedScopeDefinition )
+ // InternalSolverLanguageParser.g:1970:3: ruleLowerBoundedScopeDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
- }
+ before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
pushFollow(FOLLOW_2);
ruleLowerBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
- }
+
+ after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
}
@@ -6768,27 +6194,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Alternatives_1"
- // InternalSolverLanguage.g:1900:1: rule__BoundedScopeDefinition__Alternatives_1 : ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) );
+ // InternalSolverLanguageParser.g:1979:1: rule__BoundedScopeDefinition__Alternatives_1 : ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) );
public final void rule__BoundedScopeDefinition__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1904:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) )
+ // InternalSolverLanguageParser.g:1983:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) )
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==RULE_INT) ) {
int LA15_1 = input.LA(2);
- if ( (LA15_1==24) ) {
- alt15=2;
- }
- else if ( (LA15_1==22) ) {
+ if ( (LA15_1==LessThanSignEqualsSign) ) {
alt15=1;
}
+ else if ( (LA15_1==GreaterThanSignEqualsSign) ) {
+ alt15=2;
+ }
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 15, 1, input);
@@ -6799,7 +6224,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
alt15=1;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 15, 0, input);
@@ -6807,58 +6231,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt15) {
case 1 :
- // InternalSolverLanguage.g:1905:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:1984:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) )
{
- // InternalSolverLanguage.g:1905:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) )
- // InternalSolverLanguage.g:1906:3: ( rule__BoundedScopeDefinition__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:1984:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:1985:3: ( rule__BoundedScopeDefinition__Group_1_0__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0());
- }
- // InternalSolverLanguage.g:1907:3: ( rule__BoundedScopeDefinition__Group_1_0__0 )
- // InternalSolverLanguage.g:1907:4: rule__BoundedScopeDefinition__Group_1_0__0
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0());
+ // InternalSolverLanguageParser.g:1986:3: ( rule__BoundedScopeDefinition__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:1986:4: rule__BoundedScopeDefinition__Group_1_0__0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1911:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:1990:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) )
{
- // InternalSolverLanguage.g:1911:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) )
- // InternalSolverLanguage.g:1912:3: ( rule__BoundedScopeDefinition__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:1990:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:1991:3: ( rule__BoundedScopeDefinition__Group_1_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1());
- }
- // InternalSolverLanguage.g:1913:3: ( rule__BoundedScopeDefinition__Group_1_1__0 )
- // InternalSolverLanguage.g:1913:4: rule__BoundedScopeDefinition__Group_1_1__0
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1());
+ // InternalSolverLanguageParser.g:1992:3: ( rule__BoundedScopeDefinition__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:1992:4: rule__BoundedScopeDefinition__Group_1_1__0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1());
+
}
@@ -6882,13 +6298,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Alternatives_1"
- // InternalSolverLanguage.g:1921:1: rule__LowerBoundedScopeDefinition__Alternatives_1 : ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) );
+ // InternalSolverLanguageParser.g:2000:1: rule__LowerBoundedScopeDefinition__Alternatives_1 : ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) );
public final void rule__LowerBoundedScopeDefinition__Alternatives_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1925:1: ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) )
+ // InternalSolverLanguageParser.g:2004:1: ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) )
int alt16=2;
int LA16_0 = input.LA(1);
@@ -6899,7 +6315,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
alt16=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 16, 0, input);
@@ -6907,58 +6322,50 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt16) {
case 1 :
- // InternalSolverLanguage.g:1926:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:2005:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) )
{
- // InternalSolverLanguage.g:1926:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) )
- // InternalSolverLanguage.g:1927:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:2005:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) )
+ // InternalSolverLanguageParser.g:2006:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0());
- }
- // InternalSolverLanguage.g:1928:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 )
- // InternalSolverLanguage.g:1928:4: rule__LowerBoundedScopeDefinition__Group_1_0__0
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0());
+ // InternalSolverLanguageParser.g:2007:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 )
+ // InternalSolverLanguageParser.g:2007:4: rule__LowerBoundedScopeDefinition__Group_1_0__0
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_0__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1932:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:2011:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) )
{
- // InternalSolverLanguage.g:1932:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) )
- // InternalSolverLanguage.g:1933:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:2011:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:2012:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1());
- }
- // InternalSolverLanguage.g:1934:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 )
- // InternalSolverLanguage.g:1934:4: rule__LowerBoundedScopeDefinition__Group_1_1__0
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1());
+ // InternalSolverLanguageParser.g:2013:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:2013:4: rule__LowerBoundedScopeDefinition__Group_1_1__0
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1());
+
}
@@ -6982,24 +6389,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UpperMultiplicty__Alternatives"
- // InternalSolverLanguage.g:1942:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( '*' ) );
+ // InternalSolverLanguageParser.g:2021:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( Asterisk ) );
public final void rule__UpperMultiplicty__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1946:1: ( ( RULE_INT ) | ( '*' ) )
+ // InternalSolverLanguageParser.g:2025:1: ( ( RULE_INT ) | ( Asterisk ) )
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==RULE_INT) ) {
alt17=1;
}
- else if ( (LA17_0==16) ) {
+ else if ( (LA17_0==Asterisk) ) {
alt17=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 17, 0, input);
@@ -7007,18 +6413,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt17) {
case 1 :
- // InternalSolverLanguage.g:1947:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:2026:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:1947:2: ( RULE_INT )
- // InternalSolverLanguage.g:1948:3: RULE_INT
+ // InternalSolverLanguageParser.g:2026:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:2027:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
- }
+ before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
}
@@ -7026,18 +6428,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1953:2: ( '*' )
+ // InternalSolverLanguageParser.g:2032:2: ( Asterisk )
{
- // InternalSolverLanguage.g:1953:2: ( '*' )
- // InternalSolverLanguage.g:1954:3: '*'
+ // InternalSolverLanguageParser.g:2032:2: ( Asterisk )
+ // InternalSolverLanguageParser.g:2033:3: Asterisk
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
- }
- match(input,16,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
- }
+ before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
+ match(input,Asterisk,FOLLOW_2);
+ after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
}
@@ -7062,13 +6460,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Alternatives"
- // InternalSolverLanguage.g:1963:1: rule__QualifiedName__Alternatives : ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) );
+ // InternalSolverLanguageParser.g:2042:1: rule__QualifiedName__Alternatives : ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) );
public final void rule__QualifiedName__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1967:1: ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) )
+ // InternalSolverLanguageParser.g:2046:1: ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) )
int alt18=2;
int LA18_0 = input.LA(1);
@@ -7079,7 +6477,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
alt18=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 18, 0, input);
@@ -7087,47 +6484,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt18) {
case 1 :
- // InternalSolverLanguage.g:1968:2: ( ( rule__QualifiedName__Group_0__0 ) )
+ // InternalSolverLanguageParser.g:2047:2: ( ( rule__QualifiedName__Group_0__0 ) )
{
- // InternalSolverLanguage.g:1968:2: ( ( rule__QualifiedName__Group_0__0 ) )
- // InternalSolverLanguage.g:1969:3: ( rule__QualifiedName__Group_0__0 )
+ // InternalSolverLanguageParser.g:2047:2: ( ( rule__QualifiedName__Group_0__0 ) )
+ // InternalSolverLanguageParser.g:2048:3: ( rule__QualifiedName__Group_0__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getGroup_0());
- }
- // InternalSolverLanguage.g:1970:3: ( rule__QualifiedName__Group_0__0 )
- // InternalSolverLanguage.g:1970:4: rule__QualifiedName__Group_0__0
+ before(grammarAccess.getQualifiedNameAccess().getGroup_0());
+ // InternalSolverLanguageParser.g:2049:3: ( rule__QualifiedName__Group_0__0 )
+ // InternalSolverLanguageParser.g:2049:4: rule__QualifiedName__Group_0__0
{
pushFollow(FOLLOW_2);
rule__QualifiedName__Group_0__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getGroup_0());
}
+ after(grammarAccess.getQualifiedNameAccess().getGroup_0());
+
}
}
break;
case 2 :
- // InternalSolverLanguage.g:1974:2: ( RULE_QUOTED_ID )
+ // InternalSolverLanguageParser.g:2053:2: ( RULE_QUOTED_ID )
{
- // InternalSolverLanguage.g:1974:2: ( RULE_QUOTED_ID )
- // InternalSolverLanguage.g:1975:3: RULE_QUOTED_ID
+ // InternalSolverLanguageParser.g:2053:2: ( RULE_QUOTED_ID )
+ // InternalSolverLanguageParser.g:2054:3: RULE_QUOTED_ID
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
- }
- match(input,RULE_QUOTED_ID,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
- }
+ before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
+ match(input,RULE_QUOTED_ID,FOLLOW_2);
+ after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
}
@@ -7152,24 +6541,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricType__Alternatives"
- // InternalSolverLanguage.g:1984:1: rule__MetricType__Alternatives : ( ( ( 'int' ) ) | ( ( 'real' ) ) );
+ // InternalSolverLanguageParser.g:2063:1: rule__MetricType__Alternatives : ( ( ( Int ) ) | ( ( Real ) ) );
public final void rule__MetricType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:1988:1: ( ( ( 'int' ) ) | ( ( 'real' ) ) )
+ // InternalSolverLanguageParser.g:2067:1: ( ( ( Int ) ) | ( ( Real ) ) )
int alt19=2;
int LA19_0 = input.LA(1);
- if ( (LA19_0==17) ) {
+ if ( (LA19_0==Int) ) {
alt19=1;
}
- else if ( (LA19_0==18) ) {
+ else if ( (LA19_0==Real) ) {
alt19=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
@@ -7177,24 +6565,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt19) {
case 1 :
- // InternalSolverLanguage.g:1989:2: ( ( 'int' ) )
+ // InternalSolverLanguageParser.g:2068:2: ( ( Int ) )
{
- // InternalSolverLanguage.g:1989:2: ( ( 'int' ) )
- // InternalSolverLanguage.g:1990:3: ( 'int' )
+ // InternalSolverLanguageParser.g:2068:2: ( ( Int ) )
+ // InternalSolverLanguageParser.g:2069:3: ( Int )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:1991:3: ( 'int' )
- // InternalSolverLanguage.g:1991:4: 'int'
+ before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2070:3: ( Int )
+ // InternalSolverLanguageParser.g:2070:4: Int
{
- match(input,17,FOLLOW_2); if (state.failed) return ;
+ match(input,Int,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
}
@@ -7202,24 +6586,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:1995:2: ( ( 'real' ) )
+ // InternalSolverLanguageParser.g:2074:2: ( ( Real ) )
{
- // InternalSolverLanguage.g:1995:2: ( ( 'real' ) )
- // InternalSolverLanguage.g:1996:3: ( 'real' )
+ // InternalSolverLanguageParser.g:2074:2: ( ( Real ) )
+ // InternalSolverLanguageParser.g:2075:3: ( Real )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:1997:3: ( 'real' )
- // InternalSolverLanguage.g:1997:4: 'real'
+ before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2076:3: ( Real )
+ // InternalSolverLanguageParser.g:2076:4: Real
{
- match(input,18,FOLLOW_2); if (state.failed) return ;
+ match(input,Real,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
}
@@ -7244,52 +6624,51 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonOperator__Alternatives"
- // InternalSolverLanguage.g:2005:1: rule__ComparisonOperator__Alternatives : ( ( ( '==' ) ) | ( ( '!=' ) ) | ( ( '<' ) ) | ( ( '<=' ) ) | ( ( '>' ) ) | ( ( '>=' ) ) | ( ( 'in' ) ) );
+ // InternalSolverLanguageParser.g:2084:1: rule__ComparisonOperator__Alternatives : ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) );
public final void rule__ComparisonOperator__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2009:1: ( ( ( '==' ) ) | ( ( '!=' ) ) | ( ( '<' ) ) | ( ( '<=' ) ) | ( ( '>' ) ) | ( ( '>=' ) ) | ( ( 'in' ) ) )
+ // InternalSolverLanguageParser.g:2088:1: ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) )
int alt20=7;
switch ( input.LA(1) ) {
- case 19:
+ case EqualsSignEqualsSign:
{
alt20=1;
}
break;
- case 20:
+ case ExclamationMarkEqualsSign:
{
alt20=2;
}
break;
- case 21:
+ case LessThanSign:
{
alt20=3;
}
break;
- case 22:
+ case LessThanSignEqualsSign:
{
alt20=4;
}
break;
- case 23:
+ case GreaterThanSign:
{
alt20=5;
}
break;
- case 24:
+ case GreaterThanSignEqualsSign:
{
alt20=6;
}
break;
- case 25:
+ case In:
{
alt20=7;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
@@ -7298,24 +6677,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt20) {
case 1 :
- // InternalSolverLanguage.g:2010:2: ( ( '==' ) )
+ // InternalSolverLanguageParser.g:2089:2: ( ( EqualsSignEqualsSign ) )
{
- // InternalSolverLanguage.g:2010:2: ( ( '==' ) )
- // InternalSolverLanguage.g:2011:3: ( '==' )
+ // InternalSolverLanguageParser.g:2089:2: ( ( EqualsSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:2090:3: ( EqualsSignEqualsSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2012:3: ( '==' )
- // InternalSolverLanguage.g:2012:4: '=='
+ before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2091:3: ( EqualsSignEqualsSign )
+ // InternalSolverLanguageParser.g:2091:4: EqualsSignEqualsSign
{
- match(input,19,FOLLOW_2); if (state.failed) return ;
+ match(input,EqualsSignEqualsSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
}
@@ -7323,24 +6698,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2016:2: ( ( '!=' ) )
+ // InternalSolverLanguageParser.g:2095:2: ( ( ExclamationMarkEqualsSign ) )
{
- // InternalSolverLanguage.g:2016:2: ( ( '!=' ) )
- // InternalSolverLanguage.g:2017:3: ( '!=' )
+ // InternalSolverLanguageParser.g:2095:2: ( ( ExclamationMarkEqualsSign ) )
+ // InternalSolverLanguageParser.g:2096:3: ( ExclamationMarkEqualsSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2018:3: ( '!=' )
- // InternalSolverLanguage.g:2018:4: '!='
+ before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2097:3: ( ExclamationMarkEqualsSign )
+ // InternalSolverLanguageParser.g:2097:4: ExclamationMarkEqualsSign
{
- match(input,20,FOLLOW_2); if (state.failed) return ;
+ match(input,ExclamationMarkEqualsSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
}
@@ -7348,24 +6719,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:2022:2: ( ( '<' ) )
+ // InternalSolverLanguageParser.g:2101:2: ( ( LessThanSign ) )
{
- // InternalSolverLanguage.g:2022:2: ( ( '<' ) )
- // InternalSolverLanguage.g:2023:3: ( '<' )
+ // InternalSolverLanguageParser.g:2101:2: ( ( LessThanSign ) )
+ // InternalSolverLanguageParser.g:2102:3: ( LessThanSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
- }
- // InternalSolverLanguage.g:2024:3: ( '<' )
- // InternalSolverLanguage.g:2024:4: '<'
+ before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
+ // InternalSolverLanguageParser.g:2103:3: ( LessThanSign )
+ // InternalSolverLanguageParser.g:2103:4: LessThanSign
{
- match(input,21,FOLLOW_2); if (state.failed) return ;
+ match(input,LessThanSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
}
@@ -7373,24 +6740,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:2028:2: ( ( '<=' ) )
+ // InternalSolverLanguageParser.g:2107:2: ( ( LessThanSignEqualsSign ) )
{
- // InternalSolverLanguage.g:2028:2: ( ( '<=' ) )
- // InternalSolverLanguage.g:2029:3: ( '<=' )
+ // InternalSolverLanguageParser.g:2107:2: ( ( LessThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:2108:3: ( LessThanSignEqualsSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
- }
- // InternalSolverLanguage.g:2030:3: ( '<=' )
- // InternalSolverLanguage.g:2030:4: '<='
+ before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
+ // InternalSolverLanguageParser.g:2109:3: ( LessThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:2109:4: LessThanSignEqualsSign
{
- match(input,22,FOLLOW_2); if (state.failed) return ;
+ match(input,LessThanSignEqualsSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
}
@@ -7398,24 +6761,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 5 :
- // InternalSolverLanguage.g:2034:2: ( ( '>' ) )
+ // InternalSolverLanguageParser.g:2113:2: ( ( GreaterThanSign ) )
{
- // InternalSolverLanguage.g:2034:2: ( ( '>' ) )
- // InternalSolverLanguage.g:2035:3: ( '>' )
+ // InternalSolverLanguageParser.g:2113:2: ( ( GreaterThanSign ) )
+ // InternalSolverLanguageParser.g:2114:3: ( GreaterThanSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
- }
- // InternalSolverLanguage.g:2036:3: ( '>' )
- // InternalSolverLanguage.g:2036:4: '>'
+ before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
+ // InternalSolverLanguageParser.g:2115:3: ( GreaterThanSign )
+ // InternalSolverLanguageParser.g:2115:4: GreaterThanSign
{
- match(input,23,FOLLOW_2); if (state.failed) return ;
+ match(input,GreaterThanSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
}
@@ -7423,24 +6782,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 6 :
- // InternalSolverLanguage.g:2040:2: ( ( '>=' ) )
+ // InternalSolverLanguageParser.g:2119:2: ( ( GreaterThanSignEqualsSign ) )
{
- // InternalSolverLanguage.g:2040:2: ( ( '>=' ) )
- // InternalSolverLanguage.g:2041:3: ( '>=' )
+ // InternalSolverLanguageParser.g:2119:2: ( ( GreaterThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:2120:3: ( GreaterThanSignEqualsSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
- }
- // InternalSolverLanguage.g:2042:3: ( '>=' )
- // InternalSolverLanguage.g:2042:4: '>='
+ before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
+ // InternalSolverLanguageParser.g:2121:3: ( GreaterThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:2121:4: GreaterThanSignEqualsSign
{
- match(input,24,FOLLOW_2); if (state.failed) return ;
+ match(input,GreaterThanSignEqualsSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
}
@@ -7448,24 +6803,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 7 :
- // InternalSolverLanguage.g:2046:2: ( ( 'in' ) )
+ // InternalSolverLanguageParser.g:2125:2: ( ( In ) )
{
- // InternalSolverLanguage.g:2046:2: ( ( 'in' ) )
- // InternalSolverLanguage.g:2047:3: ( 'in' )
+ // InternalSolverLanguageParser.g:2125:2: ( ( In ) )
+ // InternalSolverLanguageParser.g:2126:3: ( In )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
- }
- // InternalSolverLanguage.g:2048:3: ( 'in' )
- // InternalSolverLanguage.g:2048:4: 'in'
+ before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
+ // InternalSolverLanguageParser.g:2127:3: ( In )
+ // InternalSolverLanguageParser.g:2127:4: In
{
- match(input,25,FOLLOW_2); if (state.failed) return ;
+ match(input,In,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
- }
+ after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
}
@@ -7490,24 +6841,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveBinaryOperator__Alternatives"
- // InternalSolverLanguage.g:2056:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) );
+ // InternalSolverLanguageParser.g:2135:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) );
public final void rule__AdditiveBinaryOperator__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2060:1: ( ( ( '+' ) ) | ( ( '-' ) ) )
+ // InternalSolverLanguageParser.g:2139:1: ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) )
int alt21=2;
int LA21_0 = input.LA(1);
- if ( (LA21_0==26) ) {
+ if ( (LA21_0==PlusSign) ) {
alt21=1;
}
- else if ( (LA21_0==27) ) {
+ else if ( (LA21_0==HyphenMinus) ) {
alt21=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
@@ -7515,24 +6865,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt21) {
case 1 :
- // InternalSolverLanguage.g:2061:2: ( ( '+' ) )
+ // InternalSolverLanguageParser.g:2140:2: ( ( PlusSign ) )
{
- // InternalSolverLanguage.g:2061:2: ( ( '+' ) )
- // InternalSolverLanguage.g:2062:3: ( '+' )
+ // InternalSolverLanguageParser.g:2140:2: ( ( PlusSign ) )
+ // InternalSolverLanguageParser.g:2141:3: ( PlusSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2063:3: ( '+' )
- // InternalSolverLanguage.g:2063:4: '+'
+ before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2142:3: ( PlusSign )
+ // InternalSolverLanguageParser.g:2142:4: PlusSign
{
- match(input,26,FOLLOW_2); if (state.failed) return ;
+ match(input,PlusSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
}
@@ -7540,24 +6886,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2067:2: ( ( '-' ) )
+ // InternalSolverLanguageParser.g:2146:2: ( ( HyphenMinus ) )
{
- // InternalSolverLanguage.g:2067:2: ( ( '-' ) )
- // InternalSolverLanguage.g:2068:3: ( '-' )
+ // InternalSolverLanguageParser.g:2146:2: ( ( HyphenMinus ) )
+ // InternalSolverLanguageParser.g:2147:3: ( HyphenMinus )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2069:3: ( '-' )
- // InternalSolverLanguage.g:2069:4: '-'
+ before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2148:3: ( HyphenMinus )
+ // InternalSolverLanguageParser.g:2148:4: HyphenMinus
{
- match(input,27,FOLLOW_2); if (state.failed) return ;
+ match(input,HyphenMinus,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
}
@@ -7582,24 +6924,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeBinaryOperator__Alternatives"
- // InternalSolverLanguage.g:2077:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( '*' ) ) | ( ( '/' ) ) );
+ // InternalSolverLanguageParser.g:2156:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( Asterisk ) ) | ( ( Solidus ) ) );
public final void rule__MultiplicativeBinaryOperator__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2081:1: ( ( ( '*' ) ) | ( ( '/' ) ) )
+ // InternalSolverLanguageParser.g:2160:1: ( ( ( Asterisk ) ) | ( ( Solidus ) ) )
int alt22=2;
int LA22_0 = input.LA(1);
- if ( (LA22_0==16) ) {
+ if ( (LA22_0==Asterisk) ) {
alt22=1;
}
- else if ( (LA22_0==28) ) {
+ else if ( (LA22_0==Solidus) ) {
alt22=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 22, 0, input);
@@ -7607,24 +6948,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt22) {
case 1 :
- // InternalSolverLanguage.g:2082:2: ( ( '*' ) )
+ // InternalSolverLanguageParser.g:2161:2: ( ( Asterisk ) )
{
- // InternalSolverLanguage.g:2082:2: ( ( '*' ) )
- // InternalSolverLanguage.g:2083:3: ( '*' )
+ // InternalSolverLanguageParser.g:2161:2: ( ( Asterisk ) )
+ // InternalSolverLanguageParser.g:2162:3: ( Asterisk )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2084:3: ( '*' )
- // InternalSolverLanguage.g:2084:4: '*'
+ before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2163:3: ( Asterisk )
+ // InternalSolverLanguageParser.g:2163:4: Asterisk
{
- match(input,16,FOLLOW_2); if (state.failed) return ;
+ match(input,Asterisk,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
}
@@ -7632,24 +6969,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2088:2: ( ( '/' ) )
+ // InternalSolverLanguageParser.g:2167:2: ( ( Solidus ) )
{
- // InternalSolverLanguage.g:2088:2: ( ( '/' ) )
- // InternalSolverLanguage.g:2089:3: ( '/' )
+ // InternalSolverLanguageParser.g:2167:2: ( ( Solidus ) )
+ // InternalSolverLanguageParser.g:2168:3: ( Solidus )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2090:3: ( '/' )
- // InternalSolverLanguage.g:2090:4: '/'
+ before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2169:3: ( Solidus )
+ // InternalSolverLanguageParser.g:2169:4: Solidus
{
- match(input,28,FOLLOW_2); if (state.failed) return ;
+ match(input,Solidus,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
}
@@ -7674,47 +7007,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryOp__Alternatives"
- // InternalSolverLanguage.g:2098:1: rule__UnaryOp__Alternatives : ( ( ( '!' ) ) | ( ( '+' ) ) | ( ( '-' ) ) | ( ( 'may' ) ) | ( ( 'must' ) ) | ( ( 'current' ) ) );
+ // InternalSolverLanguageParser.g:2177:1: rule__UnaryOp__Alternatives : ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) );
public final void rule__UnaryOp__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2102:1: ( ( ( '!' ) ) | ( ( '+' ) ) | ( ( '-' ) ) | ( ( 'may' ) ) | ( ( 'must' ) ) | ( ( 'current' ) ) )
+ // InternalSolverLanguageParser.g:2181:1: ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) )
int alt23=6;
switch ( input.LA(1) ) {
- case 29:
+ case ExclamationMark:
{
alt23=1;
}
break;
- case 26:
+ case PlusSign:
{
alt23=2;
}
break;
- case 27:
+ case HyphenMinus:
{
alt23=3;
}
break;
- case 30:
+ case May:
{
alt23=4;
}
break;
- case 31:
+ case Must:
{
alt23=5;
}
break;
- case 32:
+ case Current:
{
alt23=6;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 23, 0, input);
@@ -7723,24 +7055,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt23) {
case 1 :
- // InternalSolverLanguage.g:2103:2: ( ( '!' ) )
+ // InternalSolverLanguageParser.g:2182:2: ( ( ExclamationMark ) )
{
- // InternalSolverLanguage.g:2103:2: ( ( '!' ) )
- // InternalSolverLanguage.g:2104:3: ( '!' )
+ // InternalSolverLanguageParser.g:2182:2: ( ( ExclamationMark ) )
+ // InternalSolverLanguageParser.g:2183:3: ( ExclamationMark )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2105:3: ( '!' )
- // InternalSolverLanguage.g:2105:4: '!'
+ before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2184:3: ( ExclamationMark )
+ // InternalSolverLanguageParser.g:2184:4: ExclamationMark
{
- match(input,29,FOLLOW_2); if (state.failed) return ;
+ match(input,ExclamationMark,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
}
@@ -7748,24 +7076,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2109:2: ( ( '+' ) )
+ // InternalSolverLanguageParser.g:2188:2: ( ( PlusSign ) )
{
- // InternalSolverLanguage.g:2109:2: ( ( '+' ) )
- // InternalSolverLanguage.g:2110:3: ( '+' )
+ // InternalSolverLanguageParser.g:2188:2: ( ( PlusSign ) )
+ // InternalSolverLanguageParser.g:2189:3: ( PlusSign )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2111:3: ( '+' )
- // InternalSolverLanguage.g:2111:4: '+'
+ before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2190:3: ( PlusSign )
+ // InternalSolverLanguageParser.g:2190:4: PlusSign
{
- match(input,26,FOLLOW_2); if (state.failed) return ;
+ match(input,PlusSign,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
}
@@ -7773,24 +7097,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:2115:2: ( ( '-' ) )
+ // InternalSolverLanguageParser.g:2194:2: ( ( HyphenMinus ) )
{
- // InternalSolverLanguage.g:2115:2: ( ( '-' ) )
- // InternalSolverLanguage.g:2116:3: ( '-' )
+ // InternalSolverLanguageParser.g:2194:2: ( ( HyphenMinus ) )
+ // InternalSolverLanguageParser.g:2195:3: ( HyphenMinus )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
- }
- // InternalSolverLanguage.g:2117:3: ( '-' )
- // InternalSolverLanguage.g:2117:4: '-'
+ before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
+ // InternalSolverLanguageParser.g:2196:3: ( HyphenMinus )
+ // InternalSolverLanguageParser.g:2196:4: HyphenMinus
{
- match(input,27,FOLLOW_2); if (state.failed) return ;
+ match(input,HyphenMinus,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
- }
+ after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
}
@@ -7798,24 +7118,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:2121:2: ( ( 'may' ) )
+ // InternalSolverLanguageParser.g:2200:2: ( ( May ) )
{
- // InternalSolverLanguage.g:2121:2: ( ( 'may' ) )
- // InternalSolverLanguage.g:2122:3: ( 'may' )
+ // InternalSolverLanguageParser.g:2200:2: ( ( May ) )
+ // InternalSolverLanguageParser.g:2201:3: ( May )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
- }
- // InternalSolverLanguage.g:2123:3: ( 'may' )
- // InternalSolverLanguage.g:2123:4: 'may'
+ before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
+ // InternalSolverLanguageParser.g:2202:3: ( May )
+ // InternalSolverLanguageParser.g:2202:4: May
{
- match(input,30,FOLLOW_2); if (state.failed) return ;
+ match(input,May,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
- }
+ after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
}
@@ -7823,24 +7139,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 5 :
- // InternalSolverLanguage.g:2127:2: ( ( 'must' ) )
+ // InternalSolverLanguageParser.g:2206:2: ( ( Must ) )
{
- // InternalSolverLanguage.g:2127:2: ( ( 'must' ) )
- // InternalSolverLanguage.g:2128:3: ( 'must' )
+ // InternalSolverLanguageParser.g:2206:2: ( ( Must ) )
+ // InternalSolverLanguageParser.g:2207:3: ( Must )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
- }
- // InternalSolverLanguage.g:2129:3: ( 'must' )
- // InternalSolverLanguage.g:2129:4: 'must'
+ before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
+ // InternalSolverLanguageParser.g:2208:3: ( Must )
+ // InternalSolverLanguageParser.g:2208:4: Must
{
- match(input,31,FOLLOW_2); if (state.failed) return ;
+ match(input,Must,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
- }
+ after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
}
@@ -7848,24 +7160,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 6 :
- // InternalSolverLanguage.g:2133:2: ( ( 'current' ) )
+ // InternalSolverLanguageParser.g:2212:2: ( ( Current ) )
{
- // InternalSolverLanguage.g:2133:2: ( ( 'current' ) )
- // InternalSolverLanguage.g:2134:3: ( 'current' )
+ // InternalSolverLanguageParser.g:2212:2: ( ( Current ) )
+ // InternalSolverLanguageParser.g:2213:3: ( Current )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
- }
- // InternalSolverLanguage.g:2135:3: ( 'current' )
- // InternalSolverLanguage.g:2135:4: 'current'
+ before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
+ // InternalSolverLanguageParser.g:2214:3: ( Current )
+ // InternalSolverLanguageParser.g:2214:4: Current
{
- match(input,32,FOLLOW_2); if (state.failed) return ;
+ match(input,Current,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
- }
+ after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
}
@@ -7890,47 +7198,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AggregationOp__Alternatives"
- // InternalSolverLanguage.g:2143:1: rule__AggregationOp__Alternatives : ( ( ( 'only' ) ) | ( ( 'sum' ) ) | ( ( 'prod' ) ) | ( ( 'avg' ) ) | ( ( 'min' ) ) | ( ( 'max' ) ) );
+ // InternalSolverLanguageParser.g:2222:1: rule__AggregationOp__Alternatives : ( ( ( Only ) ) | ( ( Sum ) ) | ( ( Prod ) ) | ( ( Avg ) ) | ( ( Min ) ) | ( ( Max ) ) );
public final void rule__AggregationOp__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2147:1: ( ( ( 'only' ) ) | ( ( 'sum' ) ) | ( ( 'prod' ) ) | ( ( 'avg' ) ) | ( ( 'min' ) ) | ( ( 'max' ) ) )
+ // InternalSolverLanguageParser.g:2226:1: ( ( ( Only ) ) | ( ( Sum ) ) | ( ( Prod ) ) | ( ( Avg ) ) | ( ( Min ) ) | ( ( Max ) ) )
int alt24=6;
switch ( input.LA(1) ) {
- case 33:
+ case Only:
{
alt24=1;
}
break;
- case 34:
+ case Sum:
{
alt24=2;
}
break;
- case 35:
+ case Prod:
{
alt24=3;
}
break;
- case 36:
+ case Avg:
{
alt24=4;
}
break;
- case 37:
+ case Min:
{
alt24=5;
}
break;
- case 38:
+ case Max:
{
alt24=6;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 24, 0, input);
@@ -7939,24 +7246,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt24) {
case 1 :
- // InternalSolverLanguage.g:2148:2: ( ( 'only' ) )
+ // InternalSolverLanguageParser.g:2227:2: ( ( Only ) )
{
- // InternalSolverLanguage.g:2148:2: ( ( 'only' ) )
- // InternalSolverLanguage.g:2149:3: ( 'only' )
+ // InternalSolverLanguageParser.g:2227:2: ( ( Only ) )
+ // InternalSolverLanguageParser.g:2228:3: ( Only )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2150:3: ( 'only' )
- // InternalSolverLanguage.g:2150:4: 'only'
+ before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2229:3: ( Only )
+ // InternalSolverLanguageParser.g:2229:4: Only
{
- match(input,33,FOLLOW_2); if (state.failed) return ;
+ match(input,Only,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
}
@@ -7964,24 +7267,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2154:2: ( ( 'sum' ) )
+ // InternalSolverLanguageParser.g:2233:2: ( ( Sum ) )
{
- // InternalSolverLanguage.g:2154:2: ( ( 'sum' ) )
- // InternalSolverLanguage.g:2155:3: ( 'sum' )
+ // InternalSolverLanguageParser.g:2233:2: ( ( Sum ) )
+ // InternalSolverLanguageParser.g:2234:3: ( Sum )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2156:3: ( 'sum' )
- // InternalSolverLanguage.g:2156:4: 'sum'
+ before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2235:3: ( Sum )
+ // InternalSolverLanguageParser.g:2235:4: Sum
{
- match(input,34,FOLLOW_2); if (state.failed) return ;
+ match(input,Sum,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
}
@@ -7989,24 +7288,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:2160:2: ( ( 'prod' ) )
+ // InternalSolverLanguageParser.g:2239:2: ( ( Prod ) )
{
- // InternalSolverLanguage.g:2160:2: ( ( 'prod' ) )
- // InternalSolverLanguage.g:2161:3: ( 'prod' )
+ // InternalSolverLanguageParser.g:2239:2: ( ( Prod ) )
+ // InternalSolverLanguageParser.g:2240:3: ( Prod )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
- }
- // InternalSolverLanguage.g:2162:3: ( 'prod' )
- // InternalSolverLanguage.g:2162:4: 'prod'
+ before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
+ // InternalSolverLanguageParser.g:2241:3: ( Prod )
+ // InternalSolverLanguageParser.g:2241:4: Prod
{
- match(input,35,FOLLOW_2); if (state.failed) return ;
+ match(input,Prod,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
- }
+ after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
}
@@ -8014,24 +7309,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:2166:2: ( ( 'avg' ) )
+ // InternalSolverLanguageParser.g:2245:2: ( ( Avg ) )
{
- // InternalSolverLanguage.g:2166:2: ( ( 'avg' ) )
- // InternalSolverLanguage.g:2167:3: ( 'avg' )
+ // InternalSolverLanguageParser.g:2245:2: ( ( Avg ) )
+ // InternalSolverLanguageParser.g:2246:3: ( Avg )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
- }
- // InternalSolverLanguage.g:2168:3: ( 'avg' )
- // InternalSolverLanguage.g:2168:4: 'avg'
+ before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
+ // InternalSolverLanguageParser.g:2247:3: ( Avg )
+ // InternalSolverLanguageParser.g:2247:4: Avg
{
- match(input,36,FOLLOW_2); if (state.failed) return ;
+ match(input,Avg,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
- }
+ after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
}
@@ -8039,24 +7330,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 5 :
- // InternalSolverLanguage.g:2172:2: ( ( 'min' ) )
+ // InternalSolverLanguageParser.g:2251:2: ( ( Min ) )
{
- // InternalSolverLanguage.g:2172:2: ( ( 'min' ) )
- // InternalSolverLanguage.g:2173:3: ( 'min' )
+ // InternalSolverLanguageParser.g:2251:2: ( ( Min ) )
+ // InternalSolverLanguageParser.g:2252:3: ( Min )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
- }
- // InternalSolverLanguage.g:2174:3: ( 'min' )
- // InternalSolverLanguage.g:2174:4: 'min'
+ before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
+ // InternalSolverLanguageParser.g:2253:3: ( Min )
+ // InternalSolverLanguageParser.g:2253:4: Min
{
- match(input,37,FOLLOW_2); if (state.failed) return ;
+ match(input,Min,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
- }
+ after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
}
@@ -8064,24 +7351,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 6 :
- // InternalSolverLanguage.g:2178:2: ( ( 'max' ) )
+ // InternalSolverLanguageParser.g:2257:2: ( ( Max ) )
{
- // InternalSolverLanguage.g:2178:2: ( ( 'max' ) )
- // InternalSolverLanguage.g:2179:3: ( 'max' )
+ // InternalSolverLanguageParser.g:2257:2: ( ( Max ) )
+ // InternalSolverLanguageParser.g:2258:3: ( Max )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
- }
- // InternalSolverLanguage.g:2180:3: ( 'max' )
- // InternalSolverLanguage.g:2180:4: 'max'
+ before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
+ // InternalSolverLanguageParser.g:2259:3: ( Max )
+ // InternalSolverLanguageParser.g:2259:4: Max
{
- match(input,38,FOLLOW_2); if (state.failed) return ;
+ match(input,Max,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
- }
+ after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
}
@@ -8106,37 +7389,36 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LogicValue__Alternatives"
- // InternalSolverLanguage.g:2188:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) | ( ( 'error' ) ) );
+ // InternalSolverLanguageParser.g:2267:1: rule__LogicValue__Alternatives : ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) );
public final void rule__LogicValue__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2192:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) | ( ( 'error' ) ) )
+ // InternalSolverLanguageParser.g:2271:1: ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) )
int alt25=4;
switch ( input.LA(1) ) {
- case 39:
+ case True:
{
alt25=1;
}
break;
- case 40:
+ case False:
{
alt25=2;
}
break;
- case 41:
+ case Unknown:
{
alt25=3;
}
break;
- case 42:
+ case Error:
{
alt25=4;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 25, 0, input);
@@ -8145,24 +7427,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
switch (alt25) {
case 1 :
- // InternalSolverLanguage.g:2193:2: ( ( 'true' ) )
+ // InternalSolverLanguageParser.g:2272:2: ( ( True ) )
{
- // InternalSolverLanguage.g:2193:2: ( ( 'true' ) )
- // InternalSolverLanguage.g:2194:3: ( 'true' )
+ // InternalSolverLanguageParser.g:2272:2: ( ( True ) )
+ // InternalSolverLanguageParser.g:2273:3: ( True )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2195:3: ( 'true' )
- // InternalSolverLanguage.g:2195:4: 'true'
+ before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2274:3: ( True )
+ // InternalSolverLanguageParser.g:2274:4: True
{
- match(input,39,FOLLOW_2); if (state.failed) return ;
+ match(input,True,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
}
@@ -8170,24 +7448,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2199:2: ( ( 'false' ) )
+ // InternalSolverLanguageParser.g:2278:2: ( ( False ) )
{
- // InternalSolverLanguage.g:2199:2: ( ( 'false' ) )
- // InternalSolverLanguage.g:2200:3: ( 'false' )
+ // InternalSolverLanguageParser.g:2278:2: ( ( False ) )
+ // InternalSolverLanguageParser.g:2279:3: ( False )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2201:3: ( 'false' )
- // InternalSolverLanguage.g:2201:4: 'false'
+ before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2280:3: ( False )
+ // InternalSolverLanguageParser.g:2280:4: False
{
- match(input,40,FOLLOW_2); if (state.failed) return ;
+ match(input,False,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
}
@@ -8195,24 +7469,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 3 :
- // InternalSolverLanguage.g:2205:2: ( ( 'unknown' ) )
+ // InternalSolverLanguageParser.g:2284:2: ( ( Unknown ) )
{
- // InternalSolverLanguage.g:2205:2: ( ( 'unknown' ) )
- // InternalSolverLanguage.g:2206:3: ( 'unknown' )
+ // InternalSolverLanguageParser.g:2284:2: ( ( Unknown ) )
+ // InternalSolverLanguageParser.g:2285:3: ( Unknown )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
- }
- // InternalSolverLanguage.g:2207:3: ( 'unknown' )
- // InternalSolverLanguage.g:2207:4: 'unknown'
+ before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
+ // InternalSolverLanguageParser.g:2286:3: ( Unknown )
+ // InternalSolverLanguageParser.g:2286:4: Unknown
{
- match(input,41,FOLLOW_2); if (state.failed) return ;
+ match(input,Unknown,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
- }
+ after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
}
@@ -8220,24 +7490,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 4 :
- // InternalSolverLanguage.g:2211:2: ( ( 'error' ) )
+ // InternalSolverLanguageParser.g:2290:2: ( ( Error ) )
{
- // InternalSolverLanguage.g:2211:2: ( ( 'error' ) )
- // InternalSolverLanguage.g:2212:3: ( 'error' )
+ // InternalSolverLanguageParser.g:2290:2: ( ( Error ) )
+ // InternalSolverLanguageParser.g:2291:3: ( Error )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
- }
- // InternalSolverLanguage.g:2213:3: ( 'error' )
- // InternalSolverLanguage.g:2213:4: 'error'
+ before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
+ // InternalSolverLanguageParser.g:2292:3: ( Error )
+ // InternalSolverLanguageParser.g:2292:4: Error
{
- match(input,42,FOLLOW_2); if (state.failed) return ;
+ match(input,Error,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
- }
+ after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
}
@@ -8262,24 +7528,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveKind__Alternatives"
- // InternalSolverLanguage.g:2221:1: rule__ObjectiveKind__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) );
+ // InternalSolverLanguageParser.g:2300:1: rule__ObjectiveKind__Alternatives : ( ( ( Minimize ) ) | ( ( Maximize ) ) );
public final void rule__ObjectiveKind__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2225:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) )
+ // InternalSolverLanguageParser.g:2304:1: ( ( ( Minimize ) ) | ( ( Maximize ) ) )
int alt26=2;
int LA26_0 = input.LA(1);
- if ( (LA26_0==43) ) {
+ if ( (LA26_0==Minimize) ) {
alt26=1;
}
- else if ( (LA26_0==44) ) {
+ else if ( (LA26_0==Maximize) ) {
alt26=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
@@ -8287,24 +7552,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
switch (alt26) {
case 1 :
- // InternalSolverLanguage.g:2226:2: ( ( 'minimize' ) )
+ // InternalSolverLanguageParser.g:2305:2: ( ( Minimize ) )
{
- // InternalSolverLanguage.g:2226:2: ( ( 'minimize' ) )
- // InternalSolverLanguage.g:2227:3: ( 'minimize' )
+ // InternalSolverLanguageParser.g:2305:2: ( ( Minimize ) )
+ // InternalSolverLanguageParser.g:2306:3: ( Minimize )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
- }
- // InternalSolverLanguage.g:2228:3: ( 'minimize' )
- // InternalSolverLanguage.g:2228:4: 'minimize'
+ before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
+ // InternalSolverLanguageParser.g:2307:3: ( Minimize )
+ // InternalSolverLanguageParser.g:2307:4: Minimize
{
- match(input,43,FOLLOW_2); if (state.failed) return ;
+ match(input,Minimize,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
- }
+ after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
}
@@ -8312,24 +7573,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
break;
case 2 :
- // InternalSolverLanguage.g:2232:2: ( ( 'maximize' ) )
+ // InternalSolverLanguageParser.g:2311:2: ( ( Maximize ) )
{
- // InternalSolverLanguage.g:2232:2: ( ( 'maximize' ) )
- // InternalSolverLanguage.g:2233:3: ( 'maximize' )
+ // InternalSolverLanguageParser.g:2311:2: ( ( Maximize ) )
+ // InternalSolverLanguageParser.g:2312:3: ( Maximize )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
- }
- // InternalSolverLanguage.g:2234:3: ( 'maximize' )
- // InternalSolverLanguage.g:2234:4: 'maximize'
+ before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
+ // InternalSolverLanguageParser.g:2313:3: ( Maximize )
+ // InternalSolverLanguageParser.g:2313:4: Maximize
{
- match(input,44,FOLLOW_2); if (state.failed) return ;
+ match(input,Maximize,FOLLOW_2);
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
- }
+ after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
}
@@ -8354,25 +7611,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Statement__Group__0"
- // InternalSolverLanguage.g:2242:1: rule__Statement__Group__0 : rule__Statement__Group__0__Impl rule__Statement__Group__1 ;
+ // InternalSolverLanguageParser.g:2321:1: rule__Statement__Group__0 : rule__Statement__Group__0__Impl rule__Statement__Group__1 ;
public final void rule__Statement__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2246:1: ( rule__Statement__Group__0__Impl rule__Statement__Group__1 )
- // InternalSolverLanguage.g:2247:2: rule__Statement__Group__0__Impl rule__Statement__Group__1
+ // InternalSolverLanguageParser.g:2325:1: ( rule__Statement__Group__0__Impl rule__Statement__Group__1 )
+ // InternalSolverLanguageParser.g:2326:2: rule__Statement__Group__0__Impl rule__Statement__Group__1
{
pushFollow(FOLLOW_4);
rule__Statement__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Statement__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8392,36 +7649,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Statement__Group__0__Impl"
- // InternalSolverLanguage.g:2254:1: rule__Statement__Group__0__Impl : ( ( rule__Statement__Alternatives_0 ) ) ;
+ // InternalSolverLanguageParser.g:2333:1: rule__Statement__Group__0__Impl : ( ( rule__Statement__Alternatives_0 ) ) ;
public final void rule__Statement__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2258:1: ( ( ( rule__Statement__Alternatives_0 ) ) )
- // InternalSolverLanguage.g:2259:1: ( ( rule__Statement__Alternatives_0 ) )
+ // InternalSolverLanguageParser.g:2337:1: ( ( ( rule__Statement__Alternatives_0 ) ) )
+ // InternalSolverLanguageParser.g:2338:1: ( ( rule__Statement__Alternatives_0 ) )
{
- // InternalSolverLanguage.g:2259:1: ( ( rule__Statement__Alternatives_0 ) )
- // InternalSolverLanguage.g:2260:2: ( rule__Statement__Alternatives_0 )
+ // InternalSolverLanguageParser.g:2338:1: ( ( rule__Statement__Alternatives_0 ) )
+ // InternalSolverLanguageParser.g:2339:2: ( rule__Statement__Alternatives_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getAlternatives_0());
- }
- // InternalSolverLanguage.g:2261:2: ( rule__Statement__Alternatives_0 )
- // InternalSolverLanguage.g:2261:3: rule__Statement__Alternatives_0
+ before(grammarAccess.getStatementAccess().getAlternatives_0());
+ // InternalSolverLanguageParser.g:2340:2: ( rule__Statement__Alternatives_0 )
+ // InternalSolverLanguageParser.g:2340:3: rule__Statement__Alternatives_0
{
pushFollow(FOLLOW_2);
rule__Statement__Alternatives_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getAlternatives_0());
}
+ after(grammarAccess.getStatementAccess().getAlternatives_0());
+
}
@@ -8443,20 +7696,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Statement__Group__1"
- // InternalSolverLanguage.g:2269:1: rule__Statement__Group__1 : rule__Statement__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:2348:1: rule__Statement__Group__1 : rule__Statement__Group__1__Impl ;
public final void rule__Statement__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2273:1: ( rule__Statement__Group__1__Impl )
- // InternalSolverLanguage.g:2274:2: rule__Statement__Group__1__Impl
+ // InternalSolverLanguageParser.g:2352:1: ( rule__Statement__Group__1__Impl )
+ // InternalSolverLanguageParser.g:2353:2: rule__Statement__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__Statement__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8476,25 +7729,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Statement__Group__1__Impl"
- // InternalSolverLanguage.g:2280:1: rule__Statement__Group__1__Impl : ( RULE_DOT ) ;
+ // InternalSolverLanguageParser.g:2359:1: rule__Statement__Group__1__Impl : ( RULE_FULL_STOP ) ;
public final void rule__Statement__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2284:1: ( ( RULE_DOT ) )
- // InternalSolverLanguage.g:2285:1: ( RULE_DOT )
+ // InternalSolverLanguageParser.g:2363:1: ( ( RULE_FULL_STOP ) )
+ // InternalSolverLanguageParser.g:2364:1: ( RULE_FULL_STOP )
{
- // InternalSolverLanguage.g:2285:1: ( RULE_DOT )
- // InternalSolverLanguage.g:2286:2: RULE_DOT
+ // InternalSolverLanguageParser.g:2364:1: ( RULE_FULL_STOP )
+ // InternalSolverLanguageParser.g:2365:2: RULE_FULL_STOP
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1());
- }
- match(input,RULE_DOT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1());
- }
+ before(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1());
+ match(input,RULE_FULL_STOP,FOLLOW_2);
+ after(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1());
}
@@ -8517,25 +7766,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group__0"
- // InternalSolverLanguage.g:2296:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:2375:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ;
public final void rule__AssertionOrDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2300:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 )
- // InternalSolverLanguage.g:2301:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1
+ // InternalSolverLanguageParser.g:2379:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:2380:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1
{
pushFollow(FOLLOW_5);
rule__AssertionOrDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8555,29 +7804,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:2308:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:2387:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ;
public final void rule__AssertionOrDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2312:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:2313:1: ( ruleExpression )
+ // InternalSolverLanguageParser.g:2391:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:2392:1: ( ruleExpression )
{
- // InternalSolverLanguage.g:2313:1: ( ruleExpression )
- // InternalSolverLanguage.g:2314:2: ruleExpression
+ // InternalSolverLanguageParser.g:2392:1: ( ruleExpression )
+ // InternalSolverLanguageParser.g:2393:2: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
}
@@ -8600,20 +7845,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group__1"
- // InternalSolverLanguage.g:2323:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:2402:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl ;
public final void rule__AssertionOrDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2327:1: ( rule__AssertionOrDefinition__Group__1__Impl )
- // InternalSolverLanguage.g:2328:2: rule__AssertionOrDefinition__Group__1__Impl
+ // InternalSolverLanguageParser.g:2406:1: ( rule__AssertionOrDefinition__Group__1__Impl )
+ // InternalSolverLanguageParser.g:2407:2: rule__AssertionOrDefinition__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8633,36 +7878,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:2334:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ;
+ // InternalSolverLanguageParser.g:2413:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ;
public final void rule__AssertionOrDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2338:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) )
- // InternalSolverLanguage.g:2339:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) )
+ // InternalSolverLanguageParser.g:2417:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) )
+ // InternalSolverLanguageParser.g:2418:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) )
{
- // InternalSolverLanguage.g:2339:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) )
- // InternalSolverLanguage.g:2340:2: ( rule__AssertionOrDefinition__Alternatives_1 )
+ // InternalSolverLanguageParser.g:2418:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) )
+ // InternalSolverLanguageParser.g:2419:2: ( rule__AssertionOrDefinition__Alternatives_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1());
- }
- // InternalSolverLanguage.g:2341:2: ( rule__AssertionOrDefinition__Alternatives_1 )
- // InternalSolverLanguage.g:2341:3: rule__AssertionOrDefinition__Alternatives_1
+ before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1());
+ // InternalSolverLanguageParser.g:2420:2: ( rule__AssertionOrDefinition__Alternatives_1 )
+ // InternalSolverLanguageParser.g:2420:3: rule__AssertionOrDefinition__Alternatives_1
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Alternatives_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1());
+
}
@@ -8684,25 +7925,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0"
- // InternalSolverLanguage.g:2350:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ;
+ // InternalSolverLanguageParser.g:2429:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ;
public final void rule__AssertionOrDefinition__Group_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2354:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 )
- // InternalSolverLanguage.g:2355:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1
+ // InternalSolverLanguageParser.g:2433:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 )
+ // InternalSolverLanguageParser.g:2434:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1
{
pushFollow(FOLLOW_6);
rule__AssertionOrDefinition__Group_1_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8722,29 +7963,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0__Impl"
- // InternalSolverLanguage.g:2362:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:2441:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ;
public final void rule__AssertionOrDefinition__Group_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2366:1: ( ( () ) )
- // InternalSolverLanguage.g:2367:1: ( () )
+ // InternalSolverLanguageParser.g:2445:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:2446:1: ( () )
{
- // InternalSolverLanguage.g:2367:1: ( () )
- // InternalSolverLanguage.g:2368:2: ()
+ // InternalSolverLanguageParser.g:2446:1: ( () )
+ // InternalSolverLanguageParser.g:2447:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0());
- }
- // InternalSolverLanguage.g:2369:2: ()
- // InternalSolverLanguage.g:2369:3:
+ before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0());
+ // InternalSolverLanguageParser.g:2448:2: ()
+ // InternalSolverLanguageParser.g:2448:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0());
- }
+ after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0());
}
@@ -8763,20 +8000,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1"
- // InternalSolverLanguage.g:2377:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl ;
+ // InternalSolverLanguageParser.g:2456:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl ;
public final void rule__AssertionOrDefinition__Group_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2381:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl )
- // InternalSolverLanguage.g:2382:2: rule__AssertionOrDefinition__Group_1_0__1__Impl
+ // InternalSolverLanguageParser.g:2460:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl )
+ // InternalSolverLanguageParser.g:2461:2: rule__AssertionOrDefinition__Group_1_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8796,46 +8033,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1__Impl"
- // InternalSolverLanguage.g:2388:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ;
+ // InternalSolverLanguageParser.g:2467:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ;
public final void rule__AssertionOrDefinition__Group_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2392:1: ( ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) )
- // InternalSolverLanguage.g:2393:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? )
+ // InternalSolverLanguageParser.g:2471:1: ( ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) )
+ // InternalSolverLanguageParser.g:2472:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? )
{
- // InternalSolverLanguage.g:2393:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? )
- // InternalSolverLanguage.g:2394:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )?
+ // InternalSolverLanguageParser.g:2472:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? )
+ // InternalSolverLanguageParser.g:2473:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1());
- }
- // InternalSolverLanguage.g:2395:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )?
+ before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1());
+ // InternalSolverLanguageParser.g:2474:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )?
int alt27=2;
int LA27_0 = input.LA(1);
- if ( (LA27_0==45) ) {
+ if ( (LA27_0==Colon) ) {
alt27=1;
}
switch (alt27) {
case 1 :
- // InternalSolverLanguage.g:2395:3: rule__AssertionOrDefinition__Group_1_0_1__0
+ // InternalSolverLanguageParser.g:2474:3: rule__AssertionOrDefinition__Group_1_0_1__0
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_0_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1());
- }
+ after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1());
}
@@ -8858,25 +8091,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0"
- // InternalSolverLanguage.g:2404:1: rule__AssertionOrDefinition__Group_1_0_1__0 : rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ;
+ // InternalSolverLanguageParser.g:2483:1: rule__AssertionOrDefinition__Group_1_0_1__0 : rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ;
public final void rule__AssertionOrDefinition__Group_1_0_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2408:1: ( rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 )
- // InternalSolverLanguage.g:2409:2: rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1
+ // InternalSolverLanguageParser.g:2487:1: ( rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 )
+ // InternalSolverLanguageParser.g:2488:2: rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1
{
pushFollow(FOLLOW_7);
rule__AssertionOrDefinition__Group_1_0_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_0_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8896,25 +8129,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0__Impl"
- // InternalSolverLanguage.g:2416:1: rule__AssertionOrDefinition__Group_1_0_1__0__Impl : ( ':' ) ;
+ // InternalSolverLanguageParser.g:2495:1: rule__AssertionOrDefinition__Group_1_0_1__0__Impl : ( Colon ) ;
public final void rule__AssertionOrDefinition__Group_1_0_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2420:1: ( ( ':' ) )
- // InternalSolverLanguage.g:2421:1: ( ':' )
+ // InternalSolverLanguageParser.g:2499:1: ( ( Colon ) )
+ // InternalSolverLanguageParser.g:2500:1: ( Colon )
{
- // InternalSolverLanguage.g:2421:1: ( ':' )
- // InternalSolverLanguage.g:2422:2: ':'
+ // InternalSolverLanguageParser.g:2500:1: ( Colon )
+ // InternalSolverLanguageParser.g:2501:2: Colon
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
- }
- match(input,45,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
+ match(input,Colon,FOLLOW_2);
+ after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
}
@@ -8937,20 +8166,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1"
- // InternalSolverLanguage.g:2431:1: rule__AssertionOrDefinition__Group_1_0_1__1 : rule__AssertionOrDefinition__Group_1_0_1__1__Impl ;
+ // InternalSolverLanguageParser.g:2510:1: rule__AssertionOrDefinition__Group_1_0_1__1 : rule__AssertionOrDefinition__Group_1_0_1__1__Impl ;
public final void rule__AssertionOrDefinition__Group_1_0_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2435:1: ( rule__AssertionOrDefinition__Group_1_0_1__1__Impl )
- // InternalSolverLanguage.g:2436:2: rule__AssertionOrDefinition__Group_1_0_1__1__Impl
+ // InternalSolverLanguageParser.g:2514:1: ( rule__AssertionOrDefinition__Group_1_0_1__1__Impl )
+ // InternalSolverLanguageParser.g:2515:2: rule__AssertionOrDefinition__Group_1_0_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_0_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -8970,36 +8199,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1__Impl"
- // InternalSolverLanguage.g:2442:1: rule__AssertionOrDefinition__Group_1_0_1__1__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:2521:1: rule__AssertionOrDefinition__Group_1_0_1__1__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ;
public final void rule__AssertionOrDefinition__Group_1_0_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2446:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) )
- // InternalSolverLanguage.g:2447:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) )
+ // InternalSolverLanguageParser.g:2525:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) )
+ // InternalSolverLanguageParser.g:2526:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) )
{
- // InternalSolverLanguage.g:2447:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) )
- // InternalSolverLanguage.g:2448:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 )
+ // InternalSolverLanguageParser.g:2526:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) )
+ // InternalSolverLanguageParser.g:2527:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1());
- }
- // InternalSolverLanguage.g:2449:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 )
- // InternalSolverLanguage.g:2449:3: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1
+ before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1());
+ // InternalSolverLanguageParser.g:2528:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 )
+ // InternalSolverLanguageParser.g:2528:3: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__RangeAssignment_1_0_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1());
+
}
@@ -9021,25 +8246,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0"
- // InternalSolverLanguage.g:2458:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ;
+ // InternalSolverLanguageParser.g:2537:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ;
public final void rule__AssertionOrDefinition__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2462:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 )
- // InternalSolverLanguage.g:2463:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1
+ // InternalSolverLanguageParser.g:2541:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 )
+ // InternalSolverLanguageParser.g:2542:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1
{
pushFollow(FOLLOW_8);
rule__AssertionOrDefinition__Group_1_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9059,29 +8284,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0__Impl"
- // InternalSolverLanguage.g:2470:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:2549:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ;
public final void rule__AssertionOrDefinition__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2474:1: ( ( () ) )
- // InternalSolverLanguage.g:2475:1: ( () )
+ // InternalSolverLanguageParser.g:2553:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:2554:1: ( () )
{
- // InternalSolverLanguage.g:2475:1: ( () )
- // InternalSolverLanguage.g:2476:2: ()
+ // InternalSolverLanguageParser.g:2554:1: ( () )
+ // InternalSolverLanguageParser.g:2555:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0());
- }
- // InternalSolverLanguage.g:2477:2: ()
- // InternalSolverLanguage.g:2477:3:
+ before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0());
+ // InternalSolverLanguageParser.g:2556:2: ()
+ // InternalSolverLanguageParser.g:2556:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0());
- }
+ after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0());
}
@@ -9100,25 +8321,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1"
- // InternalSolverLanguage.g:2485:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ;
+ // InternalSolverLanguageParser.g:2564:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ;
public final void rule__AssertionOrDefinition__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2489:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 )
- // InternalSolverLanguage.g:2490:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2
+ // InternalSolverLanguageParser.g:2568:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 )
+ // InternalSolverLanguageParser.g:2569:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2
{
pushFollow(FOLLOW_7);
rule__AssertionOrDefinition__Group_1_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9138,25 +8359,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1__Impl"
- // InternalSolverLanguage.g:2497:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ':-' ) ;
+ // InternalSolverLanguageParser.g:2576:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ColonHyphenMinus ) ;
public final void rule__AssertionOrDefinition__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2501:1: ( ( ':-' ) )
- // InternalSolverLanguage.g:2502:1: ( ':-' )
+ // InternalSolverLanguageParser.g:2580:1: ( ( ColonHyphenMinus ) )
+ // InternalSolverLanguageParser.g:2581:1: ( ColonHyphenMinus )
{
- // InternalSolverLanguage.g:2502:1: ( ':-' )
- // InternalSolverLanguage.g:2503:2: ':-'
+ // InternalSolverLanguageParser.g:2581:1: ( ColonHyphenMinus )
+ // InternalSolverLanguageParser.g:2582:2: ColonHyphenMinus
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
- }
- match(input,46,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
+ match(input,ColonHyphenMinus,FOLLOW_2);
+ after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
}
@@ -9179,20 +8396,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2"
- // InternalSolverLanguage.g:2512:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ;
+ // InternalSolverLanguageParser.g:2591:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ;
public final void rule__AssertionOrDefinition__Group_1_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2516:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl )
- // InternalSolverLanguage.g:2517:2: rule__AssertionOrDefinition__Group_1_1__2__Impl
+ // InternalSolverLanguageParser.g:2595:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl )
+ // InternalSolverLanguageParser.g:2596:2: rule__AssertionOrDefinition__Group_1_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9212,36 +8429,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2__Impl"
- // InternalSolverLanguage.g:2523:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:2602:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ;
public final void rule__AssertionOrDefinition__Group_1_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2527:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) )
- // InternalSolverLanguage.g:2528:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:2606:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) )
+ // InternalSolverLanguageParser.g:2607:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) )
{
- // InternalSolverLanguage.g:2528:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) )
- // InternalSolverLanguage.g:2529:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:2607:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:2608:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2());
- }
- // InternalSolverLanguage.g:2530:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 )
- // InternalSolverLanguage.g:2530:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2
+ before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2());
+ // InternalSolverLanguageParser.g:2609:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:2609:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__BodyAssignment_1_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2());
+
}
@@ -9263,25 +8476,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0"
- // InternalSolverLanguage.g:2539:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ;
+ // InternalSolverLanguageParser.g:2618:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ;
public final void rule__AssertionOrDefinition__Group_1_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2543:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 )
- // InternalSolverLanguage.g:2544:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1
+ // InternalSolverLanguageParser.g:2622:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 )
+ // InternalSolverLanguageParser.g:2623:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1
{
pushFollow(FOLLOW_5);
rule__AssertionOrDefinition__Group_1_2__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_2__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9301,29 +8514,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0__Impl"
- // InternalSolverLanguage.g:2551:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:2630:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ;
public final void rule__AssertionOrDefinition__Group_1_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2555:1: ( ( () ) )
- // InternalSolverLanguage.g:2556:1: ( () )
+ // InternalSolverLanguageParser.g:2634:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:2635:1: ( () )
{
- // InternalSolverLanguage.g:2556:1: ( () )
- // InternalSolverLanguage.g:2557:2: ()
+ // InternalSolverLanguageParser.g:2635:1: ( () )
+ // InternalSolverLanguageParser.g:2636:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0());
- }
- // InternalSolverLanguage.g:2558:2: ()
- // InternalSolverLanguage.g:2558:3:
+ before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0());
+ // InternalSolverLanguageParser.g:2637:2: ()
+ // InternalSolverLanguageParser.g:2637:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0());
- }
+ after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0());
}
@@ -9342,25 +8551,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1"
- // InternalSolverLanguage.g:2566:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ;
+ // InternalSolverLanguageParser.g:2645:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ;
public final void rule__AssertionOrDefinition__Group_1_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2570:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 )
- // InternalSolverLanguage.g:2571:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2
+ // InternalSolverLanguageParser.g:2649:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 )
+ // InternalSolverLanguageParser.g:2650:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2
{
pushFollow(FOLLOW_7);
rule__AssertionOrDefinition__Group_1_2__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_2__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9380,25 +8589,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1__Impl"
- // InternalSolverLanguage.g:2578:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( '=' ) ;
+ // InternalSolverLanguageParser.g:2657:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( EqualsSign ) ;
public final void rule__AssertionOrDefinition__Group_1_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2582:1: ( ( '=' ) )
- // InternalSolverLanguage.g:2583:1: ( '=' )
+ // InternalSolverLanguageParser.g:2661:1: ( ( EqualsSign ) )
+ // InternalSolverLanguageParser.g:2662:1: ( EqualsSign )
{
- // InternalSolverLanguage.g:2583:1: ( '=' )
- // InternalSolverLanguage.g:2584:2: '='
+ // InternalSolverLanguageParser.g:2662:1: ( EqualsSign )
+ // InternalSolverLanguageParser.g:2663:2: EqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
- }
- match(input,47,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
+ match(input,EqualsSign,FOLLOW_2);
+ after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
}
@@ -9421,20 +8626,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2"
- // InternalSolverLanguage.g:2593:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ;
+ // InternalSolverLanguageParser.g:2672:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ;
public final void rule__AssertionOrDefinition__Group_1_2__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2597:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl )
- // InternalSolverLanguage.g:2598:2: rule__AssertionOrDefinition__Group_1_2__2__Impl
+ // InternalSolverLanguageParser.g:2676:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl )
+ // InternalSolverLanguageParser.g:2677:2: rule__AssertionOrDefinition__Group_1_2__2__Impl
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__Group_1_2__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9454,36 +8659,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2__Impl"
- // InternalSolverLanguage.g:2604:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ;
+ // InternalSolverLanguageParser.g:2683:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ;
public final void rule__AssertionOrDefinition__Group_1_2__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2608:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) )
- // InternalSolverLanguage.g:2609:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) )
+ // InternalSolverLanguageParser.g:2687:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) )
+ // InternalSolverLanguageParser.g:2688:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) )
{
- // InternalSolverLanguage.g:2609:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) )
- // InternalSolverLanguage.g:2610:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 )
+ // InternalSolverLanguageParser.g:2688:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) )
+ // InternalSolverLanguageParser.g:2689:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2());
- }
- // InternalSolverLanguage.g:2611:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 )
- // InternalSolverLanguage.g:2611:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2
+ before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2());
+ // InternalSolverLanguageParser.g:2690:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 )
+ // InternalSolverLanguageParser.g:2690:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2
{
pushFollow(FOLLOW_2);
rule__AssertionOrDefinition__BodyAssignment_1_2_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2());
}
+ after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2());
+
}
@@ -9505,25 +8706,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__0"
- // InternalSolverLanguage.g:2620:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:2699:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ;
public final void rule__PredicateDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2624:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 )
- // InternalSolverLanguage.g:2625:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1
+ // InternalSolverLanguageParser.g:2703:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:2704:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1
{
pushFollow(FOLLOW_9);
rule__PredicateDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9543,36 +8744,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:2632:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ;
+ // InternalSolverLanguageParser.g:2711:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ;
public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2636:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) )
- // InternalSolverLanguage.g:2637:1: ( ( rule__PredicateDefinition__Alternatives_0 ) )
+ // InternalSolverLanguageParser.g:2715:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) )
+ // InternalSolverLanguageParser.g:2716:1: ( ( rule__PredicateDefinition__Alternatives_0 ) )
{
- // InternalSolverLanguage.g:2637:1: ( ( rule__PredicateDefinition__Alternatives_0 ) )
- // InternalSolverLanguage.g:2638:2: ( rule__PredicateDefinition__Alternatives_0 )
+ // InternalSolverLanguageParser.g:2716:1: ( ( rule__PredicateDefinition__Alternatives_0 ) )
+ // InternalSolverLanguageParser.g:2717:2: ( rule__PredicateDefinition__Alternatives_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0());
- }
- // InternalSolverLanguage.g:2639:2: ( rule__PredicateDefinition__Alternatives_0 )
- // InternalSolverLanguage.g:2639:3: rule__PredicateDefinition__Alternatives_0
+ before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0());
+ // InternalSolverLanguageParser.g:2718:2: ( rule__PredicateDefinition__Alternatives_0 )
+ // InternalSolverLanguageParser.g:2718:3: rule__PredicateDefinition__Alternatives_0
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Alternatives_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0());
+
}
@@ -9594,25 +8791,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__1"
- // InternalSolverLanguage.g:2647:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:2726:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ;
public final void rule__PredicateDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2651:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 )
- // InternalSolverLanguage.g:2652:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2
+ // InternalSolverLanguageParser.g:2730:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:2731:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2
{
pushFollow(FOLLOW_8);
rule__PredicateDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9632,36 +8829,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:2659:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:2738:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ;
public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2663:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) )
- // InternalSolverLanguage.g:2664:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:2742:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:2743:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) )
{
- // InternalSolverLanguage.g:2664:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) )
- // InternalSolverLanguage.g:2665:2: ( rule__PredicateDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:2743:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:2744:2: ( rule__PredicateDefinition__HeadAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1());
- }
- // InternalSolverLanguage.g:2666:2: ( rule__PredicateDefinition__HeadAssignment_1 )
- // InternalSolverLanguage.g:2666:3: rule__PredicateDefinition__HeadAssignment_1
+ before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1());
+ // InternalSolverLanguageParser.g:2745:2: ( rule__PredicateDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:2745:3: rule__PredicateDefinition__HeadAssignment_1
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__HeadAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1());
+
}
@@ -9683,25 +8876,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__2"
- // InternalSolverLanguage.g:2674:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:2753:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ;
public final void rule__PredicateDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2678:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 )
- // InternalSolverLanguage.g:2679:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3
+ // InternalSolverLanguageParser.g:2757:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:2758:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3
{
pushFollow(FOLLOW_7);
rule__PredicateDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9721,25 +8914,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:2686:1: rule__PredicateDefinition__Group__2__Impl : ( ':-' ) ;
+ // InternalSolverLanguageParser.g:2765:1: rule__PredicateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ;
public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2690:1: ( ( ':-' ) )
- // InternalSolverLanguage.g:2691:1: ( ':-' )
+ // InternalSolverLanguageParser.g:2769:1: ( ( ColonHyphenMinus ) )
+ // InternalSolverLanguageParser.g:2770:1: ( ColonHyphenMinus )
{
- // InternalSolverLanguage.g:2691:1: ( ':-' )
- // InternalSolverLanguage.g:2692:2: ':-'
+ // InternalSolverLanguageParser.g:2770:1: ( ColonHyphenMinus )
+ // InternalSolverLanguageParser.g:2771:2: ColonHyphenMinus
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
- }
- match(input,46,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
+ match(input,ColonHyphenMinus,FOLLOW_2);
+ after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
}
@@ -9762,20 +8951,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__3"
- // InternalSolverLanguage.g:2701:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:2780:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl ;
public final void rule__PredicateDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2705:1: ( rule__PredicateDefinition__Group__3__Impl )
- // InternalSolverLanguage.g:2706:2: rule__PredicateDefinition__Group__3__Impl
+ // InternalSolverLanguageParser.g:2784:1: ( rule__PredicateDefinition__Group__3__Impl )
+ // InternalSolverLanguageParser.g:2785:2: rule__PredicateDefinition__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9795,36 +8984,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:2712:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:2791:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ;
public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2716:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) )
- // InternalSolverLanguage.g:2717:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) )
+ // InternalSolverLanguageParser.g:2795:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:2796:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) )
{
- // InternalSolverLanguage.g:2717:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) )
- // InternalSolverLanguage.g:2718:2: ( rule__PredicateDefinition__BodyAssignment_3 )
+ // InternalSolverLanguageParser.g:2796:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) )
+ // InternalSolverLanguageParser.g:2797:2: ( rule__PredicateDefinition__BodyAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3());
- }
- // InternalSolverLanguage.g:2719:2: ( rule__PredicateDefinition__BodyAssignment_3 )
- // InternalSolverLanguage.g:2719:3: rule__PredicateDefinition__BodyAssignment_3
+ before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3());
+ // InternalSolverLanguageParser.g:2798:2: ( rule__PredicateDefinition__BodyAssignment_3 )
+ // InternalSolverLanguageParser.g:2798:3: rule__PredicateDefinition__BodyAssignment_3
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__BodyAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3());
+
}
@@ -9846,25 +9031,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_0__0"
- // InternalSolverLanguage.g:2728:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ;
+ // InternalSolverLanguageParser.g:2807:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ;
public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2732:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 )
- // InternalSolverLanguage.g:2733:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1
+ // InternalSolverLanguageParser.g:2811:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 )
+ // InternalSolverLanguageParser.g:2812:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1
{
pushFollow(FOLLOW_10);
rule__PredicateDefinition__Group_0_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group_0_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9884,36 +9069,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl"
- // InternalSolverLanguage.g:2740:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ;
+ // InternalSolverLanguageParser.g:2819:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ;
public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2744:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) )
- // InternalSolverLanguage.g:2745:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) )
+ // InternalSolverLanguageParser.g:2823:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) )
+ // InternalSolverLanguageParser.g:2824:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) )
{
- // InternalSolverLanguage.g:2745:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) )
- // InternalSolverLanguage.g:2746:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 )
+ // InternalSolverLanguageParser.g:2824:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) )
+ // InternalSolverLanguageParser.g:2825:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0());
- }
- // InternalSolverLanguage.g:2747:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 )
- // InternalSolverLanguage.g:2747:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0
+ before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0());
+ // InternalSolverLanguageParser.g:2826:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 )
+ // InternalSolverLanguageParser.g:2826:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__FunctionalAssignment_0_0_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0());
+
}
@@ -9935,20 +9116,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_0__1"
- // InternalSolverLanguage.g:2755:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ;
+ // InternalSolverLanguageParser.g:2834:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ;
public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2759:1: ( rule__PredicateDefinition__Group_0_0__1__Impl )
- // InternalSolverLanguage.g:2760:2: rule__PredicateDefinition__Group_0_0__1__Impl
+ // InternalSolverLanguageParser.g:2838:1: ( rule__PredicateDefinition__Group_0_0__1__Impl )
+ // InternalSolverLanguageParser.g:2839:2: rule__PredicateDefinition__Group_0_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group_0_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -9968,46 +9149,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl"
- // InternalSolverLanguage.g:2766:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ;
+ // InternalSolverLanguageParser.g:2845:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ;
public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2770:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) )
- // InternalSolverLanguage.g:2771:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? )
+ // InternalSolverLanguageParser.g:2849:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) )
+ // InternalSolverLanguageParser.g:2850:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? )
{
- // InternalSolverLanguage.g:2771:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? )
- // InternalSolverLanguage.g:2772:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )?
+ // InternalSolverLanguageParser.g:2850:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? )
+ // InternalSolverLanguageParser.g:2851:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1());
- }
- // InternalSolverLanguage.g:2773:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )?
+ before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1());
+ // InternalSolverLanguageParser.g:2852:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )?
int alt28=2;
int LA28_0 = input.LA(1);
- if ( (LA28_0==42) ) {
+ if ( (LA28_0==Error) ) {
alt28=1;
}
switch (alt28) {
case 1 :
- // InternalSolverLanguage.g:2773:3: rule__PredicateDefinition__ErrorAssignment_0_0_1
+ // InternalSolverLanguageParser.g:2852:3: rule__PredicateDefinition__ErrorAssignment_0_0_1
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__ErrorAssignment_0_0_1();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1());
- }
+ after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1());
}
@@ -10030,25 +9207,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_1__0"
- // InternalSolverLanguage.g:2782:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ;
+ // InternalSolverLanguageParser.g:2861:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ;
public final void rule__PredicateDefinition__Group_0_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2786:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 )
- // InternalSolverLanguage.g:2787:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1
+ // InternalSolverLanguageParser.g:2865:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 )
+ // InternalSolverLanguageParser.g:2866:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1
{
pushFollow(FOLLOW_11);
rule__PredicateDefinition__Group_0_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group_0_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10068,36 +9245,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_1__0__Impl"
- // InternalSolverLanguage.g:2794:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ;
+ // InternalSolverLanguageParser.g:2873:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ;
public final void rule__PredicateDefinition__Group_0_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2798:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) )
- // InternalSolverLanguage.g:2799:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) )
+ // InternalSolverLanguageParser.g:2877:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) )
+ // InternalSolverLanguageParser.g:2878:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) )
{
- // InternalSolverLanguage.g:2799:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) )
- // InternalSolverLanguage.g:2800:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 )
+ // InternalSolverLanguageParser.g:2878:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) )
+ // InternalSolverLanguageParser.g:2879:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0());
- }
- // InternalSolverLanguage.g:2801:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 )
- // InternalSolverLanguage.g:2801:3: rule__PredicateDefinition__ErrorAssignment_0_1_0
+ before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0());
+ // InternalSolverLanguageParser.g:2880:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 )
+ // InternalSolverLanguageParser.g:2880:3: rule__PredicateDefinition__ErrorAssignment_0_1_0
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__ErrorAssignment_0_1_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0());
}
+ after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0());
+
}
@@ -10119,20 +9292,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_1__1"
- // InternalSolverLanguage.g:2809:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ;
+ // InternalSolverLanguageParser.g:2888:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ;
public final void rule__PredicateDefinition__Group_0_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2813:1: ( rule__PredicateDefinition__Group_0_1__1__Impl )
- // InternalSolverLanguage.g:2814:2: rule__PredicateDefinition__Group_0_1__1__Impl
+ // InternalSolverLanguageParser.g:2892:1: ( rule__PredicateDefinition__Group_0_1__1__Impl )
+ // InternalSolverLanguageParser.g:2893:2: rule__PredicateDefinition__Group_0_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__Group_0_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10152,46 +9325,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__Group_0_1__1__Impl"
- // InternalSolverLanguage.g:2820:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ;
+ // InternalSolverLanguageParser.g:2899:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ;
public final void rule__PredicateDefinition__Group_0_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2824:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) )
- // InternalSolverLanguage.g:2825:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? )
+ // InternalSolverLanguageParser.g:2903:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) )
+ // InternalSolverLanguageParser.g:2904:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? )
{
- // InternalSolverLanguage.g:2825:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? )
- // InternalSolverLanguage.g:2826:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )?
+ // InternalSolverLanguageParser.g:2904:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? )
+ // InternalSolverLanguageParser.g:2905:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1());
- }
- // InternalSolverLanguage.g:2827:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )?
+ before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1());
+ // InternalSolverLanguageParser.g:2906:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )?
int alt29=2;
int LA29_0 = input.LA(1);
- if ( (LA29_0==72) ) {
+ if ( (LA29_0==Functional) ) {
alt29=1;
}
switch (alt29) {
case 1 :
- // InternalSolverLanguage.g:2827:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1
+ // InternalSolverLanguageParser.g:2906:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1
{
pushFollow(FOLLOW_2);
rule__PredicateDefinition__FunctionalAssignment_0_1_1();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1());
- }
+ after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1());
}
@@ -10214,25 +9383,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0"
- // InternalSolverLanguage.g:2836:1: rule__UnnamedErrorPrediateDefinition__Group__0 : rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:2915:1: rule__UnnamedErrorPrediateDefinition__Group__0 : rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ;
public final void rule__UnnamedErrorPrediateDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2840:1: ( rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 )
- // InternalSolverLanguage.g:2841:2: rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1
+ // InternalSolverLanguageParser.g:2919:1: ( rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:2920:2: rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1
{
pushFollow(FOLLOW_12);
rule__UnnamedErrorPrediateDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10252,25 +9421,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:2848:1: rule__UnnamedErrorPrediateDefinition__Group__0__Impl : ( 'error' ) ;
+ // InternalSolverLanguageParser.g:2927:1: rule__UnnamedErrorPrediateDefinition__Group__0__Impl : ( Error ) ;
public final void rule__UnnamedErrorPrediateDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2852:1: ( ( 'error' ) )
- // InternalSolverLanguage.g:2853:1: ( 'error' )
+ // InternalSolverLanguageParser.g:2931:1: ( ( Error ) )
+ // InternalSolverLanguageParser.g:2932:1: ( Error )
{
- // InternalSolverLanguage.g:2853:1: ( 'error' )
- // InternalSolverLanguage.g:2854:2: 'error'
+ // InternalSolverLanguageParser.g:2932:1: ( Error )
+ // InternalSolverLanguageParser.g:2933:2: Error
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
- }
- match(input,42,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
- }
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
+ match(input,Error,FOLLOW_2);
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
}
@@ -10293,25 +9458,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1"
- // InternalSolverLanguage.g:2863:1: rule__UnnamedErrorPrediateDefinition__Group__1 : rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:2942:1: rule__UnnamedErrorPrediateDefinition__Group__1 : rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ;
public final void rule__UnnamedErrorPrediateDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2867:1: ( rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 )
- // InternalSolverLanguage.g:2868:2: rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2
+ // InternalSolverLanguageParser.g:2946:1: ( rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:2947:2: rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2
{
pushFollow(FOLLOW_8);
rule__UnnamedErrorPrediateDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10331,36 +9496,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:2875:1: rule__UnnamedErrorPrediateDefinition__Group__1__Impl : ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:2954:1: rule__UnnamedErrorPrediateDefinition__Group__1__Impl : ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ;
public final void rule__UnnamedErrorPrediateDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2879:1: ( ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) )
- // InternalSolverLanguage.g:2880:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) )
+ // InternalSolverLanguageParser.g:2958:1: ( ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:2959:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) )
{
- // InternalSolverLanguage.g:2880:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) )
- // InternalSolverLanguage.g:2881:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 )
+ // InternalSolverLanguageParser.g:2959:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) )
+ // InternalSolverLanguageParser.g:2960:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1());
- }
- // InternalSolverLanguage.g:2882:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 )
- // InternalSolverLanguage.g:2882:3: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1());
+ // InternalSolverLanguageParser.g:2961:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 )
+ // InternalSolverLanguageParser.g:2961:3: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1
{
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1());
}
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1());
+
}
@@ -10382,25 +9543,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2"
- // InternalSolverLanguage.g:2890:1: rule__UnnamedErrorPrediateDefinition__Group__2 : rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:2969:1: rule__UnnamedErrorPrediateDefinition__Group__2 : rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ;
public final void rule__UnnamedErrorPrediateDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2894:1: ( rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 )
- // InternalSolverLanguage.g:2895:2: rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3
+ // InternalSolverLanguageParser.g:2973:1: ( rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:2974:2: rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3
{
pushFollow(FOLLOW_7);
rule__UnnamedErrorPrediateDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10420,25 +9581,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:2902:1: rule__UnnamedErrorPrediateDefinition__Group__2__Impl : ( ':-' ) ;
+ // InternalSolverLanguageParser.g:2981:1: rule__UnnamedErrorPrediateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ;
public final void rule__UnnamedErrorPrediateDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2906:1: ( ( ':-' ) )
- // InternalSolverLanguage.g:2907:1: ( ':-' )
+ // InternalSolverLanguageParser.g:2985:1: ( ( ColonHyphenMinus ) )
+ // InternalSolverLanguageParser.g:2986:1: ( ColonHyphenMinus )
{
- // InternalSolverLanguage.g:2907:1: ( ':-' )
- // InternalSolverLanguage.g:2908:2: ':-'
+ // InternalSolverLanguageParser.g:2986:1: ( ColonHyphenMinus )
+ // InternalSolverLanguageParser.g:2987:2: ColonHyphenMinus
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
- }
- match(input,46,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
- }
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
+ match(input,ColonHyphenMinus,FOLLOW_2);
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
}
@@ -10461,20 +9618,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3"
- // InternalSolverLanguage.g:2917:1: rule__UnnamedErrorPrediateDefinition__Group__3 : rule__UnnamedErrorPrediateDefinition__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:2996:1: rule__UnnamedErrorPrediateDefinition__Group__3 : rule__UnnamedErrorPrediateDefinition__Group__3__Impl ;
public final void rule__UnnamedErrorPrediateDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2921:1: ( rule__UnnamedErrorPrediateDefinition__Group__3__Impl )
- // InternalSolverLanguage.g:2922:2: rule__UnnamedErrorPrediateDefinition__Group__3__Impl
+ // InternalSolverLanguageParser.g:3000:1: ( rule__UnnamedErrorPrediateDefinition__Group__3__Impl )
+ // InternalSolverLanguageParser.g:3001:2: rule__UnnamedErrorPrediateDefinition__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10494,36 +9651,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:2928:1: rule__UnnamedErrorPrediateDefinition__Group__3__Impl : ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:3007:1: rule__UnnamedErrorPrediateDefinition__Group__3__Impl : ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ;
public final void rule__UnnamedErrorPrediateDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2932:1: ( ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) )
- // InternalSolverLanguage.g:2933:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3011:1: ( ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:3012:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) )
{
- // InternalSolverLanguage.g:2933:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) )
- // InternalSolverLanguage.g:2934:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 )
+ // InternalSolverLanguageParser.g:3012:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3013:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3());
- }
- // InternalSolverLanguage.g:2935:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 )
- // InternalSolverLanguage.g:2935:3: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3());
+ // InternalSolverLanguageParser.g:3014:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 )
+ // InternalSolverLanguageParser.g:3014:3: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3
{
pushFollow(FOLLOW_2);
rule__UnnamedErrorPrediateDefinition__BodyAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3());
}
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3());
+
}
@@ -10545,25 +9698,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__0"
- // InternalSolverLanguage.g:2944:1: rule__DefaultDefinition__Group__0 : rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:3023:1: rule__DefaultDefinition__Group__0 : rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ;
public final void rule__DefaultDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2948:1: ( rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 )
- // InternalSolverLanguage.g:2949:2: rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1
+ // InternalSolverLanguageParser.g:3027:1: ( rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:3028:2: rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1
{
pushFollow(FOLLOW_9);
rule__DefaultDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DefaultDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10583,25 +9736,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:2956:1: rule__DefaultDefinition__Group__0__Impl : ( 'default' ) ;
+ // InternalSolverLanguageParser.g:3035:1: rule__DefaultDefinition__Group__0__Impl : ( Default ) ;
public final void rule__DefaultDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2960:1: ( ( 'default' ) )
- // InternalSolverLanguage.g:2961:1: ( 'default' )
+ // InternalSolverLanguageParser.g:3039:1: ( ( Default ) )
+ // InternalSolverLanguageParser.g:3040:1: ( Default )
{
- // InternalSolverLanguage.g:2961:1: ( 'default' )
- // InternalSolverLanguage.g:2962:2: 'default'
+ // InternalSolverLanguageParser.g:3040:1: ( Default )
+ // InternalSolverLanguageParser.g:3041:2: Default
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
- }
- match(input,48,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
- }
+ before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
+ match(input,Default,FOLLOW_2);
+ after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
}
@@ -10624,25 +9773,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__1"
- // InternalSolverLanguage.g:2971:1: rule__DefaultDefinition__Group__1 : rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:3050:1: rule__DefaultDefinition__Group__1 : rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ;
public final void rule__DefaultDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2975:1: ( rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 )
- // InternalSolverLanguage.g:2976:2: rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2
+ // InternalSolverLanguageParser.g:3054:1: ( rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:3055:2: rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2
{
pushFollow(FOLLOW_6);
rule__DefaultDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DefaultDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10662,36 +9811,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:2983:1: rule__DefaultDefinition__Group__1__Impl : ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:3062:1: rule__DefaultDefinition__Group__1__Impl : ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ;
public final void rule__DefaultDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:2987:1: ( ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) )
- // InternalSolverLanguage.g:2988:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3066:1: ( ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:3067:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) )
{
- // InternalSolverLanguage.g:2988:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) )
- // InternalSolverLanguage.g:2989:2: ( rule__DefaultDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:3067:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3068:2: ( rule__DefaultDefinition__HeadAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1());
- }
- // InternalSolverLanguage.g:2990:2: ( rule__DefaultDefinition__HeadAssignment_1 )
- // InternalSolverLanguage.g:2990:3: rule__DefaultDefinition__HeadAssignment_1
+ before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1());
+ // InternalSolverLanguageParser.g:3069:2: ( rule__DefaultDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:3069:3: rule__DefaultDefinition__HeadAssignment_1
{
pushFollow(FOLLOW_2);
rule__DefaultDefinition__HeadAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1());
}
+ after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1());
+
}
@@ -10713,25 +9858,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__2"
- // InternalSolverLanguage.g:2998:1: rule__DefaultDefinition__Group__2 : rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:3077:1: rule__DefaultDefinition__Group__2 : rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ;
public final void rule__DefaultDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3002:1: ( rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 )
- // InternalSolverLanguage.g:3003:2: rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3
+ // InternalSolverLanguageParser.g:3081:1: ( rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:3082:2: rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3
{
pushFollow(FOLLOW_7);
rule__DefaultDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DefaultDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10751,25 +9896,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:3010:1: rule__DefaultDefinition__Group__2__Impl : ( ':' ) ;
+ // InternalSolverLanguageParser.g:3089:1: rule__DefaultDefinition__Group__2__Impl : ( Colon ) ;
public final void rule__DefaultDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3014:1: ( ( ':' ) )
- // InternalSolverLanguage.g:3015:1: ( ':' )
+ // InternalSolverLanguageParser.g:3093:1: ( ( Colon ) )
+ // InternalSolverLanguageParser.g:3094:1: ( Colon )
{
- // InternalSolverLanguage.g:3015:1: ( ':' )
- // InternalSolverLanguage.g:3016:2: ':'
+ // InternalSolverLanguageParser.g:3094:1: ( Colon )
+ // InternalSolverLanguageParser.g:3095:2: Colon
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
- }
- match(input,45,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
- }
+ before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
+ match(input,Colon,FOLLOW_2);
+ after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
}
@@ -10792,20 +9933,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__3"
- // InternalSolverLanguage.g:3025:1: rule__DefaultDefinition__Group__3 : rule__DefaultDefinition__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:3104:1: rule__DefaultDefinition__Group__3 : rule__DefaultDefinition__Group__3__Impl ;
public final void rule__DefaultDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3029:1: ( rule__DefaultDefinition__Group__3__Impl )
- // InternalSolverLanguage.g:3030:2: rule__DefaultDefinition__Group__3__Impl
+ // InternalSolverLanguageParser.g:3108:1: ( rule__DefaultDefinition__Group__3__Impl )
+ // InternalSolverLanguageParser.g:3109:2: rule__DefaultDefinition__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__DefaultDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10825,36 +9966,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:3036:1: rule__DefaultDefinition__Group__3__Impl : ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:3115:1: rule__DefaultDefinition__Group__3__Impl : ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ;
public final void rule__DefaultDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3040:1: ( ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) )
- // InternalSolverLanguage.g:3041:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3119:1: ( ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:3120:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) )
{
- // InternalSolverLanguage.g:3041:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) )
- // InternalSolverLanguage.g:3042:2: ( rule__DefaultDefinition__RangeAssignment_3 )
+ // InternalSolverLanguageParser.g:3120:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3121:2: ( rule__DefaultDefinition__RangeAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3());
- }
- // InternalSolverLanguage.g:3043:2: ( rule__DefaultDefinition__RangeAssignment_3 )
- // InternalSolverLanguage.g:3043:3: rule__DefaultDefinition__RangeAssignment_3
+ before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3());
+ // InternalSolverLanguageParser.g:3122:2: ( rule__DefaultDefinition__RangeAssignment_3 )
+ // InternalSolverLanguageParser.g:3122:3: rule__DefaultDefinition__RangeAssignment_3
{
pushFollow(FOLLOW_2);
rule__DefaultDefinition__RangeAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3());
}
+ after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3());
+
}
@@ -10876,25 +10013,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternPredicateDefinition__Group__0"
- // InternalSolverLanguage.g:3052:1: rule__ExternPredicateDefinition__Group__0 : rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:3131:1: rule__ExternPredicateDefinition__Group__0 : rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ;
public final void rule__ExternPredicateDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3056:1: ( rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 )
- // InternalSolverLanguage.g:3057:2: rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1
+ // InternalSolverLanguageParser.g:3135:1: ( rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:3136:2: rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1
{
pushFollow(FOLLOW_9);
rule__ExternPredicateDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExternPredicateDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -10914,25 +10051,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternPredicateDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:3064:1: rule__ExternPredicateDefinition__Group__0__Impl : ( 'extern' ) ;
+ // InternalSolverLanguageParser.g:3143:1: rule__ExternPredicateDefinition__Group__0__Impl : ( Extern ) ;
public final void rule__ExternPredicateDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3068:1: ( ( 'extern' ) )
- // InternalSolverLanguage.g:3069:1: ( 'extern' )
+ // InternalSolverLanguageParser.g:3147:1: ( ( Extern ) )
+ // InternalSolverLanguageParser.g:3148:1: ( Extern )
{
- // InternalSolverLanguage.g:3069:1: ( 'extern' )
- // InternalSolverLanguage.g:3070:2: 'extern'
+ // InternalSolverLanguageParser.g:3148:1: ( Extern )
+ // InternalSolverLanguageParser.g:3149:2: Extern
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
- }
- match(input,49,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
- }
+ before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
+ match(input,Extern,FOLLOW_2);
+ after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
}
@@ -10955,25 +10088,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternPredicateDefinition__Group__1"
- // InternalSolverLanguage.g:3079:1: rule__ExternPredicateDefinition__Group__1 : rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:3158:1: rule__ExternPredicateDefinition__Group__1 : rule__ExternPredicateDefinition__Group__1__Impl ;
public final void rule__ExternPredicateDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3083:1: ( rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 )
- // InternalSolverLanguage.g:3084:2: rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2
+ // InternalSolverLanguageParser.g:3162:1: ( rule__ExternPredicateDefinition__Group__1__Impl )
+ // InternalSolverLanguageParser.g:3163:2: rule__ExternPredicateDefinition__Group__1__Impl
{
- pushFollow(FOLLOW_13);
+ pushFollow(FOLLOW_2);
rule__ExternPredicateDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__ExternPredicateDefinition__Group__2();
- state._fsp--;
- if (state.failed) return ;
}
@@ -10993,36 +10121,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternPredicateDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:3091:1: rule__ExternPredicateDefinition__Group__1__Impl : ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:3169:1: rule__ExternPredicateDefinition__Group__1__Impl : ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) ;
public final void rule__ExternPredicateDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3095:1: ( ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) )
- // InternalSolverLanguage.g:3096:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3173:1: ( ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:3174:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) )
{
- // InternalSolverLanguage.g:3096:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) )
- // InternalSolverLanguage.g:3097:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:3174:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3175:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1());
- }
- // InternalSolverLanguage.g:3098:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 )
- // InternalSolverLanguage.g:3098:3: rule__ExternPredicateDefinition__HeadAssignment_1
+ before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1());
+ // InternalSolverLanguageParser.g:3176:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:3176:3: rule__ExternPredicateDefinition__HeadAssignment_1
{
pushFollow(FOLLOW_2);
rule__ExternPredicateDefinition__HeadAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1());
}
+ after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1());
+
}
@@ -11043,21 +10167,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rule__ExternPredicateDefinition__Group__1__Impl"
- // $ANTLR start "rule__ExternPredicateDefinition__Group__2"
- // InternalSolverLanguage.g:3106:1: rule__ExternPredicateDefinition__Group__2 : rule__ExternPredicateDefinition__Group__2__Impl ;
- public final void rule__ExternPredicateDefinition__Group__2() throws RecognitionException {
+ // $ANTLR start "rule__MetricDefinition__Group__0"
+ // InternalSolverLanguageParser.g:3185:1: rule__MetricDefinition__Group__0 : rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ;
+ public final void rule__MetricDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3110:1: ( rule__ExternPredicateDefinition__Group__2__Impl )
- // InternalSolverLanguage.g:3111:2: rule__ExternPredicateDefinition__Group__2__Impl
+ // InternalSolverLanguageParser.g:3189:1: ( rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:3190:2: rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1
{
+ pushFollow(FOLLOW_7);
+ rule__MetricDefinition__Group__0__Impl();
+
+ state._fsp--;
+
pushFollow(FOLLOW_2);
- rule__ExternPredicateDefinition__Group__2__Impl();
+ rule__MetricDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11073,118 +10202,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__ExternPredicateDefinition__Group__2"
+ // $ANTLR end "rule__MetricDefinition__Group__0"
- // $ANTLR start "rule__ExternPredicateDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:3117:1: rule__ExternPredicateDefinition__Group__2__Impl : ( '.' ) ;
- public final void rule__ExternPredicateDefinition__Group__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__MetricDefinition__Group__0__Impl"
+ // InternalSolverLanguageParser.g:3197:1: rule__MetricDefinition__Group__0__Impl : ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ;
+ public final void rule__MetricDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3121:1: ( ( '.' ) )
- // InternalSolverLanguage.g:3122:1: ( '.' )
+ // InternalSolverLanguageParser.g:3201:1: ( ( ( rule__MetricDefinition__TypeAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:3202:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) )
{
- // InternalSolverLanguage.g:3122:1: ( '.' )
- // InternalSolverLanguage.g:3123:2: '.'
+ // InternalSolverLanguageParser.g:3202:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) )
+ // InternalSolverLanguageParser.g:3203:2: ( rule__MetricDefinition__TypeAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2());
- }
- match(input,50,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2());
- }
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__ExternPredicateDefinition__Group__2__Impl"
-
-
- // $ANTLR start "rule__MetricDefinition__Group__0"
- // InternalSolverLanguage.g:3133:1: rule__MetricDefinition__Group__0 : rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ;
- public final void rule__MetricDefinition__Group__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:3137:1: ( rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 )
- // InternalSolverLanguage.g:3138:2: rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1
- {
- pushFollow(FOLLOW_7);
- rule__MetricDefinition__Group__0__Impl();
-
- state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__MetricDefinition__Group__1();
+ before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0());
+ // InternalSolverLanguageParser.g:3204:2: ( rule__MetricDefinition__TypeAssignment_0 )
+ // InternalSolverLanguageParser.g:3204:3: rule__MetricDefinition__TypeAssignment_0
+ {
+ pushFollow(FOLLOW_2);
+ rule__MetricDefinition__TypeAssignment_0();
state._fsp--;
- if (state.failed) return ;
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__MetricDefinition__Group__0"
- // $ANTLR start "rule__MetricDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:3145:1: rule__MetricDefinition__Group__0__Impl : ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ;
- public final void rule__MetricDefinition__Group__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:3149:1: ( ( ( rule__MetricDefinition__TypeAssignment_0 ) ) )
- // InternalSolverLanguage.g:3150:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) )
- {
- // InternalSolverLanguage.g:3150:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) )
- // InternalSolverLanguage.g:3151:2: ( rule__MetricDefinition__TypeAssignment_0 )
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0());
- }
- // InternalSolverLanguage.g:3152:2: ( rule__MetricDefinition__TypeAssignment_0 )
- // InternalSolverLanguage.g:3152:3: rule__MetricDefinition__TypeAssignment_0
- {
- pushFollow(FOLLOW_2);
- rule__MetricDefinition__TypeAssignment_0();
-
- state._fsp--;
- if (state.failed) return ;
-
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0());
- }
+ after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0());
}
@@ -11207,25 +10253,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__Group__1"
- // InternalSolverLanguage.g:3160:1: rule__MetricDefinition__Group__1 : rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:3212:1: rule__MetricDefinition__Group__1 : rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ;
public final void rule__MetricDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3164:1: ( rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 )
- // InternalSolverLanguage.g:3165:2: rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2
+ // InternalSolverLanguageParser.g:3216:1: ( rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:3217:2: rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2
{
- pushFollow(FOLLOW_14);
+ pushFollow(FOLLOW_13);
rule__MetricDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MetricDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11245,36 +10291,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:3172:1: rule__MetricDefinition__Group__1__Impl : ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:3224:1: rule__MetricDefinition__Group__1__Impl : ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ;
public final void rule__MetricDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3176:1: ( ( ( rule__MetricDefinition__HeadAssignment_1 ) ) )
- // InternalSolverLanguage.g:3177:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3228:1: ( ( ( rule__MetricDefinition__HeadAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:3229:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) )
{
- // InternalSolverLanguage.g:3177:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) )
- // InternalSolverLanguage.g:3178:2: ( rule__MetricDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:3229:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3230:2: ( rule__MetricDefinition__HeadAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1());
- }
- // InternalSolverLanguage.g:3179:2: ( rule__MetricDefinition__HeadAssignment_1 )
- // InternalSolverLanguage.g:3179:3: rule__MetricDefinition__HeadAssignment_1
+ before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1());
+ // InternalSolverLanguageParser.g:3231:2: ( rule__MetricDefinition__HeadAssignment_1 )
+ // InternalSolverLanguageParser.g:3231:3: rule__MetricDefinition__HeadAssignment_1
{
pushFollow(FOLLOW_2);
rule__MetricDefinition__HeadAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1());
}
+ after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1());
+
}
@@ -11296,25 +10338,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__Group__2"
- // InternalSolverLanguage.g:3187:1: rule__MetricDefinition__Group__2 : rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:3239:1: rule__MetricDefinition__Group__2 : rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ;
public final void rule__MetricDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3191:1: ( rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 )
- // InternalSolverLanguage.g:3192:2: rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3
+ // InternalSolverLanguageParser.g:3243:1: ( rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:3244:2: rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3
{
pushFollow(FOLLOW_7);
rule__MetricDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MetricDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11334,25 +10376,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:3199:1: rule__MetricDefinition__Group__2__Impl : ( '=' ) ;
+ // InternalSolverLanguageParser.g:3251:1: rule__MetricDefinition__Group__2__Impl : ( EqualsSign ) ;
public final void rule__MetricDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3203:1: ( ( '=' ) )
- // InternalSolverLanguage.g:3204:1: ( '=' )
+ // InternalSolverLanguageParser.g:3255:1: ( ( EqualsSign ) )
+ // InternalSolverLanguageParser.g:3256:1: ( EqualsSign )
{
- // InternalSolverLanguage.g:3204:1: ( '=' )
- // InternalSolverLanguage.g:3205:2: '='
+ // InternalSolverLanguageParser.g:3256:1: ( EqualsSign )
+ // InternalSolverLanguageParser.g:3257:2: EqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
- }
- match(input,47,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
- }
+ before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
+ match(input,EqualsSign,FOLLOW_2);
+ after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
}
@@ -11375,20 +10413,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__Group__3"
- // InternalSolverLanguage.g:3214:1: rule__MetricDefinition__Group__3 : rule__MetricDefinition__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:3266:1: rule__MetricDefinition__Group__3 : rule__MetricDefinition__Group__3__Impl ;
public final void rule__MetricDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3218:1: ( rule__MetricDefinition__Group__3__Impl )
- // InternalSolverLanguage.g:3219:2: rule__MetricDefinition__Group__3__Impl
+ // InternalSolverLanguageParser.g:3270:1: ( rule__MetricDefinition__Group__3__Impl )
+ // InternalSolverLanguageParser.g:3271:2: rule__MetricDefinition__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__MetricDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11408,36 +10446,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:3225:1: rule__MetricDefinition__Group__3__Impl : ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:3277:1: rule__MetricDefinition__Group__3__Impl : ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ;
public final void rule__MetricDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3229:1: ( ( ( rule__MetricDefinition__BodyAssignment_3 ) ) )
- // InternalSolverLanguage.g:3230:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3281:1: ( ( ( rule__MetricDefinition__BodyAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:3282:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) )
{
- // InternalSolverLanguage.g:3230:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) )
- // InternalSolverLanguage.g:3231:2: ( rule__MetricDefinition__BodyAssignment_3 )
+ // InternalSolverLanguageParser.g:3282:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3283:2: ( rule__MetricDefinition__BodyAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3());
- }
- // InternalSolverLanguage.g:3232:2: ( rule__MetricDefinition__BodyAssignment_3 )
- // InternalSolverLanguage.g:3232:3: rule__MetricDefinition__BodyAssignment_3
+ before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3());
+ // InternalSolverLanguageParser.g:3284:2: ( rule__MetricDefinition__BodyAssignment_3 )
+ // InternalSolverLanguageParser.g:3284:3: rule__MetricDefinition__BodyAssignment_3
{
pushFollow(FOLLOW_2);
rule__MetricDefinition__BodyAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3());
}
+ after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3());
+
}
@@ -11459,25 +10493,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__Group__0"
- // InternalSolverLanguage.g:3241:1: rule__ExternMetricDefinition__Group__0 : rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:3293:1: rule__ExternMetricDefinition__Group__0 : rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ;
public final void rule__ExternMetricDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3245:1: ( rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 )
- // InternalSolverLanguage.g:3246:2: rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1
+ // InternalSolverLanguageParser.g:3297:1: ( rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:3298:2: rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1
{
- pushFollow(FOLLOW_15);
+ pushFollow(FOLLOW_14);
rule__ExternMetricDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExternMetricDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11497,25 +10531,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:3253:1: rule__ExternMetricDefinition__Group__0__Impl : ( 'extern' ) ;
+ // InternalSolverLanguageParser.g:3305:1: rule__ExternMetricDefinition__Group__0__Impl : ( Extern ) ;
public final void rule__ExternMetricDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3257:1: ( ( 'extern' ) )
- // InternalSolverLanguage.g:3258:1: ( 'extern' )
+ // InternalSolverLanguageParser.g:3309:1: ( ( Extern ) )
+ // InternalSolverLanguageParser.g:3310:1: ( Extern )
{
- // InternalSolverLanguage.g:3258:1: ( 'extern' )
- // InternalSolverLanguage.g:3259:2: 'extern'
+ // InternalSolverLanguageParser.g:3310:1: ( Extern )
+ // InternalSolverLanguageParser.g:3311:2: Extern
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
- }
- match(input,49,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
- }
+ before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
+ match(input,Extern,FOLLOW_2);
+ after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
}
@@ -11538,25 +10568,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__Group__1"
- // InternalSolverLanguage.g:3268:1: rule__ExternMetricDefinition__Group__1 : rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:3320:1: rule__ExternMetricDefinition__Group__1 : rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ;
public final void rule__ExternMetricDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3272:1: ( rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 )
- // InternalSolverLanguage.g:3273:2: rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2
+ // InternalSolverLanguageParser.g:3324:1: ( rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:3325:2: rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2
{
pushFollow(FOLLOW_9);
rule__ExternMetricDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExternMetricDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11576,36 +10606,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:3280:1: rule__ExternMetricDefinition__Group__1__Impl : ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:3332:1: rule__ExternMetricDefinition__Group__1__Impl : ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ;
public final void rule__ExternMetricDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3284:1: ( ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) )
- // InternalSolverLanguage.g:3285:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3336:1: ( ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:3337:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) )
{
- // InternalSolverLanguage.g:3285:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) )
- // InternalSolverLanguage.g:3286:2: ( rule__ExternMetricDefinition__TypeAssignment_1 )
+ // InternalSolverLanguageParser.g:3337:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3338:2: ( rule__ExternMetricDefinition__TypeAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1());
- }
- // InternalSolverLanguage.g:3287:2: ( rule__ExternMetricDefinition__TypeAssignment_1 )
- // InternalSolverLanguage.g:3287:3: rule__ExternMetricDefinition__TypeAssignment_1
+ before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1());
+ // InternalSolverLanguageParser.g:3339:2: ( rule__ExternMetricDefinition__TypeAssignment_1 )
+ // InternalSolverLanguageParser.g:3339:3: rule__ExternMetricDefinition__TypeAssignment_1
{
pushFollow(FOLLOW_2);
rule__ExternMetricDefinition__TypeAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1());
}
+ after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1());
+
}
@@ -11627,20 +10653,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__Group__2"
- // InternalSolverLanguage.g:3295:1: rule__ExternMetricDefinition__Group__2 : rule__ExternMetricDefinition__Group__2__Impl ;
+ // InternalSolverLanguageParser.g:3347:1: rule__ExternMetricDefinition__Group__2 : rule__ExternMetricDefinition__Group__2__Impl ;
public final void rule__ExternMetricDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3299:1: ( rule__ExternMetricDefinition__Group__2__Impl )
- // InternalSolverLanguage.g:3300:2: rule__ExternMetricDefinition__Group__2__Impl
+ // InternalSolverLanguageParser.g:3351:1: ( rule__ExternMetricDefinition__Group__2__Impl )
+ // InternalSolverLanguageParser.g:3352:2: rule__ExternMetricDefinition__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__ExternMetricDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11660,36 +10686,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:3306:1: rule__ExternMetricDefinition__Group__2__Impl : ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) ;
+ // InternalSolverLanguageParser.g:3358:1: rule__ExternMetricDefinition__Group__2__Impl : ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) ;
public final void rule__ExternMetricDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3310:1: ( ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) )
- // InternalSolverLanguage.g:3311:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) )
+ // InternalSolverLanguageParser.g:3362:1: ( ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) )
+ // InternalSolverLanguageParser.g:3363:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) )
{
- // InternalSolverLanguage.g:3311:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) )
- // InternalSolverLanguage.g:3312:2: ( rule__ExternMetricDefinition__HeadAssignment_2 )
+ // InternalSolverLanguageParser.g:3363:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) )
+ // InternalSolverLanguageParser.g:3364:2: ( rule__ExternMetricDefinition__HeadAssignment_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2());
- }
- // InternalSolverLanguage.g:3313:2: ( rule__ExternMetricDefinition__HeadAssignment_2 )
- // InternalSolverLanguage.g:3313:3: rule__ExternMetricDefinition__HeadAssignment_2
+ before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2());
+ // InternalSolverLanguageParser.g:3365:2: ( rule__ExternMetricDefinition__HeadAssignment_2 )
+ // InternalSolverLanguageParser.g:3365:3: rule__ExternMetricDefinition__HeadAssignment_2
{
pushFollow(FOLLOW_2);
rule__ExternMetricDefinition__HeadAssignment_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2());
}
+ after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2());
+
}
@@ -11711,25 +10733,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__0"
- // InternalSolverLanguage.g:3322:1: rule__IfElse__Group__0 : rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ;
+ // InternalSolverLanguageParser.g:3374:1: rule__IfElse__Group__0 : rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ;
public final void rule__IfElse__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3326:1: ( rule__IfElse__Group__0__Impl rule__IfElse__Group__1 )
- // InternalSolverLanguage.g:3327:2: rule__IfElse__Group__0__Impl rule__IfElse__Group__1
+ // InternalSolverLanguageParser.g:3378:1: ( rule__IfElse__Group__0__Impl rule__IfElse__Group__1 )
+ // InternalSolverLanguageParser.g:3379:2: rule__IfElse__Group__0__Impl rule__IfElse__Group__1
{
pushFollow(FOLLOW_7);
rule__IfElse__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__IfElse__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11749,25 +10771,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__0__Impl"
- // InternalSolverLanguage.g:3334:1: rule__IfElse__Group__0__Impl : ( 'if' ) ;
+ // InternalSolverLanguageParser.g:3386:1: rule__IfElse__Group__0__Impl : ( If ) ;
public final void rule__IfElse__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3338:1: ( ( 'if' ) )
- // InternalSolverLanguage.g:3339:1: ( 'if' )
+ // InternalSolverLanguageParser.g:3390:1: ( ( If ) )
+ // InternalSolverLanguageParser.g:3391:1: ( If )
{
- // InternalSolverLanguage.g:3339:1: ( 'if' )
- // InternalSolverLanguage.g:3340:2: 'if'
+ // InternalSolverLanguageParser.g:3391:1: ( If )
+ // InternalSolverLanguageParser.g:3392:2: If
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getIfKeyword_0());
- }
- match(input,51,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getIfKeyword_0());
- }
+ before(grammarAccess.getIfElseAccess().getIfKeyword_0());
+ match(input,If,FOLLOW_2);
+ after(grammarAccess.getIfElseAccess().getIfKeyword_0());
}
@@ -11790,25 +10808,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__1"
- // InternalSolverLanguage.g:3349:1: rule__IfElse__Group__1 : rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ;
+ // InternalSolverLanguageParser.g:3401:1: rule__IfElse__Group__1 : rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ;
public final void rule__IfElse__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3353:1: ( rule__IfElse__Group__1__Impl rule__IfElse__Group__2 )
- // InternalSolverLanguage.g:3354:2: rule__IfElse__Group__1__Impl rule__IfElse__Group__2
+ // InternalSolverLanguageParser.g:3405:1: ( rule__IfElse__Group__1__Impl rule__IfElse__Group__2 )
+ // InternalSolverLanguageParser.g:3406:2: rule__IfElse__Group__1__Impl rule__IfElse__Group__2
{
- pushFollow(FOLLOW_16);
+ pushFollow(FOLLOW_15);
rule__IfElse__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__IfElse__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11828,36 +10846,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__1__Impl"
- // InternalSolverLanguage.g:3361:1: rule__IfElse__Group__1__Impl : ( ( rule__IfElse__ConditionAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:3413:1: rule__IfElse__Group__1__Impl : ( ( rule__IfElse__ConditionAssignment_1 ) ) ;
public final void rule__IfElse__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3365:1: ( ( ( rule__IfElse__ConditionAssignment_1 ) ) )
- // InternalSolverLanguage.g:3366:1: ( ( rule__IfElse__ConditionAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3417:1: ( ( ( rule__IfElse__ConditionAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:3418:1: ( ( rule__IfElse__ConditionAssignment_1 ) )
{
- // InternalSolverLanguage.g:3366:1: ( ( rule__IfElse__ConditionAssignment_1 ) )
- // InternalSolverLanguage.g:3367:2: ( rule__IfElse__ConditionAssignment_1 )
+ // InternalSolverLanguageParser.g:3418:1: ( ( rule__IfElse__ConditionAssignment_1 ) )
+ // InternalSolverLanguageParser.g:3419:2: ( rule__IfElse__ConditionAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getConditionAssignment_1());
- }
- // InternalSolverLanguage.g:3368:2: ( rule__IfElse__ConditionAssignment_1 )
- // InternalSolverLanguage.g:3368:3: rule__IfElse__ConditionAssignment_1
+ before(grammarAccess.getIfElseAccess().getConditionAssignment_1());
+ // InternalSolverLanguageParser.g:3420:2: ( rule__IfElse__ConditionAssignment_1 )
+ // InternalSolverLanguageParser.g:3420:3: rule__IfElse__ConditionAssignment_1
{
pushFollow(FOLLOW_2);
rule__IfElse__ConditionAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getConditionAssignment_1());
}
+ after(grammarAccess.getIfElseAccess().getConditionAssignment_1());
+
}
@@ -11879,25 +10893,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__2"
- // InternalSolverLanguage.g:3376:1: rule__IfElse__Group__2 : rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ;
+ // InternalSolverLanguageParser.g:3428:1: rule__IfElse__Group__2 : rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ;
public final void rule__IfElse__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3380:1: ( rule__IfElse__Group__2__Impl rule__IfElse__Group__3 )
- // InternalSolverLanguage.g:3381:2: rule__IfElse__Group__2__Impl rule__IfElse__Group__3
+ // InternalSolverLanguageParser.g:3432:1: ( rule__IfElse__Group__2__Impl rule__IfElse__Group__3 )
+ // InternalSolverLanguageParser.g:3433:2: rule__IfElse__Group__2__Impl rule__IfElse__Group__3
{
pushFollow(FOLLOW_7);
rule__IfElse__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__IfElse__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11917,25 +10931,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__2__Impl"
- // InternalSolverLanguage.g:3388:1: rule__IfElse__Group__2__Impl : ( 'then' ) ;
+ // InternalSolverLanguageParser.g:3440:1: rule__IfElse__Group__2__Impl : ( Then ) ;
public final void rule__IfElse__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3392:1: ( ( 'then' ) )
- // InternalSolverLanguage.g:3393:1: ( 'then' )
+ // InternalSolverLanguageParser.g:3444:1: ( ( Then ) )
+ // InternalSolverLanguageParser.g:3445:1: ( Then )
{
- // InternalSolverLanguage.g:3393:1: ( 'then' )
- // InternalSolverLanguage.g:3394:2: 'then'
+ // InternalSolverLanguageParser.g:3445:1: ( Then )
+ // InternalSolverLanguageParser.g:3446:2: Then
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getThenKeyword_2());
- }
- match(input,52,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getThenKeyword_2());
- }
+ before(grammarAccess.getIfElseAccess().getThenKeyword_2());
+ match(input,Then,FOLLOW_2);
+ after(grammarAccess.getIfElseAccess().getThenKeyword_2());
}
@@ -11958,25 +10968,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__3"
- // InternalSolverLanguage.g:3403:1: rule__IfElse__Group__3 : rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ;
+ // InternalSolverLanguageParser.g:3455:1: rule__IfElse__Group__3 : rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ;
public final void rule__IfElse__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3407:1: ( rule__IfElse__Group__3__Impl rule__IfElse__Group__4 )
- // InternalSolverLanguage.g:3408:2: rule__IfElse__Group__3__Impl rule__IfElse__Group__4
+ // InternalSolverLanguageParser.g:3459:1: ( rule__IfElse__Group__3__Impl rule__IfElse__Group__4 )
+ // InternalSolverLanguageParser.g:3460:2: rule__IfElse__Group__3__Impl rule__IfElse__Group__4
{
- pushFollow(FOLLOW_17);
+ pushFollow(FOLLOW_16);
rule__IfElse__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__IfElse__Group__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -11996,36 +11006,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__3__Impl"
- // InternalSolverLanguage.g:3415:1: rule__IfElse__Group__3__Impl : ( ( rule__IfElse__ThenAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:3467:1: rule__IfElse__Group__3__Impl : ( ( rule__IfElse__ThenAssignment_3 ) ) ;
public final void rule__IfElse__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3419:1: ( ( ( rule__IfElse__ThenAssignment_3 ) ) )
- // InternalSolverLanguage.g:3420:1: ( ( rule__IfElse__ThenAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3471:1: ( ( ( rule__IfElse__ThenAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:3472:1: ( ( rule__IfElse__ThenAssignment_3 ) )
{
- // InternalSolverLanguage.g:3420:1: ( ( rule__IfElse__ThenAssignment_3 ) )
- // InternalSolverLanguage.g:3421:2: ( rule__IfElse__ThenAssignment_3 )
+ // InternalSolverLanguageParser.g:3472:1: ( ( rule__IfElse__ThenAssignment_3 ) )
+ // InternalSolverLanguageParser.g:3473:2: ( rule__IfElse__ThenAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getThenAssignment_3());
- }
- // InternalSolverLanguage.g:3422:2: ( rule__IfElse__ThenAssignment_3 )
- // InternalSolverLanguage.g:3422:3: rule__IfElse__ThenAssignment_3
+ before(grammarAccess.getIfElseAccess().getThenAssignment_3());
+ // InternalSolverLanguageParser.g:3474:2: ( rule__IfElse__ThenAssignment_3 )
+ // InternalSolverLanguageParser.g:3474:3: rule__IfElse__ThenAssignment_3
{
pushFollow(FOLLOW_2);
rule__IfElse__ThenAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getThenAssignment_3());
}
+ after(grammarAccess.getIfElseAccess().getThenAssignment_3());
+
}
@@ -12047,25 +11053,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__4"
- // InternalSolverLanguage.g:3430:1: rule__IfElse__Group__4 : rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ;
+ // InternalSolverLanguageParser.g:3482:1: rule__IfElse__Group__4 : rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ;
public final void rule__IfElse__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3434:1: ( rule__IfElse__Group__4__Impl rule__IfElse__Group__5 )
- // InternalSolverLanguage.g:3435:2: rule__IfElse__Group__4__Impl rule__IfElse__Group__5
+ // InternalSolverLanguageParser.g:3486:1: ( rule__IfElse__Group__4__Impl rule__IfElse__Group__5 )
+ // InternalSolverLanguageParser.g:3487:2: rule__IfElse__Group__4__Impl rule__IfElse__Group__5
{
pushFollow(FOLLOW_7);
rule__IfElse__Group__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__IfElse__Group__5();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12085,25 +11091,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__4__Impl"
- // InternalSolverLanguage.g:3442:1: rule__IfElse__Group__4__Impl : ( 'else' ) ;
+ // InternalSolverLanguageParser.g:3494:1: rule__IfElse__Group__4__Impl : ( Else ) ;
public final void rule__IfElse__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3446:1: ( ( 'else' ) )
- // InternalSolverLanguage.g:3447:1: ( 'else' )
+ // InternalSolverLanguageParser.g:3498:1: ( ( Else ) )
+ // InternalSolverLanguageParser.g:3499:1: ( Else )
{
- // InternalSolverLanguage.g:3447:1: ( 'else' )
- // InternalSolverLanguage.g:3448:2: 'else'
+ // InternalSolverLanguageParser.g:3499:1: ( Else )
+ // InternalSolverLanguageParser.g:3500:2: Else
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getElseKeyword_4());
- }
- match(input,53,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getElseKeyword_4());
- }
+ before(grammarAccess.getIfElseAccess().getElseKeyword_4());
+ match(input,Else,FOLLOW_2);
+ after(grammarAccess.getIfElseAccess().getElseKeyword_4());
}
@@ -12126,20 +11128,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__5"
- // InternalSolverLanguage.g:3457:1: rule__IfElse__Group__5 : rule__IfElse__Group__5__Impl ;
+ // InternalSolverLanguageParser.g:3509:1: rule__IfElse__Group__5 : rule__IfElse__Group__5__Impl ;
public final void rule__IfElse__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3461:1: ( rule__IfElse__Group__5__Impl )
- // InternalSolverLanguage.g:3462:2: rule__IfElse__Group__5__Impl
+ // InternalSolverLanguageParser.g:3513:1: ( rule__IfElse__Group__5__Impl )
+ // InternalSolverLanguageParser.g:3514:2: rule__IfElse__Group__5__Impl
{
pushFollow(FOLLOW_2);
rule__IfElse__Group__5__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12159,36 +11161,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__Group__5__Impl"
- // InternalSolverLanguage.g:3468:1: rule__IfElse__Group__5__Impl : ( ( rule__IfElse__ElseAssignment_5 ) ) ;
+ // InternalSolverLanguageParser.g:3520:1: rule__IfElse__Group__5__Impl : ( ( rule__IfElse__ElseAssignment_5 ) ) ;
public final void rule__IfElse__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3472:1: ( ( ( rule__IfElse__ElseAssignment_5 ) ) )
- // InternalSolverLanguage.g:3473:1: ( ( rule__IfElse__ElseAssignment_5 ) )
+ // InternalSolverLanguageParser.g:3524:1: ( ( ( rule__IfElse__ElseAssignment_5 ) ) )
+ // InternalSolverLanguageParser.g:3525:1: ( ( rule__IfElse__ElseAssignment_5 ) )
{
- // InternalSolverLanguage.g:3473:1: ( ( rule__IfElse__ElseAssignment_5 ) )
- // InternalSolverLanguage.g:3474:2: ( rule__IfElse__ElseAssignment_5 )
+ // InternalSolverLanguageParser.g:3525:1: ( ( rule__IfElse__ElseAssignment_5 ) )
+ // InternalSolverLanguageParser.g:3526:2: ( rule__IfElse__ElseAssignment_5 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getElseAssignment_5());
- }
- // InternalSolverLanguage.g:3475:2: ( rule__IfElse__ElseAssignment_5 )
- // InternalSolverLanguage.g:3475:3: rule__IfElse__ElseAssignment_5
+ before(grammarAccess.getIfElseAccess().getElseAssignment_5());
+ // InternalSolverLanguageParser.g:3527:2: ( rule__IfElse__ElseAssignment_5 )
+ // InternalSolverLanguageParser.g:3527:3: rule__IfElse__ElseAssignment_5
{
pushFollow(FOLLOW_2);
rule__IfElse__ElseAssignment_5();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getElseAssignment_5());
}
+ after(grammarAccess.getIfElseAccess().getElseAssignment_5());
+
}
@@ -12210,25 +11208,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group__0"
- // InternalSolverLanguage.g:3484:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ;
+ // InternalSolverLanguageParser.g:3536:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ;
public final void rule__DisjunctiveExpression__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3488:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 )
- // InternalSolverLanguage.g:3489:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1
+ // InternalSolverLanguageParser.g:3540:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 )
+ // InternalSolverLanguageParser.g:3541:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1
{
- pushFollow(FOLLOW_18);
+ pushFollow(FOLLOW_17);
rule__DisjunctiveExpression__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12248,29 +11246,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group__0__Impl"
- // InternalSolverLanguage.g:3496:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ;
+ // InternalSolverLanguageParser.g:3548:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ;
public final void rule__DisjunctiveExpression__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3500:1: ( ( ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:3501:1: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:3552:1: ( ( ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:3553:1: ( ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:3501:1: ( ruleConjunctiveExpression )
- // InternalSolverLanguage.g:3502:2: ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:3553:1: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:3554:2: ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
}
@@ -12293,20 +11287,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group__1"
- // InternalSolverLanguage.g:3511:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:3563:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ;
public final void rule__DisjunctiveExpression__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3515:1: ( rule__DisjunctiveExpression__Group__1__Impl )
- // InternalSolverLanguage.g:3516:2: rule__DisjunctiveExpression__Group__1__Impl
+ // InternalSolverLanguageParser.g:3567:1: ( rule__DisjunctiveExpression__Group__1__Impl )
+ // InternalSolverLanguageParser.g:3568:2: rule__DisjunctiveExpression__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12326,46 +11320,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group__1__Impl"
- // InternalSolverLanguage.g:3522:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ;
+ // InternalSolverLanguageParser.g:3574:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ;
public final void rule__DisjunctiveExpression__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3526:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) )
- // InternalSolverLanguage.g:3527:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? )
+ // InternalSolverLanguageParser.g:3578:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) )
+ // InternalSolverLanguageParser.g:3579:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? )
{
- // InternalSolverLanguage.g:3527:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? )
- // InternalSolverLanguage.g:3528:2: ( rule__DisjunctiveExpression__Alternatives_1 )?
+ // InternalSolverLanguageParser.g:3579:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? )
+ // InternalSolverLanguageParser.g:3580:2: ( rule__DisjunctiveExpression__Alternatives_1 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1());
- }
- // InternalSolverLanguage.g:3529:2: ( rule__DisjunctiveExpression__Alternatives_1 )?
+ before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1());
+ // InternalSolverLanguageParser.g:3581:2: ( rule__DisjunctiveExpression__Alternatives_1 )?
int alt30=2;
int LA30_0 = input.LA(1);
- if ( ((LA30_0>=54 && LA30_0<=55)) ) {
+ if ( (LA30_0==HyphenMinusGreaterThanSign||LA30_0==Semicolon) ) {
alt30=1;
}
switch (alt30) {
case 1 :
- // InternalSolverLanguage.g:3529:3: rule__DisjunctiveExpression__Alternatives_1
+ // InternalSolverLanguageParser.g:3581:3: rule__DisjunctiveExpression__Alternatives_1
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Alternatives_1();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1());
- }
+ after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1());
}
@@ -12388,25 +11378,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0"
- // InternalSolverLanguage.g:3538:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ;
+ // InternalSolverLanguageParser.g:3590:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ;
public final void rule__DisjunctiveExpression__Group_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3542:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 )
- // InternalSolverLanguage.g:3543:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1
+ // InternalSolverLanguageParser.g:3594:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 )
+ // InternalSolverLanguageParser.g:3595:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1
{
- pushFollow(FOLLOW_19);
+ pushFollow(FOLLOW_18);
rule__DisjunctiveExpression__Group_1_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12426,29 +11416,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0__Impl"
- // InternalSolverLanguage.g:3550:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:3602:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ;
public final void rule__DisjunctiveExpression__Group_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3554:1: ( ( () ) )
- // InternalSolverLanguage.g:3555:1: ( () )
+ // InternalSolverLanguageParser.g:3606:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:3607:1: ( () )
{
- // InternalSolverLanguage.g:3555:1: ( () )
- // InternalSolverLanguage.g:3556:2: ()
+ // InternalSolverLanguageParser.g:3607:1: ( () )
+ // InternalSolverLanguageParser.g:3608:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0());
- }
- // InternalSolverLanguage.g:3557:2: ()
- // InternalSolverLanguage.g:3557:3:
+ before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0());
+ // InternalSolverLanguageParser.g:3609:2: ()
+ // InternalSolverLanguageParser.g:3609:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0());
- }
+ after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0());
}
@@ -12467,20 +11453,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1"
- // InternalSolverLanguage.g:3565:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ;
+ // InternalSolverLanguageParser.g:3617:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ;
public final void rule__DisjunctiveExpression__Group_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3569:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl )
- // InternalSolverLanguage.g:3570:2: rule__DisjunctiveExpression__Group_1_0__1__Impl
+ // InternalSolverLanguageParser.g:3621:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl )
+ // InternalSolverLanguageParser.g:3622:2: rule__DisjunctiveExpression__Group_1_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12500,67 +11486,61 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1__Impl"
- // InternalSolverLanguage.g:3576:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ;
+ // InternalSolverLanguageParser.g:3628:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ;
public final void rule__DisjunctiveExpression__Group_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3580:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) )
- // InternalSolverLanguage.g:3581:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) )
+ // InternalSolverLanguageParser.g:3632:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) )
+ // InternalSolverLanguageParser.g:3633:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) )
{
- // InternalSolverLanguage.g:3581:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) )
- // InternalSolverLanguage.g:3582:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* )
+ // InternalSolverLanguageParser.g:3633:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) )
+ // InternalSolverLanguageParser.g:3634:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* )
{
- // InternalSolverLanguage.g:3582:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) )
- // InternalSolverLanguage.g:3583:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )
+ // InternalSolverLanguageParser.g:3634:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) )
+ // InternalSolverLanguageParser.g:3635:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
- }
- // InternalSolverLanguage.g:3584:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )
- // InternalSolverLanguage.g:3584:4: rule__DisjunctiveExpression__Group_1_0_1__0
+ before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
+ // InternalSolverLanguageParser.g:3636:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )
+ // InternalSolverLanguageParser.g:3636:4: rule__DisjunctiveExpression__Group_1_0_1__0
{
- pushFollow(FOLLOW_20);
+ pushFollow(FOLLOW_19);
rule__DisjunctiveExpression__Group_1_0_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
+
}
- // InternalSolverLanguage.g:3587:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* )
- // InternalSolverLanguage.g:3588:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )*
+ // InternalSolverLanguageParser.g:3639:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* )
+ // InternalSolverLanguageParser.g:3640:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
- }
- // InternalSolverLanguage.g:3589:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )*
+ before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
+ // InternalSolverLanguageParser.g:3641:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )*
loop31:
do {
int alt31=2;
int LA31_0 = input.LA(1);
- if ( (LA31_0==54) ) {
+ if ( (LA31_0==Semicolon) ) {
alt31=1;
}
switch (alt31) {
case 1 :
- // InternalSolverLanguage.g:3589:4: rule__DisjunctiveExpression__Group_1_0_1__0
+ // InternalSolverLanguageParser.g:3641:4: rule__DisjunctiveExpression__Group_1_0_1__0
{
- pushFollow(FOLLOW_20);
+ pushFollow(FOLLOW_19);
rule__DisjunctiveExpression__Group_1_0_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
@@ -12570,9 +11550,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
- }
+ after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1());
}
@@ -12598,25 +11576,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0"
- // InternalSolverLanguage.g:3599:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ;
+ // InternalSolverLanguageParser.g:3651:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ;
public final void rule__DisjunctiveExpression__Group_1_0_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3603:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 )
- // InternalSolverLanguage.g:3604:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1
+ // InternalSolverLanguageParser.g:3655:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 )
+ // InternalSolverLanguageParser.g:3656:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1
{
pushFollow(FOLLOW_7);
rule__DisjunctiveExpression__Group_1_0_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_0_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12636,25 +11614,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0__Impl"
- // InternalSolverLanguage.g:3611:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( ';' ) ;
+ // InternalSolverLanguageParser.g:3663:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( Semicolon ) ;
public final void rule__DisjunctiveExpression__Group_1_0_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3615:1: ( ( ';' ) )
- // InternalSolverLanguage.g:3616:1: ( ';' )
+ // InternalSolverLanguageParser.g:3667:1: ( ( Semicolon ) )
+ // InternalSolverLanguageParser.g:3668:1: ( Semicolon )
{
- // InternalSolverLanguage.g:3616:1: ( ';' )
- // InternalSolverLanguage.g:3617:2: ';'
+ // InternalSolverLanguageParser.g:3668:1: ( Semicolon )
+ // InternalSolverLanguageParser.g:3669:2: Semicolon
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
- }
- match(input,54,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
+ match(input,Semicolon,FOLLOW_2);
+ after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
}
@@ -12677,20 +11651,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1"
- // InternalSolverLanguage.g:3626:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ;
+ // InternalSolverLanguageParser.g:3678:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ;
public final void rule__DisjunctiveExpression__Group_1_0_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3630:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl )
- // InternalSolverLanguage.g:3631:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl
+ // InternalSolverLanguageParser.g:3682:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl )
+ // InternalSolverLanguageParser.g:3683:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_0_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12710,36 +11684,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1__Impl"
- // InternalSolverLanguage.g:3637:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:3689:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ;
public final void rule__DisjunctiveExpression__Group_1_0_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3641:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) )
- // InternalSolverLanguage.g:3642:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) )
+ // InternalSolverLanguageParser.g:3693:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) )
+ // InternalSolverLanguageParser.g:3694:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) )
{
- // InternalSolverLanguage.g:3642:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) )
- // InternalSolverLanguage.g:3643:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 )
+ // InternalSolverLanguageParser.g:3694:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) )
+ // InternalSolverLanguageParser.g:3695:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1());
- }
- // InternalSolverLanguage.g:3644:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 )
- // InternalSolverLanguage.g:3644:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1
+ before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1());
+ // InternalSolverLanguageParser.g:3696:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 )
+ // InternalSolverLanguageParser.g:3696:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1());
+
}
@@ -12761,25 +11731,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0"
- // InternalSolverLanguage.g:3653:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ;
+ // InternalSolverLanguageParser.g:3705:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ;
public final void rule__DisjunctiveExpression__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3657:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 )
- // InternalSolverLanguage.g:3658:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1
+ // InternalSolverLanguageParser.g:3709:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 )
+ // InternalSolverLanguageParser.g:3710:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1
{
- pushFollow(FOLLOW_18);
+ pushFollow(FOLLOW_17);
rule__DisjunctiveExpression__Group_1_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12799,29 +11769,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0__Impl"
- // InternalSolverLanguage.g:3665:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:3717:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ;
public final void rule__DisjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3669:1: ( ( () ) )
- // InternalSolverLanguage.g:3670:1: ( () )
+ // InternalSolverLanguageParser.g:3721:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:3722:1: ( () )
{
- // InternalSolverLanguage.g:3670:1: ( () )
- // InternalSolverLanguage.g:3671:2: ()
+ // InternalSolverLanguageParser.g:3722:1: ( () )
+ // InternalSolverLanguageParser.g:3723:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0());
- }
- // InternalSolverLanguage.g:3672:2: ()
- // InternalSolverLanguage.g:3672:3:
+ before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0());
+ // InternalSolverLanguageParser.g:3724:2: ()
+ // InternalSolverLanguageParser.g:3724:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0());
- }
+ after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0());
}
@@ -12840,25 +11806,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1"
- // InternalSolverLanguage.g:3680:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ;
+ // InternalSolverLanguageParser.g:3732:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ;
public final void rule__DisjunctiveExpression__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3684:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 )
- // InternalSolverLanguage.g:3685:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2
+ // InternalSolverLanguageParser.g:3736:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 )
+ // InternalSolverLanguageParser.g:3737:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2
{
pushFollow(FOLLOW_7);
rule__DisjunctiveExpression__Group_1_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12878,25 +11844,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1__Impl"
- // InternalSolverLanguage.g:3692:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( '->' ) ;
+ // InternalSolverLanguageParser.g:3744:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( HyphenMinusGreaterThanSign ) ;
public final void rule__DisjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3696:1: ( ( '->' ) )
- // InternalSolverLanguage.g:3697:1: ( '->' )
+ // InternalSolverLanguageParser.g:3748:1: ( ( HyphenMinusGreaterThanSign ) )
+ // InternalSolverLanguageParser.g:3749:1: ( HyphenMinusGreaterThanSign )
{
- // InternalSolverLanguage.g:3697:1: ( '->' )
- // InternalSolverLanguage.g:3698:2: '->'
+ // InternalSolverLanguageParser.g:3749:1: ( HyphenMinusGreaterThanSign )
+ // InternalSolverLanguageParser.g:3750:2: HyphenMinusGreaterThanSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
- }
- match(input,55,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
+ match(input,HyphenMinusGreaterThanSign,FOLLOW_2);
+ after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
}
@@ -12919,25 +11881,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2"
- // InternalSolverLanguage.g:3707:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ;
+ // InternalSolverLanguageParser.g:3759:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ;
public final void rule__DisjunctiveExpression__Group_1_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3711:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 )
- // InternalSolverLanguage.g:3712:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3
+ // InternalSolverLanguageParser.g:3763:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 )
+ // InternalSolverLanguageParser.g:3764:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3
{
- pushFollow(FOLLOW_19);
+ pushFollow(FOLLOW_18);
rule__DisjunctiveExpression__Group_1_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -12957,36 +11919,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2__Impl"
- // InternalSolverLanguage.g:3719:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:3771:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ;
public final void rule__DisjunctiveExpression__Group_1_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3723:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) )
- // InternalSolverLanguage.g:3724:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:3775:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) )
+ // InternalSolverLanguageParser.g:3776:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) )
{
- // InternalSolverLanguage.g:3724:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) )
- // InternalSolverLanguage.g:3725:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:3776:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:3777:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2());
- }
- // InternalSolverLanguage.g:3726:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 )
- // InternalSolverLanguage.g:3726:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2
+ before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2());
+ // InternalSolverLanguageParser.g:3778:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:3778:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__BodyAssignment_1_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2());
+
}
@@ -13008,25 +11966,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3"
- // InternalSolverLanguage.g:3734:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ;
+ // InternalSolverLanguageParser.g:3786:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ;
public final void rule__DisjunctiveExpression__Group_1_1__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3738:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 )
- // InternalSolverLanguage.g:3739:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4
+ // InternalSolverLanguageParser.g:3790:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 )
+ // InternalSolverLanguageParser.g:3791:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4
{
- pushFollow(FOLLOW_19);
+ pushFollow(FOLLOW_18);
rule__DisjunctiveExpression__Group_1_1__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13046,29 +12004,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3__Impl"
- // InternalSolverLanguage.g:3746:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:3798:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ;
public final void rule__DisjunctiveExpression__Group_1_1__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3750:1: ( ( () ) )
- // InternalSolverLanguage.g:3751:1: ( () )
+ // InternalSolverLanguageParser.g:3802:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:3803:1: ( () )
{
- // InternalSolverLanguage.g:3751:1: ( () )
- // InternalSolverLanguage.g:3752:2: ()
+ // InternalSolverLanguageParser.g:3803:1: ( () )
+ // InternalSolverLanguageParser.g:3804:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3());
- }
- // InternalSolverLanguage.g:3753:2: ()
- // InternalSolverLanguage.g:3753:3:
+ before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3());
+ // InternalSolverLanguageParser.g:3805:2: ()
+ // InternalSolverLanguageParser.g:3805:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3());
- }
+ after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3());
}
@@ -13087,20 +12041,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4"
- // InternalSolverLanguage.g:3761:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ;
+ // InternalSolverLanguageParser.g:3813:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ;
public final void rule__DisjunctiveExpression__Group_1_1__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3765:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl )
- // InternalSolverLanguage.g:3766:2: rule__DisjunctiveExpression__Group_1_1__4__Impl
+ // InternalSolverLanguageParser.g:3817:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl )
+ // InternalSolverLanguageParser.g:3818:2: rule__DisjunctiveExpression__Group_1_1__4__Impl
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13120,41 +12074,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4__Impl"
- // InternalSolverLanguage.g:3772:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ;
+ // InternalSolverLanguageParser.g:3824:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ;
public final void rule__DisjunctiveExpression__Group_1_1__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3776:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) )
- // InternalSolverLanguage.g:3777:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* )
+ // InternalSolverLanguageParser.g:3828:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) )
+ // InternalSolverLanguageParser.g:3829:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* )
{
- // InternalSolverLanguage.g:3777:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* )
- // InternalSolverLanguage.g:3778:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )*
+ // InternalSolverLanguageParser.g:3829:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* )
+ // InternalSolverLanguageParser.g:3830:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4());
- }
- // InternalSolverLanguage.g:3779:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )*
+ before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4());
+ // InternalSolverLanguageParser.g:3831:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )*
loop32:
do {
int alt32=2;
int LA32_0 = input.LA(1);
- if ( (LA32_0==54) ) {
+ if ( (LA32_0==Semicolon) ) {
alt32=1;
}
switch (alt32) {
case 1 :
- // InternalSolverLanguage.g:3779:3: rule__DisjunctiveExpression__Group_1_1_4__0
+ // InternalSolverLanguageParser.g:3831:3: rule__DisjunctiveExpression__Group_1_1_4__0
{
- pushFollow(FOLLOW_20);
+ pushFollow(FOLLOW_19);
rule__DisjunctiveExpression__Group_1_1_4__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
@@ -13164,9 +12116,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4());
- }
+ after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4());
}
@@ -13189,25 +12139,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0"
- // InternalSolverLanguage.g:3788:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ;
+ // InternalSolverLanguageParser.g:3840:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ;
public final void rule__DisjunctiveExpression__Group_1_1_4__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3792:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 )
- // InternalSolverLanguage.g:3793:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1
+ // InternalSolverLanguageParser.g:3844:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 )
+ // InternalSolverLanguageParser.g:3845:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1
{
pushFollow(FOLLOW_7);
rule__DisjunctiveExpression__Group_1_1_4__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1_4__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13227,25 +12177,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0__Impl"
- // InternalSolverLanguage.g:3800:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( ';' ) ;
+ // InternalSolverLanguageParser.g:3852:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( Semicolon ) ;
public final void rule__DisjunctiveExpression__Group_1_1_4__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3804:1: ( ( ';' ) )
- // InternalSolverLanguage.g:3805:1: ( ';' )
+ // InternalSolverLanguageParser.g:3856:1: ( ( Semicolon ) )
+ // InternalSolverLanguageParser.g:3857:1: ( Semicolon )
{
- // InternalSolverLanguage.g:3805:1: ( ';' )
- // InternalSolverLanguage.g:3806:2: ';'
+ // InternalSolverLanguageParser.g:3857:1: ( Semicolon )
+ // InternalSolverLanguageParser.g:3858:2: Semicolon
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
- }
- match(input,54,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
+ match(input,Semicolon,FOLLOW_2);
+ after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
}
@@ -13268,20 +12214,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1"
- // InternalSolverLanguage.g:3815:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ;
+ // InternalSolverLanguageParser.g:3867:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ;
public final void rule__DisjunctiveExpression__Group_1_1_4__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3819:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl )
- // InternalSolverLanguage.g:3820:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl
+ // InternalSolverLanguageParser.g:3871:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl )
+ // InternalSolverLanguageParser.g:3872:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__Group_1_1_4__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13301,36 +12247,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1__Impl"
- // InternalSolverLanguage.g:3826:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ;
+ // InternalSolverLanguageParser.g:3878:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ;
public final void rule__DisjunctiveExpression__Group_1_1_4__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3830:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) )
- // InternalSolverLanguage.g:3831:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) )
+ // InternalSolverLanguageParser.g:3882:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) )
+ // InternalSolverLanguageParser.g:3883:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) )
{
- // InternalSolverLanguage.g:3831:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) )
- // InternalSolverLanguage.g:3832:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 )
+ // InternalSolverLanguageParser.g:3883:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) )
+ // InternalSolverLanguageParser.g:3884:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1());
- }
- // InternalSolverLanguage.g:3833:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 )
- // InternalSolverLanguage.g:3833:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1
+ before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1());
+ // InternalSolverLanguageParser.g:3885:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 )
+ // InternalSolverLanguageParser.g:3885:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1
{
pushFollow(FOLLOW_2);
rule__DisjunctiveExpression__CasesAssignment_1_1_4_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1());
}
+ after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1());
+
}
@@ -13352,25 +12294,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__Group__0"
- // InternalSolverLanguage.g:3842:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ;
+ // InternalSolverLanguageParser.g:3894:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ;
public final void rule__Case__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3846:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 )
- // InternalSolverLanguage.g:3847:2: rule__Case__Group__0__Impl rule__Case__Group__1
+ // InternalSolverLanguageParser.g:3898:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 )
+ // InternalSolverLanguageParser.g:3899:2: rule__Case__Group__0__Impl rule__Case__Group__1
{
- pushFollow(FOLLOW_21);
+ pushFollow(FOLLOW_20);
rule__Case__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Case__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13390,36 +12332,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__Group__0__Impl"
- // InternalSolverLanguage.g:3854:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ;
+ // InternalSolverLanguageParser.g:3906:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ;
public final void rule__Case__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3858:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) )
- // InternalSolverLanguage.g:3859:1: ( ( rule__Case__ConditionAssignment_0 ) )
+ // InternalSolverLanguageParser.g:3910:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:3911:1: ( ( rule__Case__ConditionAssignment_0 ) )
{
- // InternalSolverLanguage.g:3859:1: ( ( rule__Case__ConditionAssignment_0 ) )
- // InternalSolverLanguage.g:3860:2: ( rule__Case__ConditionAssignment_0 )
+ // InternalSolverLanguageParser.g:3911:1: ( ( rule__Case__ConditionAssignment_0 ) )
+ // InternalSolverLanguageParser.g:3912:2: ( rule__Case__ConditionAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseAccess().getConditionAssignment_0());
- }
- // InternalSolverLanguage.g:3861:2: ( rule__Case__ConditionAssignment_0 )
- // InternalSolverLanguage.g:3861:3: rule__Case__ConditionAssignment_0
+ before(grammarAccess.getCaseAccess().getConditionAssignment_0());
+ // InternalSolverLanguageParser.g:3913:2: ( rule__Case__ConditionAssignment_0 )
+ // InternalSolverLanguageParser.g:3913:3: rule__Case__ConditionAssignment_0
{
pushFollow(FOLLOW_2);
rule__Case__ConditionAssignment_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseAccess().getConditionAssignment_0());
}
+ after(grammarAccess.getCaseAccess().getConditionAssignment_0());
+
}
@@ -13441,25 +12379,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__Group__1"
- // InternalSolverLanguage.g:3869:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ;
+ // InternalSolverLanguageParser.g:3921:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ;
public final void rule__Case__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3873:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 )
- // InternalSolverLanguage.g:3874:2: rule__Case__Group__1__Impl rule__Case__Group__2
+ // InternalSolverLanguageParser.g:3925:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 )
+ // InternalSolverLanguageParser.g:3926:2: rule__Case__Group__1__Impl rule__Case__Group__2
{
pushFollow(FOLLOW_7);
rule__Case__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Case__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13479,25 +12417,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__Group__1__Impl"
- // InternalSolverLanguage.g:3881:1: rule__Case__Group__1__Impl : ( '->' ) ;
+ // InternalSolverLanguageParser.g:3933:1: rule__Case__Group__1__Impl : ( HyphenMinusGreaterThanSign ) ;
public final void rule__Case__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3885:1: ( ( '->' ) )
- // InternalSolverLanguage.g:3886:1: ( '->' )
+ // InternalSolverLanguageParser.g:3937:1: ( ( HyphenMinusGreaterThanSign ) )
+ // InternalSolverLanguageParser.g:3938:1: ( HyphenMinusGreaterThanSign )
{
- // InternalSolverLanguage.g:3886:1: ( '->' )
- // InternalSolverLanguage.g:3887:2: '->'
+ // InternalSolverLanguageParser.g:3938:1: ( HyphenMinusGreaterThanSign )
+ // InternalSolverLanguageParser.g:3939:2: HyphenMinusGreaterThanSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
- }
- match(input,55,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
- }
+ before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
+ match(input,HyphenMinusGreaterThanSign,FOLLOW_2);
+ after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
}
@@ -13520,20 +12454,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__Group__2"
- // InternalSolverLanguage.g:3896:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ;
+ // InternalSolverLanguageParser.g:3948:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ;
public final void rule__Case__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3900:1: ( rule__Case__Group__2__Impl )
- // InternalSolverLanguage.g:3901:2: rule__Case__Group__2__Impl
+ // InternalSolverLanguageParser.g:3952:1: ( rule__Case__Group__2__Impl )
+ // InternalSolverLanguageParser.g:3953:2: rule__Case__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__Case__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13553,36 +12487,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__Group__2__Impl"
- // InternalSolverLanguage.g:3907:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ;
+ // InternalSolverLanguageParser.g:3959:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ;
public final void rule__Case__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3911:1: ( ( ( rule__Case__BodyAssignment_2 ) ) )
- // InternalSolverLanguage.g:3912:1: ( ( rule__Case__BodyAssignment_2 ) )
+ // InternalSolverLanguageParser.g:3963:1: ( ( ( rule__Case__BodyAssignment_2 ) ) )
+ // InternalSolverLanguageParser.g:3964:1: ( ( rule__Case__BodyAssignment_2 ) )
{
- // InternalSolverLanguage.g:3912:1: ( ( rule__Case__BodyAssignment_2 ) )
- // InternalSolverLanguage.g:3913:2: ( rule__Case__BodyAssignment_2 )
+ // InternalSolverLanguageParser.g:3964:1: ( ( rule__Case__BodyAssignment_2 ) )
+ // InternalSolverLanguageParser.g:3965:2: ( rule__Case__BodyAssignment_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseAccess().getBodyAssignment_2());
- }
- // InternalSolverLanguage.g:3914:2: ( rule__Case__BodyAssignment_2 )
- // InternalSolverLanguage.g:3914:3: rule__Case__BodyAssignment_2
+ before(grammarAccess.getCaseAccess().getBodyAssignment_2());
+ // InternalSolverLanguageParser.g:3966:2: ( rule__Case__BodyAssignment_2 )
+ // InternalSolverLanguageParser.g:3966:3: rule__Case__BodyAssignment_2
{
pushFollow(FOLLOW_2);
rule__Case__BodyAssignment_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseAccess().getBodyAssignment_2());
}
+ after(grammarAccess.getCaseAccess().getBodyAssignment_2());
+
}
@@ -13604,25 +12534,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group__0"
- // InternalSolverLanguage.g:3923:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ;
+ // InternalSolverLanguageParser.g:3975:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ;
public final void rule__ConjunctiveExpression__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3927:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 )
- // InternalSolverLanguage.g:3928:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1
+ // InternalSolverLanguageParser.g:3979:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 )
+ // InternalSolverLanguageParser.g:3980:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1
{
- pushFollow(FOLLOW_22);
+ pushFollow(FOLLOW_21);
rule__ConjunctiveExpression__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13642,29 +12572,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group__0__Impl"
- // InternalSolverLanguage.g:3935:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ;
+ // InternalSolverLanguageParser.g:3987:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ;
public final void rule__ConjunctiveExpression__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3939:1: ( ( ruleComparisonExpression ) )
- // InternalSolverLanguage.g:3940:1: ( ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:3991:1: ( ( ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:3992:1: ( ruleComparisonExpression )
{
- // InternalSolverLanguage.g:3940:1: ( ruleComparisonExpression )
- // InternalSolverLanguage.g:3941:2: ruleComparisonExpression
+ // InternalSolverLanguageParser.g:3992:1: ( ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:3993:2: ruleComparisonExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleComparisonExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
}
@@ -13687,20 +12613,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group__1"
- // InternalSolverLanguage.g:3950:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:4002:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ;
public final void rule__ConjunctiveExpression__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3954:1: ( rule__ConjunctiveExpression__Group__1__Impl )
- // InternalSolverLanguage.g:3955:2: rule__ConjunctiveExpression__Group__1__Impl
+ // InternalSolverLanguageParser.g:4006:1: ( rule__ConjunctiveExpression__Group__1__Impl )
+ // InternalSolverLanguageParser.g:4007:2: rule__ConjunctiveExpression__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13720,46 +12646,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group__1__Impl"
- // InternalSolverLanguage.g:3961:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ;
+ // InternalSolverLanguageParser.g:4013:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ;
public final void rule__ConjunctiveExpression__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3965:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) )
- // InternalSolverLanguage.g:3966:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:4017:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) )
+ // InternalSolverLanguageParser.g:4018:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? )
{
- // InternalSolverLanguage.g:3966:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? )
- // InternalSolverLanguage.g:3967:2: ( rule__ConjunctiveExpression__Group_1__0 )?
+ // InternalSolverLanguageParser.g:4018:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:4019:2: ( rule__ConjunctiveExpression__Group_1__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:3968:2: ( rule__ConjunctiveExpression__Group_1__0 )?
+ before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:4020:2: ( rule__ConjunctiveExpression__Group_1__0 )?
int alt33=2;
int LA33_0 = input.LA(1);
- if ( (LA33_0==56) ) {
+ if ( (LA33_0==Comma) ) {
alt33=1;
}
switch (alt33) {
case 1 :
- // InternalSolverLanguage.g:3968:3: rule__ConjunctiveExpression__Group_1__0
+ // InternalSolverLanguageParser.g:4020:3: rule__ConjunctiveExpression__Group_1__0
{
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1());
- }
+ after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1());
}
@@ -13782,25 +12704,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1__0"
- // InternalSolverLanguage.g:3977:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ;
+ // InternalSolverLanguageParser.g:4029:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ;
public final void rule__ConjunctiveExpression__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3981:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 )
- // InternalSolverLanguage.g:3982:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1
+ // InternalSolverLanguageParser.g:4033:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 )
+ // InternalSolverLanguageParser.g:4034:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1
{
- pushFollow(FOLLOW_22);
+ pushFollow(FOLLOW_21);
rule__ConjunctiveExpression__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13820,29 +12742,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1__0__Impl"
- // InternalSolverLanguage.g:3989:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:4041:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ;
public final void rule__ConjunctiveExpression__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:3993:1: ( ( () ) )
- // InternalSolverLanguage.g:3994:1: ( () )
+ // InternalSolverLanguageParser.g:4045:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:4046:1: ( () )
{
- // InternalSolverLanguage.g:3994:1: ( () )
- // InternalSolverLanguage.g:3995:2: ()
+ // InternalSolverLanguageParser.g:4046:1: ( () )
+ // InternalSolverLanguageParser.g:4047:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0());
- }
- // InternalSolverLanguage.g:3996:2: ()
- // InternalSolverLanguage.g:3996:3:
+ before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0());
+ // InternalSolverLanguageParser.g:4048:2: ()
+ // InternalSolverLanguageParser.g:4048:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0());
- }
+ after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0());
}
@@ -13861,20 +12779,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1__1"
- // InternalSolverLanguage.g:4004:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ;
+ // InternalSolverLanguageParser.g:4056:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ;
public final void rule__ConjunctiveExpression__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4008:1: ( rule__ConjunctiveExpression__Group_1__1__Impl )
- // InternalSolverLanguage.g:4009:2: rule__ConjunctiveExpression__Group_1__1__Impl
+ // InternalSolverLanguageParser.g:4060:1: ( rule__ConjunctiveExpression__Group_1__1__Impl )
+ // InternalSolverLanguageParser.g:4061:2: rule__ConjunctiveExpression__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -13894,67 +12812,61 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1__1__Impl"
- // InternalSolverLanguage.g:4015:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ;
+ // InternalSolverLanguageParser.g:4067:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ;
public final void rule__ConjunctiveExpression__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4019:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) )
- // InternalSolverLanguage.g:4020:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) )
+ // InternalSolverLanguageParser.g:4071:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) )
+ // InternalSolverLanguageParser.g:4072:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) )
{
- // InternalSolverLanguage.g:4020:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) )
- // InternalSolverLanguage.g:4021:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* )
+ // InternalSolverLanguageParser.g:4072:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) )
+ // InternalSolverLanguageParser.g:4073:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* )
{
- // InternalSolverLanguage.g:4021:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) )
- // InternalSolverLanguage.g:4022:3: ( rule__ConjunctiveExpression__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:4073:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) )
+ // InternalSolverLanguageParser.g:4074:3: ( rule__ConjunctiveExpression__Group_1_1__0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
- }
- // InternalSolverLanguage.g:4023:3: ( rule__ConjunctiveExpression__Group_1_1__0 )
- // InternalSolverLanguage.g:4023:4: rule__ConjunctiveExpression__Group_1_1__0
+ before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
+ // InternalSolverLanguageParser.g:4075:3: ( rule__ConjunctiveExpression__Group_1_1__0 )
+ // InternalSolverLanguageParser.g:4075:4: rule__ConjunctiveExpression__Group_1_1__0
{
- pushFollow(FOLLOW_23);
+ pushFollow(FOLLOW_22);
rule__ConjunctiveExpression__Group_1_1__0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
}
+ after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
+
}
- // InternalSolverLanguage.g:4026:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* )
- // InternalSolverLanguage.g:4027:3: ( rule__ConjunctiveExpression__Group_1_1__0 )*
+ // InternalSolverLanguageParser.g:4078:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* )
+ // InternalSolverLanguageParser.g:4079:3: ( rule__ConjunctiveExpression__Group_1_1__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
- }
- // InternalSolverLanguage.g:4028:3: ( rule__ConjunctiveExpression__Group_1_1__0 )*
+ before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
+ // InternalSolverLanguageParser.g:4080:3: ( rule__ConjunctiveExpression__Group_1_1__0 )*
loop34:
do {
int alt34=2;
int LA34_0 = input.LA(1);
- if ( (LA34_0==56) ) {
+ if ( (LA34_0==Comma) ) {
alt34=1;
}
switch (alt34) {
case 1 :
- // InternalSolverLanguage.g:4028:4: rule__ConjunctiveExpression__Group_1_1__0
+ // InternalSolverLanguageParser.g:4080:4: rule__ConjunctiveExpression__Group_1_1__0
{
- pushFollow(FOLLOW_23);
+ pushFollow(FOLLOW_22);
rule__ConjunctiveExpression__Group_1_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
@@ -13964,9 +12876,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
- }
+ after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1());
}
@@ -13992,25 +12902,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0"
- // InternalSolverLanguage.g:4038:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ;
+ // InternalSolverLanguageParser.g:4090:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ;
public final void rule__ConjunctiveExpression__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4042:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 )
- // InternalSolverLanguage.g:4043:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1
+ // InternalSolverLanguageParser.g:4094:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 )
+ // InternalSolverLanguageParser.g:4095:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1
{
pushFollow(FOLLOW_7);
rule__ConjunctiveExpression__Group_1_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group_1_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14030,25 +12940,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0__Impl"
- // InternalSolverLanguage.g:4050:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( ',' ) ;
+ // InternalSolverLanguageParser.g:4102:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( Comma ) ;
public final void rule__ConjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4054:1: ( ( ',' ) )
- // InternalSolverLanguage.g:4055:1: ( ',' )
+ // InternalSolverLanguageParser.g:4106:1: ( ( Comma ) )
+ // InternalSolverLanguageParser.g:4107:1: ( Comma )
{
- // InternalSolverLanguage.g:4055:1: ( ',' )
- // InternalSolverLanguage.g:4056:2: ','
+ // InternalSolverLanguageParser.g:4107:1: ( Comma )
+ // InternalSolverLanguageParser.g:4108:2: Comma
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
- }
- match(input,56,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
- }
+ before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
+ match(input,Comma,FOLLOW_2);
+ after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
}
@@ -14071,20 +12977,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1"
- // InternalSolverLanguage.g:4065:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ;
+ // InternalSolverLanguageParser.g:4117:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ;
public final void rule__ConjunctiveExpression__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4069:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl )
- // InternalSolverLanguage.g:4070:2: rule__ConjunctiveExpression__Group_1_1__1__Impl
+ // InternalSolverLanguageParser.g:4121:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl )
+ // InternalSolverLanguageParser.g:4122:2: rule__ConjunctiveExpression__Group_1_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__Group_1_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14104,36 +13010,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1__Impl"
- // InternalSolverLanguage.g:4076:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:4128:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ;
public final void rule__ConjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4080:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) )
- // InternalSolverLanguage.g:4081:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) )
+ // InternalSolverLanguageParser.g:4132:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) )
+ // InternalSolverLanguageParser.g:4133:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) )
{
- // InternalSolverLanguage.g:4081:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) )
- // InternalSolverLanguage.g:4082:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 )
+ // InternalSolverLanguageParser.g:4133:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) )
+ // InternalSolverLanguageParser.g:4134:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1());
- }
- // InternalSolverLanguage.g:4083:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 )
- // InternalSolverLanguage.g:4083:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1
+ before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1());
+ // InternalSolverLanguageParser.g:4135:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 )
+ // InternalSolverLanguageParser.g:4135:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1
{
pushFollow(FOLLOW_2);
rule__ConjunctiveExpression__ChildrenAssignment_1_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1());
}
+ after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1());
+
}
@@ -14155,25 +13057,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group__0"
- // InternalSolverLanguage.g:4092:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ;
+ // InternalSolverLanguageParser.g:4144:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ;
public final void rule__ComparisonExpression__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4096:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 )
- // InternalSolverLanguage.g:4097:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1
+ // InternalSolverLanguageParser.g:4148:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 )
+ // InternalSolverLanguageParser.g:4149:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1
{
- pushFollow(FOLLOW_24);
+ pushFollow(FOLLOW_23);
rule__ComparisonExpression__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14193,29 +13095,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group__0__Impl"
- // InternalSolverLanguage.g:4104:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ;
+ // InternalSolverLanguageParser.g:4156:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ;
public final void rule__ComparisonExpression__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4108:1: ( ( ruleAdditiveExpression ) )
- // InternalSolverLanguage.g:4109:1: ( ruleAdditiveExpression )
+ // InternalSolverLanguageParser.g:4160:1: ( ( ruleAdditiveExpression ) )
+ // InternalSolverLanguageParser.g:4161:1: ( ruleAdditiveExpression )
{
- // InternalSolverLanguage.g:4109:1: ( ruleAdditiveExpression )
- // InternalSolverLanguage.g:4110:2: ruleAdditiveExpression
+ // InternalSolverLanguageParser.g:4161:1: ( ruleAdditiveExpression )
+ // InternalSolverLanguageParser.g:4162:2: ruleAdditiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleAdditiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
}
@@ -14238,20 +13136,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group__1"
- // InternalSolverLanguage.g:4119:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:4171:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ;
public final void rule__ComparisonExpression__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4123:1: ( rule__ComparisonExpression__Group__1__Impl )
- // InternalSolverLanguage.g:4124:2: rule__ComparisonExpression__Group__1__Impl
+ // InternalSolverLanguageParser.g:4175:1: ( rule__ComparisonExpression__Group__1__Impl )
+ // InternalSolverLanguageParser.g:4176:2: rule__ComparisonExpression__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14271,46 +13169,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group__1__Impl"
- // InternalSolverLanguage.g:4130:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ;
+ // InternalSolverLanguageParser.g:4182:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ;
public final void rule__ComparisonExpression__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4134:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) )
- // InternalSolverLanguage.g:4135:1: ( ( rule__ComparisonExpression__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:4186:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) )
+ // InternalSolverLanguageParser.g:4187:1: ( ( rule__ComparisonExpression__Group_1__0 )? )
{
- // InternalSolverLanguage.g:4135:1: ( ( rule__ComparisonExpression__Group_1__0 )? )
- // InternalSolverLanguage.g:4136:2: ( rule__ComparisonExpression__Group_1__0 )?
+ // InternalSolverLanguageParser.g:4187:1: ( ( rule__ComparisonExpression__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:4188:2: ( rule__ComparisonExpression__Group_1__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:4137:2: ( rule__ComparisonExpression__Group_1__0 )?
+ before(grammarAccess.getComparisonExpressionAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:4189:2: ( rule__ComparisonExpression__Group_1__0 )?
int alt35=2;
int LA35_0 = input.LA(1);
- if ( ((LA35_0>=19 && LA35_0<=25)) ) {
+ if ( (LA35_0==ExclamationMarkEqualsSign||(LA35_0>=LessThanSignEqualsSign && LA35_0<=GreaterThanSignEqualsSign)||LA35_0==In||LA35_0==LessThanSign||LA35_0==GreaterThanSign) ) {
alt35=1;
}
switch (alt35) {
case 1 :
- // InternalSolverLanguage.g:4137:3: rule__ComparisonExpression__Group_1__0
+ // InternalSolverLanguageParser.g:4189:3: rule__ComparisonExpression__Group_1__0
{
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getGroup_1());
- }
+ after(grammarAccess.getComparisonExpressionAccess().getGroup_1());
}
@@ -14333,25 +13227,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group_1__0"
- // InternalSolverLanguage.g:4146:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ;
+ // InternalSolverLanguageParser.g:4198:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ;
public final void rule__ComparisonExpression__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4150:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 )
- // InternalSolverLanguage.g:4151:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1
+ // InternalSolverLanguageParser.g:4202:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 )
+ // InternalSolverLanguageParser.g:4203:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1
{
- pushFollow(FOLLOW_24);
+ pushFollow(FOLLOW_23);
rule__ComparisonExpression__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14371,29 +13265,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group_1__0__Impl"
- // InternalSolverLanguage.g:4158:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:4210:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ;
public final void rule__ComparisonExpression__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4162:1: ( ( () ) )
- // InternalSolverLanguage.g:4163:1: ( () )
+ // InternalSolverLanguageParser.g:4214:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:4215:1: ( () )
{
- // InternalSolverLanguage.g:4163:1: ( () )
- // InternalSolverLanguage.g:4164:2: ()
+ // InternalSolverLanguageParser.g:4215:1: ( () )
+ // InternalSolverLanguageParser.g:4216:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0());
- }
- // InternalSolverLanguage.g:4165:2: ()
- // InternalSolverLanguage.g:4165:3:
+ before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0());
+ // InternalSolverLanguageParser.g:4217:2: ()
+ // InternalSolverLanguageParser.g:4217:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0());
- }
+ after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0());
}
@@ -14412,25 +13302,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group_1__1"
- // InternalSolverLanguage.g:4173:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ;
+ // InternalSolverLanguageParser.g:4225:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ;
public final void rule__ComparisonExpression__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4177:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 )
- // InternalSolverLanguage.g:4178:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2
+ // InternalSolverLanguageParser.g:4229:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 )
+ // InternalSolverLanguageParser.g:4230:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2
{
pushFollow(FOLLOW_7);
rule__ComparisonExpression__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14450,36 +13340,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group_1__1__Impl"
- // InternalSolverLanguage.g:4185:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:4237:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ;
public final void rule__ComparisonExpression__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4189:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) )
- // InternalSolverLanguage.g:4190:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4241:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) )
+ // InternalSolverLanguageParser.g:4242:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:4190:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) )
- // InternalSolverLanguage.g:4191:2: ( rule__ComparisonExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4242:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4243:2: ( rule__ComparisonExpression__OpAssignment_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1());
- }
- // InternalSolverLanguage.g:4192:2: ( rule__ComparisonExpression__OpAssignment_1_1 )
- // InternalSolverLanguage.g:4192:3: rule__ComparisonExpression__OpAssignment_1_1
+ before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1());
+ // InternalSolverLanguageParser.g:4244:2: ( rule__ComparisonExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4244:3: rule__ComparisonExpression__OpAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__ComparisonExpression__OpAssignment_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1());
}
+ after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1());
+
}
@@ -14501,20 +13387,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group_1__2"
- // InternalSolverLanguage.g:4200:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ;
+ // InternalSolverLanguageParser.g:4252:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ;
public final void rule__ComparisonExpression__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4204:1: ( rule__ComparisonExpression__Group_1__2__Impl )
- // InternalSolverLanguage.g:4205:2: rule__ComparisonExpression__Group_1__2__Impl
+ // InternalSolverLanguageParser.g:4256:1: ( rule__ComparisonExpression__Group_1__2__Impl )
+ // InternalSolverLanguageParser.g:4257:2: rule__ComparisonExpression__Group_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__ComparisonExpression__Group_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14534,36 +13420,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__Group_1__2__Impl"
- // InternalSolverLanguage.g:4211:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:4263:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ;
public final void rule__ComparisonExpression__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4215:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) )
- // InternalSolverLanguage.g:4216:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4267:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) )
+ // InternalSolverLanguageParser.g:4268:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) )
{
- // InternalSolverLanguage.g:4216:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) )
- // InternalSolverLanguage.g:4217:2: ( rule__ComparisonExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4268:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4269:2: ( rule__ComparisonExpression__RightAssignment_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2());
- }
- // InternalSolverLanguage.g:4218:2: ( rule__ComparisonExpression__RightAssignment_1_2 )
- // InternalSolverLanguage.g:4218:3: rule__ComparisonExpression__RightAssignment_1_2
+ before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2());
+ // InternalSolverLanguageParser.g:4270:2: ( rule__ComparisonExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4270:3: rule__ComparisonExpression__RightAssignment_1_2
{
pushFollow(FOLLOW_2);
rule__ComparisonExpression__RightAssignment_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2());
}
+ after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2());
+
}
@@ -14585,25 +13467,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group__0"
- // InternalSolverLanguage.g:4227:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ;
+ // InternalSolverLanguageParser.g:4279:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ;
public final void rule__AdditiveExpression__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4231:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 )
- // InternalSolverLanguage.g:4232:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1
+ // InternalSolverLanguageParser.g:4283:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 )
+ // InternalSolverLanguageParser.g:4284:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1
{
- pushFollow(FOLLOW_25);
+ pushFollow(FOLLOW_24);
rule__AdditiveExpression__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AdditiveExpression__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14623,29 +13505,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group__0__Impl"
- // InternalSolverLanguage.g:4239:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ;
+ // InternalSolverLanguageParser.g:4291:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ;
public final void rule__AdditiveExpression__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4243:1: ( ( ruleMultiplicativeExpression ) )
- // InternalSolverLanguage.g:4244:1: ( ruleMultiplicativeExpression )
+ // InternalSolverLanguageParser.g:4295:1: ( ( ruleMultiplicativeExpression ) )
+ // InternalSolverLanguageParser.g:4296:1: ( ruleMultiplicativeExpression )
{
- // InternalSolverLanguage.g:4244:1: ( ruleMultiplicativeExpression )
- // InternalSolverLanguage.g:4245:2: ruleMultiplicativeExpression
+ // InternalSolverLanguageParser.g:4296:1: ( ruleMultiplicativeExpression )
+ // InternalSolverLanguageParser.g:4297:2: ruleMultiplicativeExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleMultiplicativeExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
}
@@ -14668,20 +13546,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group__1"
- // InternalSolverLanguage.g:4254:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:4306:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ;
public final void rule__AdditiveExpression__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4258:1: ( rule__AdditiveExpression__Group__1__Impl )
- // InternalSolverLanguage.g:4259:2: rule__AdditiveExpression__Group__1__Impl
+ // InternalSolverLanguageParser.g:4310:1: ( rule__AdditiveExpression__Group__1__Impl )
+ // InternalSolverLanguageParser.g:4311:2: rule__AdditiveExpression__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__AdditiveExpression__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14701,41 +13579,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group__1__Impl"
- // InternalSolverLanguage.g:4265:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ;
+ // InternalSolverLanguageParser.g:4317:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ;
public final void rule__AdditiveExpression__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4269:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) )
- // InternalSolverLanguage.g:4270:1: ( ( rule__AdditiveExpression__Group_1__0 )* )
+ // InternalSolverLanguageParser.g:4321:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) )
+ // InternalSolverLanguageParser.g:4322:1: ( ( rule__AdditiveExpression__Group_1__0 )* )
{
- // InternalSolverLanguage.g:4270:1: ( ( rule__AdditiveExpression__Group_1__0 )* )
- // InternalSolverLanguage.g:4271:2: ( rule__AdditiveExpression__Group_1__0 )*
+ // InternalSolverLanguageParser.g:4322:1: ( ( rule__AdditiveExpression__Group_1__0 )* )
+ // InternalSolverLanguageParser.g:4323:2: ( rule__AdditiveExpression__Group_1__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:4272:2: ( rule__AdditiveExpression__Group_1__0 )*
+ before(grammarAccess.getAdditiveExpressionAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:4324:2: ( rule__AdditiveExpression__Group_1__0 )*
loop36:
do {
int alt36=2;
int LA36_0 = input.LA(1);
- if ( ((LA36_0>=26 && LA36_0<=27)) ) {
+ if ( (LA36_0==PlusSign||LA36_0==HyphenMinus) ) {
alt36=1;
}
switch (alt36) {
case 1 :
- // InternalSolverLanguage.g:4272:3: rule__AdditiveExpression__Group_1__0
+ // InternalSolverLanguageParser.g:4324:3: rule__AdditiveExpression__Group_1__0
{
- pushFollow(FOLLOW_26);
+ pushFollow(FOLLOW_25);
rule__AdditiveExpression__Group_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
@@ -14745,9 +13621,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getGroup_1());
- }
+ after(grammarAccess.getAdditiveExpressionAccess().getGroup_1());
}
@@ -14770,25 +13644,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group_1__0"
- // InternalSolverLanguage.g:4281:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ;
+ // InternalSolverLanguageParser.g:4333:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ;
public final void rule__AdditiveExpression__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4285:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 )
- // InternalSolverLanguage.g:4286:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1
+ // InternalSolverLanguageParser.g:4337:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 )
+ // InternalSolverLanguageParser.g:4338:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1
{
- pushFollow(FOLLOW_25);
+ pushFollow(FOLLOW_24);
rule__AdditiveExpression__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AdditiveExpression__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14808,29 +13682,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group_1__0__Impl"
- // InternalSolverLanguage.g:4293:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:4345:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ;
public final void rule__AdditiveExpression__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4297:1: ( ( () ) )
- // InternalSolverLanguage.g:4298:1: ( () )
+ // InternalSolverLanguageParser.g:4349:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:4350:1: ( () )
{
- // InternalSolverLanguage.g:4298:1: ( () )
- // InternalSolverLanguage.g:4299:2: ()
+ // InternalSolverLanguageParser.g:4350:1: ( () )
+ // InternalSolverLanguageParser.g:4351:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0());
- }
- // InternalSolverLanguage.g:4300:2: ()
- // InternalSolverLanguage.g:4300:3:
+ before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0());
+ // InternalSolverLanguageParser.g:4352:2: ()
+ // InternalSolverLanguageParser.g:4352:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0());
- }
+ after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0());
}
@@ -14849,25 +13719,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group_1__1"
- // InternalSolverLanguage.g:4308:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ;
+ // InternalSolverLanguageParser.g:4360:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ;
public final void rule__AdditiveExpression__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4312:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 )
- // InternalSolverLanguage.g:4313:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2
+ // InternalSolverLanguageParser.g:4364:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 )
+ // InternalSolverLanguageParser.g:4365:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2
{
pushFollow(FOLLOW_7);
rule__AdditiveExpression__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__AdditiveExpression__Group_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14887,36 +13757,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group_1__1__Impl"
- // InternalSolverLanguage.g:4320:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:4372:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ;
public final void rule__AdditiveExpression__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4324:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) )
- // InternalSolverLanguage.g:4325:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4376:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) )
+ // InternalSolverLanguageParser.g:4377:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:4325:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) )
- // InternalSolverLanguage.g:4326:2: ( rule__AdditiveExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4377:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4378:2: ( rule__AdditiveExpression__OpAssignment_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1());
- }
- // InternalSolverLanguage.g:4327:2: ( rule__AdditiveExpression__OpAssignment_1_1 )
- // InternalSolverLanguage.g:4327:3: rule__AdditiveExpression__OpAssignment_1_1
+ before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1());
+ // InternalSolverLanguageParser.g:4379:2: ( rule__AdditiveExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4379:3: rule__AdditiveExpression__OpAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__AdditiveExpression__OpAssignment_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1());
}
+ after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1());
+
}
@@ -14938,20 +13804,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group_1__2"
- // InternalSolverLanguage.g:4335:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ;
+ // InternalSolverLanguageParser.g:4387:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ;
public final void rule__AdditiveExpression__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4339:1: ( rule__AdditiveExpression__Group_1__2__Impl )
- // InternalSolverLanguage.g:4340:2: rule__AdditiveExpression__Group_1__2__Impl
+ // InternalSolverLanguageParser.g:4391:1: ( rule__AdditiveExpression__Group_1__2__Impl )
+ // InternalSolverLanguageParser.g:4392:2: rule__AdditiveExpression__Group_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__AdditiveExpression__Group_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -14971,36 +13837,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__Group_1__2__Impl"
- // InternalSolverLanguage.g:4346:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:4398:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ;
public final void rule__AdditiveExpression__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4350:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) )
- // InternalSolverLanguage.g:4351:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4402:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) )
+ // InternalSolverLanguageParser.g:4403:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) )
{
- // InternalSolverLanguage.g:4351:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) )
- // InternalSolverLanguage.g:4352:2: ( rule__AdditiveExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4403:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4404:2: ( rule__AdditiveExpression__RightAssignment_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2());
- }
- // InternalSolverLanguage.g:4353:2: ( rule__AdditiveExpression__RightAssignment_1_2 )
- // InternalSolverLanguage.g:4353:3: rule__AdditiveExpression__RightAssignment_1_2
+ before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2());
+ // InternalSolverLanguageParser.g:4405:2: ( rule__AdditiveExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4405:3: rule__AdditiveExpression__RightAssignment_1_2
{
pushFollow(FOLLOW_2);
rule__AdditiveExpression__RightAssignment_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2());
}
+ after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2());
+
}
@@ -15022,25 +13884,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group__0"
- // InternalSolverLanguage.g:4362:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ;
+ // InternalSolverLanguageParser.g:4414:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ;
public final void rule__MultiplicativeExpression__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4366:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 )
- // InternalSolverLanguage.g:4367:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1
+ // InternalSolverLanguageParser.g:4418:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 )
+ // InternalSolverLanguageParser.g:4419:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1
{
- pushFollow(FOLLOW_27);
+ pushFollow(FOLLOW_26);
rule__MultiplicativeExpression__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15060,29 +13922,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group__0__Impl"
- // InternalSolverLanguage.g:4374:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ;
+ // InternalSolverLanguageParser.g:4426:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ;
public final void rule__MultiplicativeExpression__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4378:1: ( ( ruleExponentialExpression ) )
- // InternalSolverLanguage.g:4379:1: ( ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:4430:1: ( ( ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:4431:1: ( ruleExponentialExpression )
{
- // InternalSolverLanguage.g:4379:1: ( ruleExponentialExpression )
- // InternalSolverLanguage.g:4380:2: ruleExponentialExpression
+ // InternalSolverLanguageParser.g:4431:1: ( ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:4432:2: ruleExponentialExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleExponentialExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
}
@@ -15105,20 +13963,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group__1"
- // InternalSolverLanguage.g:4389:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:4441:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ;
public final void rule__MultiplicativeExpression__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4393:1: ( rule__MultiplicativeExpression__Group__1__Impl )
- // InternalSolverLanguage.g:4394:2: rule__MultiplicativeExpression__Group__1__Impl
+ // InternalSolverLanguageParser.g:4445:1: ( rule__MultiplicativeExpression__Group__1__Impl )
+ // InternalSolverLanguageParser.g:4446:2: rule__MultiplicativeExpression__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15138,41 +13996,39 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group__1__Impl"
- // InternalSolverLanguage.g:4400:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ;
+ // InternalSolverLanguageParser.g:4452:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ;
public final void rule__MultiplicativeExpression__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4404:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) )
- // InternalSolverLanguage.g:4405:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* )
+ // InternalSolverLanguageParser.g:4456:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) )
+ // InternalSolverLanguageParser.g:4457:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* )
{
- // InternalSolverLanguage.g:4405:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* )
- // InternalSolverLanguage.g:4406:2: ( rule__MultiplicativeExpression__Group_1__0 )*
+ // InternalSolverLanguageParser.g:4457:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* )
+ // InternalSolverLanguageParser.g:4458:2: ( rule__MultiplicativeExpression__Group_1__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:4407:2: ( rule__MultiplicativeExpression__Group_1__0 )*
+ before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:4459:2: ( rule__MultiplicativeExpression__Group_1__0 )*
loop37:
do {
int alt37=2;
int LA37_0 = input.LA(1);
- if ( (LA37_0==16||LA37_0==28) ) {
+ if ( (LA37_0==Asterisk||LA37_0==Solidus) ) {
alt37=1;
}
switch (alt37) {
case 1 :
- // InternalSolverLanguage.g:4407:3: rule__MultiplicativeExpression__Group_1__0
+ // InternalSolverLanguageParser.g:4459:3: rule__MultiplicativeExpression__Group_1__0
{
- pushFollow(FOLLOW_28);
+ pushFollow(FOLLOW_27);
rule__MultiplicativeExpression__Group_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
@@ -15182,9 +14038,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1());
- }
+ after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1());
}
@@ -15207,25 +14061,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group_1__0"
- // InternalSolverLanguage.g:4416:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ;
+ // InternalSolverLanguageParser.g:4468:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ;
public final void rule__MultiplicativeExpression__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4420:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 )
- // InternalSolverLanguage.g:4421:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1
+ // InternalSolverLanguageParser.g:4472:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 )
+ // InternalSolverLanguageParser.g:4473:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1
{
- pushFollow(FOLLOW_27);
+ pushFollow(FOLLOW_26);
rule__MultiplicativeExpression__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15245,29 +14099,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group_1__0__Impl"
- // InternalSolverLanguage.g:4428:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:4480:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ;
public final void rule__MultiplicativeExpression__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4432:1: ( ( () ) )
- // InternalSolverLanguage.g:4433:1: ( () )
+ // InternalSolverLanguageParser.g:4484:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:4485:1: ( () )
{
- // InternalSolverLanguage.g:4433:1: ( () )
- // InternalSolverLanguage.g:4434:2: ()
+ // InternalSolverLanguageParser.g:4485:1: ( () )
+ // InternalSolverLanguageParser.g:4486:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0());
- }
- // InternalSolverLanguage.g:4435:2: ()
- // InternalSolverLanguage.g:4435:3:
+ before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0());
+ // InternalSolverLanguageParser.g:4487:2: ()
+ // InternalSolverLanguageParser.g:4487:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0());
- }
+ after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0());
}
@@ -15286,25 +14136,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group_1__1"
- // InternalSolverLanguage.g:4443:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ;
+ // InternalSolverLanguageParser.g:4495:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ;
public final void rule__MultiplicativeExpression__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4447:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 )
- // InternalSolverLanguage.g:4448:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2
+ // InternalSolverLanguageParser.g:4499:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 )
+ // InternalSolverLanguageParser.g:4500:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2
{
pushFollow(FOLLOW_7);
rule__MultiplicativeExpression__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__Group_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15324,36 +14174,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group_1__1__Impl"
- // InternalSolverLanguage.g:4455:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:4507:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ;
public final void rule__MultiplicativeExpression__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4459:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) )
- // InternalSolverLanguage.g:4460:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4511:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) )
+ // InternalSolverLanguageParser.g:4512:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:4460:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) )
- // InternalSolverLanguage.g:4461:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4512:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4513:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1());
- }
- // InternalSolverLanguage.g:4462:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 )
- // InternalSolverLanguage.g:4462:3: rule__MultiplicativeExpression__OpAssignment_1_1
+ before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1());
+ // InternalSolverLanguageParser.g:4514:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4514:3: rule__MultiplicativeExpression__OpAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__OpAssignment_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1());
}
+ after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1());
+
}
@@ -15375,20 +14221,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group_1__2"
- // InternalSolverLanguage.g:4470:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ;
+ // InternalSolverLanguageParser.g:4522:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ;
public final void rule__MultiplicativeExpression__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4474:1: ( rule__MultiplicativeExpression__Group_1__2__Impl )
- // InternalSolverLanguage.g:4475:2: rule__MultiplicativeExpression__Group_1__2__Impl
+ // InternalSolverLanguageParser.g:4526:1: ( rule__MultiplicativeExpression__Group_1__2__Impl )
+ // InternalSolverLanguageParser.g:4527:2: rule__MultiplicativeExpression__Group_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__Group_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15408,36 +14254,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__Group_1__2__Impl"
- // InternalSolverLanguage.g:4481:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:4533:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ;
public final void rule__MultiplicativeExpression__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4485:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) )
- // InternalSolverLanguage.g:4486:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4537:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) )
+ // InternalSolverLanguageParser.g:4538:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) )
{
- // InternalSolverLanguage.g:4486:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) )
- // InternalSolverLanguage.g:4487:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4538:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4539:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2());
- }
- // InternalSolverLanguage.g:4488:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 )
- // InternalSolverLanguage.g:4488:3: rule__MultiplicativeExpression__RightAssignment_1_2
+ before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2());
+ // InternalSolverLanguageParser.g:4540:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4540:3: rule__MultiplicativeExpression__RightAssignment_1_2
{
pushFollow(FOLLOW_2);
rule__MultiplicativeExpression__RightAssignment_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2());
}
+ after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2());
+
}
@@ -15459,25 +14301,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group__0"
- // InternalSolverLanguage.g:4497:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ;
+ // InternalSolverLanguageParser.g:4549:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ;
public final void rule__ExponentialExpression__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4501:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 )
- // InternalSolverLanguage.g:4502:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1
+ // InternalSolverLanguageParser.g:4553:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 )
+ // InternalSolverLanguageParser.g:4554:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_28);
rule__ExponentialExpression__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15497,29 +14339,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group__0__Impl"
- // InternalSolverLanguage.g:4509:1: rule__ExponentialExpression__Group__0__Impl : ( ruleUnaryExpression ) ;
+ // InternalSolverLanguageParser.g:4561:1: rule__ExponentialExpression__Group__0__Impl : ( ruleUnaryExpression ) ;
public final void rule__ExponentialExpression__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4513:1: ( ( ruleUnaryExpression ) )
- // InternalSolverLanguage.g:4514:1: ( ruleUnaryExpression )
+ // InternalSolverLanguageParser.g:4565:1: ( ( ruleUnaryExpression ) )
+ // InternalSolverLanguageParser.g:4566:1: ( ruleUnaryExpression )
{
- // InternalSolverLanguage.g:4514:1: ( ruleUnaryExpression )
- // InternalSolverLanguage.g:4515:2: ruleUnaryExpression
+ // InternalSolverLanguageParser.g:4566:1: ( ruleUnaryExpression )
+ // InternalSolverLanguageParser.g:4567:2: ruleUnaryExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleUnaryExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
}
@@ -15542,20 +14380,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group__1"
- // InternalSolverLanguage.g:4524:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:4576:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ;
public final void rule__ExponentialExpression__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4528:1: ( rule__ExponentialExpression__Group__1__Impl )
- // InternalSolverLanguage.g:4529:2: rule__ExponentialExpression__Group__1__Impl
+ // InternalSolverLanguageParser.g:4580:1: ( rule__ExponentialExpression__Group__1__Impl )
+ // InternalSolverLanguageParser.g:4581:2: rule__ExponentialExpression__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15575,46 +14413,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group__1__Impl"
- // InternalSolverLanguage.g:4535:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ;
+ // InternalSolverLanguageParser.g:4587:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ;
public final void rule__ExponentialExpression__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4539:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) )
- // InternalSolverLanguage.g:4540:1: ( ( rule__ExponentialExpression__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:4591:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) )
+ // InternalSolverLanguageParser.g:4592:1: ( ( rule__ExponentialExpression__Group_1__0 )? )
{
- // InternalSolverLanguage.g:4540:1: ( ( rule__ExponentialExpression__Group_1__0 )? )
- // InternalSolverLanguage.g:4541:2: ( rule__ExponentialExpression__Group_1__0 )?
+ // InternalSolverLanguageParser.g:4592:1: ( ( rule__ExponentialExpression__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:4593:2: ( rule__ExponentialExpression__Group_1__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:4542:2: ( rule__ExponentialExpression__Group_1__0 )?
+ before(grammarAccess.getExponentialExpressionAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:4594:2: ( rule__ExponentialExpression__Group_1__0 )?
int alt38=2;
int LA38_0 = input.LA(1);
- if ( (LA38_0==15) ) {
+ if ( (LA38_0==CircumflexAccent) ) {
alt38=1;
}
switch (alt38) {
case 1 :
- // InternalSolverLanguage.g:4542:3: rule__ExponentialExpression__Group_1__0
+ // InternalSolverLanguageParser.g:4594:3: rule__ExponentialExpression__Group_1__0
{
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getGroup_1());
- }
+ after(grammarAccess.getExponentialExpressionAccess().getGroup_1());
}
@@ -15637,25 +14471,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group_1__0"
- // InternalSolverLanguage.g:4551:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ;
+ // InternalSolverLanguageParser.g:4603:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ;
public final void rule__ExponentialExpression__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4555:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 )
- // InternalSolverLanguage.g:4556:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1
+ // InternalSolverLanguageParser.g:4607:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 )
+ // InternalSolverLanguageParser.g:4608:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1
{
- pushFollow(FOLLOW_29);
+ pushFollow(FOLLOW_28);
rule__ExponentialExpression__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15675,29 +14509,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group_1__0__Impl"
- // InternalSolverLanguage.g:4563:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:4615:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ;
public final void rule__ExponentialExpression__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4567:1: ( ( () ) )
- // InternalSolverLanguage.g:4568:1: ( () )
+ // InternalSolverLanguageParser.g:4619:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:4620:1: ( () )
{
- // InternalSolverLanguage.g:4568:1: ( () )
- // InternalSolverLanguage.g:4569:2: ()
+ // InternalSolverLanguageParser.g:4620:1: ( () )
+ // InternalSolverLanguageParser.g:4621:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0());
- }
- // InternalSolverLanguage.g:4570:2: ()
- // InternalSolverLanguage.g:4570:3:
+ before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0());
+ // InternalSolverLanguageParser.g:4622:2: ()
+ // InternalSolverLanguageParser.g:4622:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0());
- }
+ after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0());
}
@@ -15716,25 +14546,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group_1__1"
- // InternalSolverLanguage.g:4578:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ;
+ // InternalSolverLanguageParser.g:4630:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ;
public final void rule__ExponentialExpression__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4582:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 )
- // InternalSolverLanguage.g:4583:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2
+ // InternalSolverLanguageParser.g:4634:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 )
+ // InternalSolverLanguageParser.g:4635:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2
{
pushFollow(FOLLOW_7);
rule__ExponentialExpression__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15754,36 +14584,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group_1__1__Impl"
- // InternalSolverLanguage.g:4590:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:4642:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ;
public final void rule__ExponentialExpression__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4594:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) )
- // InternalSolverLanguage.g:4595:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4646:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) )
+ // InternalSolverLanguageParser.g:4647:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:4595:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) )
- // InternalSolverLanguage.g:4596:2: ( rule__ExponentialExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4647:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4648:2: ( rule__ExponentialExpression__OpAssignment_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1());
- }
- // InternalSolverLanguage.g:4597:2: ( rule__ExponentialExpression__OpAssignment_1_1 )
- // InternalSolverLanguage.g:4597:3: rule__ExponentialExpression__OpAssignment_1_1
+ before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1());
+ // InternalSolverLanguageParser.g:4649:2: ( rule__ExponentialExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4649:3: rule__ExponentialExpression__OpAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__ExponentialExpression__OpAssignment_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1());
}
+ after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1());
+
}
@@ -15805,20 +14631,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group_1__2"
- // InternalSolverLanguage.g:4605:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ;
+ // InternalSolverLanguageParser.g:4657:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ;
public final void rule__ExponentialExpression__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4609:1: ( rule__ExponentialExpression__Group_1__2__Impl )
- // InternalSolverLanguage.g:4610:2: rule__ExponentialExpression__Group_1__2__Impl
+ // InternalSolverLanguageParser.g:4661:1: ( rule__ExponentialExpression__Group_1__2__Impl )
+ // InternalSolverLanguageParser.g:4662:2: rule__ExponentialExpression__Group_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__ExponentialExpression__Group_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15838,36 +14664,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__Group_1__2__Impl"
- // InternalSolverLanguage.g:4616:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:4668:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ;
public final void rule__ExponentialExpression__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4620:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) )
- // InternalSolverLanguage.g:4621:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4672:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) )
+ // InternalSolverLanguageParser.g:4673:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) )
{
- // InternalSolverLanguage.g:4621:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) )
- // InternalSolverLanguage.g:4622:2: ( rule__ExponentialExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4673:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4674:2: ( rule__ExponentialExpression__RightAssignment_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2());
- }
- // InternalSolverLanguage.g:4623:2: ( rule__ExponentialExpression__RightAssignment_1_2 )
- // InternalSolverLanguage.g:4623:3: rule__ExponentialExpression__RightAssignment_1_2
+ before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2());
+ // InternalSolverLanguageParser.g:4675:2: ( rule__ExponentialExpression__RightAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4675:3: rule__ExponentialExpression__RightAssignment_1_2
{
pushFollow(FOLLOW_2);
rule__ExponentialExpression__RightAssignment_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2());
}
+ after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2());
+
}
@@ -15889,25 +14711,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Group_1__0"
- // InternalSolverLanguage.g:4632:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ;
+ // InternalSolverLanguageParser.g:4684:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ;
public final void rule__UnaryExpression__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4636:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 )
- // InternalSolverLanguage.g:4637:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1
+ // InternalSolverLanguageParser.g:4688:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 )
+ // InternalSolverLanguageParser.g:4689:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1
{
pushFollow(FOLLOW_7);
rule__UnaryExpression__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__UnaryExpression__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -15927,29 +14749,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Group_1__0__Impl"
- // InternalSolverLanguage.g:4644:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:4696:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ;
public final void rule__UnaryExpression__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4648:1: ( ( () ) )
- // InternalSolverLanguage.g:4649:1: ( () )
+ // InternalSolverLanguageParser.g:4700:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:4701:1: ( () )
{
- // InternalSolverLanguage.g:4649:1: ( () )
- // InternalSolverLanguage.g:4650:2: ()
+ // InternalSolverLanguageParser.g:4701:1: ( () )
+ // InternalSolverLanguageParser.g:4702:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0());
- }
- // InternalSolverLanguage.g:4651:2: ()
- // InternalSolverLanguage.g:4651:3:
+ before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0());
+ // InternalSolverLanguageParser.g:4703:2: ()
+ // InternalSolverLanguageParser.g:4703:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0());
- }
+ after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0());
}
@@ -15968,25 +14786,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Group_1__1"
- // InternalSolverLanguage.g:4659:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ;
+ // InternalSolverLanguageParser.g:4711:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ;
public final void rule__UnaryExpression__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4663:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 )
- // InternalSolverLanguage.g:4664:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2
+ // InternalSolverLanguageParser.g:4715:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 )
+ // InternalSolverLanguageParser.g:4716:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2
{
- pushFollow(FOLLOW_30);
+ pushFollow(FOLLOW_29);
rule__UnaryExpression__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__UnaryExpression__Group_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16006,36 +14824,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Group_1__1__Impl"
- // InternalSolverLanguage.g:4671:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:4723:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ;
public final void rule__UnaryExpression__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4675:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) )
- // InternalSolverLanguage.g:4676:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4727:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) )
+ // InternalSolverLanguageParser.g:4728:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) )
{
- // InternalSolverLanguage.g:4676:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) )
- // InternalSolverLanguage.g:4677:2: ( rule__UnaryExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4728:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) )
+ // InternalSolverLanguageParser.g:4729:2: ( rule__UnaryExpression__OpAssignment_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1());
- }
- // InternalSolverLanguage.g:4678:2: ( rule__UnaryExpression__OpAssignment_1_1 )
- // InternalSolverLanguage.g:4678:3: rule__UnaryExpression__OpAssignment_1_1
+ before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1());
+ // InternalSolverLanguageParser.g:4730:2: ( rule__UnaryExpression__OpAssignment_1_1 )
+ // InternalSolverLanguageParser.g:4730:3: rule__UnaryExpression__OpAssignment_1_1
{
pushFollow(FOLLOW_2);
rule__UnaryExpression__OpAssignment_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1());
}
+ after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1());
+
}
@@ -16057,20 +14871,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Group_1__2"
- // InternalSolverLanguage.g:4686:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ;
+ // InternalSolverLanguageParser.g:4738:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ;
public final void rule__UnaryExpression__Group_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4690:1: ( rule__UnaryExpression__Group_1__2__Impl )
- // InternalSolverLanguage.g:4691:2: rule__UnaryExpression__Group_1__2__Impl
+ // InternalSolverLanguageParser.g:4742:1: ( rule__UnaryExpression__Group_1__2__Impl )
+ // InternalSolverLanguageParser.g:4743:2: rule__UnaryExpression__Group_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__UnaryExpression__Group_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16090,36 +14904,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__Group_1__2__Impl"
- // InternalSolverLanguage.g:4697:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:4749:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ;
public final void rule__UnaryExpression__Group_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4701:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) )
- // InternalSolverLanguage.g:4702:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4753:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) )
+ // InternalSolverLanguageParser.g:4754:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) )
{
- // InternalSolverLanguage.g:4702:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) )
- // InternalSolverLanguage.g:4703:2: ( rule__UnaryExpression__BodyAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4754:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) )
+ // InternalSolverLanguageParser.g:4755:2: ( rule__UnaryExpression__BodyAssignment_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2());
- }
- // InternalSolverLanguage.g:4704:2: ( rule__UnaryExpression__BodyAssignment_1_2 )
- // InternalSolverLanguage.g:4704:3: rule__UnaryExpression__BodyAssignment_1_2
+ before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2());
+ // InternalSolverLanguageParser.g:4756:2: ( rule__UnaryExpression__BodyAssignment_1_2 )
+ // InternalSolverLanguageParser.g:4756:3: rule__UnaryExpression__BodyAssignment_1_2
{
pushFollow(FOLLOW_2);
rule__UnaryExpression__BodyAssignment_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2());
}
+ after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2());
+
}
@@ -16141,25 +14951,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__0"
- // InternalSolverLanguage.g:4713:1: rule__Count__Group__0 : rule__Count__Group__0__Impl rule__Count__Group__1 ;
+ // InternalSolverLanguageParser.g:4765:1: rule__Count__Group__0 : rule__Count__Group__0__Impl rule__Count__Group__1 ;
public final void rule__Count__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4717:1: ( rule__Count__Group__0__Impl rule__Count__Group__1 )
- // InternalSolverLanguage.g:4718:2: rule__Count__Group__0__Impl rule__Count__Group__1
+ // InternalSolverLanguageParser.g:4769:1: ( rule__Count__Group__0__Impl rule__Count__Group__1 )
+ // InternalSolverLanguageParser.g:4770:2: rule__Count__Group__0__Impl rule__Count__Group__1
{
- pushFollow(FOLLOW_31);
+ pushFollow(FOLLOW_30);
rule__Count__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Count__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16179,25 +14989,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__0__Impl"
- // InternalSolverLanguage.g:4725:1: rule__Count__Group__0__Impl : ( 'count' ) ;
+ // InternalSolverLanguageParser.g:4777:1: rule__Count__Group__0__Impl : ( Count ) ;
public final void rule__Count__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4729:1: ( ( 'count' ) )
- // InternalSolverLanguage.g:4730:1: ( 'count' )
+ // InternalSolverLanguageParser.g:4781:1: ( ( Count ) )
+ // InternalSolverLanguageParser.g:4782:1: ( Count )
{
- // InternalSolverLanguage.g:4730:1: ( 'count' )
- // InternalSolverLanguage.g:4731:2: 'count'
+ // InternalSolverLanguageParser.g:4782:1: ( Count )
+ // InternalSolverLanguageParser.g:4783:2: Count
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountAccess().getCountKeyword_0());
- }
- match(input,57,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountAccess().getCountKeyword_0());
- }
+ before(grammarAccess.getCountAccess().getCountKeyword_0());
+ match(input,Count,FOLLOW_2);
+ after(grammarAccess.getCountAccess().getCountKeyword_0());
}
@@ -16220,25 +15026,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__1"
- // InternalSolverLanguage.g:4740:1: rule__Count__Group__1 : rule__Count__Group__1__Impl rule__Count__Group__2 ;
+ // InternalSolverLanguageParser.g:4792:1: rule__Count__Group__1 : rule__Count__Group__1__Impl rule__Count__Group__2 ;
public final void rule__Count__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4744:1: ( rule__Count__Group__1__Impl rule__Count__Group__2 )
- // InternalSolverLanguage.g:4745:2: rule__Count__Group__1__Impl rule__Count__Group__2
+ // InternalSolverLanguageParser.g:4796:1: ( rule__Count__Group__1__Impl rule__Count__Group__2 )
+ // InternalSolverLanguageParser.g:4797:2: rule__Count__Group__1__Impl rule__Count__Group__2
{
pushFollow(FOLLOW_7);
rule__Count__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Count__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16258,25 +15064,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__1__Impl"
- // InternalSolverLanguage.g:4752:1: rule__Count__Group__1__Impl : ( '{' ) ;
+ // InternalSolverLanguageParser.g:4804:1: rule__Count__Group__1__Impl : ( LeftCurlyBracket ) ;
public final void rule__Count__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4756:1: ( ( '{' ) )
- // InternalSolverLanguage.g:4757:1: ( '{' )
+ // InternalSolverLanguageParser.g:4808:1: ( ( LeftCurlyBracket ) )
+ // InternalSolverLanguageParser.g:4809:1: ( LeftCurlyBracket )
{
- // InternalSolverLanguage.g:4757:1: ( '{' )
- // InternalSolverLanguage.g:4758:2: '{'
+ // InternalSolverLanguageParser.g:4809:1: ( LeftCurlyBracket )
+ // InternalSolverLanguageParser.g:4810:2: LeftCurlyBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
- }
- match(input,58,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
- }
+ before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
+ match(input,LeftCurlyBracket,FOLLOW_2);
+ after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
}
@@ -16299,25 +15101,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__2"
- // InternalSolverLanguage.g:4767:1: rule__Count__Group__2 : rule__Count__Group__2__Impl rule__Count__Group__3 ;
+ // InternalSolverLanguageParser.g:4819:1: rule__Count__Group__2 : rule__Count__Group__2__Impl rule__Count__Group__3 ;
public final void rule__Count__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4771:1: ( rule__Count__Group__2__Impl rule__Count__Group__3 )
- // InternalSolverLanguage.g:4772:2: rule__Count__Group__2__Impl rule__Count__Group__3
+ // InternalSolverLanguageParser.g:4823:1: ( rule__Count__Group__2__Impl rule__Count__Group__3 )
+ // InternalSolverLanguageParser.g:4824:2: rule__Count__Group__2__Impl rule__Count__Group__3
{
- pushFollow(FOLLOW_32);
+ pushFollow(FOLLOW_31);
rule__Count__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Count__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16337,36 +15139,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__2__Impl"
- // InternalSolverLanguage.g:4779:1: rule__Count__Group__2__Impl : ( ( rule__Count__BodyAssignment_2 ) ) ;
+ // InternalSolverLanguageParser.g:4831:1: rule__Count__Group__2__Impl : ( ( rule__Count__BodyAssignment_2 ) ) ;
public final void rule__Count__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4783:1: ( ( ( rule__Count__BodyAssignment_2 ) ) )
- // InternalSolverLanguage.g:4784:1: ( ( rule__Count__BodyAssignment_2 ) )
+ // InternalSolverLanguageParser.g:4835:1: ( ( ( rule__Count__BodyAssignment_2 ) ) )
+ // InternalSolverLanguageParser.g:4836:1: ( ( rule__Count__BodyAssignment_2 ) )
{
- // InternalSolverLanguage.g:4784:1: ( ( rule__Count__BodyAssignment_2 ) )
- // InternalSolverLanguage.g:4785:2: ( rule__Count__BodyAssignment_2 )
+ // InternalSolverLanguageParser.g:4836:1: ( ( rule__Count__BodyAssignment_2 ) )
+ // InternalSolverLanguageParser.g:4837:2: ( rule__Count__BodyAssignment_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountAccess().getBodyAssignment_2());
- }
- // InternalSolverLanguage.g:4786:2: ( rule__Count__BodyAssignment_2 )
- // InternalSolverLanguage.g:4786:3: rule__Count__BodyAssignment_2
+ before(grammarAccess.getCountAccess().getBodyAssignment_2());
+ // InternalSolverLanguageParser.g:4838:2: ( rule__Count__BodyAssignment_2 )
+ // InternalSolverLanguageParser.g:4838:3: rule__Count__BodyAssignment_2
{
pushFollow(FOLLOW_2);
rule__Count__BodyAssignment_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountAccess().getBodyAssignment_2());
}
+ after(grammarAccess.getCountAccess().getBodyAssignment_2());
+
}
@@ -16388,20 +15186,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__3"
- // InternalSolverLanguage.g:4794:1: rule__Count__Group__3 : rule__Count__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:4846:1: rule__Count__Group__3 : rule__Count__Group__3__Impl ;
public final void rule__Count__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4798:1: ( rule__Count__Group__3__Impl )
- // InternalSolverLanguage.g:4799:2: rule__Count__Group__3__Impl
+ // InternalSolverLanguageParser.g:4850:1: ( rule__Count__Group__3__Impl )
+ // InternalSolverLanguageParser.g:4851:2: rule__Count__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__Count__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16421,25 +15219,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__Group__3__Impl"
- // InternalSolverLanguage.g:4805:1: rule__Count__Group__3__Impl : ( '}' ) ;
+ // InternalSolverLanguageParser.g:4857:1: rule__Count__Group__3__Impl : ( RightCurlyBracket ) ;
public final void rule__Count__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4809:1: ( ( '}' ) )
- // InternalSolverLanguage.g:4810:1: ( '}' )
+ // InternalSolverLanguageParser.g:4861:1: ( ( RightCurlyBracket ) )
+ // InternalSolverLanguageParser.g:4862:1: ( RightCurlyBracket )
{
- // InternalSolverLanguage.g:4810:1: ( '}' )
- // InternalSolverLanguage.g:4811:2: '}'
+ // InternalSolverLanguageParser.g:4862:1: ( RightCurlyBracket )
+ // InternalSolverLanguageParser.g:4863:2: RightCurlyBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
- }
- match(input,59,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
- }
+ before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
+ match(input,RightCurlyBracket,FOLLOW_2);
+ after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
}
@@ -16462,25 +15256,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__0"
- // InternalSolverLanguage.g:4821:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ;
+ // InternalSolverLanguageParser.g:4873:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ;
public final void rule__Aggregation__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4825:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 )
- // InternalSolverLanguage.g:4826:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1
+ // InternalSolverLanguageParser.g:4877:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 )
+ // InternalSolverLanguageParser.g:4878:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1
{
- pushFollow(FOLLOW_31);
+ pushFollow(FOLLOW_30);
rule__Aggregation__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Aggregation__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16500,36 +15294,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__0__Impl"
- // InternalSolverLanguage.g:4833:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ;
+ // InternalSolverLanguageParser.g:4885:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ;
public final void rule__Aggregation__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4837:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) )
- // InternalSolverLanguage.g:4838:1: ( ( rule__Aggregation__OpAssignment_0 ) )
+ // InternalSolverLanguageParser.g:4889:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:4890:1: ( ( rule__Aggregation__OpAssignment_0 ) )
{
- // InternalSolverLanguage.g:4838:1: ( ( rule__Aggregation__OpAssignment_0 ) )
- // InternalSolverLanguage.g:4839:2: ( rule__Aggregation__OpAssignment_0 )
+ // InternalSolverLanguageParser.g:4890:1: ( ( rule__Aggregation__OpAssignment_0 ) )
+ // InternalSolverLanguageParser.g:4891:2: ( rule__Aggregation__OpAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getOpAssignment_0());
- }
- // InternalSolverLanguage.g:4840:2: ( rule__Aggregation__OpAssignment_0 )
- // InternalSolverLanguage.g:4840:3: rule__Aggregation__OpAssignment_0
+ before(grammarAccess.getAggregationAccess().getOpAssignment_0());
+ // InternalSolverLanguageParser.g:4892:2: ( rule__Aggregation__OpAssignment_0 )
+ // InternalSolverLanguageParser.g:4892:3: rule__Aggregation__OpAssignment_0
{
pushFollow(FOLLOW_2);
rule__Aggregation__OpAssignment_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getOpAssignment_0());
}
+ after(grammarAccess.getAggregationAccess().getOpAssignment_0());
+
}
@@ -16551,25 +15341,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__1"
- // InternalSolverLanguage.g:4848:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ;
+ // InternalSolverLanguageParser.g:4900:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ;
public final void rule__Aggregation__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4852:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 )
- // InternalSolverLanguage.g:4853:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2
+ // InternalSolverLanguageParser.g:4904:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 )
+ // InternalSolverLanguageParser.g:4905:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2
{
pushFollow(FOLLOW_7);
rule__Aggregation__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Aggregation__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16589,25 +15379,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__1__Impl"
- // InternalSolverLanguage.g:4860:1: rule__Aggregation__Group__1__Impl : ( '{' ) ;
+ // InternalSolverLanguageParser.g:4912:1: rule__Aggregation__Group__1__Impl : ( LeftCurlyBracket ) ;
public final void rule__Aggregation__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4864:1: ( ( '{' ) )
- // InternalSolverLanguage.g:4865:1: ( '{' )
+ // InternalSolverLanguageParser.g:4916:1: ( ( LeftCurlyBracket ) )
+ // InternalSolverLanguageParser.g:4917:1: ( LeftCurlyBracket )
{
- // InternalSolverLanguage.g:4865:1: ( '{' )
- // InternalSolverLanguage.g:4866:2: '{'
+ // InternalSolverLanguageParser.g:4917:1: ( LeftCurlyBracket )
+ // InternalSolverLanguageParser.g:4918:2: LeftCurlyBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
- }
- match(input,58,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
- }
+ before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
+ match(input,LeftCurlyBracket,FOLLOW_2);
+ after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
}
@@ -16630,25 +15416,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__2"
- // InternalSolverLanguage.g:4875:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ;
+ // InternalSolverLanguageParser.g:4927:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ;
public final void rule__Aggregation__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4879:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 )
- // InternalSolverLanguage.g:4880:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3
+ // InternalSolverLanguageParser.g:4931:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 )
+ // InternalSolverLanguageParser.g:4932:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3
{
- pushFollow(FOLLOW_33);
+ pushFollow(FOLLOW_32);
rule__Aggregation__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Aggregation__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16668,36 +15454,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__2__Impl"
- // InternalSolverLanguage.g:4887:1: rule__Aggregation__Group__2__Impl : ( ( rule__Aggregation__BodyAssignment_2 ) ) ;
+ // InternalSolverLanguageParser.g:4939:1: rule__Aggregation__Group__2__Impl : ( ( rule__Aggregation__BodyAssignment_2 ) ) ;
public final void rule__Aggregation__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4891:1: ( ( ( rule__Aggregation__BodyAssignment_2 ) ) )
- // InternalSolverLanguage.g:4892:1: ( ( rule__Aggregation__BodyAssignment_2 ) )
+ // InternalSolverLanguageParser.g:4943:1: ( ( ( rule__Aggregation__BodyAssignment_2 ) ) )
+ // InternalSolverLanguageParser.g:4944:1: ( ( rule__Aggregation__BodyAssignment_2 ) )
{
- // InternalSolverLanguage.g:4892:1: ( ( rule__Aggregation__BodyAssignment_2 ) )
- // InternalSolverLanguage.g:4893:2: ( rule__Aggregation__BodyAssignment_2 )
+ // InternalSolverLanguageParser.g:4944:1: ( ( rule__Aggregation__BodyAssignment_2 ) )
+ // InternalSolverLanguageParser.g:4945:2: ( rule__Aggregation__BodyAssignment_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getBodyAssignment_2());
- }
- // InternalSolverLanguage.g:4894:2: ( rule__Aggregation__BodyAssignment_2 )
- // InternalSolverLanguage.g:4894:3: rule__Aggregation__BodyAssignment_2
+ before(grammarAccess.getAggregationAccess().getBodyAssignment_2());
+ // InternalSolverLanguageParser.g:4946:2: ( rule__Aggregation__BodyAssignment_2 )
+ // InternalSolverLanguageParser.g:4946:3: rule__Aggregation__BodyAssignment_2
{
pushFollow(FOLLOW_2);
rule__Aggregation__BodyAssignment_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getBodyAssignment_2());
}
+ after(grammarAccess.getAggregationAccess().getBodyAssignment_2());
+
}
@@ -16719,25 +15501,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__3"
- // InternalSolverLanguage.g:4902:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ;
+ // InternalSolverLanguageParser.g:4954:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ;
public final void rule__Aggregation__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4906:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 )
- // InternalSolverLanguage.g:4907:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4
+ // InternalSolverLanguageParser.g:4958:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 )
+ // InternalSolverLanguageParser.g:4959:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4
{
pushFollow(FOLLOW_7);
rule__Aggregation__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Aggregation__Group__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16757,25 +15539,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__3__Impl"
- // InternalSolverLanguage.g:4914:1: rule__Aggregation__Group__3__Impl : ( '|' ) ;
+ // InternalSolverLanguageParser.g:4966:1: rule__Aggregation__Group__3__Impl : ( VerticalLine ) ;
public final void rule__Aggregation__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4918:1: ( ( '|' ) )
- // InternalSolverLanguage.g:4919:1: ( '|' )
+ // InternalSolverLanguageParser.g:4970:1: ( ( VerticalLine ) )
+ // InternalSolverLanguageParser.g:4971:1: ( VerticalLine )
{
- // InternalSolverLanguage.g:4919:1: ( '|' )
- // InternalSolverLanguage.g:4920:2: '|'
+ // InternalSolverLanguageParser.g:4971:1: ( VerticalLine )
+ // InternalSolverLanguageParser.g:4972:2: VerticalLine
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
- }
- match(input,60,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
- }
+ before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
+ match(input,VerticalLine,FOLLOW_2);
+ after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
}
@@ -16798,25 +15576,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__4"
- // InternalSolverLanguage.g:4929:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ;
+ // InternalSolverLanguageParser.g:4981:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ;
public final void rule__Aggregation__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4933:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 )
- // InternalSolverLanguage.g:4934:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5
+ // InternalSolverLanguageParser.g:4985:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 )
+ // InternalSolverLanguageParser.g:4986:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5
{
- pushFollow(FOLLOW_32);
+ pushFollow(FOLLOW_31);
rule__Aggregation__Group__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Aggregation__Group__5();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16836,36 +15614,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__4__Impl"
- // InternalSolverLanguage.g:4941:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__ConditionAssignment_4 ) ) ;
+ // InternalSolverLanguageParser.g:4993:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__ConditionAssignment_4 ) ) ;
public final void rule__Aggregation__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4945:1: ( ( ( rule__Aggregation__ConditionAssignment_4 ) ) )
- // InternalSolverLanguage.g:4946:1: ( ( rule__Aggregation__ConditionAssignment_4 ) )
+ // InternalSolverLanguageParser.g:4997:1: ( ( ( rule__Aggregation__ConditionAssignment_4 ) ) )
+ // InternalSolverLanguageParser.g:4998:1: ( ( rule__Aggregation__ConditionAssignment_4 ) )
{
- // InternalSolverLanguage.g:4946:1: ( ( rule__Aggregation__ConditionAssignment_4 ) )
- // InternalSolverLanguage.g:4947:2: ( rule__Aggregation__ConditionAssignment_4 )
+ // InternalSolverLanguageParser.g:4998:1: ( ( rule__Aggregation__ConditionAssignment_4 ) )
+ // InternalSolverLanguageParser.g:4999:2: ( rule__Aggregation__ConditionAssignment_4 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getConditionAssignment_4());
- }
- // InternalSolverLanguage.g:4948:2: ( rule__Aggregation__ConditionAssignment_4 )
- // InternalSolverLanguage.g:4948:3: rule__Aggregation__ConditionAssignment_4
+ before(grammarAccess.getAggregationAccess().getConditionAssignment_4());
+ // InternalSolverLanguageParser.g:5000:2: ( rule__Aggregation__ConditionAssignment_4 )
+ // InternalSolverLanguageParser.g:5000:3: rule__Aggregation__ConditionAssignment_4
{
pushFollow(FOLLOW_2);
rule__Aggregation__ConditionAssignment_4();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getConditionAssignment_4());
}
+ after(grammarAccess.getAggregationAccess().getConditionAssignment_4());
+
}
@@ -16887,20 +15661,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__5"
- // InternalSolverLanguage.g:4956:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ;
+ // InternalSolverLanguageParser.g:5008:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ;
public final void rule__Aggregation__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4960:1: ( rule__Aggregation__Group__5__Impl )
- // InternalSolverLanguage.g:4961:2: rule__Aggregation__Group__5__Impl
+ // InternalSolverLanguageParser.g:5012:1: ( rule__Aggregation__Group__5__Impl )
+ // InternalSolverLanguageParser.g:5013:2: rule__Aggregation__Group__5__Impl
{
pushFollow(FOLLOW_2);
rule__Aggregation__Group__5__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -16920,25 +15694,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__Group__5__Impl"
- // InternalSolverLanguage.g:4967:1: rule__Aggregation__Group__5__Impl : ( '}' ) ;
+ // InternalSolverLanguageParser.g:5019:1: rule__Aggregation__Group__5__Impl : ( RightCurlyBracket ) ;
public final void rule__Aggregation__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4971:1: ( ( '}' ) )
- // InternalSolverLanguage.g:4972:1: ( '}' )
+ // InternalSolverLanguageParser.g:5023:1: ( ( RightCurlyBracket ) )
+ // InternalSolverLanguageParser.g:5024:1: ( RightCurlyBracket )
{
- // InternalSolverLanguage.g:4972:1: ( '}' )
- // InternalSolverLanguage.g:4973:2: '}'
+ // InternalSolverLanguageParser.g:5024:1: ( RightCurlyBracket )
+ // InternalSolverLanguageParser.g:5025:2: RightCurlyBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
- }
- match(input,59,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
- }
+ before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
+ match(input,RightCurlyBracket,FOLLOW_2);
+ after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
}
@@ -16960,70 +15730,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR end "rule__Aggregation__Group__5__Impl"
- // $ANTLR start "rule__AtomicExpression__Group_0__0"
- // InternalSolverLanguage.g:4983:1: rule__AtomicExpression__Group_0__0 : rule__AtomicExpression__Group_0__0__Impl rule__AtomicExpression__Group_0__1 ;
- public final void rule__AtomicExpression__Group_0__0() throws RecognitionException {
+ // $ANTLR start "rule__AtomicExpression__Group_4__0"
+ // InternalSolverLanguageParser.g:5035:1: rule__AtomicExpression__Group_4__0 : rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ;
+ public final void rule__AtomicExpression__Group_4__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:4987:1: ( rule__AtomicExpression__Group_0__0__Impl rule__AtomicExpression__Group_0__1 )
- // InternalSolverLanguage.g:4988:2: rule__AtomicExpression__Group_0__0__Impl rule__AtomicExpression__Group_0__1
+ // InternalSolverLanguageParser.g:5039:1: ( rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 )
+ // InternalSolverLanguageParser.g:5040:2: rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1
{
- pushFollow(FOLLOW_12);
- rule__AtomicExpression__Group_0__0__Impl();
-
- state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_0__1();
+ pushFollow(FOLLOW_7);
+ rule__AtomicExpression__Group_4__0__Impl();
state._fsp--;
- if (state.failed) return ;
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_0__0"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_0__0__Impl"
- // InternalSolverLanguage.g:4995:1: rule__AtomicExpression__Group_0__0__Impl : ( ruleReference ) ;
- public final void rule__AtomicExpression__Group_0__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:4999:1: ( ( ruleReference ) )
- // InternalSolverLanguage.g:5000:1: ( ruleReference )
- {
- // InternalSolverLanguage.g:5000:1: ( ruleReference )
- // InternalSolverLanguage.g:5001:2: ruleReference
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0());
- }
pushFollow(FOLLOW_2);
- ruleReference();
+ rule__AtomicExpression__Group_4__1();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0());
- }
-
- }
}
@@ -17040,198 +15765,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__Group_0__0__Impl"
+ // $ANTLR end "rule__AtomicExpression__Group_4__0"
- // $ANTLR start "rule__AtomicExpression__Group_0__1"
- // InternalSolverLanguage.g:5010:1: rule__AtomicExpression__Group_0__1 : rule__AtomicExpression__Group_0__1__Impl ;
- public final void rule__AtomicExpression__Group_0__1() throws RecognitionException {
+ // $ANTLR start "rule__AtomicExpression__Group_4__0__Impl"
+ // InternalSolverLanguageParser.g:5047:1: rule__AtomicExpression__Group_4__0__Impl : ( LeftParenthesis ) ;
+ public final void rule__AtomicExpression__Group_4__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5014:1: ( rule__AtomicExpression__Group_0__1__Impl )
- // InternalSolverLanguage.g:5015:2: rule__AtomicExpression__Group_0__1__Impl
+ // InternalSolverLanguageParser.g:5051:1: ( ( LeftParenthesis ) )
+ // InternalSolverLanguageParser.g:5052:1: ( LeftParenthesis )
{
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_0__1__Impl();
-
- state._fsp--;
- if (state.failed) return ;
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_0__1"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_0__1__Impl"
- // InternalSolverLanguage.g:5021:1: rule__AtomicExpression__Group_0__1__Impl : ( ( rule__AtomicExpression__Group_0_1__0 )? ) ;
- public final void rule__AtomicExpression__Group_0__1__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5025:1: ( ( ( rule__AtomicExpression__Group_0_1__0 )? ) )
- // InternalSolverLanguage.g:5026:1: ( ( rule__AtomicExpression__Group_0_1__0 )? )
- {
- // InternalSolverLanguage.g:5026:1: ( ( rule__AtomicExpression__Group_0_1__0 )? )
- // InternalSolverLanguage.g:5027:2: ( rule__AtomicExpression__Group_0_1__0 )?
+ // InternalSolverLanguageParser.g:5052:1: ( LeftParenthesis )
+ // InternalSolverLanguageParser.g:5053:2: LeftParenthesis
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getGroup_0_1());
- }
- // InternalSolverLanguage.g:5028:2: ( rule__AtomicExpression__Group_0_1__0 )?
- int alt39=2;
- int LA39_0 = input.LA(1);
-
- if ( (LA39_0==61) ) {
- alt39=1;
- }
- switch (alt39) {
- case 1 :
- // InternalSolverLanguage.g:5028:3: rule__AtomicExpression__Group_0_1__0
- {
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_0_1__0();
-
- state._fsp--;
- if (state.failed) return ;
-
- }
- break;
-
- }
-
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getGroup_0_1());
- }
-
- }
-
+ before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0());
+ match(input,LeftParenthesis,FOLLOW_2);
+ after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0());
}
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_0__1__Impl"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_0_1__0"
- // InternalSolverLanguage.g:5037:1: rule__AtomicExpression__Group_0_1__0 : rule__AtomicExpression__Group_0_1__0__Impl rule__AtomicExpression__Group_0_1__1 ;
- public final void rule__AtomicExpression__Group_0_1__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5041:1: ( rule__AtomicExpression__Group_0_1__0__Impl rule__AtomicExpression__Group_0_1__1 )
- // InternalSolverLanguage.g:5042:2: rule__AtomicExpression__Group_0_1__0__Impl rule__AtomicExpression__Group_0_1__1
- {
- pushFollow(FOLLOW_12);
- rule__AtomicExpression__Group_0_1__0__Impl();
-
- state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_0_1__1();
-
- state._fsp--;
- if (state.failed) return ;
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_0_1__0"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_0_1__0__Impl"
- // InternalSolverLanguage.g:5049:1: rule__AtomicExpression__Group_0_1__0__Impl : ( () ) ;
- public final void rule__AtomicExpression__Group_0_1__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5053:1: ( ( () ) )
- // InternalSolverLanguage.g:5054:1: ( () )
- {
- // InternalSolverLanguage.g:5054:1: ( () )
- // InternalSolverLanguage.g:5055:2: ()
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0());
- }
- // InternalSolverLanguage.g:5056:2: ()
- // InternalSolverLanguage.g:5056:3:
- {
- }
-
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0());
- }
-
- }
-
-
- }
-
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_0_1__0__Impl"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_0_1__1"
- // InternalSolverLanguage.g:5064:1: rule__AtomicExpression__Group_0_1__1 : rule__AtomicExpression__Group_0_1__1__Impl ;
- public final void rule__AtomicExpression__Group_0_1__1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5068:1: ( rule__AtomicExpression__Group_0_1__1__Impl )
- // InternalSolverLanguage.g:5069:2: rule__AtomicExpression__Group_0_1__1__Impl
- {
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_0_1__1__Impl();
-
- state._fsp--;
- if (state.failed) return ;
}
@@ -17247,120 +15802,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__Group_0_1__1"
+ // $ANTLR end "rule__AtomicExpression__Group_4__0__Impl"
- // $ANTLR start "rule__AtomicExpression__Group_0_1__1__Impl"
- // InternalSolverLanguage.g:5075:1: rule__AtomicExpression__Group_0_1__1__Impl : ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) ) ;
- public final void rule__AtomicExpression__Group_0_1__1__Impl() throws RecognitionException {
+ // $ANTLR start "rule__AtomicExpression__Group_4__1"
+ // InternalSolverLanguageParser.g:5062:1: rule__AtomicExpression__Group_4__1 : rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ;
+ public final void rule__AtomicExpression__Group_4__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5079:1: ( ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) ) )
- // InternalSolverLanguage.g:5080:1: ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) )
+ // InternalSolverLanguageParser.g:5066:1: ( rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 )
+ // InternalSolverLanguageParser.g:5067:2: rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2
{
- // InternalSolverLanguage.g:5080:1: ( ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 ) )
- // InternalSolverLanguage.g:5081:2: ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 )
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1());
- }
- // InternalSolverLanguage.g:5082:2: ( rule__AtomicExpression__ArgumentListAssignment_0_1_1 )
- // InternalSolverLanguage.g:5082:3: rule__AtomicExpression__ArgumentListAssignment_0_1_1
- {
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__ArgumentListAssignment_0_1_1();
+ pushFollow(FOLLOW_33);
+ rule__AtomicExpression__Group_4__1__Impl();
state._fsp--;
- if (state.failed) return ;
-
- }
-
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getArgumentListAssignment_0_1_1());
- }
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_0_1__1__Impl"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_3__0"
- // InternalSolverLanguage.g:5091:1: rule__AtomicExpression__Group_3__0 : rule__AtomicExpression__Group_3__0__Impl rule__AtomicExpression__Group_3__1 ;
- public final void rule__AtomicExpression__Group_3__0() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5095:1: ( rule__AtomicExpression__Group_3__0__Impl rule__AtomicExpression__Group_3__1 )
- // InternalSolverLanguage.g:5096:2: rule__AtomicExpression__Group_3__0__Impl rule__AtomicExpression__Group_3__1
- {
- pushFollow(FOLLOW_7);
- rule__AtomicExpression__Group_3__0__Impl();
-
- state._fsp--;
- if (state.failed) return ;
pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_3__1();
+ rule__AtomicExpression__Group_4__2();
state._fsp--;
- if (state.failed) return ;
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_3__0"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_3__0__Impl"
- // InternalSolverLanguage.g:5103:1: rule__AtomicExpression__Group_3__0__Impl : ( '(' ) ;
- public final void rule__AtomicExpression__Group_3__0__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5107:1: ( ( '(' ) )
- // InternalSolverLanguage.g:5108:1: ( '(' )
- {
- // InternalSolverLanguage.g:5108:1: ( '(' )
- // InternalSolverLanguage.g:5109:2: '('
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0());
- }
- match(input,61,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0());
- }
-
- }
}
@@ -17377,71 +15840,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__Group_3__0__Impl"
+ // $ANTLR end "rule__AtomicExpression__Group_4__1"
- // $ANTLR start "rule__AtomicExpression__Group_3__1"
- // InternalSolverLanguage.g:5118:1: rule__AtomicExpression__Group_3__1 : rule__AtomicExpression__Group_3__1__Impl rule__AtomicExpression__Group_3__2 ;
- public final void rule__AtomicExpression__Group_3__1() throws RecognitionException {
+ // $ANTLR start "rule__AtomicExpression__Group_4__1__Impl"
+ // InternalSolverLanguageParser.g:5074:1: rule__AtomicExpression__Group_4__1__Impl : ( ruleExpression ) ;
+ public final void rule__AtomicExpression__Group_4__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5122:1: ( rule__AtomicExpression__Group_3__1__Impl rule__AtomicExpression__Group_3__2 )
- // InternalSolverLanguage.g:5123:2: rule__AtomicExpression__Group_3__1__Impl rule__AtomicExpression__Group_3__2
+ // InternalSolverLanguageParser.g:5078:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:5079:1: ( ruleExpression )
{
- pushFollow(FOLLOW_34);
- rule__AtomicExpression__Group_3__1__Impl();
-
- state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_3__2();
-
- state._fsp--;
- if (state.failed) return ;
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__AtomicExpression__Group_3__1"
-
-
- // $ANTLR start "rule__AtomicExpression__Group_3__1__Impl"
- // InternalSolverLanguage.g:5130:1: rule__AtomicExpression__Group_3__1__Impl : ( ruleExpression ) ;
- public final void rule__AtomicExpression__Group_3__1__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:5134:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:5135:1: ( ruleExpression )
- {
- // InternalSolverLanguage.g:5135:1: ( ruleExpression )
- // InternalSolverLanguage.g:5136:2: ruleExpression
+ // InternalSolverLanguageParser.g:5079:1: ( ruleExpression )
+ // InternalSolverLanguageParser.g:5080:2: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1());
- }
+ before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1());
- }
+
+ after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1());
}
@@ -17460,24 +15881,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__Group_3__1__Impl"
+ // $ANTLR end "rule__AtomicExpression__Group_4__1__Impl"
- // $ANTLR start "rule__AtomicExpression__Group_3__2"
- // InternalSolverLanguage.g:5145:1: rule__AtomicExpression__Group_3__2 : rule__AtomicExpression__Group_3__2__Impl ;
- public final void rule__AtomicExpression__Group_3__2() throws RecognitionException {
+ // $ANTLR start "rule__AtomicExpression__Group_4__2"
+ // InternalSolverLanguageParser.g:5089:1: rule__AtomicExpression__Group_4__2 : rule__AtomicExpression__Group_4__2__Impl ;
+ public final void rule__AtomicExpression__Group_4__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5149:1: ( rule__AtomicExpression__Group_3__2__Impl )
- // InternalSolverLanguage.g:5150:2: rule__AtomicExpression__Group_3__2__Impl
+ // InternalSolverLanguageParser.g:5093:1: ( rule__AtomicExpression__Group_4__2__Impl )
+ // InternalSolverLanguageParser.g:5094:2: rule__AtomicExpression__Group_4__2__Impl
{
pushFollow(FOLLOW_2);
- rule__AtomicExpression__Group_3__2__Impl();
+ rule__AtomicExpression__Group_4__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -17493,29 +15914,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__Group_3__2"
+ // $ANTLR end "rule__AtomicExpression__Group_4__2"
- // $ANTLR start "rule__AtomicExpression__Group_3__2__Impl"
- // InternalSolverLanguage.g:5156:1: rule__AtomicExpression__Group_3__2__Impl : ( ')' ) ;
- public final void rule__AtomicExpression__Group_3__2__Impl() throws RecognitionException {
+ // $ANTLR start "rule__AtomicExpression__Group_4__2__Impl"
+ // InternalSolverLanguageParser.g:5100:1: rule__AtomicExpression__Group_4__2__Impl : ( RightParenthesis ) ;
+ public final void rule__AtomicExpression__Group_4__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5160:1: ( ( ')' ) )
- // InternalSolverLanguage.g:5161:1: ( ')' )
+ // InternalSolverLanguageParser.g:5104:1: ( ( RightParenthesis ) )
+ // InternalSolverLanguageParser.g:5105:1: ( RightParenthesis )
{
- // InternalSolverLanguage.g:5161:1: ( ')' )
- // InternalSolverLanguage.g:5162:2: ')'
+ // InternalSolverLanguageParser.g:5105:1: ( RightParenthesis )
+ // InternalSolverLanguageParser.g:5106:2: RightParenthesis
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2());
- }
- match(input,62,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2());
- }
+ before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2());
+ match(input,RightParenthesis,FOLLOW_2);
+ after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2());
}
@@ -17534,29 +15951,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__Group_3__2__Impl"
+ // $ANTLR end "rule__AtomicExpression__Group_4__2__Impl"
// $ANTLR start "rule__Call__Group__0"
- // InternalSolverLanguage.g:5172:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ;
+ // InternalSolverLanguageParser.g:5116:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ;
public final void rule__Call__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5176:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 )
- // InternalSolverLanguage.g:5177:2: rule__Call__Group__0__Impl rule__Call__Group__1
+ // InternalSolverLanguageParser.g:5120:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 )
+ // InternalSolverLanguageParser.g:5121:2: rule__Call__Group__0__Impl rule__Call__Group__1
{
- pushFollow(FOLLOW_35);
+ pushFollow(FOLLOW_34);
rule__Call__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Call__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -17576,36 +15993,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__Group__0__Impl"
- // InternalSolverLanguage.g:5184:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ;
+ // InternalSolverLanguageParser.g:5128:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ;
public final void rule__Call__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5188:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) )
- // InternalSolverLanguage.g:5189:1: ( ( rule__Call__FunctorAssignment_0 ) )
+ // InternalSolverLanguageParser.g:5132:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:5133:1: ( ( rule__Call__FunctorAssignment_0 ) )
{
- // InternalSolverLanguage.g:5189:1: ( ( rule__Call__FunctorAssignment_0 ) )
- // InternalSolverLanguage.g:5190:2: ( rule__Call__FunctorAssignment_0 )
+ // InternalSolverLanguageParser.g:5133:1: ( ( rule__Call__FunctorAssignment_0 ) )
+ // InternalSolverLanguageParser.g:5134:2: ( rule__Call__FunctorAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getFunctorAssignment_0());
- }
- // InternalSolverLanguage.g:5191:2: ( rule__Call__FunctorAssignment_0 )
- // InternalSolverLanguage.g:5191:3: rule__Call__FunctorAssignment_0
+ before(grammarAccess.getCallAccess().getFunctorAssignment_0());
+ // InternalSolverLanguageParser.g:5135:2: ( rule__Call__FunctorAssignment_0 )
+ // InternalSolverLanguageParser.g:5135:3: rule__Call__FunctorAssignment_0
{
pushFollow(FOLLOW_2);
rule__Call__FunctorAssignment_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getFunctorAssignment_0());
}
+ after(grammarAccess.getCallAccess().getFunctorAssignment_0());
+
}
@@ -17627,25 +16040,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__Group__1"
- // InternalSolverLanguage.g:5199:1: rule__Call__Group__1 : rule__Call__Group__1__Impl rule__Call__Group__2 ;
+ // InternalSolverLanguageParser.g:5143:1: rule__Call__Group__1 : rule__Call__Group__1__Impl rule__Call__Group__2 ;
public final void rule__Call__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5203:1: ( rule__Call__Group__1__Impl rule__Call__Group__2 )
- // InternalSolverLanguage.g:5204:2: rule__Call__Group__1__Impl rule__Call__Group__2
+ // InternalSolverLanguageParser.g:5147:1: ( rule__Call__Group__1__Impl rule__Call__Group__2 )
+ // InternalSolverLanguageParser.g:5148:2: rule__Call__Group__1__Impl rule__Call__Group__2
{
- pushFollow(FOLLOW_35);
+ pushFollow(FOLLOW_34);
rule__Call__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Call__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -17665,46 +16078,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__Group__1__Impl"
- // InternalSolverLanguage.g:5211:1: rule__Call__Group__1__Impl : ( ( rule__Call__Alternatives_1 )? ) ;
+ // InternalSolverLanguageParser.g:5155:1: rule__Call__Group__1__Impl : ( ( rule__Call__Alternatives_1 )? ) ;
public final void rule__Call__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5215:1: ( ( ( rule__Call__Alternatives_1 )? ) )
- // InternalSolverLanguage.g:5216:1: ( ( rule__Call__Alternatives_1 )? )
+ // InternalSolverLanguageParser.g:5159:1: ( ( ( rule__Call__Alternatives_1 )? ) )
+ // InternalSolverLanguageParser.g:5160:1: ( ( rule__Call__Alternatives_1 )? )
{
- // InternalSolverLanguage.g:5216:1: ( ( rule__Call__Alternatives_1 )? )
- // InternalSolverLanguage.g:5217:2: ( rule__Call__Alternatives_1 )?
+ // InternalSolverLanguageParser.g:5160:1: ( ( rule__Call__Alternatives_1 )? )
+ // InternalSolverLanguageParser.g:5161:2: ( rule__Call__Alternatives_1 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getAlternatives_1());
- }
- // InternalSolverLanguage.g:5218:2: ( rule__Call__Alternatives_1 )?
- int alt40=2;
- int LA40_0 = input.LA(1);
+ before(grammarAccess.getCallAccess().getAlternatives_1());
+ // InternalSolverLanguageParser.g:5162:2: ( rule__Call__Alternatives_1 )?
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( ((LA40_0>=RULE_STAR && LA40_0<=RULE_PLUS)) ) {
- alt40=1;
+ if ( ((LA39_0>=RULE_TRANSITIVE_CLOSURE && LA39_0<=RULE_REFLEXIVE_TRANSITIVE_CLOSURE)) ) {
+ alt39=1;
}
- switch (alt40) {
+ switch (alt39) {
case 1 :
- // InternalSolverLanguage.g:5218:3: rule__Call__Alternatives_1
+ // InternalSolverLanguageParser.g:5162:3: rule__Call__Alternatives_1
{
pushFollow(FOLLOW_2);
rule__Call__Alternatives_1();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getAlternatives_1());
- }
+ after(grammarAccess.getCallAccess().getAlternatives_1());
}
@@ -17727,20 +16136,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__Group__2"
- // InternalSolverLanguage.g:5226:1: rule__Call__Group__2 : rule__Call__Group__2__Impl ;
+ // InternalSolverLanguageParser.g:5170:1: rule__Call__Group__2 : rule__Call__Group__2__Impl ;
public final void rule__Call__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5230:1: ( rule__Call__Group__2__Impl )
- // InternalSolverLanguage.g:5231:2: rule__Call__Group__2__Impl
+ // InternalSolverLanguageParser.g:5174:1: ( rule__Call__Group__2__Impl )
+ // InternalSolverLanguageParser.g:5175:2: rule__Call__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__Call__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -17760,36 +16169,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__Group__2__Impl"
- // InternalSolverLanguage.g:5237:1: rule__Call__Group__2__Impl : ( ( rule__Call__ArgumentListAssignment_2 ) ) ;
+ // InternalSolverLanguageParser.g:5181:1: rule__Call__Group__2__Impl : ( ( rule__Call__ArgumentListAssignment_2 ) ) ;
public final void rule__Call__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5241:1: ( ( ( rule__Call__ArgumentListAssignment_2 ) ) )
- // InternalSolverLanguage.g:5242:1: ( ( rule__Call__ArgumentListAssignment_2 ) )
+ // InternalSolverLanguageParser.g:5185:1: ( ( ( rule__Call__ArgumentListAssignment_2 ) ) )
+ // InternalSolverLanguageParser.g:5186:1: ( ( rule__Call__ArgumentListAssignment_2 ) )
{
- // InternalSolverLanguage.g:5242:1: ( ( rule__Call__ArgumentListAssignment_2 ) )
- // InternalSolverLanguage.g:5243:2: ( rule__Call__ArgumentListAssignment_2 )
+ // InternalSolverLanguageParser.g:5186:1: ( ( rule__Call__ArgumentListAssignment_2 ) )
+ // InternalSolverLanguageParser.g:5187:2: ( rule__Call__ArgumentListAssignment_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getArgumentListAssignment_2());
- }
- // InternalSolverLanguage.g:5244:2: ( rule__Call__ArgumentListAssignment_2 )
- // InternalSolverLanguage.g:5244:3: rule__Call__ArgumentListAssignment_2
+ before(grammarAccess.getCallAccess().getArgumentListAssignment_2());
+ // InternalSolverLanguageParser.g:5188:2: ( rule__Call__ArgumentListAssignment_2 )
+ // InternalSolverLanguageParser.g:5188:3: rule__Call__ArgumentListAssignment_2
{
pushFollow(FOLLOW_2);
rule__Call__ArgumentListAssignment_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getArgumentListAssignment_2());
}
+ after(grammarAccess.getCallAccess().getArgumentListAssignment_2());
+
}
@@ -17811,25 +16216,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__0"
- // InternalSolverLanguage.g:5253:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ;
+ // InternalSolverLanguageParser.g:5197:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ;
public final void rule__ArgumentList__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5257:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 )
- // InternalSolverLanguage.g:5258:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1
+ // InternalSolverLanguageParser.g:5201:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 )
+ // InternalSolverLanguageParser.g:5202:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1
{
pushFollow(FOLLOW_12);
rule__ArgumentList__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ArgumentList__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -17849,29 +16254,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__0__Impl"
- // InternalSolverLanguage.g:5265:1: rule__ArgumentList__Group__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:5209:1: rule__ArgumentList__Group__0__Impl : ( () ) ;
public final void rule__ArgumentList__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5269:1: ( ( () ) )
- // InternalSolverLanguage.g:5270:1: ( () )
+ // InternalSolverLanguageParser.g:5213:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:5214:1: ( () )
{
- // InternalSolverLanguage.g:5270:1: ( () )
- // InternalSolverLanguage.g:5271:2: ()
+ // InternalSolverLanguageParser.g:5214:1: ( () )
+ // InternalSolverLanguageParser.g:5215:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getArgumentListAction_0());
- }
- // InternalSolverLanguage.g:5272:2: ()
- // InternalSolverLanguage.g:5272:3:
+ before(grammarAccess.getArgumentListAccess().getArgumentListAction_0());
+ // InternalSolverLanguageParser.g:5216:2: ()
+ // InternalSolverLanguageParser.g:5216:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getArgumentListAction_0());
- }
+ after(grammarAccess.getArgumentListAccess().getArgumentListAction_0());
}
@@ -17890,25 +16291,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__1"
- // InternalSolverLanguage.g:5280:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ;
+ // InternalSolverLanguageParser.g:5224:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ;
public final void rule__ArgumentList__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5284:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 )
- // InternalSolverLanguage.g:5285:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2
+ // InternalSolverLanguageParser.g:5228:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 )
+ // InternalSolverLanguageParser.g:5229:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2
{
- pushFollow(FOLLOW_36);
+ pushFollow(FOLLOW_35);
rule__ArgumentList__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ArgumentList__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -17928,25 +16329,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__1__Impl"
- // InternalSolverLanguage.g:5292:1: rule__ArgumentList__Group__1__Impl : ( '(' ) ;
+ // InternalSolverLanguageParser.g:5236:1: rule__ArgumentList__Group__1__Impl : ( LeftParenthesis ) ;
public final void rule__ArgumentList__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5296:1: ( ( '(' ) )
- // InternalSolverLanguage.g:5297:1: ( '(' )
+ // InternalSolverLanguageParser.g:5240:1: ( ( LeftParenthesis ) )
+ // InternalSolverLanguageParser.g:5241:1: ( LeftParenthesis )
{
- // InternalSolverLanguage.g:5297:1: ( '(' )
- // InternalSolverLanguage.g:5298:2: '('
+ // InternalSolverLanguageParser.g:5241:1: ( LeftParenthesis )
+ // InternalSolverLanguageParser.g:5242:2: LeftParenthesis
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
- }
- match(input,61,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
- }
+ before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
+ match(input,LeftParenthesis,FOLLOW_2);
+ after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
}
@@ -17969,25 +16366,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__2"
- // InternalSolverLanguage.g:5307:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ;
+ // InternalSolverLanguageParser.g:5251:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ;
public final void rule__ArgumentList__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5311:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 )
- // InternalSolverLanguage.g:5312:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3
+ // InternalSolverLanguageParser.g:5255:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 )
+ // InternalSolverLanguageParser.g:5256:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3
{
- pushFollow(FOLLOW_36);
+ pushFollow(FOLLOW_35);
rule__ArgumentList__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ArgumentList__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18007,46 +16404,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__2__Impl"
- // InternalSolverLanguage.g:5319:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ;
+ // InternalSolverLanguageParser.g:5263:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ;
public final void rule__ArgumentList__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5323:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) )
- // InternalSolverLanguage.g:5324:1: ( ( rule__ArgumentList__Group_2__0 )? )
+ // InternalSolverLanguageParser.g:5267:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) )
+ // InternalSolverLanguageParser.g:5268:1: ( ( rule__ArgumentList__Group_2__0 )? )
{
- // InternalSolverLanguage.g:5324:1: ( ( rule__ArgumentList__Group_2__0 )? )
- // InternalSolverLanguage.g:5325:2: ( rule__ArgumentList__Group_2__0 )?
+ // InternalSolverLanguageParser.g:5268:1: ( ( rule__ArgumentList__Group_2__0 )? )
+ // InternalSolverLanguageParser.g:5269:2: ( rule__ArgumentList__Group_2__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getGroup_2());
- }
- // InternalSolverLanguage.g:5326:2: ( rule__ArgumentList__Group_2__0 )?
- int alt41=2;
- int LA41_0 = input.LA(1);
+ before(grammarAccess.getArgumentListAccess().getGroup_2());
+ // InternalSolverLanguageParser.g:5270:2: ( rule__ArgumentList__Group_2__0 )?
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( ((LA41_0>=RULE_INT && LA41_0<=RULE_QUOTED_ID)||LA41_0==RULE_ID||LA41_0==RULE_STRING||LA41_0==16||(LA41_0>=26 && LA41_0<=27)||(LA41_0>=29 && LA41_0<=42)||LA41_0==57||LA41_0==61||LA41_0==63||(LA41_0>=66 && LA41_0<=67)) ) {
- alt41=1;
+ if ( (LA40_0==Current||LA40_0==Unknown||(LA40_0>=Count && LA40_0<=False)||(LA40_0>=Must && LA40_0<=Prod)||LA40_0==True||(LA40_0>=Avg && LA40_0<=Inf)||(LA40_0>=Max && LA40_0<=Sum)||(LA40_0>=ExclamationMark && LA40_0<=LeftParenthesis)||(LA40_0>=Asterisk && LA40_0<=PlusSign)||LA40_0==HyphenMinus||LA40_0==LeftSquareBracket||(LA40_0>=RULE_STRING && LA40_0<=RULE_QUOTED_ID)||(LA40_0>=RULE_ID && LA40_0<=RULE_INT)) ) {
+ alt40=1;
}
- switch (alt41) {
+ switch (alt40) {
case 1 :
- // InternalSolverLanguage.g:5326:3: rule__ArgumentList__Group_2__0
+ // InternalSolverLanguageParser.g:5270:3: rule__ArgumentList__Group_2__0
{
pushFollow(FOLLOW_2);
rule__ArgumentList__Group_2__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getGroup_2());
- }
+ after(grammarAccess.getArgumentListAccess().getGroup_2());
}
@@ -18069,20 +16462,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__3"
- // InternalSolverLanguage.g:5334:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:5278:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ;
public final void rule__ArgumentList__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5338:1: ( rule__ArgumentList__Group__3__Impl )
- // InternalSolverLanguage.g:5339:2: rule__ArgumentList__Group__3__Impl
+ // InternalSolverLanguageParser.g:5282:1: ( rule__ArgumentList__Group__3__Impl )
+ // InternalSolverLanguageParser.g:5283:2: rule__ArgumentList__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__ArgumentList__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18102,25 +16495,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group__3__Impl"
- // InternalSolverLanguage.g:5345:1: rule__ArgumentList__Group__3__Impl : ( ')' ) ;
+ // InternalSolverLanguageParser.g:5289:1: rule__ArgumentList__Group__3__Impl : ( RightParenthesis ) ;
public final void rule__ArgumentList__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5349:1: ( ( ')' ) )
- // InternalSolverLanguage.g:5350:1: ( ')' )
+ // InternalSolverLanguageParser.g:5293:1: ( ( RightParenthesis ) )
+ // InternalSolverLanguageParser.g:5294:1: ( RightParenthesis )
{
- // InternalSolverLanguage.g:5350:1: ( ')' )
- // InternalSolverLanguage.g:5351:2: ')'
+ // InternalSolverLanguageParser.g:5294:1: ( RightParenthesis )
+ // InternalSolverLanguageParser.g:5295:2: RightParenthesis
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
- }
- match(input,62,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
- }
+ before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
+ match(input,RightParenthesis,FOLLOW_2);
+ after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
}
@@ -18143,25 +16532,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2__0"
- // InternalSolverLanguage.g:5361:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ;
+ // InternalSolverLanguageParser.g:5305:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ;
public final void rule__ArgumentList__Group_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5365:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 )
- // InternalSolverLanguage.g:5366:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1
+ // InternalSolverLanguageParser.g:5309:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 )
+ // InternalSolverLanguageParser.g:5310:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1
{
- pushFollow(FOLLOW_22);
+ pushFollow(FOLLOW_21);
rule__ArgumentList__Group_2__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ArgumentList__Group_2__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18181,36 +16570,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2__0__Impl"
- // InternalSolverLanguage.g:5373:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ;
+ // InternalSolverLanguageParser.g:5317:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ;
public final void rule__ArgumentList__Group_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5377:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) )
- // InternalSolverLanguage.g:5378:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) )
+ // InternalSolverLanguageParser.g:5321:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) )
+ // InternalSolverLanguageParser.g:5322:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) )
{
- // InternalSolverLanguage.g:5378:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) )
- // InternalSolverLanguage.g:5379:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 )
+ // InternalSolverLanguageParser.g:5322:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) )
+ // InternalSolverLanguageParser.g:5323:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0());
- }
- // InternalSolverLanguage.g:5380:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 )
- // InternalSolverLanguage.g:5380:3: rule__ArgumentList__ArgumentsAssignment_2_0
+ before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0());
+ // InternalSolverLanguageParser.g:5324:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 )
+ // InternalSolverLanguageParser.g:5324:3: rule__ArgumentList__ArgumentsAssignment_2_0
{
pushFollow(FOLLOW_2);
rule__ArgumentList__ArgumentsAssignment_2_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0());
}
+ after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0());
+
}
@@ -18232,20 +16617,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2__1"
- // InternalSolverLanguage.g:5388:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ;
+ // InternalSolverLanguageParser.g:5332:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ;
public final void rule__ArgumentList__Group_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5392:1: ( rule__ArgumentList__Group_2__1__Impl )
- // InternalSolverLanguage.g:5393:2: rule__ArgumentList__Group_2__1__Impl
+ // InternalSolverLanguageParser.g:5336:1: ( rule__ArgumentList__Group_2__1__Impl )
+ // InternalSolverLanguageParser.g:5337:2: rule__ArgumentList__Group_2__1__Impl
{
pushFollow(FOLLOW_2);
rule__ArgumentList__Group_2__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18265,53 +16650,49 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2__1__Impl"
- // InternalSolverLanguage.g:5399:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ;
+ // InternalSolverLanguageParser.g:5343:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ;
public final void rule__ArgumentList__Group_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5403:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) )
- // InternalSolverLanguage.g:5404:1: ( ( rule__ArgumentList__Group_2_1__0 )* )
+ // InternalSolverLanguageParser.g:5347:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) )
+ // InternalSolverLanguageParser.g:5348:1: ( ( rule__ArgumentList__Group_2_1__0 )* )
{
- // InternalSolverLanguage.g:5404:1: ( ( rule__ArgumentList__Group_2_1__0 )* )
- // InternalSolverLanguage.g:5405:2: ( rule__ArgumentList__Group_2_1__0 )*
+ // InternalSolverLanguageParser.g:5348:1: ( ( rule__ArgumentList__Group_2_1__0 )* )
+ // InternalSolverLanguageParser.g:5349:2: ( rule__ArgumentList__Group_2_1__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getGroup_2_1());
- }
- // InternalSolverLanguage.g:5406:2: ( rule__ArgumentList__Group_2_1__0 )*
- loop42:
+ before(grammarAccess.getArgumentListAccess().getGroup_2_1());
+ // InternalSolverLanguageParser.g:5350:2: ( rule__ArgumentList__Group_2_1__0 )*
+ loop41:
do {
- int alt42=2;
- int LA42_0 = input.LA(1);
+ int alt41=2;
+ int LA41_0 = input.LA(1);
- if ( (LA42_0==56) ) {
- alt42=1;
+ if ( (LA41_0==Comma) ) {
+ alt41=1;
}
- switch (alt42) {
+ switch (alt41) {
case 1 :
- // InternalSolverLanguage.g:5406:3: rule__ArgumentList__Group_2_1__0
+ // InternalSolverLanguageParser.g:5350:3: rule__ArgumentList__Group_2_1__0
{
- pushFollow(FOLLOW_23);
+ pushFollow(FOLLOW_22);
rule__ArgumentList__Group_2_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
default :
- break loop42;
+ break loop41;
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getGroup_2_1());
- }
+ after(grammarAccess.getArgumentListAccess().getGroup_2_1());
}
@@ -18334,25 +16715,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2_1__0"
- // InternalSolverLanguage.g:5415:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ;
+ // InternalSolverLanguageParser.g:5359:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ;
public final void rule__ArgumentList__Group_2_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5419:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 )
- // InternalSolverLanguage.g:5420:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1
+ // InternalSolverLanguageParser.g:5363:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 )
+ // InternalSolverLanguageParser.g:5364:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1
{
- pushFollow(FOLLOW_37);
+ pushFollow(FOLLOW_36);
rule__ArgumentList__Group_2_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ArgumentList__Group_2_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18372,25 +16753,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2_1__0__Impl"
- // InternalSolverLanguage.g:5427:1: rule__ArgumentList__Group_2_1__0__Impl : ( ',' ) ;
+ // InternalSolverLanguageParser.g:5371:1: rule__ArgumentList__Group_2_1__0__Impl : ( Comma ) ;
public final void rule__ArgumentList__Group_2_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5431:1: ( ( ',' ) )
- // InternalSolverLanguage.g:5432:1: ( ',' )
+ // InternalSolverLanguageParser.g:5375:1: ( ( Comma ) )
+ // InternalSolverLanguageParser.g:5376:1: ( Comma )
{
- // InternalSolverLanguage.g:5432:1: ( ',' )
- // InternalSolverLanguage.g:5433:2: ','
+ // InternalSolverLanguageParser.g:5376:1: ( Comma )
+ // InternalSolverLanguageParser.g:5377:2: Comma
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
- }
- match(input,56,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
- }
+ before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
+ match(input,Comma,FOLLOW_2);
+ after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
}
@@ -18413,20 +16790,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2_1__1"
- // InternalSolverLanguage.g:5442:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ;
+ // InternalSolverLanguageParser.g:5386:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ;
public final void rule__ArgumentList__Group_2_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5446:1: ( rule__ArgumentList__Group_2_1__1__Impl )
- // InternalSolverLanguage.g:5447:2: rule__ArgumentList__Group_2_1__1__Impl
+ // InternalSolverLanguageParser.g:5390:1: ( rule__ArgumentList__Group_2_1__1__Impl )
+ // InternalSolverLanguageParser.g:5391:2: rule__ArgumentList__Group_2_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__ArgumentList__Group_2_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18446,36 +16823,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__Group_2_1__1__Impl"
- // InternalSolverLanguage.g:5453:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ;
+ // InternalSolverLanguageParser.g:5397:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ;
public final void rule__ArgumentList__Group_2_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5457:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) )
- // InternalSolverLanguage.g:5458:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) )
+ // InternalSolverLanguageParser.g:5401:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) )
+ // InternalSolverLanguageParser.g:5402:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) )
{
- // InternalSolverLanguage.g:5458:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) )
- // InternalSolverLanguage.g:5459:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 )
+ // InternalSolverLanguageParser.g:5402:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) )
+ // InternalSolverLanguageParser.g:5403:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1());
- }
- // InternalSolverLanguage.g:5460:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 )
- // InternalSolverLanguage.g:5460:3: rule__ArgumentList__ArgumentsAssignment_2_1_1
+ before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1());
+ // InternalSolverLanguageParser.g:5404:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 )
+ // InternalSolverLanguageParser.g:5404:3: rule__ArgumentList__ArgumentsAssignment_2_1_1
{
pushFollow(FOLLOW_2);
rule__ArgumentList__ArgumentsAssignment_2_1_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1());
}
+ after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1());
+
}
@@ -18497,25 +16870,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__StarArgument__Group__0"
- // InternalSolverLanguage.g:5469:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ;
+ // InternalSolverLanguageParser.g:5413:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ;
public final void rule__StarArgument__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5473:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 )
- // InternalSolverLanguage.g:5474:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1
+ // InternalSolverLanguageParser.g:5417:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 )
+ // InternalSolverLanguageParser.g:5418:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1
{
- pushFollow(FOLLOW_38);
+ pushFollow(FOLLOW_37);
rule__StarArgument__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__StarArgument__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18535,29 +16908,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__StarArgument__Group__0__Impl"
- // InternalSolverLanguage.g:5481:1: rule__StarArgument__Group__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:5425:1: rule__StarArgument__Group__0__Impl : ( () ) ;
public final void rule__StarArgument__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5485:1: ( ( () ) )
- // InternalSolverLanguage.g:5486:1: ( () )
+ // InternalSolverLanguageParser.g:5429:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:5430:1: ( () )
{
- // InternalSolverLanguage.g:5486:1: ( () )
- // InternalSolverLanguage.g:5487:2: ()
+ // InternalSolverLanguageParser.g:5430:1: ( () )
+ // InternalSolverLanguageParser.g:5431:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0());
- }
- // InternalSolverLanguage.g:5488:2: ()
- // InternalSolverLanguage.g:5488:3:
+ before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0());
+ // InternalSolverLanguageParser.g:5432:2: ()
+ // InternalSolverLanguageParser.g:5432:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0());
- }
+ after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0());
}
@@ -18576,20 +16945,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__StarArgument__Group__1"
- // InternalSolverLanguage.g:5496:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:5440:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ;
public final void rule__StarArgument__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5500:1: ( rule__StarArgument__Group__1__Impl )
- // InternalSolverLanguage.g:5501:2: rule__StarArgument__Group__1__Impl
+ // InternalSolverLanguageParser.g:5444:1: ( rule__StarArgument__Group__1__Impl )
+ // InternalSolverLanguageParser.g:5445:2: rule__StarArgument__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__StarArgument__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18609,25 +16978,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__StarArgument__Group__1__Impl"
- // InternalSolverLanguage.g:5507:1: rule__StarArgument__Group__1__Impl : ( '*' ) ;
+ // InternalSolverLanguageParser.g:5451:1: rule__StarArgument__Group__1__Impl : ( Asterisk ) ;
public final void rule__StarArgument__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5511:1: ( ( '*' ) )
- // InternalSolverLanguage.g:5512:1: ( '*' )
+ // InternalSolverLanguageParser.g:5455:1: ( ( Asterisk ) )
+ // InternalSolverLanguageParser.g:5456:1: ( Asterisk )
{
- // InternalSolverLanguage.g:5512:1: ( '*' )
- // InternalSolverLanguage.g:5513:2: '*'
+ // InternalSolverLanguageParser.g:5456:1: ( Asterisk )
+ // InternalSolverLanguageParser.g:5457:2: Asterisk
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
- }
- match(input,16,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
- }
+ before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
+ match(input,Asterisk,FOLLOW_2);
+ after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
}
@@ -18650,25 +17015,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedArgument__Group__0"
- // InternalSolverLanguage.g:5523:1: rule__TypedArgument__Group__0 : rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ;
+ // InternalSolverLanguageParser.g:5467:1: rule__TypedArgument__Group__0 : rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ;
public final void rule__TypedArgument__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5527:1: ( rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 )
- // InternalSolverLanguage.g:5528:2: rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1
+ // InternalSolverLanguageParser.g:5471:1: ( rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 )
+ // InternalSolverLanguageParser.g:5472:2: rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1
{
pushFollow(FOLLOW_9);
rule__TypedArgument__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__TypedArgument__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18688,36 +17053,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedArgument__Group__0__Impl"
- // InternalSolverLanguage.g:5535:1: rule__TypedArgument__Group__0__Impl : ( ( rule__TypedArgument__TypeAssignment_0 ) ) ;
+ // InternalSolverLanguageParser.g:5479:1: rule__TypedArgument__Group__0__Impl : ( ( rule__TypedArgument__TypeAssignment_0 ) ) ;
public final void rule__TypedArgument__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5539:1: ( ( ( rule__TypedArgument__TypeAssignment_0 ) ) )
- // InternalSolverLanguage.g:5540:1: ( ( rule__TypedArgument__TypeAssignment_0 ) )
+ // InternalSolverLanguageParser.g:5483:1: ( ( ( rule__TypedArgument__TypeAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:5484:1: ( ( rule__TypedArgument__TypeAssignment_0 ) )
{
- // InternalSolverLanguage.g:5540:1: ( ( rule__TypedArgument__TypeAssignment_0 ) )
- // InternalSolverLanguage.g:5541:2: ( rule__TypedArgument__TypeAssignment_0 )
+ // InternalSolverLanguageParser.g:5484:1: ( ( rule__TypedArgument__TypeAssignment_0 ) )
+ // InternalSolverLanguageParser.g:5485:2: ( rule__TypedArgument__TypeAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0());
- }
- // InternalSolverLanguage.g:5542:2: ( rule__TypedArgument__TypeAssignment_0 )
- // InternalSolverLanguage.g:5542:3: rule__TypedArgument__TypeAssignment_0
+ before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0());
+ // InternalSolverLanguageParser.g:5486:2: ( rule__TypedArgument__TypeAssignment_0 )
+ // InternalSolverLanguageParser.g:5486:3: rule__TypedArgument__TypeAssignment_0
{
pushFollow(FOLLOW_2);
rule__TypedArgument__TypeAssignment_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0());
}
+ after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0());
+
}
@@ -18739,20 +17100,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedArgument__Group__1"
- // InternalSolverLanguage.g:5550:1: rule__TypedArgument__Group__1 : rule__TypedArgument__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:5494:1: rule__TypedArgument__Group__1 : rule__TypedArgument__Group__1__Impl ;
public final void rule__TypedArgument__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5554:1: ( rule__TypedArgument__Group__1__Impl )
- // InternalSolverLanguage.g:5555:2: rule__TypedArgument__Group__1__Impl
+ // InternalSolverLanguageParser.g:5498:1: ( rule__TypedArgument__Group__1__Impl )
+ // InternalSolverLanguageParser.g:5499:2: rule__TypedArgument__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__TypedArgument__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18772,36 +17133,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedArgument__Group__1__Impl"
- // InternalSolverLanguage.g:5561:1: rule__TypedArgument__Group__1__Impl : ( ( rule__TypedArgument__VariableAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:5505:1: rule__TypedArgument__Group__1__Impl : ( ( rule__TypedArgument__VariableAssignment_1 ) ) ;
public final void rule__TypedArgument__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5565:1: ( ( ( rule__TypedArgument__VariableAssignment_1 ) ) )
- // InternalSolverLanguage.g:5566:1: ( ( rule__TypedArgument__VariableAssignment_1 ) )
+ // InternalSolverLanguageParser.g:5509:1: ( ( ( rule__TypedArgument__VariableAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:5510:1: ( ( rule__TypedArgument__VariableAssignment_1 ) )
{
- // InternalSolverLanguage.g:5566:1: ( ( rule__TypedArgument__VariableAssignment_1 ) )
- // InternalSolverLanguage.g:5567:2: ( rule__TypedArgument__VariableAssignment_1 )
+ // InternalSolverLanguageParser.g:5510:1: ( ( rule__TypedArgument__VariableAssignment_1 ) )
+ // InternalSolverLanguageParser.g:5511:2: ( rule__TypedArgument__VariableAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1());
- }
- // InternalSolverLanguage.g:5568:2: ( rule__TypedArgument__VariableAssignment_1 )
- // InternalSolverLanguage.g:5568:3: rule__TypedArgument__VariableAssignment_1
+ before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1());
+ // InternalSolverLanguageParser.g:5512:2: ( rule__TypedArgument__VariableAssignment_1 )
+ // InternalSolverLanguageParser.g:5512:3: rule__TypedArgument__VariableAssignment_1
{
pushFollow(FOLLOW_2);
rule__TypedArgument__VariableAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1());
}
+ after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1());
+
}
@@ -18823,25 +17180,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedStarArgument__Group__0"
- // InternalSolverLanguage.g:5577:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ;
+ // InternalSolverLanguageParser.g:5521:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ;
public final void rule__TypedStarArgument__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5581:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 )
- // InternalSolverLanguage.g:5582:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1
+ // InternalSolverLanguageParser.g:5525:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 )
+ // InternalSolverLanguageParser.g:5526:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1
{
- pushFollow(FOLLOW_38);
+ pushFollow(FOLLOW_37);
rule__TypedStarArgument__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__TypedStarArgument__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18861,36 +17218,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedStarArgument__Group__0__Impl"
- // InternalSolverLanguage.g:5589:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ;
+ // InternalSolverLanguageParser.g:5533:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ;
public final void rule__TypedStarArgument__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5593:1: ( ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) )
- // InternalSolverLanguage.g:5594:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) )
+ // InternalSolverLanguageParser.g:5537:1: ( ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:5538:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) )
{
- // InternalSolverLanguage.g:5594:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) )
- // InternalSolverLanguage.g:5595:2: ( rule__TypedStarArgument__TypeAssignment_0 )
+ // InternalSolverLanguageParser.g:5538:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) )
+ // InternalSolverLanguageParser.g:5539:2: ( rule__TypedStarArgument__TypeAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0());
- }
- // InternalSolverLanguage.g:5596:2: ( rule__TypedStarArgument__TypeAssignment_0 )
- // InternalSolverLanguage.g:5596:3: rule__TypedStarArgument__TypeAssignment_0
+ before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0());
+ // InternalSolverLanguageParser.g:5540:2: ( rule__TypedStarArgument__TypeAssignment_0 )
+ // InternalSolverLanguageParser.g:5540:3: rule__TypedStarArgument__TypeAssignment_0
{
pushFollow(FOLLOW_2);
rule__TypedStarArgument__TypeAssignment_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0());
}
+ after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0());
+
}
@@ -18912,20 +17265,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedStarArgument__Group__1"
- // InternalSolverLanguage.g:5604:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:5548:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ;
public final void rule__TypedStarArgument__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5608:1: ( rule__TypedStarArgument__Group__1__Impl )
- // InternalSolverLanguage.g:5609:2: rule__TypedStarArgument__Group__1__Impl
+ // InternalSolverLanguageParser.g:5552:1: ( rule__TypedStarArgument__Group__1__Impl )
+ // InternalSolverLanguageParser.g:5553:2: rule__TypedStarArgument__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__TypedStarArgument__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -18945,25 +17298,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedStarArgument__Group__1__Impl"
- // InternalSolverLanguage.g:5615:1: rule__TypedStarArgument__Group__1__Impl : ( '*' ) ;
+ // InternalSolverLanguageParser.g:5559:1: rule__TypedStarArgument__Group__1__Impl : ( Asterisk ) ;
public final void rule__TypedStarArgument__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5619:1: ( ( '*' ) )
- // InternalSolverLanguage.g:5620:1: ( '*' )
+ // InternalSolverLanguageParser.g:5563:1: ( ( Asterisk ) )
+ // InternalSolverLanguageParser.g:5564:1: ( Asterisk )
{
- // InternalSolverLanguage.g:5620:1: ( '*' )
- // InternalSolverLanguage.g:5621:2: '*'
+ // InternalSolverLanguageParser.g:5564:1: ( Asterisk )
+ // InternalSolverLanguageParser.g:5565:2: Asterisk
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
- }
- match(input,16,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
- }
+ before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
+ match(input,Asterisk,FOLLOW_2);
+ after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
}
@@ -18986,25 +17335,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__0"
- // InternalSolverLanguage.g:5631:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ;
+ // InternalSolverLanguageParser.g:5575:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ;
public final void rule__Interval__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5635:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 )
- // InternalSolverLanguage.g:5636:2: rule__Interval__Group__0__Impl rule__Interval__Group__1
+ // InternalSolverLanguageParser.g:5579:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 )
+ // InternalSolverLanguageParser.g:5580:2: rule__Interval__Group__0__Impl rule__Interval__Group__1
{
pushFollow(FOLLOW_7);
rule__Interval__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Interval__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19024,25 +17373,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__0__Impl"
- // InternalSolverLanguage.g:5643:1: rule__Interval__Group__0__Impl : ( '[' ) ;
+ // InternalSolverLanguageParser.g:5587:1: rule__Interval__Group__0__Impl : ( LeftSquareBracket ) ;
public final void rule__Interval__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5647:1: ( ( '[' ) )
- // InternalSolverLanguage.g:5648:1: ( '[' )
+ // InternalSolverLanguageParser.g:5591:1: ( ( LeftSquareBracket ) )
+ // InternalSolverLanguageParser.g:5592:1: ( LeftSquareBracket )
{
- // InternalSolverLanguage.g:5648:1: ( '[' )
- // InternalSolverLanguage.g:5649:2: '['
+ // InternalSolverLanguageParser.g:5592:1: ( LeftSquareBracket )
+ // InternalSolverLanguageParser.g:5593:2: LeftSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
- }
- match(input,63,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
- }
+ before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
+ match(input,LeftSquareBracket,FOLLOW_2);
+ after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
}
@@ -19065,25 +17410,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__1"
- // InternalSolverLanguage.g:5658:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ;
+ // InternalSolverLanguageParser.g:5602:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ;
public final void rule__Interval__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5662:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 )
- // InternalSolverLanguage.g:5663:2: rule__Interval__Group__1__Impl rule__Interval__Group__2
+ // InternalSolverLanguageParser.g:5606:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 )
+ // InternalSolverLanguageParser.g:5607:2: rule__Interval__Group__1__Impl rule__Interval__Group__2
{
- pushFollow(FOLLOW_39);
+ pushFollow(FOLLOW_38);
rule__Interval__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Interval__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19103,36 +17448,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__1__Impl"
- // InternalSolverLanguage.g:5670:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:5614:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ;
public final void rule__Interval__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5674:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) )
- // InternalSolverLanguage.g:5675:1: ( ( rule__Interval__LowerBoundAssignment_1 ) )
+ // InternalSolverLanguageParser.g:5618:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:5619:1: ( ( rule__Interval__LowerBoundAssignment_1 ) )
{
- // InternalSolverLanguage.g:5675:1: ( ( rule__Interval__LowerBoundAssignment_1 ) )
- // InternalSolverLanguage.g:5676:2: ( rule__Interval__LowerBoundAssignment_1 )
+ // InternalSolverLanguageParser.g:5619:1: ( ( rule__Interval__LowerBoundAssignment_1 ) )
+ // InternalSolverLanguageParser.g:5620:2: ( rule__Interval__LowerBoundAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1());
- }
- // InternalSolverLanguage.g:5677:2: ( rule__Interval__LowerBoundAssignment_1 )
- // InternalSolverLanguage.g:5677:3: rule__Interval__LowerBoundAssignment_1
+ before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1());
+ // InternalSolverLanguageParser.g:5621:2: ( rule__Interval__LowerBoundAssignment_1 )
+ // InternalSolverLanguageParser.g:5621:3: rule__Interval__LowerBoundAssignment_1
{
pushFollow(FOLLOW_2);
rule__Interval__LowerBoundAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1());
}
+ after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1());
+
}
@@ -19154,25 +17495,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__2"
- // InternalSolverLanguage.g:5685:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ;
+ // InternalSolverLanguageParser.g:5629:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ;
public final void rule__Interval__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5689:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 )
- // InternalSolverLanguage.g:5690:2: rule__Interval__Group__2__Impl rule__Interval__Group__3
+ // InternalSolverLanguageParser.g:5633:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 )
+ // InternalSolverLanguageParser.g:5634:2: rule__Interval__Group__2__Impl rule__Interval__Group__3
{
pushFollow(FOLLOW_7);
rule__Interval__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Interval__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19192,25 +17533,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__2__Impl"
- // InternalSolverLanguage.g:5697:1: rule__Interval__Group__2__Impl : ( '..' ) ;
+ // InternalSolverLanguageParser.g:5641:1: rule__Interval__Group__2__Impl : ( FullStopFullStop ) ;
public final void rule__Interval__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5701:1: ( ( '..' ) )
- // InternalSolverLanguage.g:5702:1: ( '..' )
+ // InternalSolverLanguageParser.g:5645:1: ( ( FullStopFullStop ) )
+ // InternalSolverLanguageParser.g:5646:1: ( FullStopFullStop )
{
- // InternalSolverLanguage.g:5702:1: ( '..' )
- // InternalSolverLanguage.g:5703:2: '..'
+ // InternalSolverLanguageParser.g:5646:1: ( FullStopFullStop )
+ // InternalSolverLanguageParser.g:5647:2: FullStopFullStop
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
- }
- match(input,64,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
- }
+ before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
+ match(input,FullStopFullStop,FOLLOW_2);
+ after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
}
@@ -19233,25 +17570,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__3"
- // InternalSolverLanguage.g:5712:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ;
+ // InternalSolverLanguageParser.g:5656:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ;
public final void rule__Interval__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5716:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 )
- // InternalSolverLanguage.g:5717:2: rule__Interval__Group__3__Impl rule__Interval__Group__4
+ // InternalSolverLanguageParser.g:5660:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 )
+ // InternalSolverLanguageParser.g:5661:2: rule__Interval__Group__3__Impl rule__Interval__Group__4
{
- pushFollow(FOLLOW_40);
+ pushFollow(FOLLOW_39);
rule__Interval__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Interval__Group__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19271,36 +17608,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__3__Impl"
- // InternalSolverLanguage.g:5724:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:5668:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ;
public final void rule__Interval__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5728:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) )
- // InternalSolverLanguage.g:5729:1: ( ( rule__Interval__UpperBoundAssignment_3 ) )
+ // InternalSolverLanguageParser.g:5672:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:5673:1: ( ( rule__Interval__UpperBoundAssignment_3 ) )
{
- // InternalSolverLanguage.g:5729:1: ( ( rule__Interval__UpperBoundAssignment_3 ) )
- // InternalSolverLanguage.g:5730:2: ( rule__Interval__UpperBoundAssignment_3 )
+ // InternalSolverLanguageParser.g:5673:1: ( ( rule__Interval__UpperBoundAssignment_3 ) )
+ // InternalSolverLanguageParser.g:5674:2: ( rule__Interval__UpperBoundAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3());
- }
- // InternalSolverLanguage.g:5731:2: ( rule__Interval__UpperBoundAssignment_3 )
- // InternalSolverLanguage.g:5731:3: rule__Interval__UpperBoundAssignment_3
+ before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3());
+ // InternalSolverLanguageParser.g:5675:2: ( rule__Interval__UpperBoundAssignment_3 )
+ // InternalSolverLanguageParser.g:5675:3: rule__Interval__UpperBoundAssignment_3
{
pushFollow(FOLLOW_2);
rule__Interval__UpperBoundAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3());
}
+ after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3());
+
}
@@ -19322,20 +17655,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__4"
- // InternalSolverLanguage.g:5739:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ;
+ // InternalSolverLanguageParser.g:5683:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ;
public final void rule__Interval__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5743:1: ( rule__Interval__Group__4__Impl )
- // InternalSolverLanguage.g:5744:2: rule__Interval__Group__4__Impl
+ // InternalSolverLanguageParser.g:5687:1: ( rule__Interval__Group__4__Impl )
+ // InternalSolverLanguageParser.g:5688:2: rule__Interval__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__Interval__Group__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19355,25 +17688,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__Group__4__Impl"
- // InternalSolverLanguage.g:5750:1: rule__Interval__Group__4__Impl : ( ']' ) ;
+ // InternalSolverLanguageParser.g:5694:1: rule__Interval__Group__4__Impl : ( RightSquareBracket ) ;
public final void rule__Interval__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5754:1: ( ( ']' ) )
- // InternalSolverLanguage.g:5755:1: ( ']' )
+ // InternalSolverLanguageParser.g:5698:1: ( ( RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:5699:1: ( RightSquareBracket )
{
- // InternalSolverLanguage.g:5755:1: ( ']' )
- // InternalSolverLanguage.g:5756:2: ']'
+ // InternalSolverLanguageParser.g:5699:1: ( RightSquareBracket )
+ // InternalSolverLanguageParser.g:5700:2: RightSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
- }
- match(input,65,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
- }
+ before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
+ match(input,RightSquareBracket,FOLLOW_2);
+ after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
}
@@ -19396,25 +17725,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__InfinityLiteral__Group__0"
- // InternalSolverLanguage.g:5766:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ;
+ // InternalSolverLanguageParser.g:5710:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ;
public final void rule__InfinityLiteral__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5770:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 )
- // InternalSolverLanguage.g:5771:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1
+ // InternalSolverLanguageParser.g:5714:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 )
+ // InternalSolverLanguageParser.g:5715:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1
{
- pushFollow(FOLLOW_41);
+ pushFollow(FOLLOW_40);
rule__InfinityLiteral__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__InfinityLiteral__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19434,29 +17763,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__InfinityLiteral__Group__0__Impl"
- // InternalSolverLanguage.g:5778:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:5722:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ;
public final void rule__InfinityLiteral__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5782:1: ( ( () ) )
- // InternalSolverLanguage.g:5783:1: ( () )
+ // InternalSolverLanguageParser.g:5726:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:5727:1: ( () )
{
- // InternalSolverLanguage.g:5783:1: ( () )
- // InternalSolverLanguage.g:5784:2: ()
+ // InternalSolverLanguageParser.g:5727:1: ( () )
+ // InternalSolverLanguageParser.g:5728:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0());
- }
- // InternalSolverLanguage.g:5785:2: ()
- // InternalSolverLanguage.g:5785:3:
+ before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0());
+ // InternalSolverLanguageParser.g:5729:2: ()
+ // InternalSolverLanguageParser.g:5729:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0());
- }
+ after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0());
}
@@ -19475,20 +17800,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__InfinityLiteral__Group__1"
- // InternalSolverLanguage.g:5793:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:5737:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ;
public final void rule__InfinityLiteral__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5797:1: ( rule__InfinityLiteral__Group__1__Impl )
- // InternalSolverLanguage.g:5798:2: rule__InfinityLiteral__Group__1__Impl
+ // InternalSolverLanguageParser.g:5741:1: ( rule__InfinityLiteral__Group__1__Impl )
+ // InternalSolverLanguageParser.g:5742:2: rule__InfinityLiteral__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__InfinityLiteral__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19508,25 +17833,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__InfinityLiteral__Group__1__Impl"
- // InternalSolverLanguage.g:5804:1: rule__InfinityLiteral__Group__1__Impl : ( 'inf' ) ;
+ // InternalSolverLanguageParser.g:5748:1: rule__InfinityLiteral__Group__1__Impl : ( Inf ) ;
public final void rule__InfinityLiteral__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5808:1: ( ( 'inf' ) )
- // InternalSolverLanguage.g:5809:1: ( 'inf' )
+ // InternalSolverLanguageParser.g:5752:1: ( ( Inf ) )
+ // InternalSolverLanguageParser.g:5753:1: ( Inf )
{
- // InternalSolverLanguage.g:5809:1: ( 'inf' )
- // InternalSolverLanguage.g:5810:2: 'inf'
+ // InternalSolverLanguageParser.g:5753:1: ( Inf )
+ // InternalSolverLanguageParser.g:5754:2: Inf
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
- }
- match(input,66,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
- }
+ before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
+ match(input,Inf,FOLLOW_2);
+ after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
}
@@ -19549,25 +17870,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EmptyIntervalLiteral__Group__0"
- // InternalSolverLanguage.g:5820:1: rule__EmptyIntervalLiteral__Group__0 : rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ;
+ // InternalSolverLanguageParser.g:5764:1: rule__EmptyIntervalLiteral__Group__0 : rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ;
public final void rule__EmptyIntervalLiteral__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5824:1: ( rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 )
- // InternalSolverLanguage.g:5825:2: rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1
+ // InternalSolverLanguageParser.g:5768:1: ( rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 )
+ // InternalSolverLanguageParser.g:5769:2: rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1
{
- pushFollow(FOLLOW_42);
+ pushFollow(FOLLOW_41);
rule__EmptyIntervalLiteral__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__EmptyIntervalLiteral__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19587,29 +17908,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EmptyIntervalLiteral__Group__0__Impl"
- // InternalSolverLanguage.g:5832:1: rule__EmptyIntervalLiteral__Group__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:5776:1: rule__EmptyIntervalLiteral__Group__0__Impl : ( () ) ;
public final void rule__EmptyIntervalLiteral__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5836:1: ( ( () ) )
- // InternalSolverLanguage.g:5837:1: ( () )
+ // InternalSolverLanguageParser.g:5780:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:5781:1: ( () )
{
- // InternalSolverLanguage.g:5837:1: ( () )
- // InternalSolverLanguage.g:5838:2: ()
+ // InternalSolverLanguageParser.g:5781:1: ( () )
+ // InternalSolverLanguageParser.g:5782:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0());
- }
- // InternalSolverLanguage.g:5839:2: ()
- // InternalSolverLanguage.g:5839:3:
+ before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0());
+ // InternalSolverLanguageParser.g:5783:2: ()
+ // InternalSolverLanguageParser.g:5783:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0());
- }
+ after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0());
}
@@ -19628,20 +17945,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EmptyIntervalLiteral__Group__1"
- // InternalSolverLanguage.g:5847:1: rule__EmptyIntervalLiteral__Group__1 : rule__EmptyIntervalLiteral__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:5791:1: rule__EmptyIntervalLiteral__Group__1 : rule__EmptyIntervalLiteral__Group__1__Impl ;
public final void rule__EmptyIntervalLiteral__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5851:1: ( rule__EmptyIntervalLiteral__Group__1__Impl )
- // InternalSolverLanguage.g:5852:2: rule__EmptyIntervalLiteral__Group__1__Impl
+ // InternalSolverLanguageParser.g:5795:1: ( rule__EmptyIntervalLiteral__Group__1__Impl )
+ // InternalSolverLanguageParser.g:5796:2: rule__EmptyIntervalLiteral__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__EmptyIntervalLiteral__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19661,25 +17978,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__EmptyIntervalLiteral__Group__1__Impl"
- // InternalSolverLanguage.g:5858:1: rule__EmptyIntervalLiteral__Group__1__Impl : ( 'empty' ) ;
+ // InternalSolverLanguageParser.g:5802:1: rule__EmptyIntervalLiteral__Group__1__Impl : ( Empty ) ;
public final void rule__EmptyIntervalLiteral__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5862:1: ( ( 'empty' ) )
- // InternalSolverLanguage.g:5863:1: ( 'empty' )
+ // InternalSolverLanguageParser.g:5806:1: ( ( Empty ) )
+ // InternalSolverLanguageParser.g:5807:1: ( Empty )
{
- // InternalSolverLanguage.g:5863:1: ( 'empty' )
- // InternalSolverLanguage.g:5864:2: 'empty'
+ // InternalSolverLanguageParser.g:5807:1: ( Empty )
+ // InternalSolverLanguageParser.g:5808:2: Empty
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
- }
- match(input,67,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
- }
+ before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
+ match(input,Empty,FOLLOW_2);
+ after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
}
@@ -19702,25 +18015,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__0"
- // InternalSolverLanguage.g:5874:1: rule__ClassDefinition__Group__0 : rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:5818:1: rule__ClassDefinition__Group__0 : rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ;
public final void rule__ClassDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5878:1: ( rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 )
- // InternalSolverLanguage.g:5879:2: rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1
+ // InternalSolverLanguageParser.g:5822:1: ( rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:5823:2: rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1
{
- pushFollow(FOLLOW_43);
+ pushFollow(FOLLOW_42);
rule__ClassDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19740,46 +18053,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:5886:1: rule__ClassDefinition__Group__0__Impl : ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ;
+ // InternalSolverLanguageParser.g:5830:1: rule__ClassDefinition__Group__0__Impl : ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ;
public final void rule__ClassDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5890:1: ( ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) )
- // InternalSolverLanguage.g:5891:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? )
+ // InternalSolverLanguageParser.g:5834:1: ( ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) )
+ // InternalSolverLanguageParser.g:5835:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? )
{
- // InternalSolverLanguage.g:5891:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? )
- // InternalSolverLanguage.g:5892:2: ( rule__ClassDefinition__AbstractAssignment_0 )?
+ // InternalSolverLanguageParser.g:5835:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? )
+ // InternalSolverLanguageParser.g:5836:2: ( rule__ClassDefinition__AbstractAssignment_0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0());
- }
- // InternalSolverLanguage.g:5893:2: ( rule__ClassDefinition__AbstractAssignment_0 )?
- int alt43=2;
- int LA43_0 = input.LA(1);
+ before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0());
+ // InternalSolverLanguageParser.g:5837:2: ( rule__ClassDefinition__AbstractAssignment_0 )?
+ int alt42=2;
+ int LA42_0 = input.LA(1);
- if ( (LA43_0==73) ) {
- alt43=1;
+ if ( (LA42_0==Abstract) ) {
+ alt42=1;
}
- switch (alt43) {
+ switch (alt42) {
case 1 :
- // InternalSolverLanguage.g:5893:3: rule__ClassDefinition__AbstractAssignment_0
+ // InternalSolverLanguageParser.g:5837:3: rule__ClassDefinition__AbstractAssignment_0
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__AbstractAssignment_0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0());
- }
+ after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0());
}
@@ -19802,25 +18111,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__1"
- // InternalSolverLanguage.g:5901:1: rule__ClassDefinition__Group__1 : rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:5845:1: rule__ClassDefinition__Group__1 : rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ;
public final void rule__ClassDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5905:1: ( rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 )
- // InternalSolverLanguage.g:5906:2: rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2
+ // InternalSolverLanguageParser.g:5849:1: ( rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:5850:2: rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2
{
- pushFollow(FOLLOW_44);
+ pushFollow(FOLLOW_43);
rule__ClassDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19840,25 +18149,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:5913:1: rule__ClassDefinition__Group__1__Impl : ( 'class' ) ;
+ // InternalSolverLanguageParser.g:5857:1: rule__ClassDefinition__Group__1__Impl : ( Class ) ;
public final void rule__ClassDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5917:1: ( ( 'class' ) )
- // InternalSolverLanguage.g:5918:1: ( 'class' )
+ // InternalSolverLanguageParser.g:5861:1: ( ( Class ) )
+ // InternalSolverLanguageParser.g:5862:1: ( Class )
{
- // InternalSolverLanguage.g:5918:1: ( 'class' )
- // InternalSolverLanguage.g:5919:2: 'class'
+ // InternalSolverLanguageParser.g:5862:1: ( Class )
+ // InternalSolverLanguageParser.g:5863:2: Class
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
- }
- match(input,68,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
- }
+ before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
+ match(input,Class,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
}
@@ -19881,25 +18186,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__2"
- // InternalSolverLanguage.g:5928:1: rule__ClassDefinition__Group__2 : rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:5872:1: rule__ClassDefinition__Group__2 : rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ;
public final void rule__ClassDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5932:1: ( rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 )
- // InternalSolverLanguage.g:5933:2: rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3
+ // InternalSolverLanguageParser.g:5876:1: ( rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:5877:2: rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3
{
- pushFollow(FOLLOW_45);
+ pushFollow(FOLLOW_44);
rule__ClassDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -19919,36 +18224,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:5940:1: rule__ClassDefinition__Group__2__Impl : ( ( rule__ClassDefinition__NameAssignment_2 ) ) ;
+ // InternalSolverLanguageParser.g:5884:1: rule__ClassDefinition__Group__2__Impl : ( ( rule__ClassDefinition__NameAssignment_2 ) ) ;
public final void rule__ClassDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5944:1: ( ( ( rule__ClassDefinition__NameAssignment_2 ) ) )
- // InternalSolverLanguage.g:5945:1: ( ( rule__ClassDefinition__NameAssignment_2 ) )
+ // InternalSolverLanguageParser.g:5888:1: ( ( ( rule__ClassDefinition__NameAssignment_2 ) ) )
+ // InternalSolverLanguageParser.g:5889:1: ( ( rule__ClassDefinition__NameAssignment_2 ) )
{
- // InternalSolverLanguage.g:5945:1: ( ( rule__ClassDefinition__NameAssignment_2 ) )
- // InternalSolverLanguage.g:5946:2: ( rule__ClassDefinition__NameAssignment_2 )
+ // InternalSolverLanguageParser.g:5889:1: ( ( rule__ClassDefinition__NameAssignment_2 ) )
+ // InternalSolverLanguageParser.g:5890:2: ( rule__ClassDefinition__NameAssignment_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2());
- }
- // InternalSolverLanguage.g:5947:2: ( rule__ClassDefinition__NameAssignment_2 )
- // InternalSolverLanguage.g:5947:3: rule__ClassDefinition__NameAssignment_2
+ before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2());
+ // InternalSolverLanguageParser.g:5891:2: ( rule__ClassDefinition__NameAssignment_2 )
+ // InternalSolverLanguageParser.g:5891:3: rule__ClassDefinition__NameAssignment_2
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__NameAssignment_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2());
}
+ after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2());
+
}
@@ -19970,25 +18271,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__3"
- // InternalSolverLanguage.g:5955:1: rule__ClassDefinition__Group__3 : rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ;
+ // InternalSolverLanguageParser.g:5899:1: rule__ClassDefinition__Group__3 : rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ;
public final void rule__ClassDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5959:1: ( rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 )
- // InternalSolverLanguage.g:5960:2: rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4
+ // InternalSolverLanguageParser.g:5903:1: ( rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 )
+ // InternalSolverLanguageParser.g:5904:2: rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4
{
- pushFollow(FOLLOW_45);
+ pushFollow(FOLLOW_44);
rule__ClassDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20008,46 +18309,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:5967:1: rule__ClassDefinition__Group__3__Impl : ( ( rule__ClassDefinition__Group_3__0 )? ) ;
+ // InternalSolverLanguageParser.g:5911:1: rule__ClassDefinition__Group__3__Impl : ( ( rule__ClassDefinition__Group_3__0 )? ) ;
public final void rule__ClassDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5971:1: ( ( ( rule__ClassDefinition__Group_3__0 )? ) )
- // InternalSolverLanguage.g:5972:1: ( ( rule__ClassDefinition__Group_3__0 )? )
+ // InternalSolverLanguageParser.g:5915:1: ( ( ( rule__ClassDefinition__Group_3__0 )? ) )
+ // InternalSolverLanguageParser.g:5916:1: ( ( rule__ClassDefinition__Group_3__0 )? )
{
- // InternalSolverLanguage.g:5972:1: ( ( rule__ClassDefinition__Group_3__0 )? )
- // InternalSolverLanguage.g:5973:2: ( rule__ClassDefinition__Group_3__0 )?
+ // InternalSolverLanguageParser.g:5916:1: ( ( rule__ClassDefinition__Group_3__0 )? )
+ // InternalSolverLanguageParser.g:5917:2: ( rule__ClassDefinition__Group_3__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getGroup_3());
- }
- // InternalSolverLanguage.g:5974:2: ( rule__ClassDefinition__Group_3__0 )?
- int alt44=2;
- int LA44_0 = input.LA(1);
+ before(grammarAccess.getClassDefinitionAccess().getGroup_3());
+ // InternalSolverLanguageParser.g:5918:2: ( rule__ClassDefinition__Group_3__0 )?
+ int alt43=2;
+ int LA43_0 = input.LA(1);
- if ( (LA44_0==69) ) {
- alt44=1;
+ if ( (LA43_0==Extends) ) {
+ alt43=1;
}
- switch (alt44) {
+ switch (alt43) {
case 1 :
- // InternalSolverLanguage.g:5974:3: rule__ClassDefinition__Group_3__0
+ // InternalSolverLanguageParser.g:5918:3: rule__ClassDefinition__Group_3__0
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group_3__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getGroup_3());
- }
+ after(grammarAccess.getClassDefinitionAccess().getGroup_3());
}
@@ -20070,25 +18367,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__4"
- // InternalSolverLanguage.g:5982:1: rule__ClassDefinition__Group__4 : rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ;
+ // InternalSolverLanguageParser.g:5926:1: rule__ClassDefinition__Group__4 : rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ;
public final void rule__ClassDefinition__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5986:1: ( rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 )
- // InternalSolverLanguage.g:5987:2: rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5
+ // InternalSolverLanguageParser.g:5930:1: ( rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 )
+ // InternalSolverLanguageParser.g:5931:2: rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5
{
- pushFollow(FOLLOW_46);
+ pushFollow(FOLLOW_45);
rule__ClassDefinition__Group__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__5();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20108,25 +18405,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__4__Impl"
- // InternalSolverLanguage.g:5994:1: rule__ClassDefinition__Group__4__Impl : ( '{' ) ;
+ // InternalSolverLanguageParser.g:5938:1: rule__ClassDefinition__Group__4__Impl : ( LeftCurlyBracket ) ;
public final void rule__ClassDefinition__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:5998:1: ( ( '{' ) )
- // InternalSolverLanguage.g:5999:1: ( '{' )
+ // InternalSolverLanguageParser.g:5942:1: ( ( LeftCurlyBracket ) )
+ // InternalSolverLanguageParser.g:5943:1: ( LeftCurlyBracket )
{
- // InternalSolverLanguage.g:5999:1: ( '{' )
- // InternalSolverLanguage.g:6000:2: '{'
+ // InternalSolverLanguageParser.g:5943:1: ( LeftCurlyBracket )
+ // InternalSolverLanguageParser.g:5944:2: LeftCurlyBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
- }
- match(input,58,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
- }
+ before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
+ match(input,LeftCurlyBracket,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
}
@@ -20149,25 +18442,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__5"
- // InternalSolverLanguage.g:6009:1: rule__ClassDefinition__Group__5 : rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ;
+ // InternalSolverLanguageParser.g:5953:1: rule__ClassDefinition__Group__5 : rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ;
public final void rule__ClassDefinition__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6013:1: ( rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 )
- // InternalSolverLanguage.g:6014:2: rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6
+ // InternalSolverLanguageParser.g:5957:1: ( rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 )
+ // InternalSolverLanguageParser.g:5958:2: rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6
{
- pushFollow(FOLLOW_46);
+ pushFollow(FOLLOW_45);
rule__ClassDefinition__Group__5__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__6();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20187,53 +18480,49 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__5__Impl"
- // InternalSolverLanguage.g:6021:1: rule__ClassDefinition__Group__5__Impl : ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ;
+ // InternalSolverLanguageParser.g:5965:1: rule__ClassDefinition__Group__5__Impl : ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ;
public final void rule__ClassDefinition__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6025:1: ( ( ( rule__ClassDefinition__MembersAssignment_5 )* ) )
- // InternalSolverLanguage.g:6026:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* )
+ // InternalSolverLanguageParser.g:5969:1: ( ( ( rule__ClassDefinition__MembersAssignment_5 )* ) )
+ // InternalSolverLanguageParser.g:5970:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* )
{
- // InternalSolverLanguage.g:6026:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* )
- // InternalSolverLanguage.g:6027:2: ( rule__ClassDefinition__MembersAssignment_5 )*
+ // InternalSolverLanguageParser.g:5970:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* )
+ // InternalSolverLanguageParser.g:5971:2: ( rule__ClassDefinition__MembersAssignment_5 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5());
- }
- // InternalSolverLanguage.g:6028:2: ( rule__ClassDefinition__MembersAssignment_5 )*
- loop45:
+ before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5());
+ // InternalSolverLanguageParser.g:5972:2: ( rule__ClassDefinition__MembersAssignment_5 )*
+ loop44:
do {
- int alt45=2;
- int LA45_0 = input.LA(1);
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- if ( (LA45_0==RULE_QUOTED_ID||LA45_0==RULE_ID||LA45_0==74) ) {
- alt45=1;
+ if ( (LA44_0==Contains||LA44_0==RULE_QUOTED_ID||LA44_0==RULE_ID) ) {
+ alt44=1;
}
- switch (alt45) {
+ switch (alt44) {
case 1 :
- // InternalSolverLanguage.g:6028:3: rule__ClassDefinition__MembersAssignment_5
+ // InternalSolverLanguageParser.g:5972:3: rule__ClassDefinition__MembersAssignment_5
{
- pushFollow(FOLLOW_47);
+ pushFollow(FOLLOW_46);
rule__ClassDefinition__MembersAssignment_5();
state._fsp--;
- if (state.failed) return ;
+
}
break;
default :
- break loop45;
+ break loop44;
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5());
- }
+ after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5());
}
@@ -20256,20 +18545,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__6"
- // InternalSolverLanguage.g:6036:1: rule__ClassDefinition__Group__6 : rule__ClassDefinition__Group__6__Impl ;
+ // InternalSolverLanguageParser.g:5980:1: rule__ClassDefinition__Group__6 : rule__ClassDefinition__Group__6__Impl ;
public final void rule__ClassDefinition__Group__6() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6040:1: ( rule__ClassDefinition__Group__6__Impl )
- // InternalSolverLanguage.g:6041:2: rule__ClassDefinition__Group__6__Impl
+ // InternalSolverLanguageParser.g:5984:1: ( rule__ClassDefinition__Group__6__Impl )
+ // InternalSolverLanguageParser.g:5985:2: rule__ClassDefinition__Group__6__Impl
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group__6__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20289,25 +18578,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group__6__Impl"
- // InternalSolverLanguage.g:6047:1: rule__ClassDefinition__Group__6__Impl : ( '}' ) ;
+ // InternalSolverLanguageParser.g:5991:1: rule__ClassDefinition__Group__6__Impl : ( RightCurlyBracket ) ;
public final void rule__ClassDefinition__Group__6__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6051:1: ( ( '}' ) )
- // InternalSolverLanguage.g:6052:1: ( '}' )
+ // InternalSolverLanguageParser.g:5995:1: ( ( RightCurlyBracket ) )
+ // InternalSolverLanguageParser.g:5996:1: ( RightCurlyBracket )
{
- // InternalSolverLanguage.g:6052:1: ( '}' )
- // InternalSolverLanguage.g:6053:2: '}'
+ // InternalSolverLanguageParser.g:5996:1: ( RightCurlyBracket )
+ // InternalSolverLanguageParser.g:5997:2: RightCurlyBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
- }
- match(input,59,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
- }
+ before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
+ match(input,RightCurlyBracket,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
}
@@ -20330,25 +18615,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3__0"
- // InternalSolverLanguage.g:6063:1: rule__ClassDefinition__Group_3__0 : rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ;
+ // InternalSolverLanguageParser.g:6007:1: rule__ClassDefinition__Group_3__0 : rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ;
public final void rule__ClassDefinition__Group_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6067:1: ( rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 )
- // InternalSolverLanguage.g:6068:2: rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1
+ // InternalSolverLanguageParser.g:6011:1: ( rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 )
+ // InternalSolverLanguageParser.g:6012:2: rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1
{
pushFollow(FOLLOW_9);
rule__ClassDefinition__Group_3__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group_3__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20368,25 +18653,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3__0__Impl"
- // InternalSolverLanguage.g:6075:1: rule__ClassDefinition__Group_3__0__Impl : ( 'extends' ) ;
+ // InternalSolverLanguageParser.g:6019:1: rule__ClassDefinition__Group_3__0__Impl : ( Extends ) ;
public final void rule__ClassDefinition__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6079:1: ( ( 'extends' ) )
- // InternalSolverLanguage.g:6080:1: ( 'extends' )
+ // InternalSolverLanguageParser.g:6023:1: ( ( Extends ) )
+ // InternalSolverLanguageParser.g:6024:1: ( Extends )
{
- // InternalSolverLanguage.g:6080:1: ( 'extends' )
- // InternalSolverLanguage.g:6081:2: 'extends'
+ // InternalSolverLanguageParser.g:6024:1: ( Extends )
+ // InternalSolverLanguageParser.g:6025:2: Extends
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
- }
- match(input,69,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
- }
+ before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
+ match(input,Extends,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
}
@@ -20409,25 +18690,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3__1"
- // InternalSolverLanguage.g:6090:1: rule__ClassDefinition__Group_3__1 : rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ;
+ // InternalSolverLanguageParser.g:6034:1: rule__ClassDefinition__Group_3__1 : rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ;
public final void rule__ClassDefinition__Group_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6094:1: ( rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 )
- // InternalSolverLanguage.g:6095:2: rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2
+ // InternalSolverLanguageParser.g:6038:1: ( rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 )
+ // InternalSolverLanguageParser.g:6039:2: rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2
{
- pushFollow(FOLLOW_22);
+ pushFollow(FOLLOW_21);
rule__ClassDefinition__Group_3__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group_3__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20447,36 +18728,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3__1__Impl"
- // InternalSolverLanguage.g:6102:1: rule__ClassDefinition__Group_3__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ;
+ // InternalSolverLanguageParser.g:6046:1: rule__ClassDefinition__Group_3__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ;
public final void rule__ClassDefinition__Group_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6106:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) )
- // InternalSolverLanguage.g:6107:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) )
+ // InternalSolverLanguageParser.g:6050:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) )
+ // InternalSolverLanguageParser.g:6051:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) )
{
- // InternalSolverLanguage.g:6107:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) )
- // InternalSolverLanguage.g:6108:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 )
+ // InternalSolverLanguageParser.g:6051:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) )
+ // InternalSolverLanguageParser.g:6052:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1());
- }
- // InternalSolverLanguage.g:6109:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 )
- // InternalSolverLanguage.g:6109:3: rule__ClassDefinition__SuperclassesAssignment_3_1
+ before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1());
+ // InternalSolverLanguageParser.g:6053:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 )
+ // InternalSolverLanguageParser.g:6053:3: rule__ClassDefinition__SuperclassesAssignment_3_1
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__SuperclassesAssignment_3_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1());
}
+ after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1());
+
}
@@ -20498,20 +18775,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3__2"
- // InternalSolverLanguage.g:6117:1: rule__ClassDefinition__Group_3__2 : rule__ClassDefinition__Group_3__2__Impl ;
+ // InternalSolverLanguageParser.g:6061:1: rule__ClassDefinition__Group_3__2 : rule__ClassDefinition__Group_3__2__Impl ;
public final void rule__ClassDefinition__Group_3__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6121:1: ( rule__ClassDefinition__Group_3__2__Impl )
- // InternalSolverLanguage.g:6122:2: rule__ClassDefinition__Group_3__2__Impl
+ // InternalSolverLanguageParser.g:6065:1: ( rule__ClassDefinition__Group_3__2__Impl )
+ // InternalSolverLanguageParser.g:6066:2: rule__ClassDefinition__Group_3__2__Impl
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group_3__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20531,53 +18808,49 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3__2__Impl"
- // InternalSolverLanguage.g:6128:1: rule__ClassDefinition__Group_3__2__Impl : ( ( rule__ClassDefinition__Group_3_2__0 )* ) ;
+ // InternalSolverLanguageParser.g:6072:1: rule__ClassDefinition__Group_3__2__Impl : ( ( rule__ClassDefinition__Group_3_2__0 )* ) ;
public final void rule__ClassDefinition__Group_3__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6132:1: ( ( ( rule__ClassDefinition__Group_3_2__0 )* ) )
- // InternalSolverLanguage.g:6133:1: ( ( rule__ClassDefinition__Group_3_2__0 )* )
+ // InternalSolverLanguageParser.g:6076:1: ( ( ( rule__ClassDefinition__Group_3_2__0 )* ) )
+ // InternalSolverLanguageParser.g:6077:1: ( ( rule__ClassDefinition__Group_3_2__0 )* )
{
- // InternalSolverLanguage.g:6133:1: ( ( rule__ClassDefinition__Group_3_2__0 )* )
- // InternalSolverLanguage.g:6134:2: ( rule__ClassDefinition__Group_3_2__0 )*
+ // InternalSolverLanguageParser.g:6077:1: ( ( rule__ClassDefinition__Group_3_2__0 )* )
+ // InternalSolverLanguageParser.g:6078:2: ( rule__ClassDefinition__Group_3_2__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getGroup_3_2());
- }
- // InternalSolverLanguage.g:6135:2: ( rule__ClassDefinition__Group_3_2__0 )*
- loop46:
+ before(grammarAccess.getClassDefinitionAccess().getGroup_3_2());
+ // InternalSolverLanguageParser.g:6079:2: ( rule__ClassDefinition__Group_3_2__0 )*
+ loop45:
do {
- int alt46=2;
- int LA46_0 = input.LA(1);
+ int alt45=2;
+ int LA45_0 = input.LA(1);
- if ( (LA46_0==56) ) {
- alt46=1;
+ if ( (LA45_0==Comma) ) {
+ alt45=1;
}
- switch (alt46) {
+ switch (alt45) {
case 1 :
- // InternalSolverLanguage.g:6135:3: rule__ClassDefinition__Group_3_2__0
+ // InternalSolverLanguageParser.g:6079:3: rule__ClassDefinition__Group_3_2__0
{
- pushFollow(FOLLOW_23);
+ pushFollow(FOLLOW_22);
rule__ClassDefinition__Group_3_2__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
default :
- break loop46;
+ break loop45;
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getGroup_3_2());
- }
+ after(grammarAccess.getClassDefinitionAccess().getGroup_3_2());
}
@@ -20600,25 +18873,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3_2__0"
- // InternalSolverLanguage.g:6144:1: rule__ClassDefinition__Group_3_2__0 : rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ;
+ // InternalSolverLanguageParser.g:6088:1: rule__ClassDefinition__Group_3_2__0 : rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ;
public final void rule__ClassDefinition__Group_3_2__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6148:1: ( rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 )
- // InternalSolverLanguage.g:6149:2: rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1
+ // InternalSolverLanguageParser.g:6092:1: ( rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 )
+ // InternalSolverLanguageParser.g:6093:2: rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1
{
pushFollow(FOLLOW_9);
rule__ClassDefinition__Group_3_2__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group_3_2__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20638,25 +18911,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3_2__0__Impl"
- // InternalSolverLanguage.g:6156:1: rule__ClassDefinition__Group_3_2__0__Impl : ( ',' ) ;
+ // InternalSolverLanguageParser.g:6100:1: rule__ClassDefinition__Group_3_2__0__Impl : ( Comma ) ;
public final void rule__ClassDefinition__Group_3_2__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6160:1: ( ( ',' ) )
- // InternalSolverLanguage.g:6161:1: ( ',' )
+ // InternalSolverLanguageParser.g:6104:1: ( ( Comma ) )
+ // InternalSolverLanguageParser.g:6105:1: ( Comma )
{
- // InternalSolverLanguage.g:6161:1: ( ',' )
- // InternalSolverLanguage.g:6162:2: ','
+ // InternalSolverLanguageParser.g:6105:1: ( Comma )
+ // InternalSolverLanguageParser.g:6106:2: Comma
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
- }
- match(input,56,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
- }
+ before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
+ match(input,Comma,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
}
@@ -20679,20 +18948,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3_2__1"
- // InternalSolverLanguage.g:6171:1: rule__ClassDefinition__Group_3_2__1 : rule__ClassDefinition__Group_3_2__1__Impl ;
+ // InternalSolverLanguageParser.g:6115:1: rule__ClassDefinition__Group_3_2__1 : rule__ClassDefinition__Group_3_2__1__Impl ;
public final void rule__ClassDefinition__Group_3_2__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6175:1: ( rule__ClassDefinition__Group_3_2__1__Impl )
- // InternalSolverLanguage.g:6176:2: rule__ClassDefinition__Group_3_2__1__Impl
+ // InternalSolverLanguageParser.g:6119:1: ( rule__ClassDefinition__Group_3_2__1__Impl )
+ // InternalSolverLanguageParser.g:6120:2: rule__ClassDefinition__Group_3_2__1__Impl
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__Group_3_2__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20712,36 +18981,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__Group_3_2__1__Impl"
- // InternalSolverLanguage.g:6182:1: rule__ClassDefinition__Group_3_2__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ;
+ // InternalSolverLanguageParser.g:6126:1: rule__ClassDefinition__Group_3_2__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ;
public final void rule__ClassDefinition__Group_3_2__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6186:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) )
- // InternalSolverLanguage.g:6187:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) )
+ // InternalSolverLanguageParser.g:6130:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) )
+ // InternalSolverLanguageParser.g:6131:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) )
{
- // InternalSolverLanguage.g:6187:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) )
- // InternalSolverLanguage.g:6188:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 )
+ // InternalSolverLanguageParser.g:6131:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) )
+ // InternalSolverLanguageParser.g:6132:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1());
- }
- // InternalSolverLanguage.g:6189:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 )
- // InternalSolverLanguage.g:6189:3: rule__ClassDefinition__SuperclassesAssignment_3_2_1
+ before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1());
+ // InternalSolverLanguageParser.g:6133:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 )
+ // InternalSolverLanguageParser.g:6133:3: rule__ClassDefinition__SuperclassesAssignment_3_2_1
{
pushFollow(FOLLOW_2);
rule__ClassDefinition__SuperclassesAssignment_3_2_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1());
}
+ after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1());
+
}
@@ -20763,25 +19028,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__0"
- // InternalSolverLanguage.g:6198:1: rule__MemberDefinition__Group__0 : rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:6142:1: rule__MemberDefinition__Group__0 : rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ;
public final void rule__MemberDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6202:1: ( rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 )
- // InternalSolverLanguage.g:6203:2: rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1
+ // InternalSolverLanguageParser.g:6146:1: ( rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:6147:2: rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1
{
- pushFollow(FOLLOW_48);
+ pushFollow(FOLLOW_47);
rule__MemberDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20801,46 +19066,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:6210:1: rule__MemberDefinition__Group__0__Impl : ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ;
+ // InternalSolverLanguageParser.g:6154:1: rule__MemberDefinition__Group__0__Impl : ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ;
public final void rule__MemberDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6214:1: ( ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) )
- // InternalSolverLanguage.g:6215:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? )
+ // InternalSolverLanguageParser.g:6158:1: ( ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) )
+ // InternalSolverLanguageParser.g:6159:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? )
{
- // InternalSolverLanguage.g:6215:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? )
- // InternalSolverLanguage.g:6216:2: ( rule__MemberDefinition__ContainmentAssignment_0 )?
+ // InternalSolverLanguageParser.g:6159:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? )
+ // InternalSolverLanguageParser.g:6160:2: ( rule__MemberDefinition__ContainmentAssignment_0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0());
- }
- // InternalSolverLanguage.g:6217:2: ( rule__MemberDefinition__ContainmentAssignment_0 )?
- int alt47=2;
- int LA47_0 = input.LA(1);
+ before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0());
+ // InternalSolverLanguageParser.g:6161:2: ( rule__MemberDefinition__ContainmentAssignment_0 )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA47_0==74) ) {
- alt47=1;
+ if ( (LA46_0==Contains) ) {
+ alt46=1;
}
- switch (alt47) {
+ switch (alt46) {
case 1 :
- // InternalSolverLanguage.g:6217:3: rule__MemberDefinition__ContainmentAssignment_0
+ // InternalSolverLanguageParser.g:6161:3: rule__MemberDefinition__ContainmentAssignment_0
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__ContainmentAssignment_0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0());
- }
+ after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0());
}
@@ -20863,25 +19124,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__1"
- // InternalSolverLanguage.g:6225:1: rule__MemberDefinition__Group__1 : rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:6169:1: rule__MemberDefinition__Group__1 : rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ;
public final void rule__MemberDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6229:1: ( rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 )
- // InternalSolverLanguage.g:6230:2: rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2
+ // InternalSolverLanguageParser.g:6173:1: ( rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:6174:2: rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2
{
- pushFollow(FOLLOW_49);
+ pushFollow(FOLLOW_48);
rule__MemberDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20901,36 +19162,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:6237:1: rule__MemberDefinition__Group__1__Impl : ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:6181:1: rule__MemberDefinition__Group__1__Impl : ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ;
public final void rule__MemberDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6241:1: ( ( ( rule__MemberDefinition__TypeAssignment_1 ) ) )
- // InternalSolverLanguage.g:6242:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6185:1: ( ( ( rule__MemberDefinition__TypeAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:6186:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) )
{
- // InternalSolverLanguage.g:6242:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) )
- // InternalSolverLanguage.g:6243:2: ( rule__MemberDefinition__TypeAssignment_1 )
+ // InternalSolverLanguageParser.g:6186:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6187:2: ( rule__MemberDefinition__TypeAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1());
- }
- // InternalSolverLanguage.g:6244:2: ( rule__MemberDefinition__TypeAssignment_1 )
- // InternalSolverLanguage.g:6244:3: rule__MemberDefinition__TypeAssignment_1
+ before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1());
+ // InternalSolverLanguageParser.g:6188:2: ( rule__MemberDefinition__TypeAssignment_1 )
+ // InternalSolverLanguageParser.g:6188:3: rule__MemberDefinition__TypeAssignment_1
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__TypeAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1());
}
+ after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1());
+
}
@@ -20952,25 +19209,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__2"
- // InternalSolverLanguage.g:6252:1: rule__MemberDefinition__Group__2 : rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:6196:1: rule__MemberDefinition__Group__2 : rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ;
public final void rule__MemberDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6256:1: ( rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 )
- // InternalSolverLanguage.g:6257:2: rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3
+ // InternalSolverLanguageParser.g:6200:1: ( rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:6201:2: rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3
{
- pushFollow(FOLLOW_49);
+ pushFollow(FOLLOW_48);
rule__MemberDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -20990,46 +19247,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:6264:1: rule__MemberDefinition__Group__2__Impl : ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ;
+ // InternalSolverLanguageParser.g:6208:1: rule__MemberDefinition__Group__2__Impl : ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ;
public final void rule__MemberDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6268:1: ( ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) )
- // InternalSolverLanguage.g:6269:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? )
+ // InternalSolverLanguageParser.g:6212:1: ( ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) )
+ // InternalSolverLanguageParser.g:6213:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? )
{
- // InternalSolverLanguage.g:6269:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? )
- // InternalSolverLanguage.g:6270:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )?
+ // InternalSolverLanguageParser.g:6213:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? )
+ // InternalSolverLanguageParser.g:6214:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2());
- }
- // InternalSolverLanguage.g:6271:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )?
- int alt48=2;
- int LA48_0 = input.LA(1);
+ before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2());
+ // InternalSolverLanguageParser.g:6215:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )?
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA48_0==63) ) {
- alt48=1;
+ if ( (LA47_0==LeftSquareBracket) ) {
+ alt47=1;
}
- switch (alt48) {
+ switch (alt47) {
case 1 :
- // InternalSolverLanguage.g:6271:3: rule__MemberDefinition__MultiplicityAssignment_2
+ // InternalSolverLanguageParser.g:6215:3: rule__MemberDefinition__MultiplicityAssignment_2
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__MultiplicityAssignment_2();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2());
- }
+ after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2());
}
@@ -21052,25 +19305,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__3"
- // InternalSolverLanguage.g:6279:1: rule__MemberDefinition__Group__3 : rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ;
+ // InternalSolverLanguageParser.g:6223:1: rule__MemberDefinition__Group__3 : rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ;
public final void rule__MemberDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6283:1: ( rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 )
- // InternalSolverLanguage.g:6284:2: rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4
+ // InternalSolverLanguageParser.g:6227:1: ( rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 )
+ // InternalSolverLanguageParser.g:6228:2: rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4
{
- pushFollow(FOLLOW_50);
+ pushFollow(FOLLOW_49);
rule__MemberDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21090,36 +19343,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:6291:1: rule__MemberDefinition__Group__3__Impl : ( ( rule__MemberDefinition__NameAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:6235:1: rule__MemberDefinition__Group__3__Impl : ( ( rule__MemberDefinition__NameAssignment_3 ) ) ;
public final void rule__MemberDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6295:1: ( ( ( rule__MemberDefinition__NameAssignment_3 ) ) )
- // InternalSolverLanguage.g:6296:1: ( ( rule__MemberDefinition__NameAssignment_3 ) )
+ // InternalSolverLanguageParser.g:6239:1: ( ( ( rule__MemberDefinition__NameAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:6240:1: ( ( rule__MemberDefinition__NameAssignment_3 ) )
{
- // InternalSolverLanguage.g:6296:1: ( ( rule__MemberDefinition__NameAssignment_3 ) )
- // InternalSolverLanguage.g:6297:2: ( rule__MemberDefinition__NameAssignment_3 )
+ // InternalSolverLanguageParser.g:6240:1: ( ( rule__MemberDefinition__NameAssignment_3 ) )
+ // InternalSolverLanguageParser.g:6241:2: ( rule__MemberDefinition__NameAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3());
- }
- // InternalSolverLanguage.g:6298:2: ( rule__MemberDefinition__NameAssignment_3 )
- // InternalSolverLanguage.g:6298:3: rule__MemberDefinition__NameAssignment_3
+ before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3());
+ // InternalSolverLanguageParser.g:6242:2: ( rule__MemberDefinition__NameAssignment_3 )
+ // InternalSolverLanguageParser.g:6242:3: rule__MemberDefinition__NameAssignment_3
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__NameAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3());
}
+ after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3());
+
}
@@ -21141,25 +19390,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__4"
- // InternalSolverLanguage.g:6306:1: rule__MemberDefinition__Group__4 : rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ;
+ // InternalSolverLanguageParser.g:6250:1: rule__MemberDefinition__Group__4 : rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ;
public final void rule__MemberDefinition__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6310:1: ( rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 )
- // InternalSolverLanguage.g:6311:2: rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5
+ // InternalSolverLanguageParser.g:6254:1: ( rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 )
+ // InternalSolverLanguageParser.g:6255:2: rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5
{
- pushFollow(FOLLOW_50);
+ pushFollow(FOLLOW_49);
rule__MemberDefinition__Group__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__5();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21179,46 +19428,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__4__Impl"
- // InternalSolverLanguage.g:6318:1: rule__MemberDefinition__Group__4__Impl : ( ( rule__MemberDefinition__Group_4__0 )? ) ;
+ // InternalSolverLanguageParser.g:6262:1: rule__MemberDefinition__Group__4__Impl : ( ( rule__MemberDefinition__Group_4__0 )? ) ;
public final void rule__MemberDefinition__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6322:1: ( ( ( rule__MemberDefinition__Group_4__0 )? ) )
- // InternalSolverLanguage.g:6323:1: ( ( rule__MemberDefinition__Group_4__0 )? )
+ // InternalSolverLanguageParser.g:6266:1: ( ( ( rule__MemberDefinition__Group_4__0 )? ) )
+ // InternalSolverLanguageParser.g:6267:1: ( ( rule__MemberDefinition__Group_4__0 )? )
{
- // InternalSolverLanguage.g:6323:1: ( ( rule__MemberDefinition__Group_4__0 )? )
- // InternalSolverLanguage.g:6324:2: ( rule__MemberDefinition__Group_4__0 )?
+ // InternalSolverLanguageParser.g:6267:1: ( ( rule__MemberDefinition__Group_4__0 )? )
+ // InternalSolverLanguageParser.g:6268:2: ( rule__MemberDefinition__Group_4__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getGroup_4());
- }
- // InternalSolverLanguage.g:6325:2: ( rule__MemberDefinition__Group_4__0 )?
- int alt49=2;
- int LA49_0 = input.LA(1);
+ before(grammarAccess.getMemberDefinitionAccess().getGroup_4());
+ // InternalSolverLanguageParser.g:6269:2: ( rule__MemberDefinition__Group_4__0 )?
+ int alt48=2;
+ int LA48_0 = input.LA(1);
- if ( (LA49_0==70) ) {
- alt49=1;
+ if ( (LA48_0==Opposite) ) {
+ alt48=1;
}
- switch (alt49) {
+ switch (alt48) {
case 1 :
- // InternalSolverLanguage.g:6325:3: rule__MemberDefinition__Group_4__0
+ // InternalSolverLanguageParser.g:6269:3: rule__MemberDefinition__Group_4__0
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group_4__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getGroup_4());
- }
+ after(grammarAccess.getMemberDefinitionAccess().getGroup_4());
}
@@ -21241,20 +19486,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__5"
- // InternalSolverLanguage.g:6333:1: rule__MemberDefinition__Group__5 : rule__MemberDefinition__Group__5__Impl ;
+ // InternalSolverLanguageParser.g:6277:1: rule__MemberDefinition__Group__5 : rule__MemberDefinition__Group__5__Impl ;
public final void rule__MemberDefinition__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6337:1: ( rule__MemberDefinition__Group__5__Impl )
- // InternalSolverLanguage.g:6338:2: rule__MemberDefinition__Group__5__Impl
+ // InternalSolverLanguageParser.g:6281:1: ( rule__MemberDefinition__Group__5__Impl )
+ // InternalSolverLanguageParser.g:6282:2: rule__MemberDefinition__Group__5__Impl
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group__5__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21274,42 +19519,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group__5__Impl"
- // InternalSolverLanguage.g:6344:1: rule__MemberDefinition__Group__5__Impl : ( ( ';' )? ) ;
+ // InternalSolverLanguageParser.g:6288:1: rule__MemberDefinition__Group__5__Impl : ( ( Semicolon )? ) ;
public final void rule__MemberDefinition__Group__5__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6348:1: ( ( ( ';' )? ) )
- // InternalSolverLanguage.g:6349:1: ( ( ';' )? )
+ // InternalSolverLanguageParser.g:6292:1: ( ( ( Semicolon )? ) )
+ // InternalSolverLanguageParser.g:6293:1: ( ( Semicolon )? )
{
- // InternalSolverLanguage.g:6349:1: ( ( ';' )? )
- // InternalSolverLanguage.g:6350:2: ( ';' )?
+ // InternalSolverLanguageParser.g:6293:1: ( ( Semicolon )? )
+ // InternalSolverLanguageParser.g:6294:2: ( Semicolon )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
- }
- // InternalSolverLanguage.g:6351:2: ( ';' )?
- int alt50=2;
- int LA50_0 = input.LA(1);
+ before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
+ // InternalSolverLanguageParser.g:6295:2: ( Semicolon )?
+ int alt49=2;
+ int LA49_0 = input.LA(1);
- if ( (LA50_0==54) ) {
- alt50=1;
+ if ( (LA49_0==Semicolon) ) {
+ alt49=1;
}
- switch (alt50) {
+ switch (alt49) {
case 1 :
- // InternalSolverLanguage.g:6351:3: ';'
+ // InternalSolverLanguageParser.g:6295:3: Semicolon
{
- match(input,54,FOLLOW_2); if (state.failed) return ;
+ match(input,Semicolon,FOLLOW_2);
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
- }
+ after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
}
@@ -21332,25 +19573,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group_4__0"
- // InternalSolverLanguage.g:6360:1: rule__MemberDefinition__Group_4__0 : rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ;
+ // InternalSolverLanguageParser.g:6304:1: rule__MemberDefinition__Group_4__0 : rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ;
public final void rule__MemberDefinition__Group_4__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6364:1: ( rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 )
- // InternalSolverLanguage.g:6365:2: rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1
+ // InternalSolverLanguageParser.g:6308:1: ( rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 )
+ // InternalSolverLanguageParser.g:6309:2: rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1
{
pushFollow(FOLLOW_9);
rule__MemberDefinition__Group_4__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group_4__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21370,25 +19611,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group_4__0__Impl"
- // InternalSolverLanguage.g:6372:1: rule__MemberDefinition__Group_4__0__Impl : ( 'opposite' ) ;
+ // InternalSolverLanguageParser.g:6316:1: rule__MemberDefinition__Group_4__0__Impl : ( Opposite ) ;
public final void rule__MemberDefinition__Group_4__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6376:1: ( ( 'opposite' ) )
- // InternalSolverLanguage.g:6377:1: ( 'opposite' )
+ // InternalSolverLanguageParser.g:6320:1: ( ( Opposite ) )
+ // InternalSolverLanguageParser.g:6321:1: ( Opposite )
{
- // InternalSolverLanguage.g:6377:1: ( 'opposite' )
- // InternalSolverLanguage.g:6378:2: 'opposite'
+ // InternalSolverLanguageParser.g:6321:1: ( Opposite )
+ // InternalSolverLanguageParser.g:6322:2: Opposite
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
- }
- match(input,70,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
- }
+ before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
+ match(input,Opposite,FOLLOW_2);
+ after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
}
@@ -21411,20 +19648,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group_4__1"
- // InternalSolverLanguage.g:6387:1: rule__MemberDefinition__Group_4__1 : rule__MemberDefinition__Group_4__1__Impl ;
+ // InternalSolverLanguageParser.g:6331:1: rule__MemberDefinition__Group_4__1 : rule__MemberDefinition__Group_4__1__Impl ;
public final void rule__MemberDefinition__Group_4__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6391:1: ( rule__MemberDefinition__Group_4__1__Impl )
- // InternalSolverLanguage.g:6392:2: rule__MemberDefinition__Group_4__1__Impl
+ // InternalSolverLanguageParser.g:6335:1: ( rule__MemberDefinition__Group_4__1__Impl )
+ // InternalSolverLanguageParser.g:6336:2: rule__MemberDefinition__Group_4__1__Impl
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__Group_4__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21444,36 +19681,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__Group_4__1__Impl"
- // InternalSolverLanguage.g:6398:1: rule__MemberDefinition__Group_4__1__Impl : ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ;
+ // InternalSolverLanguageParser.g:6342:1: rule__MemberDefinition__Group_4__1__Impl : ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ;
public final void rule__MemberDefinition__Group_4__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6402:1: ( ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) )
- // InternalSolverLanguage.g:6403:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) )
+ // InternalSolverLanguageParser.g:6346:1: ( ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) )
+ // InternalSolverLanguageParser.g:6347:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) )
{
- // InternalSolverLanguage.g:6403:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) )
- // InternalSolverLanguage.g:6404:2: ( rule__MemberDefinition__OppositeAssignment_4_1 )
+ // InternalSolverLanguageParser.g:6347:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) )
+ // InternalSolverLanguageParser.g:6348:2: ( rule__MemberDefinition__OppositeAssignment_4_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1());
- }
- // InternalSolverLanguage.g:6405:2: ( rule__MemberDefinition__OppositeAssignment_4_1 )
- // InternalSolverLanguage.g:6405:3: rule__MemberDefinition__OppositeAssignment_4_1
+ before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1());
+ // InternalSolverLanguageParser.g:6349:2: ( rule__MemberDefinition__OppositeAssignment_4_1 )
+ // InternalSolverLanguageParser.g:6349:3: rule__MemberDefinition__OppositeAssignment_4_1
{
pushFollow(FOLLOW_2);
rule__MemberDefinition__OppositeAssignment_4_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1());
}
+ after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1());
+
}
@@ -21495,25 +19728,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ManyMultiplicity__Group__0"
- // InternalSolverLanguage.g:6414:1: rule__ManyMultiplicity__Group__0 : rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ;
+ // InternalSolverLanguageParser.g:6358:1: rule__ManyMultiplicity__Group__0 : rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ;
public final void rule__ManyMultiplicity__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6418:1: ( rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 )
- // InternalSolverLanguage.g:6419:2: rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1
+ // InternalSolverLanguageParser.g:6362:1: ( rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 )
+ // InternalSolverLanguageParser.g:6363:2: rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1
{
- pushFollow(FOLLOW_51);
+ pushFollow(FOLLOW_50);
rule__ManyMultiplicity__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ManyMultiplicity__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21533,29 +19766,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ManyMultiplicity__Group__0__Impl"
- // InternalSolverLanguage.g:6426:1: rule__ManyMultiplicity__Group__0__Impl : ( () ) ;
+ // InternalSolverLanguageParser.g:6370:1: rule__ManyMultiplicity__Group__0__Impl : ( () ) ;
public final void rule__ManyMultiplicity__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6430:1: ( ( () ) )
- // InternalSolverLanguage.g:6431:1: ( () )
+ // InternalSolverLanguageParser.g:6374:1: ( ( () ) )
+ // InternalSolverLanguageParser.g:6375:1: ( () )
{
- // InternalSolverLanguage.g:6431:1: ( () )
- // InternalSolverLanguage.g:6432:2: ()
+ // InternalSolverLanguageParser.g:6375:1: ( () )
+ // InternalSolverLanguageParser.g:6376:2: ()
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0());
- }
- // InternalSolverLanguage.g:6433:2: ()
- // InternalSolverLanguage.g:6433:3:
+ before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0());
+ // InternalSolverLanguageParser.g:6377:2: ()
+ // InternalSolverLanguageParser.g:6377:3:
{
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0());
- }
+ after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0());
}
@@ -21574,25 +19803,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ManyMultiplicity__Group__1"
- // InternalSolverLanguage.g:6441:1: rule__ManyMultiplicity__Group__1 : rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ;
+ // InternalSolverLanguageParser.g:6385:1: rule__ManyMultiplicity__Group__1 : rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ;
public final void rule__ManyMultiplicity__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6445:1: ( rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 )
- // InternalSolverLanguage.g:6446:2: rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2
+ // InternalSolverLanguageParser.g:6389:1: ( rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 )
+ // InternalSolverLanguageParser.g:6390:2: rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2
{
- pushFollow(FOLLOW_40);
+ pushFollow(FOLLOW_39);
rule__ManyMultiplicity__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ManyMultiplicity__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21612,25 +19841,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ManyMultiplicity__Group__1__Impl"
- // InternalSolverLanguage.g:6453:1: rule__ManyMultiplicity__Group__1__Impl : ( '[' ) ;
+ // InternalSolverLanguageParser.g:6397:1: rule__ManyMultiplicity__Group__1__Impl : ( LeftSquareBracket ) ;
public final void rule__ManyMultiplicity__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6457:1: ( ( '[' ) )
- // InternalSolverLanguage.g:6458:1: ( '[' )
+ // InternalSolverLanguageParser.g:6401:1: ( ( LeftSquareBracket ) )
+ // InternalSolverLanguageParser.g:6402:1: ( LeftSquareBracket )
{
- // InternalSolverLanguage.g:6458:1: ( '[' )
- // InternalSolverLanguage.g:6459:2: '['
+ // InternalSolverLanguageParser.g:6402:1: ( LeftSquareBracket )
+ // InternalSolverLanguageParser.g:6403:2: LeftSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
- }
- match(input,63,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
- }
+ before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
+ match(input,LeftSquareBracket,FOLLOW_2);
+ after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
}
@@ -21653,20 +19878,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ManyMultiplicity__Group__2"
- // InternalSolverLanguage.g:6468:1: rule__ManyMultiplicity__Group__2 : rule__ManyMultiplicity__Group__2__Impl ;
+ // InternalSolverLanguageParser.g:6412:1: rule__ManyMultiplicity__Group__2 : rule__ManyMultiplicity__Group__2__Impl ;
public final void rule__ManyMultiplicity__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6472:1: ( rule__ManyMultiplicity__Group__2__Impl )
- // InternalSolverLanguage.g:6473:2: rule__ManyMultiplicity__Group__2__Impl
+ // InternalSolverLanguageParser.g:6416:1: ( rule__ManyMultiplicity__Group__2__Impl )
+ // InternalSolverLanguageParser.g:6417:2: rule__ManyMultiplicity__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__ManyMultiplicity__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21686,25 +19911,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ManyMultiplicity__Group__2__Impl"
- // InternalSolverLanguage.g:6479:1: rule__ManyMultiplicity__Group__2__Impl : ( ']' ) ;
+ // InternalSolverLanguageParser.g:6423:1: rule__ManyMultiplicity__Group__2__Impl : ( RightSquareBracket ) ;
public final void rule__ManyMultiplicity__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6483:1: ( ( ']' ) )
- // InternalSolverLanguage.g:6484:1: ( ']' )
+ // InternalSolverLanguageParser.g:6427:1: ( ( RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:6428:1: ( RightSquareBracket )
{
- // InternalSolverLanguage.g:6484:1: ( ']' )
- // InternalSolverLanguage.g:6485:2: ']'
+ // InternalSolverLanguageParser.g:6428:1: ( RightSquareBracket )
+ // InternalSolverLanguageParser.g:6429:2: RightSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
- }
- match(input,65,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
- }
+ before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
+ match(input,RightSquareBracket,FOLLOW_2);
+ after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
}
@@ -21727,25 +19948,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__Group__0"
- // InternalSolverLanguage.g:6495:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ;
+ // InternalSolverLanguageParser.g:6439:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ;
public final void rule__ExactMultiplicity__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6499:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 )
- // InternalSolverLanguage.g:6500:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1
+ // InternalSolverLanguageParser.g:6443:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 )
+ // InternalSolverLanguageParser.g:6444:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1
{
- pushFollow(FOLLOW_52);
+ pushFollow(FOLLOW_51);
rule__ExactMultiplicity__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExactMultiplicity__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21765,25 +19986,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__Group__0__Impl"
- // InternalSolverLanguage.g:6507:1: rule__ExactMultiplicity__Group__0__Impl : ( '[' ) ;
+ // InternalSolverLanguageParser.g:6451:1: rule__ExactMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ;
public final void rule__ExactMultiplicity__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6511:1: ( ( '[' ) )
- // InternalSolverLanguage.g:6512:1: ( '[' )
+ // InternalSolverLanguageParser.g:6455:1: ( ( LeftSquareBracket ) )
+ // InternalSolverLanguageParser.g:6456:1: ( LeftSquareBracket )
{
- // InternalSolverLanguage.g:6512:1: ( '[' )
- // InternalSolverLanguage.g:6513:2: '['
+ // InternalSolverLanguageParser.g:6456:1: ( LeftSquareBracket )
+ // InternalSolverLanguageParser.g:6457:2: LeftSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
- }
- match(input,63,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
- }
+ before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
+ match(input,LeftSquareBracket,FOLLOW_2);
+ after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
}
@@ -21806,25 +20023,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__Group__1"
- // InternalSolverLanguage.g:6522:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ;
+ // InternalSolverLanguageParser.g:6466:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ;
public final void rule__ExactMultiplicity__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6526:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 )
- // InternalSolverLanguage.g:6527:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2
+ // InternalSolverLanguageParser.g:6470:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 )
+ // InternalSolverLanguageParser.g:6471:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2
{
- pushFollow(FOLLOW_40);
+ pushFollow(FOLLOW_39);
rule__ExactMultiplicity__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExactMultiplicity__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21844,36 +20061,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__Group__1__Impl"
- // InternalSolverLanguage.g:6534:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:6478:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ;
public final void rule__ExactMultiplicity__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6538:1: ( ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) )
- // InternalSolverLanguage.g:6539:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6482:1: ( ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:6483:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) )
{
- // InternalSolverLanguage.g:6539:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) )
- // InternalSolverLanguage.g:6540:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 )
+ // InternalSolverLanguageParser.g:6483:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6484:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1());
- }
- // InternalSolverLanguage.g:6541:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 )
- // InternalSolverLanguage.g:6541:3: rule__ExactMultiplicity__MultiplicityAssignment_1
+ before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1());
+ // InternalSolverLanguageParser.g:6485:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 )
+ // InternalSolverLanguageParser.g:6485:3: rule__ExactMultiplicity__MultiplicityAssignment_1
{
pushFollow(FOLLOW_2);
rule__ExactMultiplicity__MultiplicityAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1());
}
+ after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1());
+
}
@@ -21895,20 +20108,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__Group__2"
- // InternalSolverLanguage.g:6549:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ;
+ // InternalSolverLanguageParser.g:6493:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ;
public final void rule__ExactMultiplicity__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6553:1: ( rule__ExactMultiplicity__Group__2__Impl )
- // InternalSolverLanguage.g:6554:2: rule__ExactMultiplicity__Group__2__Impl
+ // InternalSolverLanguageParser.g:6497:1: ( rule__ExactMultiplicity__Group__2__Impl )
+ // InternalSolverLanguageParser.g:6498:2: rule__ExactMultiplicity__Group__2__Impl
{
pushFollow(FOLLOW_2);
rule__ExactMultiplicity__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -21928,25 +20141,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__Group__2__Impl"
- // InternalSolverLanguage.g:6560:1: rule__ExactMultiplicity__Group__2__Impl : ( ']' ) ;
+ // InternalSolverLanguageParser.g:6504:1: rule__ExactMultiplicity__Group__2__Impl : ( RightSquareBracket ) ;
public final void rule__ExactMultiplicity__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6564:1: ( ( ']' ) )
- // InternalSolverLanguage.g:6565:1: ( ']' )
+ // InternalSolverLanguageParser.g:6508:1: ( ( RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:6509:1: ( RightSquareBracket )
{
- // InternalSolverLanguage.g:6565:1: ( ']' )
- // InternalSolverLanguage.g:6566:2: ']'
+ // InternalSolverLanguageParser.g:6509:1: ( RightSquareBracket )
+ // InternalSolverLanguageParser.g:6510:2: RightSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
- }
- match(input,65,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
- }
+ before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
+ match(input,RightSquareBracket,FOLLOW_2);
+ after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
}
@@ -21969,25 +20178,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__0"
- // InternalSolverLanguage.g:6576:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ;
+ // InternalSolverLanguageParser.g:6520:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ;
public final void rule__BoundedMultiplicity__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6580:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 )
- // InternalSolverLanguage.g:6581:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1
+ // InternalSolverLanguageParser.g:6524:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 )
+ // InternalSolverLanguageParser.g:6525:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1
{
- pushFollow(FOLLOW_53);
+ pushFollow(FOLLOW_52);
rule__BoundedMultiplicity__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22007,25 +20216,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__0__Impl"
- // InternalSolverLanguage.g:6588:1: rule__BoundedMultiplicity__Group__0__Impl : ( '[' ) ;
+ // InternalSolverLanguageParser.g:6532:1: rule__BoundedMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ;
public final void rule__BoundedMultiplicity__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6592:1: ( ( '[' ) )
- // InternalSolverLanguage.g:6593:1: ( '[' )
+ // InternalSolverLanguageParser.g:6536:1: ( ( LeftSquareBracket ) )
+ // InternalSolverLanguageParser.g:6537:1: ( LeftSquareBracket )
{
- // InternalSolverLanguage.g:6593:1: ( '[' )
- // InternalSolverLanguage.g:6594:2: '['
+ // InternalSolverLanguageParser.g:6537:1: ( LeftSquareBracket )
+ // InternalSolverLanguageParser.g:6538:2: LeftSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
- }
- match(input,63,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
- }
+ before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
+ match(input,LeftSquareBracket,FOLLOW_2);
+ after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
}
@@ -22048,25 +20253,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__1"
- // InternalSolverLanguage.g:6603:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ;
+ // InternalSolverLanguageParser.g:6547:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ;
public final void rule__BoundedMultiplicity__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6607:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 )
- // InternalSolverLanguage.g:6608:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2
+ // InternalSolverLanguageParser.g:6551:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 )
+ // InternalSolverLanguageParser.g:6552:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2
{
- pushFollow(FOLLOW_39);
+ pushFollow(FOLLOW_38);
rule__BoundedMultiplicity__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22086,36 +20291,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__1__Impl"
- // InternalSolverLanguage.g:6615:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:6559:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ;
public final void rule__BoundedMultiplicity__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6619:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) )
- // InternalSolverLanguage.g:6620:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6563:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:6564:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) )
{
- // InternalSolverLanguage.g:6620:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) )
- // InternalSolverLanguage.g:6621:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 )
+ // InternalSolverLanguageParser.g:6564:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6565:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1());
- }
- // InternalSolverLanguage.g:6622:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 )
- // InternalSolverLanguage.g:6622:3: rule__BoundedMultiplicity__LowerBoundAssignment_1
+ before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1());
+ // InternalSolverLanguageParser.g:6566:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 )
+ // InternalSolverLanguageParser.g:6566:3: rule__BoundedMultiplicity__LowerBoundAssignment_1
{
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__LowerBoundAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1());
}
+ after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1());
+
}
@@ -22137,25 +20338,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__2"
- // InternalSolverLanguage.g:6630:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ;
+ // InternalSolverLanguageParser.g:6574:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ;
public final void rule__BoundedMultiplicity__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6634:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 )
- // InternalSolverLanguage.g:6635:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3
+ // InternalSolverLanguageParser.g:6578:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 )
+ // InternalSolverLanguageParser.g:6579:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3
{
- pushFollow(FOLLOW_52);
+ pushFollow(FOLLOW_51);
rule__BoundedMultiplicity__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22175,25 +20376,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__2__Impl"
- // InternalSolverLanguage.g:6642:1: rule__BoundedMultiplicity__Group__2__Impl : ( '..' ) ;
+ // InternalSolverLanguageParser.g:6586:1: rule__BoundedMultiplicity__Group__2__Impl : ( FullStopFullStop ) ;
public final void rule__BoundedMultiplicity__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6646:1: ( ( '..' ) )
- // InternalSolverLanguage.g:6647:1: ( '..' )
+ // InternalSolverLanguageParser.g:6590:1: ( ( FullStopFullStop ) )
+ // InternalSolverLanguageParser.g:6591:1: ( FullStopFullStop )
{
- // InternalSolverLanguage.g:6647:1: ( '..' )
- // InternalSolverLanguage.g:6648:2: '..'
+ // InternalSolverLanguageParser.g:6591:1: ( FullStopFullStop )
+ // InternalSolverLanguageParser.g:6592:2: FullStopFullStop
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
- }
- match(input,64,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
- }
+ before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
+ match(input,FullStopFullStop,FOLLOW_2);
+ after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
}
@@ -22216,25 +20413,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__3"
- // InternalSolverLanguage.g:6657:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ;
+ // InternalSolverLanguageParser.g:6601:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ;
public final void rule__BoundedMultiplicity__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6661:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 )
- // InternalSolverLanguage.g:6662:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4
+ // InternalSolverLanguageParser.g:6605:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 )
+ // InternalSolverLanguageParser.g:6606:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4
{
- pushFollow(FOLLOW_40);
+ pushFollow(FOLLOW_39);
rule__BoundedMultiplicity__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__Group__4();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22254,36 +20451,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__3__Impl"
- // InternalSolverLanguage.g:6669:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:6613:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ;
public final void rule__BoundedMultiplicity__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6673:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) )
- // InternalSolverLanguage.g:6674:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) )
+ // InternalSolverLanguageParser.g:6617:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:6618:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) )
{
- // InternalSolverLanguage.g:6674:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) )
- // InternalSolverLanguage.g:6675:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 )
+ // InternalSolverLanguageParser.g:6618:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) )
+ // InternalSolverLanguageParser.g:6619:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3());
- }
- // InternalSolverLanguage.g:6676:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 )
- // InternalSolverLanguage.g:6676:3: rule__BoundedMultiplicity__UpperBoundAssignment_3
+ before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3());
+ // InternalSolverLanguageParser.g:6620:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 )
+ // InternalSolverLanguageParser.g:6620:3: rule__BoundedMultiplicity__UpperBoundAssignment_3
{
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__UpperBoundAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3());
}
+ after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3());
+
}
@@ -22305,20 +20498,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__4"
- // InternalSolverLanguage.g:6684:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ;
+ // InternalSolverLanguageParser.g:6628:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ;
public final void rule__BoundedMultiplicity__Group__4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6688:1: ( rule__BoundedMultiplicity__Group__4__Impl )
- // InternalSolverLanguage.g:6689:2: rule__BoundedMultiplicity__Group__4__Impl
+ // InternalSolverLanguageParser.g:6632:1: ( rule__BoundedMultiplicity__Group__4__Impl )
+ // InternalSolverLanguageParser.g:6633:2: rule__BoundedMultiplicity__Group__4__Impl
{
pushFollow(FOLLOW_2);
rule__BoundedMultiplicity__Group__4__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22338,25 +20531,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__Group__4__Impl"
- // InternalSolverLanguage.g:6695:1: rule__BoundedMultiplicity__Group__4__Impl : ( ']' ) ;
+ // InternalSolverLanguageParser.g:6639:1: rule__BoundedMultiplicity__Group__4__Impl : ( RightSquareBracket ) ;
public final void rule__BoundedMultiplicity__Group__4__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6699:1: ( ( ']' ) )
- // InternalSolverLanguage.g:6700:1: ( ']' )
+ // InternalSolverLanguageParser.g:6643:1: ( ( RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:6644:1: ( RightSquareBracket )
{
- // InternalSolverLanguage.g:6700:1: ( ']' )
- // InternalSolverLanguage.g:6701:2: ']'
+ // InternalSolverLanguageParser.g:6644:1: ( RightSquareBracket )
+ // InternalSolverLanguageParser.g:6645:2: RightSquareBracket
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
- }
- match(input,65,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
- }
+ before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
+ match(input,RightSquareBracket,FOLLOW_2);
+ after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
}
@@ -22379,25 +20568,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__0"
- // InternalSolverLanguage.g:6711:1: rule__ExactScopeDefinition__Group__0 : rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:6655:1: rule__ExactScopeDefinition__Group__0 : rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ;
public final void rule__ExactScopeDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6715:1: ( rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 )
- // InternalSolverLanguage.g:6716:2: rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1
+ // InternalSolverLanguageParser.g:6659:1: ( rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:6660:2: rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1
{
pushFollow(FOLLOW_9);
rule__ExactScopeDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22417,25 +20606,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:6723:1: rule__ExactScopeDefinition__Group__0__Impl : ( 'scope' ) ;
+ // InternalSolverLanguageParser.g:6667:1: rule__ExactScopeDefinition__Group__0__Impl : ( Scope ) ;
public final void rule__ExactScopeDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6727:1: ( ( 'scope' ) )
- // InternalSolverLanguage.g:6728:1: ( 'scope' )
+ // InternalSolverLanguageParser.g:6671:1: ( ( Scope ) )
+ // InternalSolverLanguageParser.g:6672:1: ( Scope )
{
- // InternalSolverLanguage.g:6728:1: ( 'scope' )
- // InternalSolverLanguage.g:6729:2: 'scope'
+ // InternalSolverLanguageParser.g:6672:1: ( Scope )
+ // InternalSolverLanguageParser.g:6673:2: Scope
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
- }
- match(input,71,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
- }
+ before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
+ match(input,Scope,FOLLOW_2);
+ after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
}
@@ -22458,25 +20643,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__1"
- // InternalSolverLanguage.g:6738:1: rule__ExactScopeDefinition__Group__1 : rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:6682:1: rule__ExactScopeDefinition__Group__1 : rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ;
public final void rule__ExactScopeDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6742:1: ( rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 )
- // InternalSolverLanguage.g:6743:2: rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2
+ // InternalSolverLanguageParser.g:6686:1: ( rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 )
+ // InternalSolverLanguageParser.g:6687:2: rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2
{
- pushFollow(FOLLOW_54);
+ pushFollow(FOLLOW_53);
rule__ExactScopeDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__Group__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22496,36 +20681,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:6750:1: rule__ExactScopeDefinition__Group__1__Impl : ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:6694:1: rule__ExactScopeDefinition__Group__1__Impl : ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ;
public final void rule__ExactScopeDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6754:1: ( ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) )
- // InternalSolverLanguage.g:6755:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6698:1: ( ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:6699:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) )
{
- // InternalSolverLanguage.g:6755:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) )
- // InternalSolverLanguage.g:6756:2: ( rule__ExactScopeDefinition__TypeAssignment_1 )
+ // InternalSolverLanguageParser.g:6699:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) )
+ // InternalSolverLanguageParser.g:6700:2: ( rule__ExactScopeDefinition__TypeAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1());
- }
- // InternalSolverLanguage.g:6757:2: ( rule__ExactScopeDefinition__TypeAssignment_1 )
- // InternalSolverLanguage.g:6757:3: rule__ExactScopeDefinition__TypeAssignment_1
+ before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1());
+ // InternalSolverLanguageParser.g:6701:2: ( rule__ExactScopeDefinition__TypeAssignment_1 )
+ // InternalSolverLanguageParser.g:6701:3: rule__ExactScopeDefinition__TypeAssignment_1
{
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__TypeAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1());
}
+ after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1());
+
}
@@ -22547,25 +20728,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__2"
- // InternalSolverLanguage.g:6765:1: rule__ExactScopeDefinition__Group__2 : rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ;
+ // InternalSolverLanguageParser.g:6709:1: rule__ExactScopeDefinition__Group__2 : rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ;
public final void rule__ExactScopeDefinition__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6769:1: ( rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 )
- // InternalSolverLanguage.g:6770:2: rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3
+ // InternalSolverLanguageParser.g:6713:1: ( rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 )
+ // InternalSolverLanguageParser.g:6714:2: rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3
{
- pushFollow(FOLLOW_53);
+ pushFollow(FOLLOW_52);
rule__ExactScopeDefinition__Group__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__Group__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22585,25 +20766,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:6777:1: rule__ExactScopeDefinition__Group__2__Impl : ( '==' ) ;
+ // InternalSolverLanguageParser.g:6721:1: rule__ExactScopeDefinition__Group__2__Impl : ( EqualsSignEqualsSign ) ;
public final void rule__ExactScopeDefinition__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6781:1: ( ( '==' ) )
- // InternalSolverLanguage.g:6782:1: ( '==' )
+ // InternalSolverLanguageParser.g:6725:1: ( ( EqualsSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:6726:1: ( EqualsSignEqualsSign )
{
- // InternalSolverLanguage.g:6782:1: ( '==' )
- // InternalSolverLanguage.g:6783:2: '=='
+ // InternalSolverLanguageParser.g:6726:1: ( EqualsSignEqualsSign )
+ // InternalSolverLanguageParser.g:6727:2: EqualsSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
- }
- match(input,19,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
- }
+ before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
+ match(input,EqualsSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
}
@@ -22626,20 +20803,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__3"
- // InternalSolverLanguage.g:6792:1: rule__ExactScopeDefinition__Group__3 : rule__ExactScopeDefinition__Group__3__Impl ;
+ // InternalSolverLanguageParser.g:6736:1: rule__ExactScopeDefinition__Group__3 : rule__ExactScopeDefinition__Group__3__Impl ;
public final void rule__ExactScopeDefinition__Group__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6796:1: ( rule__ExactScopeDefinition__Group__3__Impl )
- // InternalSolverLanguage.g:6797:2: rule__ExactScopeDefinition__Group__3__Impl
+ // InternalSolverLanguageParser.g:6740:1: ( rule__ExactScopeDefinition__Group__3__Impl )
+ // InternalSolverLanguageParser.g:6741:2: rule__ExactScopeDefinition__Group__3__Impl
{
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__Group__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22659,36 +20836,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__Group__3__Impl"
- // InternalSolverLanguage.g:6803:1: rule__ExactScopeDefinition__Group__3__Impl : ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ;
+ // InternalSolverLanguageParser.g:6747:1: rule__ExactScopeDefinition__Group__3__Impl : ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ;
public final void rule__ExactScopeDefinition__Group__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6807:1: ( ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) )
- // InternalSolverLanguage.g:6808:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) )
+ // InternalSolverLanguageParser.g:6751:1: ( ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) )
+ // InternalSolverLanguageParser.g:6752:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) )
{
- // InternalSolverLanguage.g:6808:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) )
- // InternalSolverLanguage.g:6809:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 )
+ // InternalSolverLanguageParser.g:6752:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) )
+ // InternalSolverLanguageParser.g:6753:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3());
- }
- // InternalSolverLanguage.g:6810:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 )
- // InternalSolverLanguage.g:6810:3: rule__ExactScopeDefinition__ExactScopeAssignment_3
+ before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3());
+ // InternalSolverLanguageParser.g:6754:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 )
+ // InternalSolverLanguageParser.g:6754:3: rule__ExactScopeDefinition__ExactScopeAssignment_3
{
pushFollow(FOLLOW_2);
rule__ExactScopeDefinition__ExactScopeAssignment_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3());
}
+ after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3());
+
}
@@ -22710,25 +20883,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group__0"
- // InternalSolverLanguage.g:6819:1: rule__BoundedScopeDefinition__Group__0 : rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:6763:1: rule__BoundedScopeDefinition__Group__0 : rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ;
public final void rule__BoundedScopeDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6823:1: ( rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 )
- // InternalSolverLanguage.g:6824:2: rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1
+ // InternalSolverLanguageParser.g:6767:1: ( rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:6768:2: rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1
{
- pushFollow(FOLLOW_55);
+ pushFollow(FOLLOW_54);
rule__BoundedScopeDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22748,25 +20921,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:6831:1: rule__BoundedScopeDefinition__Group__0__Impl : ( 'scope' ) ;
+ // InternalSolverLanguageParser.g:6775:1: rule__BoundedScopeDefinition__Group__0__Impl : ( Scope ) ;
public final void rule__BoundedScopeDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6835:1: ( ( 'scope' ) )
- // InternalSolverLanguage.g:6836:1: ( 'scope' )
+ // InternalSolverLanguageParser.g:6779:1: ( ( Scope ) )
+ // InternalSolverLanguageParser.g:6780:1: ( Scope )
{
- // InternalSolverLanguage.g:6836:1: ( 'scope' )
- // InternalSolverLanguage.g:6837:2: 'scope'
+ // InternalSolverLanguageParser.g:6780:1: ( Scope )
+ // InternalSolverLanguageParser.g:6781:2: Scope
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
- }
- match(input,71,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
+ match(input,Scope,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
}
@@ -22789,25 +20958,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group__1"
- // InternalSolverLanguage.g:6846:1: rule__BoundedScopeDefinition__Group__1 : rule__BoundedScopeDefinition__Group__1__Impl rule__BoundedScopeDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:6790:1: rule__BoundedScopeDefinition__Group__1 : rule__BoundedScopeDefinition__Group__1__Impl ;
public final void rule__BoundedScopeDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6850:1: ( rule__BoundedScopeDefinition__Group__1__Impl rule__BoundedScopeDefinition__Group__2 )
- // InternalSolverLanguage.g:6851:2: rule__BoundedScopeDefinition__Group__1__Impl rule__BoundedScopeDefinition__Group__2
+ // InternalSolverLanguageParser.g:6794:1: ( rule__BoundedScopeDefinition__Group__1__Impl )
+ // InternalSolverLanguageParser.g:6795:2: rule__BoundedScopeDefinition__Group__1__Impl
{
- pushFollow(FOLLOW_13);
+ pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__BoundedScopeDefinition__Group__2();
- state._fsp--;
- if (state.failed) return ;
}
@@ -22827,109 +20991,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:6858:1: rule__BoundedScopeDefinition__Group__1__Impl : ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ;
+ // InternalSolverLanguageParser.g:6801:1: rule__BoundedScopeDefinition__Group__1__Impl : ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ;
public final void rule__BoundedScopeDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6862:1: ( ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) )
- // InternalSolverLanguage.g:6863:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) )
+ // InternalSolverLanguageParser.g:6805:1: ( ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) )
+ // InternalSolverLanguageParser.g:6806:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) )
{
- // InternalSolverLanguage.g:6863:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) )
- // InternalSolverLanguage.g:6864:2: ( rule__BoundedScopeDefinition__Alternatives_1 )
+ // InternalSolverLanguageParser.g:6806:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) )
+ // InternalSolverLanguageParser.g:6807:2: ( rule__BoundedScopeDefinition__Alternatives_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1());
- }
- // InternalSolverLanguage.g:6865:2: ( rule__BoundedScopeDefinition__Alternatives_1 )
- // InternalSolverLanguage.g:6865:3: rule__BoundedScopeDefinition__Alternatives_1
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1());
+ // InternalSolverLanguageParser.g:6808:2: ( rule__BoundedScopeDefinition__Alternatives_1 )
+ // InternalSolverLanguageParser.g:6808:3: rule__BoundedScopeDefinition__Alternatives_1
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Alternatives_1();
state._fsp--;
- if (state.failed) return ;
-
- }
-
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1());
- }
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__BoundedScopeDefinition__Group__1__Impl"
-
-
- // $ANTLR start "rule__BoundedScopeDefinition__Group__2"
- // InternalSolverLanguage.g:6873:1: rule__BoundedScopeDefinition__Group__2 : rule__BoundedScopeDefinition__Group__2__Impl ;
- public final void rule__BoundedScopeDefinition__Group__2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:6877:1: ( rule__BoundedScopeDefinition__Group__2__Impl )
- // InternalSolverLanguage.g:6878:2: rule__BoundedScopeDefinition__Group__2__Impl
- {
- pushFollow(FOLLOW_2);
- rule__BoundedScopeDefinition__Group__2__Impl();
- state._fsp--;
- if (state.failed) return ;
}
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__BoundedScopeDefinition__Group__2"
-
-
- // $ANTLR start "rule__BoundedScopeDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:6884:1: rule__BoundedScopeDefinition__Group__2__Impl : ( '.' ) ;
- public final void rule__BoundedScopeDefinition__Group__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:6888:1: ( ( '.' ) )
- // InternalSolverLanguage.g:6889:1: ( '.' )
- {
- // InternalSolverLanguage.g:6889:1: ( '.' )
- // InternalSolverLanguage.g:6890:2: '.'
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2());
- }
- match(input,50,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2());
- }
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1());
}
@@ -22948,29 +21034,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__BoundedScopeDefinition__Group__2__Impl"
+ // $ANTLR end "rule__BoundedScopeDefinition__Group__1__Impl"
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0"
- // InternalSolverLanguage.g:6900:1: rule__BoundedScopeDefinition__Group_1_0__0 : rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ;
+ // InternalSolverLanguageParser.g:6817:1: rule__BoundedScopeDefinition__Group_1_0__0 : rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ;
public final void rule__BoundedScopeDefinition__Group_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6904:1: ( rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 )
- // InternalSolverLanguage.g:6905:2: rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1
+ // InternalSolverLanguageParser.g:6821:1: ( rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 )
+ // InternalSolverLanguageParser.g:6822:2: rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1
{
- pushFollow(FOLLOW_55);
+ pushFollow(FOLLOW_54);
rule__BoundedScopeDefinition__Group_1_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -22990,46 +21076,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0__Impl"
- // InternalSolverLanguage.g:6912:1: rule__BoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ;
+ // InternalSolverLanguageParser.g:6829:1: rule__BoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ;
public final void rule__BoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6916:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) )
- // InternalSolverLanguage.g:6917:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? )
+ // InternalSolverLanguageParser.g:6833:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) )
+ // InternalSolverLanguageParser.g:6834:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? )
{
- // InternalSolverLanguage.g:6917:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? )
- // InternalSolverLanguage.g:6918:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )?
+ // InternalSolverLanguageParser.g:6834:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? )
+ // InternalSolverLanguageParser.g:6835:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0());
- }
- // InternalSolverLanguage.g:6919:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )?
- int alt51=2;
- int LA51_0 = input.LA(1);
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0());
+ // InternalSolverLanguageParser.g:6836:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )?
+ int alt50=2;
+ int LA50_0 = input.LA(1);
- if ( (LA51_0==RULE_INT) ) {
- alt51=1;
+ if ( (LA50_0==RULE_INT) ) {
+ alt50=1;
}
- switch (alt51) {
+ switch (alt50) {
case 1 :
- // InternalSolverLanguage.g:6919:3: rule__BoundedScopeDefinition__Group_1_0_0__0
+ // InternalSolverLanguageParser.g:6836:3: rule__BoundedScopeDefinition__Group_1_0_0__0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0_0__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0());
- }
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0());
}
@@ -23052,25 +21134,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1"
- // InternalSolverLanguage.g:6927:1: rule__BoundedScopeDefinition__Group_1_0__1 : rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ;
+ // InternalSolverLanguageParser.g:6844:1: rule__BoundedScopeDefinition__Group_1_0__1 : rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ;
public final void rule__BoundedScopeDefinition__Group_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6931:1: ( rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 )
- // InternalSolverLanguage.g:6932:2: rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2
+ // InternalSolverLanguageParser.g:6848:1: ( rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 )
+ // InternalSolverLanguageParser.g:6849:2: rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2
{
- pushFollow(FOLLOW_56);
+ pushFollow(FOLLOW_55);
rule__BoundedScopeDefinition__Group_1_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23090,36 +21172,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1__Impl"
- // InternalSolverLanguage.g:6939:1: rule__BoundedScopeDefinition__Group_1_0__1__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ;
+ // InternalSolverLanguageParser.g:6856:1: rule__BoundedScopeDefinition__Group_1_0__1__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ;
public final void rule__BoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6943:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) )
- // InternalSolverLanguage.g:6944:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) )
+ // InternalSolverLanguageParser.g:6860:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) )
+ // InternalSolverLanguageParser.g:6861:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) )
{
- // InternalSolverLanguage.g:6944:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) )
- // InternalSolverLanguage.g:6945:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 )
+ // InternalSolverLanguageParser.g:6861:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) )
+ // InternalSolverLanguageParser.g:6862:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1());
- }
- // InternalSolverLanguage.g:6946:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 )
- // InternalSolverLanguage.g:6946:3: rule__BoundedScopeDefinition__TypeAssignment_1_0_1
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1());
+ // InternalSolverLanguageParser.g:6863:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 )
+ // InternalSolverLanguageParser.g:6863:3: rule__BoundedScopeDefinition__TypeAssignment_1_0_1
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__TypeAssignment_1_0_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1());
+
}
@@ -23141,25 +21219,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2"
- // InternalSolverLanguage.g:6954:1: rule__BoundedScopeDefinition__Group_1_0__2 : rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ;
+ // InternalSolverLanguageParser.g:6871:1: rule__BoundedScopeDefinition__Group_1_0__2 : rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ;
public final void rule__BoundedScopeDefinition__Group_1_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6958:1: ( rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 )
- // InternalSolverLanguage.g:6959:2: rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3
+ // InternalSolverLanguageParser.g:6875:1: ( rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 )
+ // InternalSolverLanguageParser.g:6876:2: rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3
{
- pushFollow(FOLLOW_53);
+ pushFollow(FOLLOW_52);
rule__BoundedScopeDefinition__Group_1_0__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23179,25 +21257,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2__Impl"
- // InternalSolverLanguage.g:6966:1: rule__BoundedScopeDefinition__Group_1_0__2__Impl : ( '<=' ) ;
+ // InternalSolverLanguageParser.g:6883:1: rule__BoundedScopeDefinition__Group_1_0__2__Impl : ( LessThanSignEqualsSign ) ;
public final void rule__BoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6970:1: ( ( '<=' ) )
- // InternalSolverLanguage.g:6971:1: ( '<=' )
+ // InternalSolverLanguageParser.g:6887:1: ( ( LessThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:6888:1: ( LessThanSignEqualsSign )
{
- // InternalSolverLanguage.g:6971:1: ( '<=' )
- // InternalSolverLanguage.g:6972:2: '<='
+ // InternalSolverLanguageParser.g:6888:1: ( LessThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:6889:2: LessThanSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
- }
- match(input,22,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
+ match(input,LessThanSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
}
@@ -23220,20 +21294,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3"
- // InternalSolverLanguage.g:6981:1: rule__BoundedScopeDefinition__Group_1_0__3 : rule__BoundedScopeDefinition__Group_1_0__3__Impl ;
+ // InternalSolverLanguageParser.g:6898:1: rule__BoundedScopeDefinition__Group_1_0__3 : rule__BoundedScopeDefinition__Group_1_0__3__Impl ;
public final void rule__BoundedScopeDefinition__Group_1_0__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6985:1: ( rule__BoundedScopeDefinition__Group_1_0__3__Impl )
- // InternalSolverLanguage.g:6986:2: rule__BoundedScopeDefinition__Group_1_0__3__Impl
+ // InternalSolverLanguageParser.g:6902:1: ( rule__BoundedScopeDefinition__Group_1_0__3__Impl )
+ // InternalSolverLanguageParser.g:6903:2: rule__BoundedScopeDefinition__Group_1_0__3__Impl
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23253,36 +21327,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3__Impl"
- // InternalSolverLanguage.g:6992:1: rule__BoundedScopeDefinition__Group_1_0__3__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ;
+ // InternalSolverLanguageParser.g:6909:1: rule__BoundedScopeDefinition__Group_1_0__3__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ;
public final void rule__BoundedScopeDefinition__Group_1_0__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:6996:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) )
- // InternalSolverLanguage.g:6997:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) )
+ // InternalSolverLanguageParser.g:6913:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) )
+ // InternalSolverLanguageParser.g:6914:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) )
{
- // InternalSolverLanguage.g:6997:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) )
- // InternalSolverLanguage.g:6998:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 )
+ // InternalSolverLanguageParser.g:6914:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) )
+ // InternalSolverLanguageParser.g:6915:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3());
- }
- // InternalSolverLanguage.g:6999:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 )
- // InternalSolverLanguage.g:6999:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3());
+ // InternalSolverLanguageParser.g:6916:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 )
+ // InternalSolverLanguageParser.g:6916:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3());
+
}
@@ -23304,25 +21374,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0"
- // InternalSolverLanguage.g:7008:1: rule__BoundedScopeDefinition__Group_1_0_0__0 : rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ;
+ // InternalSolverLanguageParser.g:6925:1: rule__BoundedScopeDefinition__Group_1_0_0__0 : rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ;
public final void rule__BoundedScopeDefinition__Group_1_0_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7012:1: ( rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 )
- // InternalSolverLanguage.g:7013:2: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1
+ // InternalSolverLanguageParser.g:6929:1: ( rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 )
+ // InternalSolverLanguageParser.g:6930:2: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1
{
- pushFollow(FOLLOW_56);
+ pushFollow(FOLLOW_55);
rule__BoundedScopeDefinition__Group_1_0_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23342,36 +21412,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl"
- // InternalSolverLanguage.g:7020:1: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ;
+ // InternalSolverLanguageParser.g:6937:1: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ;
public final void rule__BoundedScopeDefinition__Group_1_0_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7024:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) )
- // InternalSolverLanguage.g:7025:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) )
+ // InternalSolverLanguageParser.g:6941:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) )
+ // InternalSolverLanguageParser.g:6942:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) )
{
- // InternalSolverLanguage.g:7025:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) )
- // InternalSolverLanguage.g:7026:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 )
+ // InternalSolverLanguageParser.g:6942:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) )
+ // InternalSolverLanguageParser.g:6943:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0());
- }
- // InternalSolverLanguage.g:7027:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 )
- // InternalSolverLanguage.g:7027:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0());
+ // InternalSolverLanguageParser.g:6944:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 )
+ // InternalSolverLanguageParser.g:6944:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0());
+
}
@@ -23393,20 +21459,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1"
- // InternalSolverLanguage.g:7035:1: rule__BoundedScopeDefinition__Group_1_0_0__1 : rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ;
+ // InternalSolverLanguageParser.g:6952:1: rule__BoundedScopeDefinition__Group_1_0_0__1 : rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ;
public final void rule__BoundedScopeDefinition__Group_1_0_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7039:1: ( rule__BoundedScopeDefinition__Group_1_0_0__1__Impl )
- // InternalSolverLanguage.g:7040:2: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl
+ // InternalSolverLanguageParser.g:6956:1: ( rule__BoundedScopeDefinition__Group_1_0_0__1__Impl )
+ // InternalSolverLanguageParser.g:6957:2: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_0_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23426,25 +21492,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl"
- // InternalSolverLanguage.g:7046:1: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl : ( '<=' ) ;
+ // InternalSolverLanguageParser.g:6963:1: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl : ( LessThanSignEqualsSign ) ;
public final void rule__BoundedScopeDefinition__Group_1_0_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7050:1: ( ( '<=' ) )
- // InternalSolverLanguage.g:7051:1: ( '<=' )
+ // InternalSolverLanguageParser.g:6967:1: ( ( LessThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:6968:1: ( LessThanSignEqualsSign )
{
- // InternalSolverLanguage.g:7051:1: ( '<=' )
- // InternalSolverLanguage.g:7052:2: '<='
+ // InternalSolverLanguageParser.g:6968:1: ( LessThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:6969:2: LessThanSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
- }
- match(input,22,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
+ match(input,LessThanSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
}
@@ -23467,25 +21529,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0"
- // InternalSolverLanguage.g:7062:1: rule__BoundedScopeDefinition__Group_1_1__0 : rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ;
+ // InternalSolverLanguageParser.g:6979:1: rule__BoundedScopeDefinition__Group_1_1__0 : rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ;
public final void rule__BoundedScopeDefinition__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7066:1: ( rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 )
- // InternalSolverLanguage.g:7067:2: rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1
+ // InternalSolverLanguageParser.g:6983:1: ( rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 )
+ // InternalSolverLanguageParser.g:6984:2: rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1
{
- pushFollow(FOLLOW_57);
+ pushFollow(FOLLOW_56);
rule__BoundedScopeDefinition__Group_1_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23505,36 +21567,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0__Impl"
- // InternalSolverLanguage.g:7074:1: rule__BoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ;
+ // InternalSolverLanguageParser.g:6991:1: rule__BoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ;
public final void rule__BoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7078:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) )
- // InternalSolverLanguage.g:7079:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) )
+ // InternalSolverLanguageParser.g:6995:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) )
+ // InternalSolverLanguageParser.g:6996:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) )
{
- // InternalSolverLanguage.g:7079:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) )
- // InternalSolverLanguage.g:7080:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 )
+ // InternalSolverLanguageParser.g:6996:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) )
+ // InternalSolverLanguageParser.g:6997:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0());
- }
- // InternalSolverLanguage.g:7081:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 )
- // InternalSolverLanguage.g:7081:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0());
+ // InternalSolverLanguageParser.g:6998:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 )
+ // InternalSolverLanguageParser.g:6998:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0());
+
}
@@ -23556,25 +21614,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1"
- // InternalSolverLanguage.g:7089:1: rule__BoundedScopeDefinition__Group_1_1__1 : rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ;
+ // InternalSolverLanguageParser.g:7006:1: rule__BoundedScopeDefinition__Group_1_1__1 : rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ;
public final void rule__BoundedScopeDefinition__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7093:1: ( rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 )
- // InternalSolverLanguage.g:7094:2: rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2
+ // InternalSolverLanguageParser.g:7010:1: ( rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 )
+ // InternalSolverLanguageParser.g:7011:2: rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2
{
pushFollow(FOLLOW_9);
rule__BoundedScopeDefinition__Group_1_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23594,25 +21652,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1__Impl"
- // InternalSolverLanguage.g:7101:1: rule__BoundedScopeDefinition__Group_1_1__1__Impl : ( '>=' ) ;
+ // InternalSolverLanguageParser.g:7018:1: rule__BoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ;
public final void rule__BoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7105:1: ( ( '>=' ) )
- // InternalSolverLanguage.g:7106:1: ( '>=' )
+ // InternalSolverLanguageParser.g:7022:1: ( ( GreaterThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:7023:1: ( GreaterThanSignEqualsSign )
{
- // InternalSolverLanguage.g:7106:1: ( '>=' )
- // InternalSolverLanguage.g:7107:2: '>='
+ // InternalSolverLanguageParser.g:7023:1: ( GreaterThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:7024:2: GreaterThanSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
- }
- match(input,24,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
+ match(input,GreaterThanSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
}
@@ -23635,25 +21689,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2"
- // InternalSolverLanguage.g:7116:1: rule__BoundedScopeDefinition__Group_1_1__2 : rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ;
+ // InternalSolverLanguageParser.g:7033:1: rule__BoundedScopeDefinition__Group_1_1__2 : rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ;
public final void rule__BoundedScopeDefinition__Group_1_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7120:1: ( rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 )
- // InternalSolverLanguage.g:7121:2: rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3
+ // InternalSolverLanguageParser.g:7037:1: ( rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 )
+ // InternalSolverLanguageParser.g:7038:2: rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3
{
- pushFollow(FOLLOW_57);
+ pushFollow(FOLLOW_56);
rule__BoundedScopeDefinition__Group_1_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1__3();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23673,36 +21727,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2__Impl"
- // InternalSolverLanguage.g:7128:1: rule__BoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:7045:1: rule__BoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ;
public final void rule__BoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7132:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) )
- // InternalSolverLanguage.g:7133:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:7049:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) )
+ // InternalSolverLanguageParser.g:7050:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) )
{
- // InternalSolverLanguage.g:7133:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) )
- // InternalSolverLanguage.g:7134:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:7050:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:7051:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2());
- }
- // InternalSolverLanguage.g:7135:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 )
- // InternalSolverLanguage.g:7135:3: rule__BoundedScopeDefinition__TypeAssignment_1_1_2
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2());
+ // InternalSolverLanguageParser.g:7052:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:7052:3: rule__BoundedScopeDefinition__TypeAssignment_1_1_2
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__TypeAssignment_1_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2());
+
}
@@ -23724,20 +21774,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3"
- // InternalSolverLanguage.g:7143:1: rule__BoundedScopeDefinition__Group_1_1__3 : rule__BoundedScopeDefinition__Group_1_1__3__Impl ;
+ // InternalSolverLanguageParser.g:7060:1: rule__BoundedScopeDefinition__Group_1_1__3 : rule__BoundedScopeDefinition__Group_1_1__3__Impl ;
public final void rule__BoundedScopeDefinition__Group_1_1__3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7147:1: ( rule__BoundedScopeDefinition__Group_1_1__3__Impl )
- // InternalSolverLanguage.g:7148:2: rule__BoundedScopeDefinition__Group_1_1__3__Impl
+ // InternalSolverLanguageParser.g:7064:1: ( rule__BoundedScopeDefinition__Group_1_1__3__Impl )
+ // InternalSolverLanguageParser.g:7065:2: rule__BoundedScopeDefinition__Group_1_1__3__Impl
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1__3__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23757,46 +21807,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3__Impl"
- // InternalSolverLanguage.g:7154:1: rule__BoundedScopeDefinition__Group_1_1__3__Impl : ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ;
+ // InternalSolverLanguageParser.g:7071:1: rule__BoundedScopeDefinition__Group_1_1__3__Impl : ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ;
public final void rule__BoundedScopeDefinition__Group_1_1__3__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7158:1: ( ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) )
- // InternalSolverLanguage.g:7159:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? )
+ // InternalSolverLanguageParser.g:7075:1: ( ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) )
+ // InternalSolverLanguageParser.g:7076:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? )
{
- // InternalSolverLanguage.g:7159:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? )
- // InternalSolverLanguage.g:7160:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )?
+ // InternalSolverLanguageParser.g:7076:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? )
+ // InternalSolverLanguageParser.g:7077:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3());
- }
- // InternalSolverLanguage.g:7161:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )?
- int alt52=2;
- int LA52_0 = input.LA(1);
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3());
+ // InternalSolverLanguageParser.g:7078:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )?
+ int alt51=2;
+ int LA51_0 = input.LA(1);
- if ( (LA52_0==24) ) {
- alt52=1;
+ if ( (LA51_0==GreaterThanSignEqualsSign) ) {
+ alt51=1;
}
- switch (alt52) {
+ switch (alt51) {
case 1 :
- // InternalSolverLanguage.g:7161:3: rule__BoundedScopeDefinition__Group_1_1_3__0
+ // InternalSolverLanguageParser.g:7078:3: rule__BoundedScopeDefinition__Group_1_1_3__0
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1_3__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3());
- }
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3());
}
@@ -23819,25 +21865,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0"
- // InternalSolverLanguage.g:7170:1: rule__BoundedScopeDefinition__Group_1_1_3__0 : rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ;
+ // InternalSolverLanguageParser.g:7087:1: rule__BoundedScopeDefinition__Group_1_1_3__0 : rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ;
public final void rule__BoundedScopeDefinition__Group_1_1_3__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7174:1: ( rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 )
- // InternalSolverLanguage.g:7175:2: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1
+ // InternalSolverLanguageParser.g:7091:1: ( rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 )
+ // InternalSolverLanguageParser.g:7092:2: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1
{
- pushFollow(FOLLOW_53);
+ pushFollow(FOLLOW_52);
rule__BoundedScopeDefinition__Group_1_1_3__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1_3__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23857,25 +21903,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl"
- // InternalSolverLanguage.g:7182:1: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl : ( '>=' ) ;
+ // InternalSolverLanguageParser.g:7099:1: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl : ( GreaterThanSignEqualsSign ) ;
public final void rule__BoundedScopeDefinition__Group_1_1_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7186:1: ( ( '>=' ) )
- // InternalSolverLanguage.g:7187:1: ( '>=' )
+ // InternalSolverLanguageParser.g:7103:1: ( ( GreaterThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:7104:1: ( GreaterThanSignEqualsSign )
{
- // InternalSolverLanguage.g:7187:1: ( '>=' )
- // InternalSolverLanguage.g:7188:2: '>='
+ // InternalSolverLanguageParser.g:7104:1: ( GreaterThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:7105:2: GreaterThanSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
- }
- match(input,24,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
+ match(input,GreaterThanSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
}
@@ -23898,20 +21940,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1"
- // InternalSolverLanguage.g:7197:1: rule__BoundedScopeDefinition__Group_1_1_3__1 : rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ;
+ // InternalSolverLanguageParser.g:7114:1: rule__BoundedScopeDefinition__Group_1_1_3__1 : rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ;
public final void rule__BoundedScopeDefinition__Group_1_1_3__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7201:1: ( rule__BoundedScopeDefinition__Group_1_1_3__1__Impl )
- // InternalSolverLanguage.g:7202:2: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl
+ // InternalSolverLanguageParser.g:7118:1: ( rule__BoundedScopeDefinition__Group_1_1_3__1__Impl )
+ // InternalSolverLanguageParser.g:7119:2: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__Group_1_1_3__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -23931,36 +21973,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl"
- // InternalSolverLanguage.g:7208:1: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ;
+ // InternalSolverLanguageParser.g:7125:1: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ;
public final void rule__BoundedScopeDefinition__Group_1_1_3__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7212:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) )
- // InternalSolverLanguage.g:7213:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) )
+ // InternalSolverLanguageParser.g:7129:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) )
+ // InternalSolverLanguageParser.g:7130:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) )
{
- // InternalSolverLanguage.g:7213:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) )
- // InternalSolverLanguage.g:7214:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 )
+ // InternalSolverLanguageParser.g:7130:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) )
+ // InternalSolverLanguageParser.g:7131:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1());
- }
- // InternalSolverLanguage.g:7215:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 )
- // InternalSolverLanguage.g:7215:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1());
+ // InternalSolverLanguageParser.g:7132:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 )
+ // InternalSolverLanguageParser.g:7132:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1
{
pushFollow(FOLLOW_2);
rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1());
+
}
@@ -23982,25 +22020,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0"
- // InternalSolverLanguage.g:7224:1: rule__LowerBoundedScopeDefinition__Group__0 : rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:7141:1: rule__LowerBoundedScopeDefinition__Group__0 : rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ;
public final void rule__LowerBoundedScopeDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7228:1: ( rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 )
- // InternalSolverLanguage.g:7229:2: rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1
+ // InternalSolverLanguageParser.g:7145:1: ( rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:7146:2: rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1
{
- pushFollow(FOLLOW_55);
+ pushFollow(FOLLOW_54);
rule__LowerBoundedScopeDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24020,25 +22058,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:7236:1: rule__LowerBoundedScopeDefinition__Group__0__Impl : ( 'scope' ) ;
+ // InternalSolverLanguageParser.g:7153:1: rule__LowerBoundedScopeDefinition__Group__0__Impl : ( Scope ) ;
public final void rule__LowerBoundedScopeDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7240:1: ( ( 'scope' ) )
- // InternalSolverLanguage.g:7241:1: ( 'scope' )
+ // InternalSolverLanguageParser.g:7157:1: ( ( Scope ) )
+ // InternalSolverLanguageParser.g:7158:1: ( Scope )
{
- // InternalSolverLanguage.g:7241:1: ( 'scope' )
- // InternalSolverLanguage.g:7242:2: 'scope'
+ // InternalSolverLanguageParser.g:7158:1: ( Scope )
+ // InternalSolverLanguageParser.g:7159:2: Scope
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
- }
- match(input,71,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
+ match(input,Scope,FOLLOW_2);
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
}
@@ -24061,25 +22095,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1"
- // InternalSolverLanguage.g:7251:1: rule__LowerBoundedScopeDefinition__Group__1 : rule__LowerBoundedScopeDefinition__Group__1__Impl rule__LowerBoundedScopeDefinition__Group__2 ;
+ // InternalSolverLanguageParser.g:7168:1: rule__LowerBoundedScopeDefinition__Group__1 : rule__LowerBoundedScopeDefinition__Group__1__Impl ;
public final void rule__LowerBoundedScopeDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7255:1: ( rule__LowerBoundedScopeDefinition__Group__1__Impl rule__LowerBoundedScopeDefinition__Group__2 )
- // InternalSolverLanguage.g:7256:2: rule__LowerBoundedScopeDefinition__Group__1__Impl rule__LowerBoundedScopeDefinition__Group__2
+ // InternalSolverLanguageParser.g:7172:1: ( rule__LowerBoundedScopeDefinition__Group__1__Impl )
+ // InternalSolverLanguageParser.g:7173:2: rule__LowerBoundedScopeDefinition__Group__1__Impl
{
- pushFollow(FOLLOW_13);
+ pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
- pushFollow(FOLLOW_2);
- rule__LowerBoundedScopeDefinition__Group__2();
- state._fsp--;
- if (state.failed) return ;
}
@@ -24099,109 +22128,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:7263:1: rule__LowerBoundedScopeDefinition__Group__1__Impl : ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ;
+ // InternalSolverLanguageParser.g:7179:1: rule__LowerBoundedScopeDefinition__Group__1__Impl : ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ;
public final void rule__LowerBoundedScopeDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7267:1: ( ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) )
- // InternalSolverLanguage.g:7268:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) )
+ // InternalSolverLanguageParser.g:7183:1: ( ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) )
+ // InternalSolverLanguageParser.g:7184:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) )
{
- // InternalSolverLanguage.g:7268:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) )
- // InternalSolverLanguage.g:7269:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 )
+ // InternalSolverLanguageParser.g:7184:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) )
+ // InternalSolverLanguageParser.g:7185:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1());
- }
- // InternalSolverLanguage.g:7270:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 )
- // InternalSolverLanguage.g:7270:3: rule__LowerBoundedScopeDefinition__Alternatives_1
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1());
+ // InternalSolverLanguageParser.g:7186:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 )
+ // InternalSolverLanguageParser.g:7186:3: rule__LowerBoundedScopeDefinition__Alternatives_1
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Alternatives_1();
state._fsp--;
- if (state.failed) return ;
- }
-
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1());
- }
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1__Impl"
-
-
- // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__2"
- // InternalSolverLanguage.g:7278:1: rule__LowerBoundedScopeDefinition__Group__2 : rule__LowerBoundedScopeDefinition__Group__2__Impl ;
- public final void rule__LowerBoundedScopeDefinition__Group__2() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:7282:1: ( rule__LowerBoundedScopeDefinition__Group__2__Impl )
- // InternalSolverLanguage.g:7283:2: rule__LowerBoundedScopeDefinition__Group__2__Impl
- {
- pushFollow(FOLLOW_2);
- rule__LowerBoundedScopeDefinition__Group__2__Impl();
-
- state._fsp--;
- if (state.failed) return ;
}
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
-
- }
- return ;
- }
- // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__2"
-
-
- // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__2__Impl"
- // InternalSolverLanguage.g:7289:1: rule__LowerBoundedScopeDefinition__Group__2__Impl : ( '.' ) ;
- public final void rule__LowerBoundedScopeDefinition__Group__2__Impl() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:7293:1: ( ( '.' ) )
- // InternalSolverLanguage.g:7294:1: ( '.' )
- {
- // InternalSolverLanguage.g:7294:1: ( '.' )
- // InternalSolverLanguage.g:7295:2: '.'
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2());
- }
- match(input,50,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2());
- }
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1());
}
@@ -24220,29 +22171,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__2__Impl"
+ // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1__Impl"
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0"
- // InternalSolverLanguage.g:7305:1: rule__LowerBoundedScopeDefinition__Group_1_0__0 : rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ;
+ // InternalSolverLanguageParser.g:7195:1: rule__LowerBoundedScopeDefinition__Group_1_0__0 : rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ;
public final void rule__LowerBoundedScopeDefinition__Group_1_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7309:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 )
- // InternalSolverLanguage.g:7310:2: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1
+ // InternalSolverLanguageParser.g:7199:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 )
+ // InternalSolverLanguageParser.g:7200:2: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1
{
- pushFollow(FOLLOW_56);
+ pushFollow(FOLLOW_55);
rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24262,36 +22213,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl"
- // InternalSolverLanguage.g:7317:1: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ;
+ // InternalSolverLanguageParser.g:7207:1: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ;
public final void rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7321:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) )
- // InternalSolverLanguage.g:7322:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) )
+ // InternalSolverLanguageParser.g:7211:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) )
+ // InternalSolverLanguageParser.g:7212:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) )
{
- // InternalSolverLanguage.g:7322:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) )
- // InternalSolverLanguage.g:7323:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 )
+ // InternalSolverLanguageParser.g:7212:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) )
+ // InternalSolverLanguageParser.g:7213:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0());
- }
- // InternalSolverLanguage.g:7324:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 )
- // InternalSolverLanguage.g:7324:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0());
+ // InternalSolverLanguageParser.g:7214:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 )
+ // InternalSolverLanguageParser.g:7214:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0());
+
}
@@ -24313,25 +22260,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1"
- // InternalSolverLanguage.g:7332:1: rule__LowerBoundedScopeDefinition__Group_1_0__1 : rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ;
+ // InternalSolverLanguageParser.g:7222:1: rule__LowerBoundedScopeDefinition__Group_1_0__1 : rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ;
public final void rule__LowerBoundedScopeDefinition__Group_1_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7336:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 )
- // InternalSolverLanguage.g:7337:2: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2
+ // InternalSolverLanguageParser.g:7226:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 )
+ // InternalSolverLanguageParser.g:7227:2: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2
{
pushFollow(FOLLOW_9);
rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_0__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24351,25 +22298,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl"
- // InternalSolverLanguage.g:7344:1: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl : ( '<=' ) ;
+ // InternalSolverLanguageParser.g:7234:1: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl : ( LessThanSignEqualsSign ) ;
public final void rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7348:1: ( ( '<=' ) )
- // InternalSolverLanguage.g:7349:1: ( '<=' )
+ // InternalSolverLanguageParser.g:7238:1: ( ( LessThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:7239:1: ( LessThanSignEqualsSign )
{
- // InternalSolverLanguage.g:7349:1: ( '<=' )
- // InternalSolverLanguage.g:7350:2: '<='
+ // InternalSolverLanguageParser.g:7239:1: ( LessThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:7240:2: LessThanSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
- }
- match(input,22,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
+ match(input,LessThanSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
}
@@ -24392,20 +22335,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2"
- // InternalSolverLanguage.g:7359:1: rule__LowerBoundedScopeDefinition__Group_1_0__2 : rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ;
+ // InternalSolverLanguageParser.g:7249:1: rule__LowerBoundedScopeDefinition__Group_1_0__2 : rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ;
public final void rule__LowerBoundedScopeDefinition__Group_1_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7363:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl )
- // InternalSolverLanguage.g:7364:2: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl
+ // InternalSolverLanguageParser.g:7253:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl )
+ // InternalSolverLanguageParser.g:7254:2: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24425,36 +22368,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl"
- // InternalSolverLanguage.g:7370:1: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ;
+ // InternalSolverLanguageParser.g:7260:1: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ;
public final void rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7374:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) )
- // InternalSolverLanguage.g:7375:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) )
+ // InternalSolverLanguageParser.g:7264:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) )
+ // InternalSolverLanguageParser.g:7265:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) )
{
- // InternalSolverLanguage.g:7375:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) )
- // InternalSolverLanguage.g:7376:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 )
+ // InternalSolverLanguageParser.g:7265:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) )
+ // InternalSolverLanguageParser.g:7266:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2());
- }
- // InternalSolverLanguage.g:7377:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 )
- // InternalSolverLanguage.g:7377:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2());
+ // InternalSolverLanguageParser.g:7267:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 )
+ // InternalSolverLanguageParser.g:7267:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2());
+
}
@@ -24476,25 +22415,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0"
- // InternalSolverLanguage.g:7386:1: rule__LowerBoundedScopeDefinition__Group_1_1__0 : rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ;
+ // InternalSolverLanguageParser.g:7276:1: rule__LowerBoundedScopeDefinition__Group_1_1__0 : rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ;
public final void rule__LowerBoundedScopeDefinition__Group_1_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7390:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 )
- // InternalSolverLanguage.g:7391:2: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1
+ // InternalSolverLanguageParser.g:7280:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 )
+ // InternalSolverLanguageParser.g:7281:2: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1
{
- pushFollow(FOLLOW_57);
+ pushFollow(FOLLOW_56);
rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24514,36 +22453,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl"
- // InternalSolverLanguage.g:7398:1: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ;
+ // InternalSolverLanguageParser.g:7288:1: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ;
public final void rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7402:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) )
- // InternalSolverLanguage.g:7403:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) )
+ // InternalSolverLanguageParser.g:7292:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) )
+ // InternalSolverLanguageParser.g:7293:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) )
{
- // InternalSolverLanguage.g:7403:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) )
- // InternalSolverLanguage.g:7404:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 )
+ // InternalSolverLanguageParser.g:7293:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) )
+ // InternalSolverLanguageParser.g:7294:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0());
- }
- // InternalSolverLanguage.g:7405:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 )
- // InternalSolverLanguage.g:7405:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0());
+ // InternalSolverLanguageParser.g:7295:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 )
+ // InternalSolverLanguageParser.g:7295:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0());
+
}
@@ -24565,25 +22500,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1"
- // InternalSolverLanguage.g:7413:1: rule__LowerBoundedScopeDefinition__Group_1_1__1 : rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ;
+ // InternalSolverLanguageParser.g:7303:1: rule__LowerBoundedScopeDefinition__Group_1_1__1 : rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ;
public final void rule__LowerBoundedScopeDefinition__Group_1_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7417:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 )
- // InternalSolverLanguage.g:7418:2: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2
+ // InternalSolverLanguageParser.g:7307:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 )
+ // InternalSolverLanguageParser.g:7308:2: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2
{
- pushFollow(FOLLOW_53);
+ pushFollow(FOLLOW_52);
rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_1__2();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24603,25 +22538,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl"
- // InternalSolverLanguage.g:7425:1: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl : ( '>=' ) ;
+ // InternalSolverLanguageParser.g:7315:1: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ;
public final void rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7429:1: ( ( '>=' ) )
- // InternalSolverLanguage.g:7430:1: ( '>=' )
+ // InternalSolverLanguageParser.g:7319:1: ( ( GreaterThanSignEqualsSign ) )
+ // InternalSolverLanguageParser.g:7320:1: ( GreaterThanSignEqualsSign )
{
- // InternalSolverLanguage.g:7430:1: ( '>=' )
- // InternalSolverLanguage.g:7431:2: '>='
+ // InternalSolverLanguageParser.g:7320:1: ( GreaterThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:7321:2: GreaterThanSignEqualsSign
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
- }
- match(input,24,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
+ match(input,GreaterThanSignEqualsSign,FOLLOW_2);
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
}
@@ -24644,20 +22575,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2"
- // InternalSolverLanguage.g:7440:1: rule__LowerBoundedScopeDefinition__Group_1_1__2 : rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ;
+ // InternalSolverLanguageParser.g:7330:1: rule__LowerBoundedScopeDefinition__Group_1_1__2 : rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ;
public final void rule__LowerBoundedScopeDefinition__Group_1_1__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7444:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl )
- // InternalSolverLanguage.g:7445:2: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl
+ // InternalSolverLanguageParser.g:7334:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl )
+ // InternalSolverLanguageParser.g:7335:2: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24677,36 +22608,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl"
- // InternalSolverLanguage.g:7451:1: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ;
+ // InternalSolverLanguageParser.g:7341:1: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ;
public final void rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7455:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) )
- // InternalSolverLanguage.g:7456:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:7345:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) )
+ // InternalSolverLanguageParser.g:7346:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) )
{
- // InternalSolverLanguage.g:7456:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) )
- // InternalSolverLanguage.g:7457:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:7346:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) )
+ // InternalSolverLanguageParser.g:7347:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2());
- }
- // InternalSolverLanguage.g:7458:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 )
- // InternalSolverLanguage.g:7458:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2());
+ // InternalSolverLanguageParser.g:7348:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 )
+ // InternalSolverLanguageParser.g:7348:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2
{
pushFollow(FOLLOW_2);
rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2());
+
}
@@ -24728,25 +22655,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveDefinition__Group__0"
- // InternalSolverLanguage.g:7467:1: rule__ObjectiveDefinition__Group__0 : rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ;
+ // InternalSolverLanguageParser.g:7357:1: rule__ObjectiveDefinition__Group__0 : rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ;
public final void rule__ObjectiveDefinition__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7471:1: ( rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 )
- // InternalSolverLanguage.g:7472:2: rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1
+ // InternalSolverLanguageParser.g:7361:1: ( rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 )
+ // InternalSolverLanguageParser.g:7362:2: rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1
{
pushFollow(FOLLOW_7);
rule__ObjectiveDefinition__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__ObjectiveDefinition__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24766,36 +22693,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveDefinition__Group__0__Impl"
- // InternalSolverLanguage.g:7479:1: rule__ObjectiveDefinition__Group__0__Impl : ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ;
+ // InternalSolverLanguageParser.g:7369:1: rule__ObjectiveDefinition__Group__0__Impl : ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ;
public final void rule__ObjectiveDefinition__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7483:1: ( ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) )
- // InternalSolverLanguage.g:7484:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) )
+ // InternalSolverLanguageParser.g:7373:1: ( ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) )
+ // InternalSolverLanguageParser.g:7374:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) )
{
- // InternalSolverLanguage.g:7484:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) )
- // InternalSolverLanguage.g:7485:2: ( rule__ObjectiveDefinition__KindAssignment_0 )
+ // InternalSolverLanguageParser.g:7374:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) )
+ // InternalSolverLanguageParser.g:7375:2: ( rule__ObjectiveDefinition__KindAssignment_0 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0());
- }
- // InternalSolverLanguage.g:7486:2: ( rule__ObjectiveDefinition__KindAssignment_0 )
- // InternalSolverLanguage.g:7486:3: rule__ObjectiveDefinition__KindAssignment_0
+ before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0());
+ // InternalSolverLanguageParser.g:7376:2: ( rule__ObjectiveDefinition__KindAssignment_0 )
+ // InternalSolverLanguageParser.g:7376:3: rule__ObjectiveDefinition__KindAssignment_0
{
pushFollow(FOLLOW_2);
rule__ObjectiveDefinition__KindAssignment_0();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0());
}
+ after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0());
+
}
@@ -24817,20 +22740,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveDefinition__Group__1"
- // InternalSolverLanguage.g:7494:1: rule__ObjectiveDefinition__Group__1 : rule__ObjectiveDefinition__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:7384:1: rule__ObjectiveDefinition__Group__1 : rule__ObjectiveDefinition__Group__1__Impl ;
public final void rule__ObjectiveDefinition__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7498:1: ( rule__ObjectiveDefinition__Group__1__Impl )
- // InternalSolverLanguage.g:7499:2: rule__ObjectiveDefinition__Group__1__Impl
+ // InternalSolverLanguageParser.g:7388:1: ( rule__ObjectiveDefinition__Group__1__Impl )
+ // InternalSolverLanguageParser.g:7389:2: rule__ObjectiveDefinition__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__ObjectiveDefinition__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24850,36 +22773,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveDefinition__Group__1__Impl"
- // InternalSolverLanguage.g:7505:1: rule__ObjectiveDefinition__Group__1__Impl : ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ;
+ // InternalSolverLanguageParser.g:7395:1: rule__ObjectiveDefinition__Group__1__Impl : ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ;
public final void rule__ObjectiveDefinition__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7509:1: ( ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) )
- // InternalSolverLanguage.g:7510:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) )
+ // InternalSolverLanguageParser.g:7399:1: ( ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) )
+ // InternalSolverLanguageParser.g:7400:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) )
{
- // InternalSolverLanguage.g:7510:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) )
- // InternalSolverLanguage.g:7511:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 )
+ // InternalSolverLanguageParser.g:7400:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) )
+ // InternalSolverLanguageParser.g:7401:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1());
- }
- // InternalSolverLanguage.g:7512:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 )
- // InternalSolverLanguage.g:7512:3: rule__ObjectiveDefinition__ObjectiveAssignment_1
+ before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1());
+ // InternalSolverLanguageParser.g:7402:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 )
+ // InternalSolverLanguageParser.g:7402:3: rule__ObjectiveDefinition__ObjectiveAssignment_1
{
pushFollow(FOLLOW_2);
rule__ObjectiveDefinition__ObjectiveAssignment_1();
state._fsp--;
- if (state.failed) return ;
- }
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1());
}
+ after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1());
+
}
@@ -24901,25 +22820,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group__0"
- // InternalSolverLanguage.g:7521:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ;
+ // InternalSolverLanguageParser.g:7411:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ;
public final void rule__Real__Group__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7525:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 )
- // InternalSolverLanguage.g:7526:2: rule__Real__Group__0__Impl rule__Real__Group__1
+ // InternalSolverLanguageParser.g:7415:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 )
+ // InternalSolverLanguageParser.g:7416:2: rule__Real__Group__0__Impl rule__Real__Group__1
{
- pushFollow(FOLLOW_13);
+ pushFollow(FOLLOW_57);
rule__Real__Group__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Real__Group__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -24939,25 +22858,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group__0__Impl"
- // InternalSolverLanguage.g:7533:1: rule__Real__Group__0__Impl : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:7423:1: rule__Real__Group__0__Impl : ( RULE_INT ) ;
public final void rule__Real__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7537:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:7538:1: ( RULE_INT )
+ // InternalSolverLanguageParser.g:7427:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:7428:1: ( RULE_INT )
{
- // InternalSolverLanguage.g:7538:1: ( RULE_INT )
- // InternalSolverLanguage.g:7539:2: RULE_INT
+ // InternalSolverLanguageParser.g:7428:1: ( RULE_INT )
+ // InternalSolverLanguageParser.g:7429:2: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
- }
+ before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
}
@@ -24980,20 +22895,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group__1"
- // InternalSolverLanguage.g:7548:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ;
+ // InternalSolverLanguageParser.g:7438:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ;
public final void rule__Real__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7552:1: ( rule__Real__Group__1__Impl )
- // InternalSolverLanguage.g:7553:2: rule__Real__Group__1__Impl
+ // InternalSolverLanguageParser.g:7442:1: ( rule__Real__Group__1__Impl )
+ // InternalSolverLanguageParser.g:7443:2: rule__Real__Group__1__Impl
{
pushFollow(FOLLOW_2);
rule__Real__Group__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25013,46 +22928,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group__1__Impl"
- // InternalSolverLanguage.g:7559:1: rule__Real__Group__1__Impl : ( ( rule__Real__Group_1__0 )? ) ;
+ // InternalSolverLanguageParser.g:7449:1: rule__Real__Group__1__Impl : ( ( rule__Real__Group_1__0 )? ) ;
public final void rule__Real__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7563:1: ( ( ( rule__Real__Group_1__0 )? ) )
- // InternalSolverLanguage.g:7564:1: ( ( rule__Real__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:7453:1: ( ( ( rule__Real__Group_1__0 )? ) )
+ // InternalSolverLanguageParser.g:7454:1: ( ( rule__Real__Group_1__0 )? )
{
- // InternalSolverLanguage.g:7564:1: ( ( rule__Real__Group_1__0 )? )
- // InternalSolverLanguage.g:7565:2: ( rule__Real__Group_1__0 )?
+ // InternalSolverLanguageParser.g:7454:1: ( ( rule__Real__Group_1__0 )? )
+ // InternalSolverLanguageParser.g:7455:2: ( rule__Real__Group_1__0 )?
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getRealAccess().getGroup_1());
- }
- // InternalSolverLanguage.g:7566:2: ( rule__Real__Group_1__0 )?
- int alt53=2;
- int LA53_0 = input.LA(1);
+ before(grammarAccess.getRealAccess().getGroup_1());
+ // InternalSolverLanguageParser.g:7456:2: ( rule__Real__Group_1__0 )?
+ int alt52=2;
+ int LA52_0 = input.LA(1);
- if ( (LA53_0==50) ) {
- alt53=1;
+ if ( (LA52_0==FullStop) ) {
+ alt52=1;
}
- switch (alt53) {
+ switch (alt52) {
case 1 :
- // InternalSolverLanguage.g:7566:3: rule__Real__Group_1__0
+ // InternalSolverLanguageParser.g:7456:3: rule__Real__Group_1__0
{
pushFollow(FOLLOW_2);
rule__Real__Group_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getRealAccess().getGroup_1());
- }
+ after(grammarAccess.getRealAccess().getGroup_1());
}
@@ -25075,25 +22986,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group_1__0"
- // InternalSolverLanguage.g:7575:1: rule__Real__Group_1__0 : rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ;
+ // InternalSolverLanguageParser.g:7465:1: rule__Real__Group_1__0 : rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ;
public final void rule__Real__Group_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7579:1: ( rule__Real__Group_1__0__Impl rule__Real__Group_1__1 )
- // InternalSolverLanguage.g:7580:2: rule__Real__Group_1__0__Impl rule__Real__Group_1__1
+ // InternalSolverLanguageParser.g:7469:1: ( rule__Real__Group_1__0__Impl rule__Real__Group_1__1 )
+ // InternalSolverLanguageParser.g:7470:2: rule__Real__Group_1__0__Impl rule__Real__Group_1__1
{
- pushFollow(FOLLOW_53);
+ pushFollow(FOLLOW_52);
rule__Real__Group_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__Real__Group_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25113,25 +23024,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group_1__0__Impl"
- // InternalSolverLanguage.g:7587:1: rule__Real__Group_1__0__Impl : ( '.' ) ;
+ // InternalSolverLanguageParser.g:7477:1: rule__Real__Group_1__0__Impl : ( FullStop ) ;
public final void rule__Real__Group_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7591:1: ( ( '.' ) )
- // InternalSolverLanguage.g:7592:1: ( '.' )
+ // InternalSolverLanguageParser.g:7481:1: ( ( FullStop ) )
+ // InternalSolverLanguageParser.g:7482:1: ( FullStop )
{
- // InternalSolverLanguage.g:7592:1: ( '.' )
- // InternalSolverLanguage.g:7593:2: '.'
+ // InternalSolverLanguageParser.g:7482:1: ( FullStop )
+ // InternalSolverLanguageParser.g:7483:2: FullStop
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getRealAccess().getFullStopKeyword_1_0());
- }
- match(input,50,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getRealAccess().getFullStopKeyword_1_0());
- }
+ before(grammarAccess.getRealAccess().getFullStopKeyword_1_0());
+ match(input,FullStop,FOLLOW_2);
+ after(grammarAccess.getRealAccess().getFullStopKeyword_1_0());
}
@@ -25154,20 +23061,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group_1__1"
- // InternalSolverLanguage.g:7602:1: rule__Real__Group_1__1 : rule__Real__Group_1__1__Impl ;
+ // InternalSolverLanguageParser.g:7492:1: rule__Real__Group_1__1 : rule__Real__Group_1__1__Impl ;
public final void rule__Real__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7606:1: ( rule__Real__Group_1__1__Impl )
- // InternalSolverLanguage.g:7607:2: rule__Real__Group_1__1__Impl
+ // InternalSolverLanguageParser.g:7496:1: ( rule__Real__Group_1__1__Impl )
+ // InternalSolverLanguageParser.g:7497:2: rule__Real__Group_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__Real__Group_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25187,25 +23094,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Real__Group_1__1__Impl"
- // InternalSolverLanguage.g:7613:1: rule__Real__Group_1__1__Impl : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:7503:1: rule__Real__Group_1__1__Impl : ( RULE_INT ) ;
public final void rule__Real__Group_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7617:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:7618:1: ( RULE_INT )
+ // InternalSolverLanguageParser.g:7507:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:7508:1: ( RULE_INT )
{
- // InternalSolverLanguage.g:7618:1: ( RULE_INT )
- // InternalSolverLanguage.g:7619:2: RULE_INT
+ // InternalSolverLanguageParser.g:7508:1: ( RULE_INT )
+ // InternalSolverLanguageParser.g:7509:2: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
- }
+ before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
}
@@ -25228,25 +23131,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0__0"
- // InternalSolverLanguage.g:7629:1: rule__QualifiedName__Group_0__0 : rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ;
+ // InternalSolverLanguageParser.g:7519:1: rule__QualifiedName__Group_0__0 : rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ;
public final void rule__QualifiedName__Group_0__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7633:1: ( rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 )
- // InternalSolverLanguage.g:7634:2: rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1
+ // InternalSolverLanguageParser.g:7523:1: ( rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 )
+ // InternalSolverLanguageParser.g:7524:2: rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1
{
- pushFollow(FOLLOW_13);
+ pushFollow(FOLLOW_57);
rule__QualifiedName__Group_0__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__QualifiedName__Group_0__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25266,25 +23169,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0__0__Impl"
- // InternalSolverLanguage.g:7641:1: rule__QualifiedName__Group_0__0__Impl : ( RULE_ID ) ;
+ // InternalSolverLanguageParser.g:7531:1: rule__QualifiedName__Group_0__0__Impl : ( RULE_ID ) ;
public final void rule__QualifiedName__Group_0__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7645:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:7646:1: ( RULE_ID )
+ // InternalSolverLanguageParser.g:7535:1: ( ( RULE_ID ) )
+ // InternalSolverLanguageParser.g:7536:1: ( RULE_ID )
{
- // InternalSolverLanguage.g:7646:1: ( RULE_ID )
- // InternalSolverLanguage.g:7647:2: RULE_ID
+ // InternalSolverLanguageParser.g:7536:1: ( RULE_ID )
+ // InternalSolverLanguageParser.g:7537:2: RULE_ID
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
- }
- match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
- }
+ before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
+ match(input,RULE_ID,FOLLOW_2);
+ after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
}
@@ -25307,20 +23206,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0__1"
- // InternalSolverLanguage.g:7656:1: rule__QualifiedName__Group_0__1 : rule__QualifiedName__Group_0__1__Impl ;
+ // InternalSolverLanguageParser.g:7546:1: rule__QualifiedName__Group_0__1 : rule__QualifiedName__Group_0__1__Impl ;
public final void rule__QualifiedName__Group_0__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7660:1: ( rule__QualifiedName__Group_0__1__Impl )
- // InternalSolverLanguage.g:7661:2: rule__QualifiedName__Group_0__1__Impl
+ // InternalSolverLanguageParser.g:7550:1: ( rule__QualifiedName__Group_0__1__Impl )
+ // InternalSolverLanguageParser.g:7551:2: rule__QualifiedName__Group_0__1__Impl
{
pushFollow(FOLLOW_2);
rule__QualifiedName__Group_0__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25340,59 +23239,49 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0__1__Impl"
- // InternalSolverLanguage.g:7667:1: rule__QualifiedName__Group_0__1__Impl : ( ( rule__QualifiedName__Group_0_1__0 )* ) ;
+ // InternalSolverLanguageParser.g:7557:1: rule__QualifiedName__Group_0__1__Impl : ( ( rule__QualifiedName__Group_0_1__0 )* ) ;
public final void rule__QualifiedName__Group_0__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7671:1: ( ( ( rule__QualifiedName__Group_0_1__0 )* ) )
- // InternalSolverLanguage.g:7672:1: ( ( rule__QualifiedName__Group_0_1__0 )* )
+ // InternalSolverLanguageParser.g:7561:1: ( ( ( rule__QualifiedName__Group_0_1__0 )* ) )
+ // InternalSolverLanguageParser.g:7562:1: ( ( rule__QualifiedName__Group_0_1__0 )* )
{
- // InternalSolverLanguage.g:7672:1: ( ( rule__QualifiedName__Group_0_1__0 )* )
- // InternalSolverLanguage.g:7673:2: ( rule__QualifiedName__Group_0_1__0 )*
+ // InternalSolverLanguageParser.g:7562:1: ( ( rule__QualifiedName__Group_0_1__0 )* )
+ // InternalSolverLanguageParser.g:7563:2: ( rule__QualifiedName__Group_0_1__0 )*
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getGroup_0_1());
- }
- // InternalSolverLanguage.g:7674:2: ( rule__QualifiedName__Group_0_1__0 )*
- loop54:
+ before(grammarAccess.getQualifiedNameAccess().getGroup_0_1());
+ // InternalSolverLanguageParser.g:7564:2: ( rule__QualifiedName__Group_0_1__0 )*
+ loop53:
do {
- int alt54=2;
- int LA54_0 = input.LA(1);
-
- if ( (LA54_0==50) ) {
- int LA54_2 = input.LA(2);
-
- if ( (LA54_2==RULE_ID) ) {
- alt54=1;
- }
-
+ int alt53=2;
+ int LA53_0 = input.LA(1);
+ if ( (LA53_0==FullStop) ) {
+ alt53=1;
}
- switch (alt54) {
+ switch (alt53) {
case 1 :
- // InternalSolverLanguage.g:7674:3: rule__QualifiedName__Group_0_1__0
+ // InternalSolverLanguageParser.g:7564:3: rule__QualifiedName__Group_0_1__0
{
pushFollow(FOLLOW_58);
rule__QualifiedName__Group_0_1__0();
state._fsp--;
- if (state.failed) return ;
+
}
break;
default :
- break loop54;
+ break loop53;
}
} while (true);
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getGroup_0_1());
- }
+ after(grammarAccess.getQualifiedNameAccess().getGroup_0_1());
}
@@ -25415,25 +23304,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0_1__0"
- // InternalSolverLanguage.g:7683:1: rule__QualifiedName__Group_0_1__0 : rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ;
+ // InternalSolverLanguageParser.g:7573:1: rule__QualifiedName__Group_0_1__0 : rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ;
public final void rule__QualifiedName__Group_0_1__0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7687:1: ( rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 )
- // InternalSolverLanguage.g:7688:2: rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1
+ // InternalSolverLanguageParser.g:7577:1: ( rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 )
+ // InternalSolverLanguageParser.g:7578:2: rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1
{
- pushFollow(FOLLOW_44);
+ pushFollow(FOLLOW_43);
rule__QualifiedName__Group_0_1__0__Impl();
state._fsp--;
- if (state.failed) return ;
+
pushFollow(FOLLOW_2);
rule__QualifiedName__Group_0_1__1();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25453,25 +23342,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0_1__0__Impl"
- // InternalSolverLanguage.g:7695:1: rule__QualifiedName__Group_0_1__0__Impl : ( '.' ) ;
+ // InternalSolverLanguageParser.g:7585:1: rule__QualifiedName__Group_0_1__0__Impl : ( FullStop ) ;
public final void rule__QualifiedName__Group_0_1__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7699:1: ( ( '.' ) )
- // InternalSolverLanguage.g:7700:1: ( '.' )
+ // InternalSolverLanguageParser.g:7589:1: ( ( FullStop ) )
+ // InternalSolverLanguageParser.g:7590:1: ( FullStop )
{
- // InternalSolverLanguage.g:7700:1: ( '.' )
- // InternalSolverLanguage.g:7701:2: '.'
+ // InternalSolverLanguageParser.g:7590:1: ( FullStop )
+ // InternalSolverLanguageParser.g:7591:2: FullStop
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
- }
- match(input,50,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
- }
+ before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
+ match(input,FullStop,FOLLOW_2);
+ after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
}
@@ -25494,20 +23379,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0_1__1"
- // InternalSolverLanguage.g:7710:1: rule__QualifiedName__Group_0_1__1 : rule__QualifiedName__Group_0_1__1__Impl ;
+ // InternalSolverLanguageParser.g:7600:1: rule__QualifiedName__Group_0_1__1 : rule__QualifiedName__Group_0_1__1__Impl ;
public final void rule__QualifiedName__Group_0_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7714:1: ( rule__QualifiedName__Group_0_1__1__Impl )
- // InternalSolverLanguage.g:7715:2: rule__QualifiedName__Group_0_1__1__Impl
+ // InternalSolverLanguageParser.g:7604:1: ( rule__QualifiedName__Group_0_1__1__Impl )
+ // InternalSolverLanguageParser.g:7605:2: rule__QualifiedName__Group_0_1__1__Impl
{
pushFollow(FOLLOW_2);
rule__QualifiedName__Group_0_1__1__Impl();
state._fsp--;
- if (state.failed) return ;
+
}
@@ -25527,25 +23412,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__QualifiedName__Group_0_1__1__Impl"
- // InternalSolverLanguage.g:7721:1: rule__QualifiedName__Group_0_1__1__Impl : ( RULE_ID ) ;
+ // InternalSolverLanguageParser.g:7611:1: rule__QualifiedName__Group_0_1__1__Impl : ( RULE_ID ) ;
public final void rule__QualifiedName__Group_0_1__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7725:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:7726:1: ( RULE_ID )
+ // InternalSolverLanguageParser.g:7615:1: ( ( RULE_ID ) )
+ // InternalSolverLanguageParser.g:7616:1: ( RULE_ID )
{
- // InternalSolverLanguage.g:7726:1: ( RULE_ID )
- // InternalSolverLanguage.g:7727:2: RULE_ID
+ // InternalSolverLanguageParser.g:7616:1: ( RULE_ID )
+ // InternalSolverLanguageParser.g:7617:2: RULE_ID
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
- }
- match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
- }
+ before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
+ match(input,RULE_ID,FOLLOW_2);
+ after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
}
@@ -25568,29 +23449,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Problem__StatementsAssignment"
- // InternalSolverLanguage.g:7737:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ;
+ // InternalSolverLanguageParser.g:7627:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ;
public final void rule__Problem__StatementsAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7741:1: ( ( ruleStatement ) )
- // InternalSolverLanguage.g:7742:2: ( ruleStatement )
+ // InternalSolverLanguageParser.g:7631:1: ( ( ruleStatement ) )
+ // InternalSolverLanguageParser.g:7632:2: ( ruleStatement )
{
- // InternalSolverLanguage.g:7742:2: ( ruleStatement )
- // InternalSolverLanguage.g:7743:3: ruleStatement
+ // InternalSolverLanguageParser.g:7632:2: ( ruleStatement )
+ // InternalSolverLanguageParser.g:7633:3: ruleStatement
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
- }
+ before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleStatement();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
- }
+
+ after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
}
@@ -25613,29 +23490,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1"
- // InternalSolverLanguage.g:7752:1: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7642:1: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 : ( ruleExpression ) ;
public final void rule__AssertionOrDefinition__RangeAssignment_1_0_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7756:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7757:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7646:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7647:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7757:2: ( ruleExpression )
- // InternalSolverLanguage.g:7758:3: ruleExpression
+ // InternalSolverLanguageParser.g:7647:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7648:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
- }
+
+ after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
}
@@ -25658,29 +23531,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_1_2"
- // InternalSolverLanguage.g:7767:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7657:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ;
public final void rule__AssertionOrDefinition__BodyAssignment_1_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7771:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7772:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7661:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7662:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7772:2: ( ruleExpression )
- // InternalSolverLanguage.g:7773:3: ruleExpression
+ // InternalSolverLanguageParser.g:7662:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7663:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
- }
+
+ after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
}
@@ -25703,29 +23572,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_2_2"
- // InternalSolverLanguage.g:7782:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7672:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ;
public final void rule__AssertionOrDefinition__BodyAssignment_1_2_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7786:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7787:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7676:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7677:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7787:2: ( ruleExpression )
- // InternalSolverLanguage.g:7788:3: ruleExpression
+ // InternalSolverLanguageParser.g:7677:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7678:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
- }
+ before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
- }
+
+ after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
}
@@ -25748,37 +23613,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_0_0"
- // InternalSolverLanguage.g:7797:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( 'functional' ) ) ;
+ // InternalSolverLanguageParser.g:7687:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( Functional ) ) ;
public final void rule__PredicateDefinition__FunctionalAssignment_0_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7801:1: ( ( ( 'functional' ) ) )
- // InternalSolverLanguage.g:7802:2: ( ( 'functional' ) )
+ // InternalSolverLanguageParser.g:7691:1: ( ( ( Functional ) ) )
+ // InternalSolverLanguageParser.g:7692:2: ( ( Functional ) )
{
- // InternalSolverLanguage.g:7802:2: ( ( 'functional' ) )
- // InternalSolverLanguage.g:7803:3: ( 'functional' )
+ // InternalSolverLanguageParser.g:7692:2: ( ( Functional ) )
+ // InternalSolverLanguageParser.g:7693:3: ( Functional )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
- }
- // InternalSolverLanguage.g:7804:3: ( 'functional' )
- // InternalSolverLanguage.g:7805:4: 'functional'
+ before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
+ // InternalSolverLanguageParser.g:7694:3: ( Functional )
+ // InternalSolverLanguageParser.g:7695:4: Functional
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
- }
- match(input,72,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
+ match(input,Functional,FOLLOW_2);
+ after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
- }
+ after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
}
@@ -25801,37 +23658,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_1"
- // InternalSolverLanguage.g:7816:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( 'error' ) ) ;
+ // InternalSolverLanguageParser.g:7706:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( Error ) ) ;
public final void rule__PredicateDefinition__ErrorAssignment_0_0_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7820:1: ( ( ( 'error' ) ) )
- // InternalSolverLanguage.g:7821:2: ( ( 'error' ) )
+ // InternalSolverLanguageParser.g:7710:1: ( ( ( Error ) ) )
+ // InternalSolverLanguageParser.g:7711:2: ( ( Error ) )
{
- // InternalSolverLanguage.g:7821:2: ( ( 'error' ) )
- // InternalSolverLanguage.g:7822:3: ( 'error' )
+ // InternalSolverLanguageParser.g:7711:2: ( ( Error ) )
+ // InternalSolverLanguageParser.g:7712:3: ( Error )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
- }
- // InternalSolverLanguage.g:7823:3: ( 'error' )
- // InternalSolverLanguage.g:7824:4: 'error'
+ before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
+ // InternalSolverLanguageParser.g:7713:3: ( Error )
+ // InternalSolverLanguageParser.g:7714:4: Error
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
- }
- match(input,42,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
+ match(input,Error,FOLLOW_2);
+ after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
- }
+ after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
}
@@ -25854,37 +23703,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_1_0"
- // InternalSolverLanguage.g:7835:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( 'error' ) ) ;
+ // InternalSolverLanguageParser.g:7725:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( Error ) ) ;
public final void rule__PredicateDefinition__ErrorAssignment_0_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7839:1: ( ( ( 'error' ) ) )
- // InternalSolverLanguage.g:7840:2: ( ( 'error' ) )
+ // InternalSolverLanguageParser.g:7729:1: ( ( ( Error ) ) )
+ // InternalSolverLanguageParser.g:7730:2: ( ( Error ) )
{
- // InternalSolverLanguage.g:7840:2: ( ( 'error' ) )
- // InternalSolverLanguage.g:7841:3: ( 'error' )
+ // InternalSolverLanguageParser.g:7730:2: ( ( Error ) )
+ // InternalSolverLanguageParser.g:7731:3: ( Error )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
- }
- // InternalSolverLanguage.g:7842:3: ( 'error' )
- // InternalSolverLanguage.g:7843:4: 'error'
+ before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
+ // InternalSolverLanguageParser.g:7732:3: ( Error )
+ // InternalSolverLanguageParser.g:7733:4: Error
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
- }
- match(input,42,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
+ match(input,Error,FOLLOW_2);
+ after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
- }
+ after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
}
@@ -25907,37 +23748,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_1_1"
- // InternalSolverLanguage.g:7854:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( 'functional' ) ) ;
+ // InternalSolverLanguageParser.g:7744:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( Functional ) ) ;
public final void rule__PredicateDefinition__FunctionalAssignment_0_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7858:1: ( ( ( 'functional' ) ) )
- // InternalSolverLanguage.g:7859:2: ( ( 'functional' ) )
+ // InternalSolverLanguageParser.g:7748:1: ( ( ( Functional ) ) )
+ // InternalSolverLanguageParser.g:7749:2: ( ( Functional ) )
{
- // InternalSolverLanguage.g:7859:2: ( ( 'functional' ) )
- // InternalSolverLanguage.g:7860:3: ( 'functional' )
+ // InternalSolverLanguageParser.g:7749:2: ( ( Functional ) )
+ // InternalSolverLanguageParser.g:7750:3: ( Functional )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
- }
- // InternalSolverLanguage.g:7861:3: ( 'functional' )
- // InternalSolverLanguage.g:7862:4: 'functional'
+ before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
+ // InternalSolverLanguageParser.g:7751:3: ( Functional )
+ // InternalSolverLanguageParser.g:7752:4: Functional
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
- }
- match(input,72,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
+ match(input,Functional,FOLLOW_2);
+ after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
- }
+ after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
}
@@ -25960,29 +23793,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__HeadAssignment_1"
- // InternalSolverLanguage.g:7873:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ;
+ // InternalSolverLanguageParser.g:7763:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ;
public final void rule__PredicateDefinition__HeadAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7877:1: ( ( ruleCall ) )
- // InternalSolverLanguage.g:7878:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7767:1: ( ( ruleCall ) )
+ // InternalSolverLanguageParser.g:7768:2: ( ruleCall )
{
- // InternalSolverLanguage.g:7878:2: ( ruleCall )
- // InternalSolverLanguage.g:7879:3: ruleCall
+ // InternalSolverLanguageParser.g:7768:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7769:3: ruleCall
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleCall();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
}
@@ -26005,29 +23834,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__PredicateDefinition__BodyAssignment_3"
- // InternalSolverLanguage.g:7888:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7778:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ;
public final void rule__PredicateDefinition__BodyAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7892:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7893:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7782:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7783:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7893:2: ( ruleExpression )
- // InternalSolverLanguage.g:7894:3: ruleExpression
+ // InternalSolverLanguageParser.g:7783:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7784:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
+ before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
}
@@ -26050,29 +23875,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1"
- // InternalSolverLanguage.g:7903:1: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 : ( ruleArgumentList ) ;
+ // InternalSolverLanguageParser.g:7793:1: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 : ( ruleArgumentList ) ;
public final void rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7907:1: ( ( ruleArgumentList ) )
- // InternalSolverLanguage.g:7908:2: ( ruleArgumentList )
+ // InternalSolverLanguageParser.g:7797:1: ( ( ruleArgumentList ) )
+ // InternalSolverLanguageParser.g:7798:2: ( ruleArgumentList )
{
- // InternalSolverLanguage.g:7908:2: ( ruleArgumentList )
- // InternalSolverLanguage.g:7909:3: ruleArgumentList
+ // InternalSolverLanguageParser.g:7798:2: ( ruleArgumentList )
+ // InternalSolverLanguageParser.g:7799:3: ruleArgumentList
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
- }
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleArgumentList();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
}
@@ -26095,29 +23916,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3"
- // InternalSolverLanguage.g:7918:1: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7808:1: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 : ( ruleExpression ) ;
public final void rule__UnnamedErrorPrediateDefinition__BodyAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7922:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7923:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7812:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7813:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7923:2: ( ruleExpression )
- // InternalSolverLanguage.g:7924:3: ruleExpression
+ // InternalSolverLanguageParser.g:7813:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7814:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
+ before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
}
@@ -26140,29 +23957,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__HeadAssignment_1"
- // InternalSolverLanguage.g:7933:1: rule__DefaultDefinition__HeadAssignment_1 : ( ruleCall ) ;
+ // InternalSolverLanguageParser.g:7823:1: rule__DefaultDefinition__HeadAssignment_1 : ( ruleCall ) ;
public final void rule__DefaultDefinition__HeadAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7937:1: ( ( ruleCall ) )
- // InternalSolverLanguage.g:7938:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7827:1: ( ( ruleCall ) )
+ // InternalSolverLanguageParser.g:7828:2: ( ruleCall )
{
- // InternalSolverLanguage.g:7938:2: ( ruleCall )
- // InternalSolverLanguage.g:7939:3: ruleCall
+ // InternalSolverLanguageParser.g:7828:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7829:3: ruleCall
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
+ before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleCall();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
}
@@ -26185,29 +23998,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DefaultDefinition__RangeAssignment_3"
- // InternalSolverLanguage.g:7948:1: rule__DefaultDefinition__RangeAssignment_3 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7838:1: rule__DefaultDefinition__RangeAssignment_3 : ( ruleExpression ) ;
public final void rule__DefaultDefinition__RangeAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7952:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7953:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7842:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7843:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7953:2: ( ruleExpression )
- // InternalSolverLanguage.g:7954:3: ruleExpression
+ // InternalSolverLanguageParser.g:7843:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7844:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
- }
+ before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
}
@@ -26230,29 +24039,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternPredicateDefinition__HeadAssignment_1"
- // InternalSolverLanguage.g:7963:1: rule__ExternPredicateDefinition__HeadAssignment_1 : ( ruleCall ) ;
+ // InternalSolverLanguageParser.g:7853:1: rule__ExternPredicateDefinition__HeadAssignment_1 : ( ruleCall ) ;
public final void rule__ExternPredicateDefinition__HeadAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7967:1: ( ( ruleCall ) )
- // InternalSolverLanguage.g:7968:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7857:1: ( ( ruleCall ) )
+ // InternalSolverLanguageParser.g:7858:2: ( ruleCall )
{
- // InternalSolverLanguage.g:7968:2: ( ruleCall )
- // InternalSolverLanguage.g:7969:3: ruleCall
+ // InternalSolverLanguageParser.g:7858:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7859:3: ruleCall
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
+ before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleCall();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
}
@@ -26275,29 +24080,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__TypeAssignment_0"
- // InternalSolverLanguage.g:7978:1: rule__MetricDefinition__TypeAssignment_0 : ( ruleMetricType ) ;
+ // InternalSolverLanguageParser.g:7868:1: rule__MetricDefinition__TypeAssignment_0 : ( ruleMetricType ) ;
public final void rule__MetricDefinition__TypeAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7982:1: ( ( ruleMetricType ) )
- // InternalSolverLanguage.g:7983:2: ( ruleMetricType )
+ // InternalSolverLanguageParser.g:7872:1: ( ( ruleMetricType ) )
+ // InternalSolverLanguageParser.g:7873:2: ( ruleMetricType )
{
- // InternalSolverLanguage.g:7983:2: ( ruleMetricType )
- // InternalSolverLanguage.g:7984:3: ruleMetricType
+ // InternalSolverLanguageParser.g:7873:2: ( ruleMetricType )
+ // InternalSolverLanguageParser.g:7874:3: ruleMetricType
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
- }
+ before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
pushFollow(FOLLOW_2);
ruleMetricType();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
- }
+
+ after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
}
@@ -26320,29 +24121,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__HeadAssignment_1"
- // InternalSolverLanguage.g:7993:1: rule__MetricDefinition__HeadAssignment_1 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7883:1: rule__MetricDefinition__HeadAssignment_1 : ( ruleExpression ) ;
public final void rule__MetricDefinition__HeadAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:7997:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:7998:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7887:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7888:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:7998:2: ( ruleExpression )
- // InternalSolverLanguage.g:7999:3: ruleExpression
+ // InternalSolverLanguageParser.g:7888:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7889:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
- }
+ before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
}
@@ -26365,29 +24162,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MetricDefinition__BodyAssignment_3"
- // InternalSolverLanguage.g:8008:1: rule__MetricDefinition__BodyAssignment_3 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7898:1: rule__MetricDefinition__BodyAssignment_3 : ( ruleExpression ) ;
public final void rule__MetricDefinition__BodyAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8012:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8013:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7902:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7903:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8013:2: ( ruleExpression )
- // InternalSolverLanguage.g:8014:3: ruleExpression
+ // InternalSolverLanguageParser.g:7903:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7904:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
+ before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
}
@@ -26410,29 +24203,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__TypeAssignment_1"
- // InternalSolverLanguage.g:8023:1: rule__ExternMetricDefinition__TypeAssignment_1 : ( ruleMetricType ) ;
+ // InternalSolverLanguageParser.g:7913:1: rule__ExternMetricDefinition__TypeAssignment_1 : ( ruleMetricType ) ;
public final void rule__ExternMetricDefinition__TypeAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8027:1: ( ( ruleMetricType ) )
- // InternalSolverLanguage.g:8028:2: ( ruleMetricType )
+ // InternalSolverLanguageParser.g:7917:1: ( ( ruleMetricType ) )
+ // InternalSolverLanguageParser.g:7918:2: ( ruleMetricType )
{
- // InternalSolverLanguage.g:8028:2: ( ruleMetricType )
- // InternalSolverLanguage.g:8029:3: ruleMetricType
+ // InternalSolverLanguageParser.g:7918:2: ( ruleMetricType )
+ // InternalSolverLanguageParser.g:7919:3: ruleMetricType
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
- }
+ before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleMetricType();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
- }
+
+ after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
}
@@ -26455,29 +24244,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExternMetricDefinition__HeadAssignment_2"
- // InternalSolverLanguage.g:8038:1: rule__ExternMetricDefinition__HeadAssignment_2 : ( ruleCall ) ;
+ // InternalSolverLanguageParser.g:7928:1: rule__ExternMetricDefinition__HeadAssignment_2 : ( ruleCall ) ;
public final void rule__ExternMetricDefinition__HeadAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8042:1: ( ( ruleCall ) )
- // InternalSolverLanguage.g:8043:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7932:1: ( ( ruleCall ) )
+ // InternalSolverLanguageParser.g:7933:2: ( ruleCall )
{
- // InternalSolverLanguage.g:8043:2: ( ruleCall )
- // InternalSolverLanguage.g:8044:3: ruleCall
+ // InternalSolverLanguageParser.g:7933:2: ( ruleCall )
+ // InternalSolverLanguageParser.g:7934:3: ruleCall
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
- }
+ before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
pushFollow(FOLLOW_2);
ruleCall();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
- }
+
+ after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
}
@@ -26500,29 +24285,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__ConditionAssignment_1"
- // InternalSolverLanguage.g:8053:1: rule__IfElse__ConditionAssignment_1 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7943:1: rule__IfElse__ConditionAssignment_1 : ( ruleExpression ) ;
public final void rule__IfElse__ConditionAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8057:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8058:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7947:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7948:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8058:2: ( ruleExpression )
- // InternalSolverLanguage.g:8059:3: ruleExpression
+ // InternalSolverLanguageParser.g:7948:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7949:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
- }
+ before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
}
@@ -26545,29 +24326,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__ThenAssignment_3"
- // InternalSolverLanguage.g:8068:1: rule__IfElse__ThenAssignment_3 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7958:1: rule__IfElse__ThenAssignment_3 : ( ruleExpression ) ;
public final void rule__IfElse__ThenAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8072:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8073:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7962:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7963:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8073:2: ( ruleExpression )
- // InternalSolverLanguage.g:8074:3: ruleExpression
+ // InternalSolverLanguageParser.g:7963:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7964:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
- }
+ before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
}
@@ -26590,29 +24367,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__IfElse__ElseAssignment_5"
- // InternalSolverLanguage.g:8083:1: rule__IfElse__ElseAssignment_5 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:7973:1: rule__IfElse__ElseAssignment_5 : ( ruleExpression ) ;
public final void rule__IfElse__ElseAssignment_5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8087:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8088:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7977:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:7978:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8088:2: ( ruleExpression )
- // InternalSolverLanguage.g:8089:3: ruleExpression
+ // InternalSolverLanguageParser.g:7978:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:7979:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
- }
+ before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
- }
+
+ after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
}
@@ -26635,29 +24408,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1"
- // InternalSolverLanguage.g:8098:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ;
+ // InternalSolverLanguageParser.g:7988:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ;
public final void rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8102:1: ( ( ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:8103:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:7992:1: ( ( ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:7993:2: ( ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:8103:2: ( ruleConjunctiveExpression )
- // InternalSolverLanguage.g:8104:3: ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:7993:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:7994:3: ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
pushFollow(FOLLOW_2);
ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
- }
+
+ after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
}
@@ -26680,29 +24449,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__BodyAssignment_1_1_2"
- // InternalSolverLanguage.g:8113:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ;
+ // InternalSolverLanguageParser.g:8003:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ;
public final void rule__DisjunctiveExpression__BodyAssignment_1_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8117:1: ( ( ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:8118:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:8007:1: ( ( ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:8008:2: ( ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:8118:2: ( ruleConjunctiveExpression )
- // InternalSolverLanguage.g:8119:3: ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:8008:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:8009:3: ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
pushFollow(FOLLOW_2);
ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
- }
+
+ after(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
}
@@ -26725,29 +24490,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1"
- // InternalSolverLanguage.g:8128:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ;
+ // InternalSolverLanguageParser.g:8018:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ;
public final void rule__DisjunctiveExpression__CasesAssignment_1_1_4_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8132:1: ( ( ruleCase ) )
- // InternalSolverLanguage.g:8133:2: ( ruleCase )
+ // InternalSolverLanguageParser.g:8022:1: ( ( ruleCase ) )
+ // InternalSolverLanguageParser.g:8023:2: ( ruleCase )
{
- // InternalSolverLanguage.g:8133:2: ( ruleCase )
- // InternalSolverLanguage.g:8134:3: ruleCase
+ // InternalSolverLanguageParser.g:8023:2: ( ruleCase )
+ // InternalSolverLanguageParser.g:8024:3: ruleCase
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
- }
+ before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
pushFollow(FOLLOW_2);
ruleCase();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
- }
+
+ after(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
}
@@ -26770,29 +24531,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__ConditionAssignment_0"
- // InternalSolverLanguage.g:8143:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ;
+ // InternalSolverLanguageParser.g:8033:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ;
public final void rule__Case__ConditionAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8147:1: ( ( ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:8148:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:8037:1: ( ( ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:8038:2: ( ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:8148:2: ( ruleConjunctiveExpression )
- // InternalSolverLanguage.g:8149:3: ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:8038:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:8039:3: ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
- }
+ before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
pushFollow(FOLLOW_2);
ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
- }
+
+ after(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
}
@@ -26815,29 +24572,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Case__BodyAssignment_2"
- // InternalSolverLanguage.g:8158:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ;
+ // InternalSolverLanguageParser.g:8048:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ;
public final void rule__Case__BodyAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8162:1: ( ( ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:8163:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:8052:1: ( ( ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:8053:2: ( ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:8163:2: ( ruleConjunctiveExpression )
- // InternalSolverLanguage.g:8164:3: ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:8053:2: ( ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:8054:3: ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
- }
+ before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
pushFollow(FOLLOW_2);
ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
- }
+
+ after(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
}
@@ -26860,29 +24613,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ConjunctiveExpression__ChildrenAssignment_1_1_1"
- // InternalSolverLanguage.g:8173:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ;
+ // InternalSolverLanguageParser.g:8063:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ;
public final void rule__ConjunctiveExpression__ChildrenAssignment_1_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8177:1: ( ( ruleComparisonExpression ) )
- // InternalSolverLanguage.g:8178:2: ( ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:8067:1: ( ( ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:8068:2: ( ruleComparisonExpression )
{
- // InternalSolverLanguage.g:8178:2: ( ruleComparisonExpression )
- // InternalSolverLanguage.g:8179:3: ruleComparisonExpression
+ // InternalSolverLanguageParser.g:8068:2: ( ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:8069:3: ruleComparisonExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
- }
+ before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
pushFollow(FOLLOW_2);
ruleComparisonExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
- }
+
+ after(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
}
@@ -26905,29 +24654,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__OpAssignment_1_1"
- // InternalSolverLanguage.g:8188:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ;
+ // InternalSolverLanguageParser.g:8078:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ;
public final void rule__ComparisonExpression__OpAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8192:1: ( ( ruleComparisonOperator ) )
- // InternalSolverLanguage.g:8193:2: ( ruleComparisonOperator )
+ // InternalSolverLanguageParser.g:8082:1: ( ( ruleComparisonOperator ) )
+ // InternalSolverLanguageParser.g:8083:2: ( ruleComparisonOperator )
{
- // InternalSolverLanguage.g:8193:2: ( ruleComparisonOperator )
- // InternalSolverLanguage.g:8194:3: ruleComparisonOperator
+ // InternalSolverLanguageParser.g:8083:2: ( ruleComparisonOperator )
+ // InternalSolverLanguageParser.g:8084:3: ruleComparisonOperator
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
- }
+ before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
pushFollow(FOLLOW_2);
ruleComparisonOperator();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
- }
+
+ after(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
}
@@ -26950,29 +24695,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ComparisonExpression__RightAssignment_1_2"
- // InternalSolverLanguage.g:8203:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ;
+ // InternalSolverLanguageParser.g:8093:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ;
public final void rule__ComparisonExpression__RightAssignment_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8207:1: ( ( ruleAdditiveExpression ) )
- // InternalSolverLanguage.g:8208:2: ( ruleAdditiveExpression )
+ // InternalSolverLanguageParser.g:8097:1: ( ( ruleAdditiveExpression ) )
+ // InternalSolverLanguageParser.g:8098:2: ( ruleAdditiveExpression )
{
- // InternalSolverLanguage.g:8208:2: ( ruleAdditiveExpression )
- // InternalSolverLanguage.g:8209:3: ruleAdditiveExpression
+ // InternalSolverLanguageParser.g:8098:2: ( ruleAdditiveExpression )
+ // InternalSolverLanguageParser.g:8099:3: ruleAdditiveExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
- }
+ before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
pushFollow(FOLLOW_2);
ruleAdditiveExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
- }
+
+ after(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
}
@@ -26995,29 +24736,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__OpAssignment_1_1"
- // InternalSolverLanguage.g:8218:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ;
+ // InternalSolverLanguageParser.g:8108:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ;
public final void rule__AdditiveExpression__OpAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8222:1: ( ( ruleAdditiveBinaryOperator ) )
- // InternalSolverLanguage.g:8223:2: ( ruleAdditiveBinaryOperator )
+ // InternalSolverLanguageParser.g:8112:1: ( ( ruleAdditiveBinaryOperator ) )
+ // InternalSolverLanguageParser.g:8113:2: ( ruleAdditiveBinaryOperator )
{
- // InternalSolverLanguage.g:8223:2: ( ruleAdditiveBinaryOperator )
- // InternalSolverLanguage.g:8224:3: ruleAdditiveBinaryOperator
+ // InternalSolverLanguageParser.g:8113:2: ( ruleAdditiveBinaryOperator )
+ // InternalSolverLanguageParser.g:8114:3: ruleAdditiveBinaryOperator
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
- }
+ before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
pushFollow(FOLLOW_2);
ruleAdditiveBinaryOperator();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
- }
+
+ after(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
}
@@ -27040,29 +24777,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__AdditiveExpression__RightAssignment_1_2"
- // InternalSolverLanguage.g:8233:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ;
+ // InternalSolverLanguageParser.g:8123:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ;
public final void rule__AdditiveExpression__RightAssignment_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8237:1: ( ( ruleMultiplicativeExpression ) )
- // InternalSolverLanguage.g:8238:2: ( ruleMultiplicativeExpression )
+ // InternalSolverLanguageParser.g:8127:1: ( ( ruleMultiplicativeExpression ) )
+ // InternalSolverLanguageParser.g:8128:2: ( ruleMultiplicativeExpression )
{
- // InternalSolverLanguage.g:8238:2: ( ruleMultiplicativeExpression )
- // InternalSolverLanguage.g:8239:3: ruleMultiplicativeExpression
+ // InternalSolverLanguageParser.g:8128:2: ( ruleMultiplicativeExpression )
+ // InternalSolverLanguageParser.g:8129:3: ruleMultiplicativeExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
- }
+ before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
pushFollow(FOLLOW_2);
ruleMultiplicativeExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
- }
+
+ after(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
}
@@ -27085,29 +24818,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__OpAssignment_1_1"
- // InternalSolverLanguage.g:8248:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ;
+ // InternalSolverLanguageParser.g:8138:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ;
public final void rule__MultiplicativeExpression__OpAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8252:1: ( ( ruleMultiplicativeBinaryOperator ) )
- // InternalSolverLanguage.g:8253:2: ( ruleMultiplicativeBinaryOperator )
+ // InternalSolverLanguageParser.g:8142:1: ( ( ruleMultiplicativeBinaryOperator ) )
+ // InternalSolverLanguageParser.g:8143:2: ( ruleMultiplicativeBinaryOperator )
{
- // InternalSolverLanguage.g:8253:2: ( ruleMultiplicativeBinaryOperator )
- // InternalSolverLanguage.g:8254:3: ruleMultiplicativeBinaryOperator
+ // InternalSolverLanguageParser.g:8143:2: ( ruleMultiplicativeBinaryOperator )
+ // InternalSolverLanguageParser.g:8144:3: ruleMultiplicativeBinaryOperator
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
- }
+ before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
pushFollow(FOLLOW_2);
ruleMultiplicativeBinaryOperator();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
- }
+
+ after(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
}
@@ -27130,29 +24859,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MultiplicativeExpression__RightAssignment_1_2"
- // InternalSolverLanguage.g:8263:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ;
+ // InternalSolverLanguageParser.g:8153:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ;
public final void rule__MultiplicativeExpression__RightAssignment_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8267:1: ( ( ruleExponentialExpression ) )
- // InternalSolverLanguage.g:8268:2: ( ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:8157:1: ( ( ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:8158:2: ( ruleExponentialExpression )
{
- // InternalSolverLanguage.g:8268:2: ( ruleExponentialExpression )
- // InternalSolverLanguage.g:8269:3: ruleExponentialExpression
+ // InternalSolverLanguageParser.g:8158:2: ( ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:8159:3: ruleExponentialExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
- }
+ before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
pushFollow(FOLLOW_2);
ruleExponentialExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
- }
+
+ after(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
}
@@ -27175,29 +24900,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__OpAssignment_1_1"
- // InternalSolverLanguage.g:8278:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ;
+ // InternalSolverLanguageParser.g:8168:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ;
public final void rule__ExponentialExpression__OpAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8282:1: ( ( ruleExponentialOp ) )
- // InternalSolverLanguage.g:8283:2: ( ruleExponentialOp )
+ // InternalSolverLanguageParser.g:8172:1: ( ( ruleExponentialOp ) )
+ // InternalSolverLanguageParser.g:8173:2: ( ruleExponentialOp )
{
- // InternalSolverLanguage.g:8283:2: ( ruleExponentialOp )
- // InternalSolverLanguage.g:8284:3: ruleExponentialOp
+ // InternalSolverLanguageParser.g:8173:2: ( ruleExponentialOp )
+ // InternalSolverLanguageParser.g:8174:3: ruleExponentialOp
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
- }
+ before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
pushFollow(FOLLOW_2);
ruleExponentialOp();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
- }
+
+ after(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
}
@@ -27220,29 +24941,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExponentialExpression__RightAssignment_1_2"
- // InternalSolverLanguage.g:8293:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ;
+ // InternalSolverLanguageParser.g:8183:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ;
public final void rule__ExponentialExpression__RightAssignment_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8297:1: ( ( ruleExponentialExpression ) )
- // InternalSolverLanguage.g:8298:2: ( ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:8187:1: ( ( ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:8188:2: ( ruleExponentialExpression )
{
- // InternalSolverLanguage.g:8298:2: ( ruleExponentialExpression )
- // InternalSolverLanguage.g:8299:3: ruleExponentialExpression
+ // InternalSolverLanguageParser.g:8188:2: ( ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:8189:3: ruleExponentialExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
- }
+ before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
pushFollow(FOLLOW_2);
ruleExponentialExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
- }
+
+ after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
}
@@ -27265,29 +24982,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__OpAssignment_1_1"
- // InternalSolverLanguage.g:8308:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOp ) ;
+ // InternalSolverLanguageParser.g:8198:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOp ) ;
public final void rule__UnaryExpression__OpAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8312:1: ( ( ruleUnaryOp ) )
- // InternalSolverLanguage.g:8313:2: ( ruleUnaryOp )
+ // InternalSolverLanguageParser.g:8202:1: ( ( ruleUnaryOp ) )
+ // InternalSolverLanguageParser.g:8203:2: ( ruleUnaryOp )
{
- // InternalSolverLanguage.g:8313:2: ( ruleUnaryOp )
- // InternalSolverLanguage.g:8314:3: ruleUnaryOp
+ // InternalSolverLanguageParser.g:8203:2: ( ruleUnaryOp )
+ // InternalSolverLanguageParser.g:8204:3: ruleUnaryOp
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
- }
+ before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
pushFollow(FOLLOW_2);
ruleUnaryOp();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
- }
+
+ after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
}
@@ -27310,29 +25023,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__UnaryExpression__BodyAssignment_1_2"
- // InternalSolverLanguage.g:8323:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleAggregationExpression ) ;
+ // InternalSolverLanguageParser.g:8213:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleAggregationExpression ) ;
public final void rule__UnaryExpression__BodyAssignment_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8327:1: ( ( ruleAggregationExpression ) )
- // InternalSolverLanguage.g:8328:2: ( ruleAggregationExpression )
+ // InternalSolverLanguageParser.g:8217:1: ( ( ruleAggregationExpression ) )
+ // InternalSolverLanguageParser.g:8218:2: ( ruleAggregationExpression )
{
- // InternalSolverLanguage.g:8328:2: ( ruleAggregationExpression )
- // InternalSolverLanguage.g:8329:3: ruleAggregationExpression
+ // InternalSolverLanguageParser.g:8218:2: ( ruleAggregationExpression )
+ // InternalSolverLanguageParser.g:8219:3: ruleAggregationExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
- }
+ before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
pushFollow(FOLLOW_2);
ruleAggregationExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
- }
+
+ after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
}
@@ -27355,29 +25064,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Count__BodyAssignment_2"
- // InternalSolverLanguage.g:8338:1: rule__Count__BodyAssignment_2 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:8228:1: rule__Count__BodyAssignment_2 : ( ruleExpression ) ;
public final void rule__Count__BodyAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8342:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8343:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8232:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:8233:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8343:2: ( ruleExpression )
- // InternalSolverLanguage.g:8344:3: ruleExpression
+ // InternalSolverLanguageParser.g:8233:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8234:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
- }
+ before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
- }
+
+ after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
}
@@ -27400,29 +25105,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__OpAssignment_0"
- // InternalSolverLanguage.g:8353:1: rule__Aggregation__OpAssignment_0 : ( ruleAggregationOp ) ;
+ // InternalSolverLanguageParser.g:8243:1: rule__Aggregation__OpAssignment_0 : ( ruleAggregationOp ) ;
public final void rule__Aggregation__OpAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8357:1: ( ( ruleAggregationOp ) )
- // InternalSolverLanguage.g:8358:2: ( ruleAggregationOp )
+ // InternalSolverLanguageParser.g:8247:1: ( ( ruleAggregationOp ) )
+ // InternalSolverLanguageParser.g:8248:2: ( ruleAggregationOp )
{
- // InternalSolverLanguage.g:8358:2: ( ruleAggregationOp )
- // InternalSolverLanguage.g:8359:3: ruleAggregationOp
+ // InternalSolverLanguageParser.g:8248:2: ( ruleAggregationOp )
+ // InternalSolverLanguageParser.g:8249:3: ruleAggregationOp
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
- }
+ before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
pushFollow(FOLLOW_2);
ruleAggregationOp();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
- }
+
+ after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
}
@@ -27445,29 +25146,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__BodyAssignment_2"
- // InternalSolverLanguage.g:8368:1: rule__Aggregation__BodyAssignment_2 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:8258:1: rule__Aggregation__BodyAssignment_2 : ( ruleExpression ) ;
public final void rule__Aggregation__BodyAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8372:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8373:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8262:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:8263:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8373:2: ( ruleExpression )
- // InternalSolverLanguage.g:8374:3: ruleExpression
+ // InternalSolverLanguageParser.g:8263:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8264:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
- }
+ before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
- }
+
+ after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
}
@@ -27490,74 +25187,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Aggregation__ConditionAssignment_4"
- // InternalSolverLanguage.g:8383:1: rule__Aggregation__ConditionAssignment_4 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:8273:1: rule__Aggregation__ConditionAssignment_4 : ( ruleExpression ) ;
public final void rule__Aggregation__ConditionAssignment_4() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8387:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8388:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8277:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:8278:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8388:2: ( ruleExpression )
- // InternalSolverLanguage.g:8389:3: ruleExpression
+ // InternalSolverLanguageParser.g:8278:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8279:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
- }
+ before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
- }
-
- }
-
-
- }
-
- }
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- }
- finally {
-
- restoreStackSize(stackSize);
- }
- return ;
- }
- // $ANTLR end "rule__Aggregation__ConditionAssignment_4"
-
-
- // $ANTLR start "rule__AtomicExpression__ArgumentListAssignment_0_1_1"
- // InternalSolverLanguage.g:8398:1: rule__AtomicExpression__ArgumentListAssignment_0_1_1 : ( ruleArgumentList ) ;
- public final void rule__AtomicExpression__ArgumentListAssignment_0_1_1() throws RecognitionException {
-
- int stackSize = keepStackSize();
-
- try {
- // InternalSolverLanguage.g:8402:1: ( ( ruleArgumentList ) )
- // InternalSolverLanguage.g:8403:2: ( ruleArgumentList )
- {
- // InternalSolverLanguage.g:8403:2: ( ruleArgumentList )
- // InternalSolverLanguage.g:8404:3: ruleArgumentList
- {
- if ( state.backtracking==0 ) {
- before(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0());
- }
- pushFollow(FOLLOW_2);
- ruleArgumentList();
-
- state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0());
- }
+ after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
}
@@ -27576,33 +25224,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
}
return ;
}
- // $ANTLR end "rule__AtomicExpression__ArgumentListAssignment_0_1_1"
+ // $ANTLR end "rule__Aggregation__ConditionAssignment_4"
// $ANTLR start "rule__Call__FunctorAssignment_0"
- // InternalSolverLanguage.g:8413:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ;
+ // InternalSolverLanguageParser.g:8288:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ;
public final void rule__Call__FunctorAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8417:1: ( ( ruleReference ) )
- // InternalSolverLanguage.g:8418:2: ( ruleReference )
+ // InternalSolverLanguageParser.g:8292:1: ( ( ruleReference ) )
+ // InternalSolverLanguageParser.g:8293:2: ( ruleReference )
{
- // InternalSolverLanguage.g:8418:2: ( ruleReference )
- // InternalSolverLanguage.g:8419:3: ruleReference
+ // InternalSolverLanguageParser.g:8293:2: ( ruleReference )
+ // InternalSolverLanguageParser.g:8294:3: ruleReference
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
- }
+ before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
pushFollow(FOLLOW_2);
ruleReference();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
- }
+
+ after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
}
@@ -27625,25 +25269,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__TransitiveClosureAssignment_1_0"
- // InternalSolverLanguage.g:8428:1: rule__Call__TransitiveClosureAssignment_1_0 : ( RULE_STAR ) ;
+ // InternalSolverLanguageParser.g:8303:1: rule__Call__TransitiveClosureAssignment_1_0 : ( RULE_TRANSITIVE_CLOSURE ) ;
public final void rule__Call__TransitiveClosureAssignment_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8432:1: ( ( RULE_STAR ) )
- // InternalSolverLanguage.g:8433:2: ( RULE_STAR )
+ // InternalSolverLanguageParser.g:8307:1: ( ( RULE_TRANSITIVE_CLOSURE ) )
+ // InternalSolverLanguageParser.g:8308:2: ( RULE_TRANSITIVE_CLOSURE )
{
- // InternalSolverLanguage.g:8433:2: ( RULE_STAR )
- // InternalSolverLanguage.g:8434:3: RULE_STAR
+ // InternalSolverLanguageParser.g:8308:2: ( RULE_TRANSITIVE_CLOSURE )
+ // InternalSolverLanguageParser.g:8309:3: RULE_TRANSITIVE_CLOSURE
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0());
- }
- match(input,RULE_STAR,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0());
- }
+ before(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0());
+ match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_2);
+ after(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0());
}
@@ -27666,25 +25306,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__ReflexiveTransitiveClosureAssignment_1_1"
- // InternalSolverLanguage.g:8443:1: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 : ( RULE_PLUS ) ;
+ // InternalSolverLanguageParser.g:8318:1: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 : ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ;
public final void rule__Call__ReflexiveTransitiveClosureAssignment_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8447:1: ( ( RULE_PLUS ) )
- // InternalSolverLanguage.g:8448:2: ( RULE_PLUS )
+ // InternalSolverLanguageParser.g:8322:1: ( ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) )
+ // InternalSolverLanguageParser.g:8323:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE )
{
- // InternalSolverLanguage.g:8448:2: ( RULE_PLUS )
- // InternalSolverLanguage.g:8449:3: RULE_PLUS
+ // InternalSolverLanguageParser.g:8323:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE )
+ // InternalSolverLanguageParser.g:8324:3: RULE_REFLEXIVE_TRANSITIVE_CLOSURE
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0());
- }
- match(input,RULE_PLUS,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0());
- }
+ before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0());
+ match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_2);
+ after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0());
}
@@ -27707,29 +25343,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Call__ArgumentListAssignment_2"
- // InternalSolverLanguage.g:8458:1: rule__Call__ArgumentListAssignment_2 : ( ruleArgumentList ) ;
+ // InternalSolverLanguageParser.g:8333:1: rule__Call__ArgumentListAssignment_2 : ( ruleArgumentList ) ;
public final void rule__Call__ArgumentListAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8462:1: ( ( ruleArgumentList ) )
- // InternalSolverLanguage.g:8463:2: ( ruleArgumentList )
+ // InternalSolverLanguageParser.g:8337:1: ( ( ruleArgumentList ) )
+ // InternalSolverLanguageParser.g:8338:2: ( ruleArgumentList )
{
- // InternalSolverLanguage.g:8463:2: ( ruleArgumentList )
- // InternalSolverLanguage.g:8464:3: ruleArgumentList
+ // InternalSolverLanguageParser.g:8338:2: ( ruleArgumentList )
+ // InternalSolverLanguageParser.g:8339:3: ruleArgumentList
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
- }
+ before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
pushFollow(FOLLOW_2);
ruleArgumentList();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
- }
+
+ after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
}
@@ -27752,29 +25384,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_0"
- // InternalSolverLanguage.g:8473:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ;
+ // InternalSolverLanguageParser.g:8348:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ;
public final void rule__ArgumentList__ArgumentsAssignment_2_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8477:1: ( ( ruleArgument ) )
- // InternalSolverLanguage.g:8478:2: ( ruleArgument )
+ // InternalSolverLanguageParser.g:8352:1: ( ( ruleArgument ) )
+ // InternalSolverLanguageParser.g:8353:2: ( ruleArgument )
{
- // InternalSolverLanguage.g:8478:2: ( ruleArgument )
- // InternalSolverLanguage.g:8479:3: ruleArgument
+ // InternalSolverLanguageParser.g:8353:2: ( ruleArgument )
+ // InternalSolverLanguageParser.g:8354:3: ruleArgument
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
- }
+ before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
pushFollow(FOLLOW_2);
ruleArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
- }
+
+ after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
}
@@ -27797,29 +25425,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_1_1"
- // InternalSolverLanguage.g:8488:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ;
+ // InternalSolverLanguageParser.g:8363:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ;
public final void rule__ArgumentList__ArgumentsAssignment_2_1_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8492:1: ( ( ruleArgument ) )
- // InternalSolverLanguage.g:8493:2: ( ruleArgument )
+ // InternalSolverLanguageParser.g:8367:1: ( ( ruleArgument ) )
+ // InternalSolverLanguageParser.g:8368:2: ( ruleArgument )
{
- // InternalSolverLanguage.g:8493:2: ( ruleArgument )
- // InternalSolverLanguage.g:8494:3: ruleArgument
+ // InternalSolverLanguageParser.g:8368:2: ( ruleArgument )
+ // InternalSolverLanguageParser.g:8369:3: ruleArgument
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
- }
+ before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
pushFollow(FOLLOW_2);
ruleArgument();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
- }
+
+ after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
}
@@ -27842,29 +25466,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExpressionArgument__BodyAssignment"
- // InternalSolverLanguage.g:8503:1: rule__ExpressionArgument__BodyAssignment : ( ruleComparisonExpression ) ;
+ // InternalSolverLanguageParser.g:8378:1: rule__ExpressionArgument__BodyAssignment : ( ruleComparisonExpression ) ;
public final void rule__ExpressionArgument__BodyAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8507:1: ( ( ruleComparisonExpression ) )
- // InternalSolverLanguage.g:8508:2: ( ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:8382:1: ( ( ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:8383:2: ( ruleComparisonExpression )
{
- // InternalSolverLanguage.g:8508:2: ( ruleComparisonExpression )
- // InternalSolverLanguage.g:8509:3: ruleComparisonExpression
+ // InternalSolverLanguageParser.g:8383:2: ( ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:8384:3: ruleComparisonExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
- }
+ before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleComparisonExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
- }
+
+ after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
}
@@ -27887,42 +25507,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedArgument__TypeAssignment_0"
- // InternalSolverLanguage.g:8518:1: rule__TypedArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8393:1: rule__TypedArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ;
public final void rule__TypedArgument__TypeAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8522:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8523:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8397:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8398:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8523:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8524:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8398:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8399:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
- }
- // InternalSolverLanguage.g:8525:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8526:4: ruleQualifiedName
+ before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
+ // InternalSolverLanguageParser.g:8400:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8401:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
- }
+ before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
- }
- }
+ after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
}
+ after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
+
}
@@ -27944,42 +25556,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedArgument__VariableAssignment_1"
- // InternalSolverLanguage.g:8537:1: rule__TypedArgument__VariableAssignment_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8412:1: rule__TypedArgument__VariableAssignment_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__TypedArgument__VariableAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8541:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8542:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8416:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8417:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8542:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8543:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8417:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8418:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
- }
- // InternalSolverLanguage.g:8544:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8545:4: ruleQualifiedName
+ before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
+ // InternalSolverLanguageParser.g:8419:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8420:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1());
- }
+ before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1());
- }
- }
+ after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
}
+ after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
+
}
@@ -28001,42 +25605,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__TypedStarArgument__TypeAssignment_0"
- // InternalSolverLanguage.g:8556:1: rule__TypedStarArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8431:1: rule__TypedStarArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ;
public final void rule__TypedStarArgument__TypeAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8560:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8561:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8435:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8436:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8561:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8562:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8436:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8437:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
- }
- // InternalSolverLanguage.g:8563:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8564:4: ruleQualifiedName
+ before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
+ // InternalSolverLanguageParser.g:8438:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8439:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
- }
+ before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
- }
- }
+ after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
}
+ after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
+
}
@@ -28058,42 +25654,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Reference__ReferredAssignment"
- // InternalSolverLanguage.g:8575:1: rule__Reference__ReferredAssignment : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8450:1: rule__Reference__ReferredAssignment : ( ( ruleQualifiedName ) ) ;
public final void rule__Reference__ReferredAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8579:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8580:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8454:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8455:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8580:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8581:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8455:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8456:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
- }
- // InternalSolverLanguage.g:8582:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8583:4: ruleQualifiedName
+ before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
+ // InternalSolverLanguageParser.g:8457:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8458:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1());
- }
+ before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1());
- }
- }
+ after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
}
+ after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
+
}
@@ -28115,29 +25703,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__LowerBoundAssignment_1"
- // InternalSolverLanguage.g:8594:1: rule__Interval__LowerBoundAssignment_1 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:8469:1: rule__Interval__LowerBoundAssignment_1 : ( ruleExpression ) ;
public final void rule__Interval__LowerBoundAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8598:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8599:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8473:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:8474:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8599:2: ( ruleExpression )
- // InternalSolverLanguage.g:8600:3: ruleExpression
+ // InternalSolverLanguageParser.g:8474:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8475:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
- }
+ before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
}
@@ -28160,29 +25744,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__Interval__UpperBoundAssignment_3"
- // InternalSolverLanguage.g:8609:1: rule__Interval__UpperBoundAssignment_3 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:8484:1: rule__Interval__UpperBoundAssignment_3 : ( ruleExpression ) ;
public final void rule__Interval__UpperBoundAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8613:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:8614:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8488:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:8489:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:8614:2: ( ruleExpression )
- // InternalSolverLanguage.g:8615:3: ruleExpression
+ // InternalSolverLanguageParser.g:8489:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8490:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
- }
+ before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
}
@@ -28205,29 +25785,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LogicLiteral__ValueAssignment"
- // InternalSolverLanguage.g:8624:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ;
+ // InternalSolverLanguageParser.g:8499:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ;
public final void rule__LogicLiteral__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8628:1: ( ( ruleLogicValue ) )
- // InternalSolverLanguage.g:8629:2: ( ruleLogicValue )
+ // InternalSolverLanguageParser.g:8503:1: ( ( ruleLogicValue ) )
+ // InternalSolverLanguageParser.g:8504:2: ( ruleLogicValue )
{
- // InternalSolverLanguage.g:8629:2: ( ruleLogicValue )
- // InternalSolverLanguage.g:8630:3: ruleLogicValue
+ // InternalSolverLanguageParser.g:8504:2: ( ruleLogicValue )
+ // InternalSolverLanguageParser.g:8505:3: ruleLogicValue
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
- }
+ before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
pushFollow(FOLLOW_2);
ruleLogicValue();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
- }
+
+ after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
}
@@ -28250,29 +25826,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__NumericLiteral__ValueAssignment"
- // InternalSolverLanguage.g:8639:1: rule__NumericLiteral__ValueAssignment : ( ruleReal ) ;
+ // InternalSolverLanguageParser.g:8514:1: rule__NumericLiteral__ValueAssignment : ( ruleReal ) ;
public final void rule__NumericLiteral__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8643:1: ( ( ruleReal ) )
- // InternalSolverLanguage.g:8644:2: ( ruleReal )
+ // InternalSolverLanguageParser.g:8518:1: ( ( ruleReal ) )
+ // InternalSolverLanguageParser.g:8519:2: ( ruleReal )
{
- // InternalSolverLanguage.g:8644:2: ( ruleReal )
- // InternalSolverLanguage.g:8645:3: ruleReal
+ // InternalSolverLanguageParser.g:8519:2: ( ruleReal )
+ // InternalSolverLanguageParser.g:8520:3: ruleReal
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
- }
+ before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
pushFollow(FOLLOW_2);
ruleReal();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
- }
+
+ after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
}
@@ -28295,25 +25867,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__StringLiteral__ValueAssignment"
- // InternalSolverLanguage.g:8654:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ;
+ // InternalSolverLanguageParser.g:8529:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ;
public final void rule__StringLiteral__ValueAssignment() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8658:1: ( ( RULE_STRING ) )
- // InternalSolverLanguage.g:8659:2: ( RULE_STRING )
+ // InternalSolverLanguageParser.g:8533:1: ( ( RULE_STRING ) )
+ // InternalSolverLanguageParser.g:8534:2: ( RULE_STRING )
{
- // InternalSolverLanguage.g:8659:2: ( RULE_STRING )
- // InternalSolverLanguage.g:8660:3: RULE_STRING
+ // InternalSolverLanguageParser.g:8534:2: ( RULE_STRING )
+ // InternalSolverLanguageParser.g:8535:3: RULE_STRING
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
- }
- match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
- }
+ before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
+ match(input,RULE_STRING,FOLLOW_2);
+ after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
}
@@ -28336,37 +25904,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__AbstractAssignment_0"
- // InternalSolverLanguage.g:8669:1: rule__ClassDefinition__AbstractAssignment_0 : ( ( 'abstract' ) ) ;
+ // InternalSolverLanguageParser.g:8544:1: rule__ClassDefinition__AbstractAssignment_0 : ( ( Abstract ) ) ;
public final void rule__ClassDefinition__AbstractAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8673:1: ( ( ( 'abstract' ) ) )
- // InternalSolverLanguage.g:8674:2: ( ( 'abstract' ) )
+ // InternalSolverLanguageParser.g:8548:1: ( ( ( Abstract ) ) )
+ // InternalSolverLanguageParser.g:8549:2: ( ( Abstract ) )
{
- // InternalSolverLanguage.g:8674:2: ( ( 'abstract' ) )
- // InternalSolverLanguage.g:8675:3: ( 'abstract' )
+ // InternalSolverLanguageParser.g:8549:2: ( ( Abstract ) )
+ // InternalSolverLanguageParser.g:8550:3: ( Abstract )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
- }
- // InternalSolverLanguage.g:8676:3: ( 'abstract' )
- // InternalSolverLanguage.g:8677:4: 'abstract'
+ before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
+ // InternalSolverLanguageParser.g:8551:3: ( Abstract )
+ // InternalSolverLanguageParser.g:8552:4: Abstract
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
- }
- match(input,73,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
- }
+ before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
+ match(input,Abstract,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
- }
+ after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
}
@@ -28389,25 +25949,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__NameAssignment_2"
- // InternalSolverLanguage.g:8688:1: rule__ClassDefinition__NameAssignment_2 : ( RULE_ID ) ;
+ // InternalSolverLanguageParser.g:8563:1: rule__ClassDefinition__NameAssignment_2 : ( RULE_ID ) ;
public final void rule__ClassDefinition__NameAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8692:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:8693:2: ( RULE_ID )
+ // InternalSolverLanguageParser.g:8567:1: ( ( RULE_ID ) )
+ // InternalSolverLanguageParser.g:8568:2: ( RULE_ID )
{
- // InternalSolverLanguage.g:8693:2: ( RULE_ID )
- // InternalSolverLanguage.g:8694:3: RULE_ID
+ // InternalSolverLanguageParser.g:8568:2: ( RULE_ID )
+ // InternalSolverLanguageParser.g:8569:3: RULE_ID
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
- }
- match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
- }
+ before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
+ match(input,RULE_ID,FOLLOW_2);
+ after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
}
@@ -28430,42 +25986,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_1"
- // InternalSolverLanguage.g:8703:1: rule__ClassDefinition__SuperclassesAssignment_3_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8578:1: rule__ClassDefinition__SuperclassesAssignment_3_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__ClassDefinition__SuperclassesAssignment_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8707:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8708:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8582:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8583:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8708:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8709:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8583:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8584:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
- }
- // InternalSolverLanguage.g:8710:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8711:4: ruleQualifiedName
+ before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
+ // InternalSolverLanguageParser.g:8585:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8586:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1());
- }
+ before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1());
- }
- }
+ after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
}
+ after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
+
}
@@ -28487,42 +26035,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_2_1"
- // InternalSolverLanguage.g:8722:1: rule__ClassDefinition__SuperclassesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8597:1: rule__ClassDefinition__SuperclassesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__ClassDefinition__SuperclassesAssignment_3_2_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8726:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8727:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8601:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8602:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8727:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8728:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8602:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8603:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
- }
- // InternalSolverLanguage.g:8729:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8730:4: ruleQualifiedName
+ before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
+ // InternalSolverLanguageParser.g:8604:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8605:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1());
- }
+ before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1());
- }
- }
+ after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
}
+ after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
+
}
@@ -28544,29 +26084,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ClassDefinition__MembersAssignment_5"
- // InternalSolverLanguage.g:8741:1: rule__ClassDefinition__MembersAssignment_5 : ( ruleMemberDefinition ) ;
+ // InternalSolverLanguageParser.g:8616:1: rule__ClassDefinition__MembersAssignment_5 : ( ruleMemberDefinition ) ;
public final void rule__ClassDefinition__MembersAssignment_5() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8745:1: ( ( ruleMemberDefinition ) )
- // InternalSolverLanguage.g:8746:2: ( ruleMemberDefinition )
+ // InternalSolverLanguageParser.g:8620:1: ( ( ruleMemberDefinition ) )
+ // InternalSolverLanguageParser.g:8621:2: ( ruleMemberDefinition )
{
- // InternalSolverLanguage.g:8746:2: ( ruleMemberDefinition )
- // InternalSolverLanguage.g:8747:3: ruleMemberDefinition
+ // InternalSolverLanguageParser.g:8621:2: ( ruleMemberDefinition )
+ // InternalSolverLanguageParser.g:8622:3: ruleMemberDefinition
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
- }
+ before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
pushFollow(FOLLOW_2);
ruleMemberDefinition();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
- }
+
+ after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
}
@@ -28589,37 +26125,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__ContainmentAssignment_0"
- // InternalSolverLanguage.g:8756:1: rule__MemberDefinition__ContainmentAssignment_0 : ( ( 'contains' ) ) ;
+ // InternalSolverLanguageParser.g:8631:1: rule__MemberDefinition__ContainmentAssignment_0 : ( ( Contains ) ) ;
public final void rule__MemberDefinition__ContainmentAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8760:1: ( ( ( 'contains' ) ) )
- // InternalSolverLanguage.g:8761:2: ( ( 'contains' ) )
+ // InternalSolverLanguageParser.g:8635:1: ( ( ( Contains ) ) )
+ // InternalSolverLanguageParser.g:8636:2: ( ( Contains ) )
{
- // InternalSolverLanguage.g:8761:2: ( ( 'contains' ) )
- // InternalSolverLanguage.g:8762:3: ( 'contains' )
+ // InternalSolverLanguageParser.g:8636:2: ( ( Contains ) )
+ // InternalSolverLanguageParser.g:8637:3: ( Contains )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
- }
- // InternalSolverLanguage.g:8763:3: ( 'contains' )
- // InternalSolverLanguage.g:8764:4: 'contains'
+ before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
+ // InternalSolverLanguageParser.g:8638:3: ( Contains )
+ // InternalSolverLanguageParser.g:8639:4: Contains
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
- }
- match(input,74,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
- }
+ before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
+ match(input,Contains,FOLLOW_2);
+ after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
}
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
- }
+ after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
}
@@ -28642,42 +26170,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__TypeAssignment_1"
- // InternalSolverLanguage.g:8775:1: rule__MemberDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8650:1: rule__MemberDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__MemberDefinition__TypeAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8779:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8780:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8654:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8655:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8780:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8781:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8655:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8656:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
- }
- // InternalSolverLanguage.g:8782:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8783:4: ruleQualifiedName
+ before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+ // InternalSolverLanguageParser.g:8657:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8658:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
- }
+ before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
- }
- }
+ after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
}
+ after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+
}
@@ -28699,29 +26219,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__MultiplicityAssignment_2"
- // InternalSolverLanguage.g:8794:1: rule__MemberDefinition__MultiplicityAssignment_2 : ( ruleMultiplicity ) ;
+ // InternalSolverLanguageParser.g:8669:1: rule__MemberDefinition__MultiplicityAssignment_2 : ( ruleMultiplicity ) ;
public final void rule__MemberDefinition__MultiplicityAssignment_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8798:1: ( ( ruleMultiplicity ) )
- // InternalSolverLanguage.g:8799:2: ( ruleMultiplicity )
+ // InternalSolverLanguageParser.g:8673:1: ( ( ruleMultiplicity ) )
+ // InternalSolverLanguageParser.g:8674:2: ( ruleMultiplicity )
{
- // InternalSolverLanguage.g:8799:2: ( ruleMultiplicity )
- // InternalSolverLanguage.g:8800:3: ruleMultiplicity
+ // InternalSolverLanguageParser.g:8674:2: ( ruleMultiplicity )
+ // InternalSolverLanguageParser.g:8675:3: ruleMultiplicity
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
- }
+ before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
pushFollow(FOLLOW_2);
ruleMultiplicity();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
- }
+
+ after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
}
@@ -28744,25 +26260,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__NameAssignment_3"
- // InternalSolverLanguage.g:8809:1: rule__MemberDefinition__NameAssignment_3 : ( RULE_ID ) ;
+ // InternalSolverLanguageParser.g:8684:1: rule__MemberDefinition__NameAssignment_3 : ( RULE_ID ) ;
public final void rule__MemberDefinition__NameAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8813:1: ( ( RULE_ID ) )
- // InternalSolverLanguage.g:8814:2: ( RULE_ID )
+ // InternalSolverLanguageParser.g:8688:1: ( ( RULE_ID ) )
+ // InternalSolverLanguageParser.g:8689:2: ( RULE_ID )
{
- // InternalSolverLanguage.g:8814:2: ( RULE_ID )
- // InternalSolverLanguage.g:8815:3: RULE_ID
+ // InternalSolverLanguageParser.g:8689:2: ( RULE_ID )
+ // InternalSolverLanguageParser.g:8690:3: RULE_ID
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
- }
- match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
- }
+ before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
+ match(input,RULE_ID,FOLLOW_2);
+ after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
}
@@ -28785,42 +26297,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__MemberDefinition__OppositeAssignment_4_1"
- // InternalSolverLanguage.g:8824:1: rule__MemberDefinition__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8699:1: rule__MemberDefinition__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__MemberDefinition__OppositeAssignment_4_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8828:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8829:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8703:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8704:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8829:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8830:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8704:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8705:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
- }
- // InternalSolverLanguage.g:8831:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8832:4: ruleQualifiedName
+ before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
+ // InternalSolverLanguageParser.g:8706:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8707:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1());
- }
+ before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1());
- }
- }
+ after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
}
+ after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
+
}
@@ -28842,29 +26346,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactMultiplicity__MultiplicityAssignment_1"
- // InternalSolverLanguage.g:8843:1: rule__ExactMultiplicity__MultiplicityAssignment_1 : ( ruleUpperMultiplicty ) ;
+ // InternalSolverLanguageParser.g:8718:1: rule__ExactMultiplicity__MultiplicityAssignment_1 : ( ruleUpperMultiplicty ) ;
public final void rule__ExactMultiplicity__MultiplicityAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8847:1: ( ( ruleUpperMultiplicty ) )
- // InternalSolverLanguage.g:8848:2: ( ruleUpperMultiplicty )
+ // InternalSolverLanguageParser.g:8722:1: ( ( ruleUpperMultiplicty ) )
+ // InternalSolverLanguageParser.g:8723:2: ( ruleUpperMultiplicty )
{
- // InternalSolverLanguage.g:8848:2: ( ruleUpperMultiplicty )
- // InternalSolverLanguage.g:8849:3: ruleUpperMultiplicty
+ // InternalSolverLanguageParser.g:8723:2: ( ruleUpperMultiplicty )
+ // InternalSolverLanguageParser.g:8724:3: ruleUpperMultiplicty
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
- }
+ before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleUpperMultiplicty();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
}
@@ -28887,25 +26387,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__LowerBoundAssignment_1"
- // InternalSolverLanguage.g:8858:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8733:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ;
public final void rule__BoundedMultiplicity__LowerBoundAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8862:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:8863:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8737:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8738:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:8863:2: ( RULE_INT )
- // InternalSolverLanguage.g:8864:3: RULE_INT
+ // InternalSolverLanguageParser.g:8738:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8739:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
- }
+ before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
}
@@ -28928,29 +26424,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedMultiplicity__UpperBoundAssignment_3"
- // InternalSolverLanguage.g:8873:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ;
+ // InternalSolverLanguageParser.g:8748:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ;
public final void rule__BoundedMultiplicity__UpperBoundAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8877:1: ( ( ruleUpperMultiplicty ) )
- // InternalSolverLanguage.g:8878:2: ( ruleUpperMultiplicty )
+ // InternalSolverLanguageParser.g:8752:1: ( ( ruleUpperMultiplicty ) )
+ // InternalSolverLanguageParser.g:8753:2: ( ruleUpperMultiplicty )
{
- // InternalSolverLanguage.g:8878:2: ( ruleUpperMultiplicty )
- // InternalSolverLanguage.g:8879:3: ruleUpperMultiplicty
+ // InternalSolverLanguageParser.g:8753:2: ( ruleUpperMultiplicty )
+ // InternalSolverLanguageParser.g:8754:3: ruleUpperMultiplicty
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
- }
+ before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
pushFollow(FOLLOW_2);
ruleUpperMultiplicty();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
- }
+
+ after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
}
@@ -28973,42 +26465,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__TypeAssignment_1"
- // InternalSolverLanguage.g:8888:1: rule__ExactScopeDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8763:1: rule__ExactScopeDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__ExactScopeDefinition__TypeAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8892:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8893:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8767:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8768:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8893:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8894:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8768:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8769:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
- }
- // InternalSolverLanguage.g:8895:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8896:4: ruleQualifiedName
+ before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+ // InternalSolverLanguageParser.g:8770:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8771:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
- }
+ before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
- }
- }
+ after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
}
+ after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+
}
@@ -29030,25 +26514,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ExactScopeDefinition__ExactScopeAssignment_3"
- // InternalSolverLanguage.g:8907:1: rule__ExactScopeDefinition__ExactScopeAssignment_3 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8782:1: rule__ExactScopeDefinition__ExactScopeAssignment_3 : ( RULE_INT ) ;
public final void rule__ExactScopeDefinition__ExactScopeAssignment_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8911:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:8912:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8786:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8787:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:8912:2: ( RULE_INT )
- // InternalSolverLanguage.g:8913:3: RULE_INT
+ // InternalSolverLanguageParser.g:8787:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8788:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
- }
+ before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
}
@@ -29071,25 +26551,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0"
- // InternalSolverLanguage.g:8922:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8797:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ;
public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8926:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:8927:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8801:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8802:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:8927:2: ( RULE_INT )
- // InternalSolverLanguage.g:8928:3: RULE_INT
+ // InternalSolverLanguageParser.g:8802:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8803:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
}
@@ -29112,42 +26588,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_0_1"
- // InternalSolverLanguage.g:8937:1: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8812:1: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ;
public final void rule__BoundedScopeDefinition__TypeAssignment_1_0_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8941:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8942:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8816:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8817:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8942:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8943:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8817:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8818:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
- }
- // InternalSolverLanguage.g:8944:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8945:4: ruleQualifiedName
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
+ // InternalSolverLanguageParser.g:8819:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8820:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1());
- }
- }
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
+
}
@@ -29169,25 +26637,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3"
- // InternalSolverLanguage.g:8956:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8831:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ;
public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8960:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:8961:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8835:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8836:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:8961:2: ( RULE_INT )
- // InternalSolverLanguage.g:8962:3: RULE_INT
+ // InternalSolverLanguageParser.g:8836:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8837:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
}
@@ -29210,25 +26674,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0"
- // InternalSolverLanguage.g:8971:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8846:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ;
public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8975:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:8976:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8850:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8851:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:8976:2: ( RULE_INT )
- // InternalSolverLanguage.g:8977:3: RULE_INT
+ // InternalSolverLanguageParser.g:8851:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8852:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
}
@@ -29251,42 +26711,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_1_2"
- // InternalSolverLanguage.g:8986:1: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8861:1: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ;
public final void rule__BoundedScopeDefinition__TypeAssignment_1_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:8990:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:8991:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8865:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8866:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:8991:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:8992:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8866:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8867:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
- }
- // InternalSolverLanguage.g:8993:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:8994:4: ruleQualifiedName
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
+ // InternalSolverLanguageParser.g:8868:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8869:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1());
- }
- }
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
}
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
+
}
@@ -29308,25 +26760,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1"
- // InternalSolverLanguage.g:9005:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8880:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ;
public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9009:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:9010:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8884:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8885:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:9010:2: ( RULE_INT )
- // InternalSolverLanguage.g:9011:3: RULE_INT
+ // InternalSolverLanguageParser.g:8885:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8886:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
- }
+ before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
}
@@ -29349,25 +26797,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0"
- // InternalSolverLanguage.g:9020:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8895:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ;
public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9024:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:9025:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8899:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8900:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:9025:2: ( RULE_INT )
- // InternalSolverLanguage.g:9026:3: RULE_INT
+ // InternalSolverLanguageParser.g:8900:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8901:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
}
@@ -29390,42 +26834,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2"
- // InternalSolverLanguage.g:9035:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8910:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ;
public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9039:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:9040:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8914:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8915:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:9040:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:9041:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8915:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8916:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
- }
- // InternalSolverLanguage.g:9042:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:9043:4: ruleQualifiedName
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
+ // InternalSolverLanguageParser.g:8917:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8918:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1());
- }
- }
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
+
}
@@ -29447,42 +26883,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0"
- // InternalSolverLanguage.g:9054:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:8929:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ;
public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9058:1: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:9059:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8933:1: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:8934:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:9059:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:9060:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8934:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:8935:3: ( ruleQualifiedName )
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
- }
- // InternalSolverLanguage.g:9061:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:9062:4: ruleQualifiedName
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
+ // InternalSolverLanguageParser.g:8936:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:8937:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1());
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1());
- }
- }
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1());
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
}
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
+
}
@@ -29504,25 +26932,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2"
- // InternalSolverLanguage.g:9073:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ;
+ // InternalSolverLanguageParser.g:8948:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ;
public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9077:1: ( ( RULE_INT ) )
- // InternalSolverLanguage.g:9078:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8952:1: ( ( RULE_INT ) )
+ // InternalSolverLanguageParser.g:8953:2: ( RULE_INT )
{
- // InternalSolverLanguage.g:9078:2: ( RULE_INT )
- // InternalSolverLanguage.g:9079:3: RULE_INT
+ // InternalSolverLanguageParser.g:8953:2: ( RULE_INT )
+ // InternalSolverLanguageParser.g:8954:3: RULE_INT
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
- }
- match(input,RULE_INT,FOLLOW_2); if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
- }
+ before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
+ match(input,RULE_INT,FOLLOW_2);
+ after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
}
@@ -29545,29 +26969,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveDefinition__KindAssignment_0"
- // InternalSolverLanguage.g:9088:1: rule__ObjectiveDefinition__KindAssignment_0 : ( ruleObjectiveKind ) ;
+ // InternalSolverLanguageParser.g:8963:1: rule__ObjectiveDefinition__KindAssignment_0 : ( ruleObjectiveKind ) ;
public final void rule__ObjectiveDefinition__KindAssignment_0() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9092:1: ( ( ruleObjectiveKind ) )
- // InternalSolverLanguage.g:9093:2: ( ruleObjectiveKind )
+ // InternalSolverLanguageParser.g:8967:1: ( ( ruleObjectiveKind ) )
+ // InternalSolverLanguageParser.g:8968:2: ( ruleObjectiveKind )
{
- // InternalSolverLanguage.g:9093:2: ( ruleObjectiveKind )
- // InternalSolverLanguage.g:9094:3: ruleObjectiveKind
+ // InternalSolverLanguageParser.g:8968:2: ( ruleObjectiveKind )
+ // InternalSolverLanguageParser.g:8969:3: ruleObjectiveKind
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
- }
+ before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
pushFollow(FOLLOW_2);
ruleObjectiveKind();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
- }
+
+ after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
}
@@ -29590,29 +27010,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
// $ANTLR start "rule__ObjectiveDefinition__ObjectiveAssignment_1"
- // InternalSolverLanguage.g:9103:1: rule__ObjectiveDefinition__ObjectiveAssignment_1 : ( ruleExpression ) ;
+ // InternalSolverLanguageParser.g:8978:1: rule__ObjectiveDefinition__ObjectiveAssignment_1 : ( ruleExpression ) ;
public final void rule__ObjectiveDefinition__ObjectiveAssignment_1() throws RecognitionException {
int stackSize = keepStackSize();
try {
- // InternalSolverLanguage.g:9107:1: ( ( ruleExpression ) )
- // InternalSolverLanguage.g:9108:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8982:1: ( ( ruleExpression ) )
+ // InternalSolverLanguageParser.g:8983:2: ( ruleExpression )
{
- // InternalSolverLanguage.g:9108:2: ( ruleExpression )
- // InternalSolverLanguage.g:9109:3: ruleExpression
+ // InternalSolverLanguageParser.g:8983:2: ( ruleExpression )
+ // InternalSolverLanguageParser.g:8984:3: ruleExpression
{
- if ( state.backtracking==0 ) {
- before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
- }
+ before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
pushFollow(FOLLOW_2);
ruleExpression();
state._fsp--;
- if (state.failed) return ;
- if ( state.backtracking==0 ) {
- after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
- }
+
+ after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
}
@@ -29637,20 +27053,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
protected DFA2 dfa2 = new DFA2(this);
+ protected DFA9 dfa9 = new DFA9(this);
protected DFA11 dfa11 = new DFA11(this);
protected DFA14 dfa14 = new DFA14(this);
static final String dfa_1s = "\15\uffff";
- static final String dfa_2s = "\1\4\1\uffff\1\5\2\uffff\1\5\7\uffff";
- static final String dfa_3s = "\1\111\1\uffff\1\110\2\uffff\1\22\7\uffff";
+ static final String dfa_2s = "\1\5\1\uffff\1\5\2\uffff\1\36\7\uffff";
+ static final String dfa_3s = "\1\123\1\uffff\1\122\2\uffff\1\122\7\uffff";
static final String dfa_4s = "\1\uffff\1\1\1\uffff\1\2\1\4\1\uffff\1\6\1\10\1\11\1\12\1\3\1\5\1\7";
static final String dfa_5s = "\15\uffff}>";
static final String[] dfa_6s = {
- "\2\1\1\uffff\1\1\2\uffff\1\1\6\uffff\2\6\7\uffff\2\1\1\uffff\15\1\1\2\2\11\3\uffff\1\4\1\5\1\uffff\1\1\5\uffff\1\1\3\uffff\1\1\1\uffff\1\1\2\uffff\2\1\1\7\2\uffff\1\10\1\3\1\7",
+ "\1\3\1\7\1\uffff\2\11\3\uffff\1\1\1\4\1\uffff\1\1\1\uffff\1\5\1\7\2\1\1\2\1\1\1\10\2\uffff\3\1\1\6\1\uffff\1\1\5\uffff\2\1\1\6\4\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\2\1\4\uffff\2\1",
"",
- "\1\3\1\1\1\3\7\uffff\2\1\2\uffff\12\1\20\uffff\3\1\6\uffff\3\1\4\uffff\1\12\12\uffff\1\3",
+ "\1\3\47\uffff\2\1\1\uffff\4\1\3\uffff\1\1\1\uffff\1\12\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\3\3\uffff\1\1\1\3",
"",
"",
- "\1\13\1\uffff\1\13\11\uffff\2\14",
+ "\1\14\11\uffff\1\14\44\uffff\1\13\4\uffff\1\13",
"",
"",
"",
@@ -29681,26 +27098,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
this.transition = dfa_6;
}
public String getDescription() {
- return "1513:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );";
+ return "1586:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );";
}
}
static final String dfa_7s = "\12\uffff";
- static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\11\1\3\1\uffff";
- static final String dfa_9s = "\1\4\2\5\2\uffff\1\7\1\uffff\1\4\1\5\1\uffff";
- static final String dfa_10s = "\1\103\2\76\2\uffff\1\7\1\uffff\1\103\1\76\1\uffff";
- static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\2\uffff\1\4";
+ static final String dfa_8s = "\1\uffff\2\7\6\uffff\1\7";
+ static final String dfa_9s = "\1\20\2\32\3\uffff\1\122\2\uffff\1\32";
+ static final String dfa_10s = "\1\123\2\121\3\uffff\1\122\2\uffff\1\121";
+ static final String dfa_11s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\1\1\2\1\uffff";
static final String dfa_12s = "\12\uffff}>";
static final String[] dfa_13s = {
- "\1\3\1\2\1\uffff\1\1\2\uffff\1\3\5\uffff\1\4\11\uffff\2\3\1\uffff\16\3\16\uffff\1\3\3\uffff\1\3\1\uffff\1\3\2\uffff\2\3",
- "\1\6\1\uffff\1\6\7\uffff\1\3\1\7\2\uffff\12\3\25\uffff\1\5\5\uffff\1\3\4\uffff\2\3",
- "\1\6\1\uffff\1\6\7\uffff\1\3\1\7\2\uffff\12\3\33\uffff\1\3\4\uffff\2\3",
+ "\1\4\4\uffff\3\4\10\uffff\1\4\6\uffff\1\4\21\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4",
+ "\1\7\4\uffff\1\7\15\uffff\7\7\3\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7",
+ "\1\7\4\uffff\1\7\15\uffff\7\7\3\uffff\1\7\1\uffff\1\10\5\7\1\uffff\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7",
"",
"",
- "\1\10",
"",
- "\2\3\1\uffff\1\3\2\uffff\1\3\17\uffff\2\3\1\uffff\16\3\15\uffff\1\11\1\3\3\uffff\1\3\1\11\1\3\2\uffff\2\3",
- "\1\6\1\uffff\1\6\7\uffff\1\3\1\7\2\uffff\12\3\25\uffff\1\5\5\uffff\1\3\4\uffff\2\3",
- ""
+ "\1\11",
+ "",
+ "",
+ "\1\7\4\uffff\1\7\15\uffff\7\7\3\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7"
};
static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s);
@@ -29711,11 +27128,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s);
- class DFA11 extends DFA {
+ class DFA9 extends DFA {
- public DFA11(BaseRecognizer recognizer) {
+ public DFA9(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 11;
+ this.decisionNumber = 9;
this.eot = dfa_7;
this.eof = dfa_8;
this.min = dfa_9;
@@ -29725,117 +27142,156 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP
this.transition = dfa_13;
}
public String getDescription() {
- return "1774:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );";
+ return "1793:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) );";
+ }
+ }
+ static final String dfa_14s = "\1\uffff\2\3\3\uffff\1\11\1\uffff\1\3\1\uffff";
+ static final String dfa_15s = "\1\15\2\55\2\uffff\1\122\1\15\1\uffff\1\55\1\uffff";
+ static final String dfa_16s = "\1\123\2\122\2\uffff\1\122\1\123\1\uffff\1\122\1\uffff";
+ static final String dfa_17s = "\3\uffff\1\1\1\2\2\uffff\1\3\1\uffff\1\4";
+ static final String[] dfa_18s = {
+ "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3",
+ "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7",
+ "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7",
+ "",
+ "",
+ "\1\10",
+ "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3",
+ "",
+ "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7",
+ ""
+ };
+ static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s);
+ static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s);
+ static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s);
+ static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s);
+ static final short[][] dfa_18 = unpackEncodedStringArray(dfa_18s);
+
+ class DFA11 extends DFA {
+
+ public DFA11(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 11;
+ this.eot = dfa_7;
+ this.eof = dfa_14;
+ this.min = dfa_15;
+ this.max = dfa_16;
+ this.accept = dfa_17;
+ this.special = dfa_12;
+ this.transition = dfa_18;
+ }
+ public String getDescription() {
+ return "1853:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );";
}
}
- static final String dfa_14s = "\17\uffff";
- static final String dfa_15s = "\15\uffff\1\6\1\uffff";
- static final String dfa_16s = "\1\107\1\4\2\23\1\26\1\7\3\uffff\1\5\1\23\2\26\1\6\1\26";
- static final String dfa_17s = "\1\107\1\7\1\62\2\30\1\7\3\uffff\1\7\3\62\1\7\1\62";
- static final String dfa_18s = "\6\uffff\1\3\1\2\1\1\6\uffff";
- static final String dfa_19s = "\17\uffff}>";
- static final String[] dfa_20s = {
+ static final String dfa_19s = "\17\uffff";
+ static final String dfa_20s = "\13\uffff\2\7\1\uffff\1\7";
+ static final String dfa_21s = "\1\30\1\115\3\61\1\122\3\uffff\1\115\3\61\1\122\1\61";
+ static final String dfa_22s = "\1\30\1\123\1\77\2\63\1\122\3\uffff\1\122\1\77\2\121\1\122\1\121";
+ static final String dfa_23s = "\6\uffff\1\2\1\3\1\1\6\uffff";
+ static final String dfa_24s = "\17\uffff}>";
+ static final String[] dfa_25s = {
"\1\1",
- "\1\4\1\3\1\uffff\1\2",
- "\1\10\2\uffff\1\7\1\uffff\1\6\31\uffff\1\5",
- "\1\10\2\uffff\1\7\1\uffff\1\6",
- "\1\11\1\uffff\1\7",
+ "\1\3\4\uffff\1\2\1\4",
+ "\1\6\1\10\1\7\13\uffff\1\5",
+ "\1\6\1\10\1\7",
+ "\1\11\1\uffff\1\6",
"\1\12",
"",
"",
"",
- "\1\14\1\uffff\1\13",
- "\1\10\2\uffff\1\7\1\uffff\1\6\31\uffff\1\5",
- "\1\7\33\uffff\1\15",
- "\1\7\33\uffff\1\6",
- "\1\6\1\16",
- "\1\7\33\uffff\1\15"
+ "\1\14\4\uffff\1\13",
+ "\1\6\1\10\1\7\13\uffff\1\5",
+ "\1\6\15\uffff\1\15\21\uffff\1\7",
+ "\1\6\37\uffff\1\7",
+ "\1\16",
+ "\1\6\15\uffff\1\15\21\uffff\1\7"
};
- static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s);
- static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s);
- static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s);
- static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s);
- static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s);
static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s);
- static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s);
+ static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s);
+ static final char[] dfa_21 = DFA.unpackEncodedStringToUnsignedChars(dfa_21s);
+ static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s);
+ static final short[] dfa_23 = DFA.unpackEncodedString(dfa_23s);
+ static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s);
+ static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s);
class DFA14 extends DFA {
public DFA14(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 14;
- this.eot = dfa_14;
- this.eof = dfa_15;
- this.min = dfa_16;
- this.max = dfa_17;
- this.accept = dfa_18;
- this.special = dfa_19;
- this.transition = dfa_20;
+ this.eot = dfa_19;
+ this.eof = dfa_20;
+ this.min = dfa_21;
+ this.max = dfa_22;
+ this.accept = dfa_23;
+ this.special = dfa_24;
+ this.transition = dfa_25;
}
public String getDescription() {
- return "1873:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );";
+ return "1952:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );";
}
}
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xA20B1FFFEC0604B2L,0x000000000000039CL});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000E00000000000L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000200000000000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0xA20807FFEC0004B0L,0x000000000000000CL});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000400000000000L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000000000A0L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x2000000000000000L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0004000000000000L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000800000000000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000060000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0010000000000000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0020000000000000L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x00C0000000000000L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0040000000000000L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0040000000000002L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0080000000000000L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0100000000000000L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0100000000000002L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000003F80000L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x000000000C000000L});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x000000000C000002L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000010010000L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000010010002L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000008000L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0xA20007FE000004B0L,0x000000000000000CL});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0400000000000000L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0800000000000000L});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x1000000000000000L});
- public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x4000000000000000L});
- public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x2000000000000300L});
- public static final BitSet FOLLOW_36 = new BitSet(new long[]{0xE20807FFEC0104B0L,0x000000000000000CL});
- public static final BitSet FOLLOW_37 = new BitSet(new long[]{0xA20807FFEC0104B0L,0x000000000000000CL});
- public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
- public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
- public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000210L});
- public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000000080L});
- public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0400000000000000L,0x0000000000000020L});
- public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x08000000000000A0L,0x0000000000000400L});
- public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x00000000000000A2L,0x0000000000000400L});
- public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x00000000000000A0L,0x0000000000000400L});
- public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x8000000000000080L});
- public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0040000000000000L,0x0000000000000040L});
- public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x8000000000000000L});
- public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000010010L});
- public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x00000000000000B0L});
- public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000400000L});
- public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000001000000L});
- public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0004000000000002L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x53401FC179FD6362L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0001000000000000L,0x0000000000000012L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x53401EC138F12000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0001000000000000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0000000000042000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000400000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0200000000000000L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000010040000000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000400000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000004L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000400000000000L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x2000000000000000L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x2000000000000002L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x008E200000000000L,0x0000000000000028L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x5000000000000000L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x5000000000000002L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0800000000000000L,0x0000000000000001L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0800000000000002L,0x0000000000000001L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x02001AC130F10000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0400000000000000L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0200000000000000L,0x0000000000018000L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x5F401EC138F12000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x5B401EC138F12000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0800000000000000L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000800000000000L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
+ public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200000L});
+ public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000080040L});
+ public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L});
+ public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000008000L,0x0000000000000200L});
+ public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000080L,0x0000000000042800L});
+ public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000000082L,0x0000000000042000L});
+ public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000080L,0x0000000000042000L});
+ public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040040L});
+ public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000000000400L,0x0000000000000004L});
+ public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
+ public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0800000000000000L,0x0000000000080000L});
+ public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L});
+ public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0004000000000000L});
+ public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000000L,0x00000000000C2000L});
+ public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0002000000000000L});
+ public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0008000000000000L});
+ public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x8000000000000000L});
+ public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x8000000000000002L});
}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens
new file mode 100644
index 00000000..81343db5
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens
@@ -0,0 +1,83 @@
+'!'=56
+'!='=45
+'('=57
+')'=58
+'*'=59
+'+'=60
+','=61
+'-'=62
+'->'=46
+'.'=63
+'..'=47
+'/'=64
+':'=65
+':-'=48
+';'=66
+'<'=67
+'<='=49
+'='=68
+'=='=50
+'>'=69
+'>='=51
+'ADD'=33
+'DIV'=34
+'EQ'=52
+'GREATER'=11
+'GREATER_EQ'=4
+'IN'=53
+'LESS'=25
+'LESS_EQ'=12
+'MUL'=35
+'NOT_EQ'=17
+'POW'=36
+'SUB'=37
+'['=70
+']'=71
+'^'=72
+'abstract'=6
+'avg'=38
+'class'=19
+'contains'=7
+'count'=20
+'current'=13
+'default'=14
+'else'=26
+'empty'=21
+'error'=22
+'extends'=15
+'extern'=18
+'false'=23
+'functional'=5
+'if'=54
+'in'=55
+'inf'=39
+'int'=40
+'max'=41
+'maximize'=8
+'may'=42
+'min'=43
+'minimize'=9
+'must'=27
+'only'=28
+'opposite'=10
+'prod'=29
+'real'=30
+'scope'=24
+'sum'=44
+'then'=31
+'true'=32
+'unknown'=16
+'{'=73
+'|'=74
+'}'=75
+RULE_ANY_OTHER=86
+RULE_FULL_STOP=81
+RULE_ID=82
+RULE_INT=83
+RULE_ML_COMMENT=84
+RULE_QUOTED_ID=77
+RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80
+RULE_SL_COMMENT=78
+RULE_STRING=76
+RULE_TRANSITIVE_CLOSURE=79
+RULE_WS=85
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g
new file mode 100644
index 00000000..309435e3
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g
@@ -0,0 +1,178 @@
+/*
+ * generated by Xtext 2.21.0
+ */
+lexer grammar InternalSolverLanguageLexer;
+
+@header {
+package org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
+}
+
+GREATER_EQ : 'GREATER_EQ';
+
+Functional : 'functional';
+
+Abstract : 'abstract';
+
+Contains : 'contains';
+
+Maximize : 'maximize';
+
+Minimize : 'minimize';
+
+Opposite : 'opposite';
+
+GREATER : 'GREATER';
+
+LESS_EQ : 'LESS_EQ';
+
+Current : 'current';
+
+Default : 'default';
+
+Extends : 'extends';
+
+Unknown : 'unknown';
+
+NOT_EQ : 'NOT_EQ';
+
+Extern : 'extern';
+
+Class : 'class';
+
+Count : 'count';
+
+Empty : 'empty';
+
+Error : 'error';
+
+False : 'false';
+
+Scope : 'scope';
+
+LESS : 'LESS';
+
+Else : 'else';
+
+Must : 'must';
+
+Only : 'only';
+
+Prod : 'prod';
+
+Real : 'real';
+
+Then : 'then';
+
+True : 'true';
+
+ADD : 'ADD';
+
+DIV : 'DIV';
+
+MUL : 'MUL';
+
+POW : 'POW';
+
+SUB : 'SUB';
+
+Avg : 'avg';
+
+Inf : 'inf';
+
+Int : 'int';
+
+Max : 'max';
+
+May : 'may';
+
+Min : 'min';
+
+Sum : 'sum';
+
+ExclamationMarkEqualsSign : '!=';
+
+HyphenMinusGreaterThanSign : '->';
+
+FullStopFullStop : '..';
+
+ColonHyphenMinus : ':-';
+
+LessThanSignEqualsSign : '<=';
+
+EqualsSignEqualsSign : '==';
+
+GreaterThanSignEqualsSign : '>=';
+
+EQ : 'EQ';
+
+IN : 'IN';
+
+If : 'if';
+
+In : 'in';
+
+ExclamationMark : '!';
+
+LeftParenthesis : '(';
+
+RightParenthesis : ')';
+
+Asterisk : '*';
+
+PlusSign : '+';
+
+Comma : ',';
+
+HyphenMinus : '-';
+
+FullStop : '.';
+
+Solidus : '/';
+
+Colon : ':';
+
+Semicolon : ';';
+
+LessThanSign : '<';
+
+EqualsSign : '=';
+
+GreaterThanSign : '>';
+
+LeftSquareBracket : '[';
+
+RightSquareBracket : ']';
+
+CircumflexAccent : '^';
+
+LeftCurlyBracket : '{';
+
+VerticalLine : '|';
+
+RightCurlyBracket : '}';
+
+RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"';
+
+RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\'';
+
+RULE_SL_COMMENT : ('%'|'//') ~(('\n'|'\r'))* ('\r'? '\n')?;
+
+fragment RULE_TRANSITIVE_CLOSURE : ;
+
+fragment RULE_REFLEXIVE_TRANSITIVE_CLOSURE : ;
+
+fragment RULE_FULL_STOP : ;
+
+RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
+
+RULE_INT : ('0'..'9')+;
+
+RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
+
+RULE_WS : (' '|'\t'|'\r'|'\n')+;
+
+RULE_ANY_OTHER : .;
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java
new file mode 100644
index 00000000..86514bf5
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java
@@ -0,0 +1,3208 @@
+package org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
+
+
+import org.antlr.runtime.*;
+import java.util.Stack;
+import java.util.List;
+import java.util.ArrayList;
+
+@SuppressWarnings("all")
+public class InternalSolverLanguageLexer extends Lexer {
+ public static final int ADD=33;
+ public static final int True=32;
+ public static final int GREATER_EQ=4;
+ public static final int Count=20;
+ public static final int False=23;
+ public static final int Must=27;
+ public static final int LessThanSign=67;
+ public static final int LeftParenthesis=57;
+ public static final int Unknown=16;
+ public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80;
+ public static final int FullStopFullStop=47;
+ public static final int Real=30;
+ public static final int Then=31;
+ public static final int Extends=15;
+ public static final int RightSquareBracket=71;
+ public static final int ExclamationMark=56;
+ public static final int Opposite=10;
+ public static final int SUB=37;
+ public static final int GreaterThanSign=69;
+ public static final int NOT_EQ=17;
+ public static final int RULE_ID=82;
+ public static final int MUL=35;
+ public static final int IN=53;
+ public static final int RULE_QUOTED_ID=77;
+ public static final int RightParenthesis=58;
+ public static final int Sum=44;
+ public static final int EQ=52;
+ public static final int GreaterThanSignEqualsSign=51;
+ public static final int Functional=5;
+ public static final int EqualsSignEqualsSign=50;
+ public static final int Avg=38;
+ public static final int Min=43;
+ public static final int VerticalLine=74;
+ public static final int PlusSign=60;
+ public static final int RULE_INT=83;
+ public static final int Contains=7;
+ public static final int RULE_ML_COMMENT=84;
+ public static final int POW=36;
+ public static final int RULE_TRANSITIVE_CLOSURE=79;
+ public static final int Class=19;
+ public static final int LESS=25;
+ public static final int LeftSquareBracket=70;
+ public static final int RULE_FULL_STOP=81;
+ public static final int Current=13;
+ public static final int If=54;
+ public static final int Inf=39;
+ public static final int LESS_EQ=12;
+ public static final int May=42;
+ public static final int Max=41;
+ public static final int In=55;
+ public static final int RULE_STRING=76;
+ public static final int Int=40;
+ public static final int Extern=18;
+ public static final int RULE_SL_COMMENT=78;
+ public static final int Prod=29;
+ public static final int Comma=61;
+ public static final int EqualsSign=68;
+ public static final int Empty=21;
+ public static final int HyphenMinus=62;
+ public static final int Maximize=8;
+ public static final int LessThanSignEqualsSign=49;
+ public static final int Solidus=64;
+ public static final int Colon=65;
+ public static final int RightCurlyBracket=75;
+ public static final int EOF=-1;
+ public static final int Asterisk=59;
+ public static final int FullStop=63;
+ public static final int RULE_WS=85;
+ public static final int Abstract=6;
+ public static final int Minimize=9;
+ public static final int GREATER=11;
+ public static final int LeftCurlyBracket=73;
+ public static final int Error=22;
+ public static final int Only=28;
+ public static final int RULE_ANY_OTHER=86;
+ public static final int Default=14;
+ public static final int ColonHyphenMinus=48;
+ public static final int CircumflexAccent=72;
+ public static final int DIV=34;
+ public static final int Semicolon=66;
+ public static final int Scope=24;
+ public static final int Else=26;
+ public static final int ExclamationMarkEqualsSign=45;
+ public static final int HyphenMinusGreaterThanSign=46;
+
+ // delegates
+ // delegators
+
+ public InternalSolverLanguageLexer() {;}
+ public InternalSolverLanguageLexer(CharStream input) {
+ this(input, new RecognizerSharedState());
+ }
+ public InternalSolverLanguageLexer(CharStream input, RecognizerSharedState state) {
+ super(input,state);
+
+ }
+ public String getGrammarFileName() { return "InternalSolverLanguageLexer.g"; }
+
+ // $ANTLR start "GREATER_EQ"
+ public final void mGREATER_EQ() throws RecognitionException {
+ try {
+ int _type = GREATER_EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:14:12: ( 'GREATER_EQ' )
+ // InternalSolverLanguageLexer.g:14:14: 'GREATER_EQ'
+ {
+ match("GREATER_EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GREATER_EQ"
+
+ // $ANTLR start "Functional"
+ public final void mFunctional() throws RecognitionException {
+ try {
+ int _type = Functional;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:16:12: ( 'functional' )
+ // InternalSolverLanguageLexer.g:16:14: 'functional'
+ {
+ match("functional");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Functional"
+
+ // $ANTLR start "Abstract"
+ public final void mAbstract() throws RecognitionException {
+ try {
+ int _type = Abstract;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:18:10: ( 'abstract' )
+ // InternalSolverLanguageLexer.g:18:12: 'abstract'
+ {
+ match("abstract");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Abstract"
+
+ // $ANTLR start "Contains"
+ public final void mContains() throws RecognitionException {
+ try {
+ int _type = Contains;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:20:10: ( 'contains' )
+ // InternalSolverLanguageLexer.g:20:12: 'contains'
+ {
+ match("contains");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Contains"
+
+ // $ANTLR start "Maximize"
+ public final void mMaximize() throws RecognitionException {
+ try {
+ int _type = Maximize;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:22:10: ( 'maximize' )
+ // InternalSolverLanguageLexer.g:22:12: 'maximize'
+ {
+ match("maximize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Maximize"
+
+ // $ANTLR start "Minimize"
+ public final void mMinimize() throws RecognitionException {
+ try {
+ int _type = Minimize;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:24:10: ( 'minimize' )
+ // InternalSolverLanguageLexer.g:24:12: 'minimize'
+ {
+ match("minimize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Minimize"
+
+ // $ANTLR start "Opposite"
+ public final void mOpposite() throws RecognitionException {
+ try {
+ int _type = Opposite;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:26:10: ( 'opposite' )
+ // InternalSolverLanguageLexer.g:26:12: 'opposite'
+ {
+ match("opposite");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Opposite"
+
+ // $ANTLR start "GREATER"
+ public final void mGREATER() throws RecognitionException {
+ try {
+ int _type = GREATER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:28:9: ( 'GREATER' )
+ // InternalSolverLanguageLexer.g:28:11: 'GREATER'
+ {
+ match("GREATER");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GREATER"
+
+ // $ANTLR start "LESS_EQ"
+ public final void mLESS_EQ() throws RecognitionException {
+ try {
+ int _type = LESS_EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:30:9: ( 'LESS_EQ' )
+ // InternalSolverLanguageLexer.g:30:11: 'LESS_EQ'
+ {
+ match("LESS_EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LESS_EQ"
+
+ // $ANTLR start "Current"
+ public final void mCurrent() throws RecognitionException {
+ try {
+ int _type = Current;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:32:9: ( 'current' )
+ // InternalSolverLanguageLexer.g:32:11: 'current'
+ {
+ match("current");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Current"
+
+ // $ANTLR start "Default"
+ public final void mDefault() throws RecognitionException {
+ try {
+ int _type = Default;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:34:9: ( 'default' )
+ // InternalSolverLanguageLexer.g:34:11: 'default'
+ {
+ match("default");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Default"
+
+ // $ANTLR start "Extends"
+ public final void mExtends() throws RecognitionException {
+ try {
+ int _type = Extends;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:36:9: ( 'extends' )
+ // InternalSolverLanguageLexer.g:36:11: 'extends'
+ {
+ match("extends");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Extends"
+
+ // $ANTLR start "Unknown"
+ public final void mUnknown() throws RecognitionException {
+ try {
+ int _type = Unknown;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:38:9: ( 'unknown' )
+ // InternalSolverLanguageLexer.g:38:11: 'unknown'
+ {
+ match("unknown");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Unknown"
+
+ // $ANTLR start "NOT_EQ"
+ public final void mNOT_EQ() throws RecognitionException {
+ try {
+ int _type = NOT_EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:40:8: ( 'NOT_EQ' )
+ // InternalSolverLanguageLexer.g:40:10: 'NOT_EQ'
+ {
+ match("NOT_EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "NOT_EQ"
+
+ // $ANTLR start "Extern"
+ public final void mExtern() throws RecognitionException {
+ try {
+ int _type = Extern;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:42:8: ( 'extern' )
+ // InternalSolverLanguageLexer.g:42:10: 'extern'
+ {
+ match("extern");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Extern"
+
+ // $ANTLR start "Class"
+ public final void mClass() throws RecognitionException {
+ try {
+ int _type = Class;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:44:7: ( 'class' )
+ // InternalSolverLanguageLexer.g:44:9: 'class'
+ {
+ match("class");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Class"
+
+ // $ANTLR start "Count"
+ public final void mCount() throws RecognitionException {
+ try {
+ int _type = Count;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:46:7: ( 'count' )
+ // InternalSolverLanguageLexer.g:46:9: 'count'
+ {
+ match("count");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Count"
+
+ // $ANTLR start "Empty"
+ public final void mEmpty() throws RecognitionException {
+ try {
+ int _type = Empty;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:48:7: ( 'empty' )
+ // InternalSolverLanguageLexer.g:48:9: 'empty'
+ {
+ match("empty");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Empty"
+
+ // $ANTLR start "Error"
+ public final void mError() throws RecognitionException {
+ try {
+ int _type = Error;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:50:7: ( 'error' )
+ // InternalSolverLanguageLexer.g:50:9: 'error'
+ {
+ match("error");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Error"
+
+ // $ANTLR start "False"
+ public final void mFalse() throws RecognitionException {
+ try {
+ int _type = False;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:52:7: ( 'false' )
+ // InternalSolverLanguageLexer.g:52:9: 'false'
+ {
+ match("false");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "False"
+
+ // $ANTLR start "Scope"
+ public final void mScope() throws RecognitionException {
+ try {
+ int _type = Scope;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:54:7: ( 'scope' )
+ // InternalSolverLanguageLexer.g:54:9: 'scope'
+ {
+ match("scope");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Scope"
+
+ // $ANTLR start "LESS"
+ public final void mLESS() throws RecognitionException {
+ try {
+ int _type = LESS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:56:6: ( 'LESS' )
+ // InternalSolverLanguageLexer.g:56:8: 'LESS'
+ {
+ match("LESS");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LESS"
+
+ // $ANTLR start "Else"
+ public final void mElse() throws RecognitionException {
+ try {
+ int _type = Else;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:58:6: ( 'else' )
+ // InternalSolverLanguageLexer.g:58:8: 'else'
+ {
+ match("else");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Else"
+
+ // $ANTLR start "Must"
+ public final void mMust() throws RecognitionException {
+ try {
+ int _type = Must;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:60:6: ( 'must' )
+ // InternalSolverLanguageLexer.g:60:8: 'must'
+ {
+ match("must");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Must"
+
+ // $ANTLR start "Only"
+ public final void mOnly() throws RecognitionException {
+ try {
+ int _type = Only;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:62:6: ( 'only' )
+ // InternalSolverLanguageLexer.g:62:8: 'only'
+ {
+ match("only");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Only"
+
+ // $ANTLR start "Prod"
+ public final void mProd() throws RecognitionException {
+ try {
+ int _type = Prod;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:64:6: ( 'prod' )
+ // InternalSolverLanguageLexer.g:64:8: 'prod'
+ {
+ match("prod");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Prod"
+
+ // $ANTLR start "Real"
+ public final void mReal() throws RecognitionException {
+ try {
+ int _type = Real;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:66:6: ( 'real' )
+ // InternalSolverLanguageLexer.g:66:8: 'real'
+ {
+ match("real");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Real"
+
+ // $ANTLR start "Then"
+ public final void mThen() throws RecognitionException {
+ try {
+ int _type = Then;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:68:6: ( 'then' )
+ // InternalSolverLanguageLexer.g:68:8: 'then'
+ {
+ match("then");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Then"
+
+ // $ANTLR start "True"
+ public final void mTrue() throws RecognitionException {
+ try {
+ int _type = True;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:70:6: ( 'true' )
+ // InternalSolverLanguageLexer.g:70:8: 'true'
+ {
+ match("true");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "True"
+
+ // $ANTLR start "ADD"
+ public final void mADD() throws RecognitionException {
+ try {
+ int _type = ADD;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:72:5: ( 'ADD' )
+ // InternalSolverLanguageLexer.g:72:7: 'ADD'
+ {
+ match("ADD");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ADD"
+
+ // $ANTLR start "DIV"
+ public final void mDIV() throws RecognitionException {
+ try {
+ int _type = DIV;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:74:5: ( 'DIV' )
+ // InternalSolverLanguageLexer.g:74:7: 'DIV'
+ {
+ match("DIV");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "DIV"
+
+ // $ANTLR start "MUL"
+ public final void mMUL() throws RecognitionException {
+ try {
+ int _type = MUL;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:76:5: ( 'MUL' )
+ // InternalSolverLanguageLexer.g:76:7: 'MUL'
+ {
+ match("MUL");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "MUL"
+
+ // $ANTLR start "POW"
+ public final void mPOW() throws RecognitionException {
+ try {
+ int _type = POW;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:78:5: ( 'POW' )
+ // InternalSolverLanguageLexer.g:78:7: 'POW'
+ {
+ match("POW");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "POW"
+
+ // $ANTLR start "SUB"
+ public final void mSUB() throws RecognitionException {
+ try {
+ int _type = SUB;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:80:5: ( 'SUB' )
+ // InternalSolverLanguageLexer.g:80:7: 'SUB'
+ {
+ match("SUB");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "SUB"
+
+ // $ANTLR start "Avg"
+ public final void mAvg() throws RecognitionException {
+ try {
+ int _type = Avg;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:82:5: ( 'avg' )
+ // InternalSolverLanguageLexer.g:82:7: 'avg'
+ {
+ match("avg");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Avg"
+
+ // $ANTLR start "Inf"
+ public final void mInf() throws RecognitionException {
+ try {
+ int _type = Inf;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:84:5: ( 'inf' )
+ // InternalSolverLanguageLexer.g:84:7: 'inf'
+ {
+ match("inf");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Inf"
+
+ // $ANTLR start "Int"
+ public final void mInt() throws RecognitionException {
+ try {
+ int _type = Int;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:86:5: ( 'int' )
+ // InternalSolverLanguageLexer.g:86:7: 'int'
+ {
+ match("int");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Int"
+
+ // $ANTLR start "Max"
+ public final void mMax() throws RecognitionException {
+ try {
+ int _type = Max;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:88:5: ( 'max' )
+ // InternalSolverLanguageLexer.g:88:7: 'max'
+ {
+ match("max");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Max"
+
+ // $ANTLR start "May"
+ public final void mMay() throws RecognitionException {
+ try {
+ int _type = May;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:90:5: ( 'may' )
+ // InternalSolverLanguageLexer.g:90:7: 'may'
+ {
+ match("may");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "May"
+
+ // $ANTLR start "Min"
+ public final void mMin() throws RecognitionException {
+ try {
+ int _type = Min;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:92:5: ( 'min' )
+ // InternalSolverLanguageLexer.g:92:7: 'min'
+ {
+ match("min");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Min"
+
+ // $ANTLR start "Sum"
+ public final void mSum() throws RecognitionException {
+ try {
+ int _type = Sum;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:94:5: ( 'sum' )
+ // InternalSolverLanguageLexer.g:94:7: 'sum'
+ {
+ match("sum");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Sum"
+
+ // $ANTLR start "ExclamationMarkEqualsSign"
+ public final void mExclamationMarkEqualsSign() throws RecognitionException {
+ try {
+ int _type = ExclamationMarkEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:96:27: ( '!=' )
+ // InternalSolverLanguageLexer.g:96:29: '!='
+ {
+ match("!=");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ExclamationMarkEqualsSign"
+
+ // $ANTLR start "HyphenMinusGreaterThanSign"
+ public final void mHyphenMinusGreaterThanSign() throws RecognitionException {
+ try {
+ int _type = HyphenMinusGreaterThanSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:98:28: ( '->' )
+ // InternalSolverLanguageLexer.g:98:30: '->'
+ {
+ match("->");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "HyphenMinusGreaterThanSign"
+
+ // $ANTLR start "FullStopFullStop"
+ public final void mFullStopFullStop() throws RecognitionException {
+ try {
+ int _type = FullStopFullStop;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:100:18: ( '..' )
+ // InternalSolverLanguageLexer.g:100:20: '..'
+ {
+ match("..");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "FullStopFullStop"
+
+ // $ANTLR start "ColonHyphenMinus"
+ public final void mColonHyphenMinus() throws RecognitionException {
+ try {
+ int _type = ColonHyphenMinus;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:102:18: ( ':-' )
+ // InternalSolverLanguageLexer.g:102:20: ':-'
+ {
+ match(":-");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ColonHyphenMinus"
+
+ // $ANTLR start "LessThanSignEqualsSign"
+ public final void mLessThanSignEqualsSign() throws RecognitionException {
+ try {
+ int _type = LessThanSignEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:104:24: ( '<=' )
+ // InternalSolverLanguageLexer.g:104:26: '<='
+ {
+ match("<=");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LessThanSignEqualsSign"
+
+ // $ANTLR start "EqualsSignEqualsSign"
+ public final void mEqualsSignEqualsSign() throws RecognitionException {
+ try {
+ int _type = EqualsSignEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:106:22: ( '==' )
+ // InternalSolverLanguageLexer.g:106:24: '=='
+ {
+ match("==");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "EqualsSignEqualsSign"
+
+ // $ANTLR start "GreaterThanSignEqualsSign"
+ public final void mGreaterThanSignEqualsSign() throws RecognitionException {
+ try {
+ int _type = GreaterThanSignEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:108:27: ( '>=' )
+ // InternalSolverLanguageLexer.g:108:29: '>='
+ {
+ match(">=");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GreaterThanSignEqualsSign"
+
+ // $ANTLR start "EQ"
+ public final void mEQ() throws RecognitionException {
+ try {
+ int _type = EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:110:4: ( 'EQ' )
+ // InternalSolverLanguageLexer.g:110:6: 'EQ'
+ {
+ match("EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "EQ"
+
+ // $ANTLR start "IN"
+ public final void mIN() throws RecognitionException {
+ try {
+ int _type = IN;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:112:4: ( 'IN' )
+ // InternalSolverLanguageLexer.g:112:6: 'IN'
+ {
+ match("IN");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "IN"
+
+ // $ANTLR start "If"
+ public final void mIf() throws RecognitionException {
+ try {
+ int _type = If;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:114:4: ( 'if' )
+ // InternalSolverLanguageLexer.g:114:6: 'if'
+ {
+ match("if");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "If"
+
+ // $ANTLR start "In"
+ public final void mIn() throws RecognitionException {
+ try {
+ int _type = In;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:116:4: ( 'in' )
+ // InternalSolverLanguageLexer.g:116:6: 'in'
+ {
+ match("in");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "In"
+
+ // $ANTLR start "ExclamationMark"
+ public final void mExclamationMark() throws RecognitionException {
+ try {
+ int _type = ExclamationMark;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:118:17: ( '!' )
+ // InternalSolverLanguageLexer.g:118:19: '!'
+ {
+ match('!');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ExclamationMark"
+
+ // $ANTLR start "LeftParenthesis"
+ public final void mLeftParenthesis() throws RecognitionException {
+ try {
+ int _type = LeftParenthesis;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:120:17: ( '(' )
+ // InternalSolverLanguageLexer.g:120:19: '('
+ {
+ match('(');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LeftParenthesis"
+
+ // $ANTLR start "RightParenthesis"
+ public final void mRightParenthesis() throws RecognitionException {
+ try {
+ int _type = RightParenthesis;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:122:18: ( ')' )
+ // InternalSolverLanguageLexer.g:122:20: ')'
+ {
+ match(')');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RightParenthesis"
+
+ // $ANTLR start "Asterisk"
+ public final void mAsterisk() throws RecognitionException {
+ try {
+ int _type = Asterisk;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:124:10: ( '*' )
+ // InternalSolverLanguageLexer.g:124:12: '*'
+ {
+ match('*');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Asterisk"
+
+ // $ANTLR start "PlusSign"
+ public final void mPlusSign() throws RecognitionException {
+ try {
+ int _type = PlusSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:126:10: ( '+' )
+ // InternalSolverLanguageLexer.g:126:12: '+'
+ {
+ match('+');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "PlusSign"
+
+ // $ANTLR start "Comma"
+ public final void mComma() throws RecognitionException {
+ try {
+ int _type = Comma;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:128:7: ( ',' )
+ // InternalSolverLanguageLexer.g:128:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Comma"
+
+ // $ANTLR start "HyphenMinus"
+ public final void mHyphenMinus() throws RecognitionException {
+ try {
+ int _type = HyphenMinus;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:130:13: ( '-' )
+ // InternalSolverLanguageLexer.g:130:15: '-'
+ {
+ match('-');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "HyphenMinus"
+
+ // $ANTLR start "FullStop"
+ public final void mFullStop() throws RecognitionException {
+ try {
+ int _type = FullStop;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:132:10: ( '.' )
+ // InternalSolverLanguageLexer.g:132:12: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "FullStop"
+
+ // $ANTLR start "Solidus"
+ public final void mSolidus() throws RecognitionException {
+ try {
+ int _type = Solidus;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:134:9: ( '/' )
+ // InternalSolverLanguageLexer.g:134:11: '/'
+ {
+ match('/');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Solidus"
+
+ // $ANTLR start "Colon"
+ public final void mColon() throws RecognitionException {
+ try {
+ int _type = Colon;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:136:7: ( ':' )
+ // InternalSolverLanguageLexer.g:136:9: ':'
+ {
+ match(':');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Colon"
+
+ // $ANTLR start "Semicolon"
+ public final void mSemicolon() throws RecognitionException {
+ try {
+ int _type = Semicolon;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:138:11: ( ';' )
+ // InternalSolverLanguageLexer.g:138:13: ';'
+ {
+ match(';');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Semicolon"
+
+ // $ANTLR start "LessThanSign"
+ public final void mLessThanSign() throws RecognitionException {
+ try {
+ int _type = LessThanSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:140:14: ( '<' )
+ // InternalSolverLanguageLexer.g:140:16: '<'
+ {
+ match('<');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LessThanSign"
+
+ // $ANTLR start "EqualsSign"
+ public final void mEqualsSign() throws RecognitionException {
+ try {
+ int _type = EqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:142:12: ( '=' )
+ // InternalSolverLanguageLexer.g:142:14: '='
+ {
+ match('=');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "EqualsSign"
+
+ // $ANTLR start "GreaterThanSign"
+ public final void mGreaterThanSign() throws RecognitionException {
+ try {
+ int _type = GreaterThanSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:144:17: ( '>' )
+ // InternalSolverLanguageLexer.g:144:19: '>'
+ {
+ match('>');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GreaterThanSign"
+
+ // $ANTLR start "LeftSquareBracket"
+ public final void mLeftSquareBracket() throws RecognitionException {
+ try {
+ int _type = LeftSquareBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:146:19: ( '[' )
+ // InternalSolverLanguageLexer.g:146:21: '['
+ {
+ match('[');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LeftSquareBracket"
+
+ // $ANTLR start "RightSquareBracket"
+ public final void mRightSquareBracket() throws RecognitionException {
+ try {
+ int _type = RightSquareBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:148:20: ( ']' )
+ // InternalSolverLanguageLexer.g:148:22: ']'
+ {
+ match(']');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RightSquareBracket"
+
+ // $ANTLR start "CircumflexAccent"
+ public final void mCircumflexAccent() throws RecognitionException {
+ try {
+ int _type = CircumflexAccent;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:150:18: ( '^' )
+ // InternalSolverLanguageLexer.g:150:20: '^'
+ {
+ match('^');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "CircumflexAccent"
+
+ // $ANTLR start "LeftCurlyBracket"
+ public final void mLeftCurlyBracket() throws RecognitionException {
+ try {
+ int _type = LeftCurlyBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:152:18: ( '{' )
+ // InternalSolverLanguageLexer.g:152:20: '{'
+ {
+ match('{');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LeftCurlyBracket"
+
+ // $ANTLR start "VerticalLine"
+ public final void mVerticalLine() throws RecognitionException {
+ try {
+ int _type = VerticalLine;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:154:14: ( '|' )
+ // InternalSolverLanguageLexer.g:154:16: '|'
+ {
+ match('|');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "VerticalLine"
+
+ // $ANTLR start "RightCurlyBracket"
+ public final void mRightCurlyBracket() throws RecognitionException {
+ try {
+ int _type = RightCurlyBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:156:19: ( '}' )
+ // InternalSolverLanguageLexer.g:156:21: '}'
+ {
+ match('}');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RightCurlyBracket"
+
+ // $ANTLR start "RULE_STRING"
+ public final void mRULE_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:158:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalSolverLanguageLexer.g:158:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ {
+ match('\"');
+ // InternalSolverLanguageLexer.g:158:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop1:
+ do {
+ int alt1=3;
+ int LA1_0 = input.LA(1);
+
+ if ( (LA1_0=='\\') ) {
+ alt1=1;
+ }
+ else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) {
+ alt1=2;
+ }
+
+
+ switch (alt1) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:158:20: '\\\\' .
+ {
+ match('\\');
+ matchAny();
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:158:27: ~ ( ( '\\\\' | '\"' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop1;
+ }
+ } while (true);
+
+ match('\"');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_STRING"
+
+ // $ANTLR start "RULE_QUOTED_ID"
+ public final void mRULE_QUOTED_ID() throws RecognitionException {
+ try {
+ int _type = RULE_QUOTED_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:160:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalSolverLanguageLexer.g:160:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ {
+ match('\'');
+ // InternalSolverLanguageLexer.g:160:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
+ loop2:
+ do {
+ int alt2=3;
+ int LA2_0 = input.LA(1);
+
+ if ( (LA2_0=='\\') ) {
+ alt2=1;
+ }
+ else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) {
+ alt2=2;
+ }
+
+
+ switch (alt2) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:160:24: '\\\\' .
+ {
+ match('\\');
+ matchAny();
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:160:31: ~ ( ( '\\\\' | '\\'' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop2;
+ }
+ } while (true);
+
+ match('\'');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_QUOTED_ID"
+
+ // $ANTLR start "RULE_SL_COMMENT"
+ public final void mRULE_SL_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_SL_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:162:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ {
+ // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' )
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( (LA3_0=='%') ) {
+ alt3=1;
+ }
+ else if ( (LA3_0=='/') ) {
+ alt3=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 3, 0, input);
+
+ throw nvae;
+ }
+ switch (alt3) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:20: '%'
+ {
+ match('%');
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:162:24: '//'
+ {
+ match("//");
+
+
+ }
+ break;
+
+ }
+
+ // InternalSolverLanguageLexer.g:162:30: (~ ( ( '\\n' | '\\r' ) ) )*
+ loop4:
+ do {
+ int alt4=2;
+ int LA4_0 = input.LA(1);
+
+ if ( ((LA4_0>='\u0000' && LA4_0<='\t')||(LA4_0>='\u000B' && LA4_0<='\f')||(LA4_0>='\u000E' && LA4_0<='\uFFFF')) ) {
+ alt4=1;
+ }
+
+
+ switch (alt4) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:30: ~ ( ( '\\n' | '\\r' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop4;
+ }
+ } while (true);
+
+ // InternalSolverLanguageLexer.g:162:46: ( ( '\\r' )? '\\n' )?
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0=='\n'||LA6_0=='\r') ) {
+ alt6=1;
+ }
+ switch (alt6) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:47: ( '\\r' )? '\\n'
+ {
+ // InternalSolverLanguageLexer.g:162:47: ( '\\r' )?
+ int alt5=2;
+ int LA5_0 = input.LA(1);
+
+ if ( (LA5_0=='\r') ) {
+ alt5=1;
+ }
+ switch (alt5) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:47: '\\r'
+ {
+ match('\r');
+
+ }
+ break;
+
+ }
+
+ match('\n');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_SL_COMMENT"
+
+ // $ANTLR start "RULE_TRANSITIVE_CLOSURE"
+ public final void mRULE_TRANSITIVE_CLOSURE() throws RecognitionException {
+ try {
+ // InternalSolverLanguageLexer.g:164:34: ()
+ // InternalSolverLanguageLexer.g:164:36:
+ {
+ }
+
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_TRANSITIVE_CLOSURE"
+
+ // $ANTLR start "RULE_REFLEXIVE_TRANSITIVE_CLOSURE"
+ public final void mRULE_REFLEXIVE_TRANSITIVE_CLOSURE() throws RecognitionException {
+ try {
+ // InternalSolverLanguageLexer.g:166:44: ()
+ // InternalSolverLanguageLexer.g:166:46:
+ {
+ }
+
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_REFLEXIVE_TRANSITIVE_CLOSURE"
+
+ // $ANTLR start "RULE_FULL_STOP"
+ public final void mRULE_FULL_STOP() throws RecognitionException {
+ try {
+ // InternalSolverLanguageLexer.g:168:25: ()
+ // InternalSolverLanguageLexer.g:168:27:
+ {
+ }
+
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_FULL_STOP"
+
+ // $ANTLR start "RULE_ID"
+ public final void mRULE_ID() throws RecognitionException {
+ try {
+ int _type = RULE_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:170:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalSolverLanguageLexer.g:170:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ {
+ // InternalSolverLanguageLexer.g:170:11: ( '^' )?
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( (LA7_0=='^') ) {
+ alt7=1;
+ }
+ switch (alt7) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:170:11: '^'
+ {
+ match('^');
+
+ }
+ break;
+
+ }
+
+ if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+ // InternalSolverLanguageLexer.g:170:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {
+ alt8=1;
+ }
+
+
+ switch (alt8) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:
+ {
+ if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ID"
+
+ // $ANTLR start "RULE_INT"
+ public final void mRULE_INT() throws RecognitionException {
+ try {
+ int _type = RULE_INT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:172:10: ( ( '0' .. '9' )+ )
+ // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+
+ {
+ // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+
+ int cnt9=0;
+ loop9:
+ do {
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+
+ if ( ((LA9_0>='0' && LA9_0<='9')) ) {
+ alt9=1;
+ }
+
+
+ switch (alt9) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:172:13: '0' .. '9'
+ {
+ matchRange('0','9');
+
+ }
+ break;
+
+ default :
+ if ( cnt9 >= 1 ) break loop9;
+ EarlyExitException eee =
+ new EarlyExitException(9, input);
+ throw eee;
+ }
+ cnt9++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_INT"
+
+ // $ANTLR start "RULE_ML_COMMENT"
+ public final void mRULE_ML_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_ML_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:174:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalSolverLanguageLexer.g:174:19: '/*' ( options {greedy=false; } : . )* '*/'
+ {
+ match("/*");
+
+ // InternalSolverLanguageLexer.g:174:24: ( options {greedy=false; } : . )*
+ loop10:
+ do {
+ int alt10=2;
+ int LA10_0 = input.LA(1);
+
+ if ( (LA10_0=='*') ) {
+ int LA10_1 = input.LA(2);
+
+ if ( (LA10_1=='/') ) {
+ alt10=2;
+ }
+ else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) {
+ alt10=1;
+ }
+
+
+ }
+ else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) {
+ alt10=1;
+ }
+
+
+ switch (alt10) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:174:52: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default :
+ break loop10;
+ }
+ } while (true);
+
+ match("*/");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ML_COMMENT"
+
+ // $ANTLR start "RULE_WS"
+ public final void mRULE_WS() throws RecognitionException {
+ try {
+ int _type = RULE_WS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:176:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ {
+ // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt11=0;
+ loop11:
+ do {
+ int alt11=2;
+ int LA11_0 = input.LA(1);
+
+ if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {
+ alt11=1;
+ }
+
+
+ switch (alt11) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:
+ {
+ if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ if ( cnt11 >= 1 ) break loop11;
+ EarlyExitException eee =
+ new EarlyExitException(11, input);
+ throw eee;
+ }
+ cnt11++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_WS"
+
+ // $ANTLR start "RULE_ANY_OTHER"
+ public final void mRULE_ANY_OTHER() throws RecognitionException {
+ try {
+ int _type = RULE_ANY_OTHER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:178:16: ( . )
+ // InternalSolverLanguageLexer.g:178:18: .
+ {
+ matchAny();
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ANY_OTHER"
+
+ public void mTokens() throws RecognitionException {
+ // InternalSolverLanguageLexer.g:1:8: ( GREATER_EQ | Functional | Abstract | Contains | Maximize | Minimize | Opposite | GREATER | LESS_EQ | Current | Default | Extends | Unknown | NOT_EQ | Extern | Class | Count | Empty | Error | False | Scope | LESS | Else | Must | Only | Prod | Real | Then | True | ADD | DIV | MUL | POW | SUB | Avg | Inf | Int | Max | May | Min | Sum | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | GreaterThanSignEqualsSign | EQ | IN | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt12=80;
+ alt12 = dfa12.predict(input);
+ switch (alt12) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:1:10: GREATER_EQ
+ {
+ mGREATER_EQ();
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:1:21: Functional
+ {
+ mFunctional();
+
+ }
+ break;
+ case 3 :
+ // InternalSolverLanguageLexer.g:1:32: Abstract
+ {
+ mAbstract();
+
+ }
+ break;
+ case 4 :
+ // InternalSolverLanguageLexer.g:1:41: Contains
+ {
+ mContains();
+
+ }
+ break;
+ case 5 :
+ // InternalSolverLanguageLexer.g:1:50: Maximize
+ {
+ mMaximize();
+
+ }
+ break;
+ case 6 :
+ // InternalSolverLanguageLexer.g:1:59: Minimize
+ {
+ mMinimize();
+
+ }
+ break;
+ case 7 :
+ // InternalSolverLanguageLexer.g:1:68: Opposite
+ {
+ mOpposite();
+
+ }
+ break;
+ case 8 :
+ // InternalSolverLanguageLexer.g:1:77: GREATER
+ {
+ mGREATER();
+
+ }
+ break;
+ case 9 :
+ // InternalSolverLanguageLexer.g:1:85: LESS_EQ
+ {
+ mLESS_EQ();
+
+ }
+ break;
+ case 10 :
+ // InternalSolverLanguageLexer.g:1:93: Current
+ {
+ mCurrent();
+
+ }
+ break;
+ case 11 :
+ // InternalSolverLanguageLexer.g:1:101: Default
+ {
+ mDefault();
+
+ }
+ break;
+ case 12 :
+ // InternalSolverLanguageLexer.g:1:109: Extends
+ {
+ mExtends();
+
+ }
+ break;
+ case 13 :
+ // InternalSolverLanguageLexer.g:1:117: Unknown
+ {
+ mUnknown();
+
+ }
+ break;
+ case 14 :
+ // InternalSolverLanguageLexer.g:1:125: NOT_EQ
+ {
+ mNOT_EQ();
+
+ }
+ break;
+ case 15 :
+ // InternalSolverLanguageLexer.g:1:132: Extern
+ {
+ mExtern();
+
+ }
+ break;
+ case 16 :
+ // InternalSolverLanguageLexer.g:1:139: Class
+ {
+ mClass();
+
+ }
+ break;
+ case 17 :
+ // InternalSolverLanguageLexer.g:1:145: Count
+ {
+ mCount();
+
+ }
+ break;
+ case 18 :
+ // InternalSolverLanguageLexer.g:1:151: Empty
+ {
+ mEmpty();
+
+ }
+ break;
+ case 19 :
+ // InternalSolverLanguageLexer.g:1:157: Error
+ {
+ mError();
+
+ }
+ break;
+ case 20 :
+ // InternalSolverLanguageLexer.g:1:163: False
+ {
+ mFalse();
+
+ }
+ break;
+ case 21 :
+ // InternalSolverLanguageLexer.g:1:169: Scope
+ {
+ mScope();
+
+ }
+ break;
+ case 22 :
+ // InternalSolverLanguageLexer.g:1:175: LESS
+ {
+ mLESS();
+
+ }
+ break;
+ case 23 :
+ // InternalSolverLanguageLexer.g:1:180: Else
+ {
+ mElse();
+
+ }
+ break;
+ case 24 :
+ // InternalSolverLanguageLexer.g:1:185: Must
+ {
+ mMust();
+
+ }
+ break;
+ case 25 :
+ // InternalSolverLanguageLexer.g:1:190: Only
+ {
+ mOnly();
+
+ }
+ break;
+ case 26 :
+ // InternalSolverLanguageLexer.g:1:195: Prod
+ {
+ mProd();
+
+ }
+ break;
+ case 27 :
+ // InternalSolverLanguageLexer.g:1:200: Real
+ {
+ mReal();
+
+ }
+ break;
+ case 28 :
+ // InternalSolverLanguageLexer.g:1:205: Then
+ {
+ mThen();
+
+ }
+ break;
+ case 29 :
+ // InternalSolverLanguageLexer.g:1:210: True
+ {
+ mTrue();
+
+ }
+ break;
+ case 30 :
+ // InternalSolverLanguageLexer.g:1:215: ADD
+ {
+ mADD();
+
+ }
+ break;
+ case 31 :
+ // InternalSolverLanguageLexer.g:1:219: DIV
+ {
+ mDIV();
+
+ }
+ break;
+ case 32 :
+ // InternalSolverLanguageLexer.g:1:223: MUL
+ {
+ mMUL();
+
+ }
+ break;
+ case 33 :
+ // InternalSolverLanguageLexer.g:1:227: POW
+ {
+ mPOW();
+
+ }
+ break;
+ case 34 :
+ // InternalSolverLanguageLexer.g:1:231: SUB
+ {
+ mSUB();
+
+ }
+ break;
+ case 35 :
+ // InternalSolverLanguageLexer.g:1:235: Avg
+ {
+ mAvg();
+
+ }
+ break;
+ case 36 :
+ // InternalSolverLanguageLexer.g:1:239: Inf
+ {
+ mInf();
+
+ }
+ break;
+ case 37 :
+ // InternalSolverLanguageLexer.g:1:243: Int
+ {
+ mInt();
+
+ }
+ break;
+ case 38 :
+ // InternalSolverLanguageLexer.g:1:247: Max
+ {
+ mMax();
+
+ }
+ break;
+ case 39 :
+ // InternalSolverLanguageLexer.g:1:251: May
+ {
+ mMay();
+
+ }
+ break;
+ case 40 :
+ // InternalSolverLanguageLexer.g:1:255: Min
+ {
+ mMin();
+
+ }
+ break;
+ case 41 :
+ // InternalSolverLanguageLexer.g:1:259: Sum
+ {
+ mSum();
+
+ }
+ break;
+ case 42 :
+ // InternalSolverLanguageLexer.g:1:263: ExclamationMarkEqualsSign
+ {
+ mExclamationMarkEqualsSign();
+
+ }
+ break;
+ case 43 :
+ // InternalSolverLanguageLexer.g:1:289: HyphenMinusGreaterThanSign
+ {
+ mHyphenMinusGreaterThanSign();
+
+ }
+ break;
+ case 44 :
+ // InternalSolverLanguageLexer.g:1:316: FullStopFullStop
+ {
+ mFullStopFullStop();
+
+ }
+ break;
+ case 45 :
+ // InternalSolverLanguageLexer.g:1:333: ColonHyphenMinus
+ {
+ mColonHyphenMinus();
+
+ }
+ break;
+ case 46 :
+ // InternalSolverLanguageLexer.g:1:350: LessThanSignEqualsSign
+ {
+ mLessThanSignEqualsSign();
+
+ }
+ break;
+ case 47 :
+ // InternalSolverLanguageLexer.g:1:373: EqualsSignEqualsSign
+ {
+ mEqualsSignEqualsSign();
+
+ }
+ break;
+ case 48 :
+ // InternalSolverLanguageLexer.g:1:394: GreaterThanSignEqualsSign
+ {
+ mGreaterThanSignEqualsSign();
+
+ }
+ break;
+ case 49 :
+ // InternalSolverLanguageLexer.g:1:420: EQ
+ {
+ mEQ();
+
+ }
+ break;
+ case 50 :
+ // InternalSolverLanguageLexer.g:1:423: IN
+ {
+ mIN();
+
+ }
+ break;
+ case 51 :
+ // InternalSolverLanguageLexer.g:1:426: If
+ {
+ mIf();
+
+ }
+ break;
+ case 52 :
+ // InternalSolverLanguageLexer.g:1:429: In
+ {
+ mIn();
+
+ }
+ break;
+ case 53 :
+ // InternalSolverLanguageLexer.g:1:432: ExclamationMark
+ {
+ mExclamationMark();
+
+ }
+ break;
+ case 54 :
+ // InternalSolverLanguageLexer.g:1:448: LeftParenthesis
+ {
+ mLeftParenthesis();
+
+ }
+ break;
+ case 55 :
+ // InternalSolverLanguageLexer.g:1:464: RightParenthesis
+ {
+ mRightParenthesis();
+
+ }
+ break;
+ case 56 :
+ // InternalSolverLanguageLexer.g:1:481: Asterisk
+ {
+ mAsterisk();
+
+ }
+ break;
+ case 57 :
+ // InternalSolverLanguageLexer.g:1:490: PlusSign
+ {
+ mPlusSign();
+
+ }
+ break;
+ case 58 :
+ // InternalSolverLanguageLexer.g:1:499: Comma
+ {
+ mComma();
+
+ }
+ break;
+ case 59 :
+ // InternalSolverLanguageLexer.g:1:505: HyphenMinus
+ {
+ mHyphenMinus();
+
+ }
+ break;
+ case 60 :
+ // InternalSolverLanguageLexer.g:1:517: FullStop
+ {
+ mFullStop();
+
+ }
+ break;
+ case 61 :
+ // InternalSolverLanguageLexer.g:1:526: Solidus
+ {
+ mSolidus();
+
+ }
+ break;
+ case 62 :
+ // InternalSolverLanguageLexer.g:1:534: Colon
+ {
+ mColon();
+
+ }
+ break;
+ case 63 :
+ // InternalSolverLanguageLexer.g:1:540: Semicolon
+ {
+ mSemicolon();
+
+ }
+ break;
+ case 64 :
+ // InternalSolverLanguageLexer.g:1:550: LessThanSign
+ {
+ mLessThanSign();
+
+ }
+ break;
+ case 65 :
+ // InternalSolverLanguageLexer.g:1:563: EqualsSign
+ {
+ mEqualsSign();
+
+ }
+ break;
+ case 66 :
+ // InternalSolverLanguageLexer.g:1:574: GreaterThanSign
+ {
+ mGreaterThanSign();
+
+ }
+ break;
+ case 67 :
+ // InternalSolverLanguageLexer.g:1:590: LeftSquareBracket
+ {
+ mLeftSquareBracket();
+
+ }
+ break;
+ case 68 :
+ // InternalSolverLanguageLexer.g:1:608: RightSquareBracket
+ {
+ mRightSquareBracket();
+
+ }
+ break;
+ case 69 :
+ // InternalSolverLanguageLexer.g:1:627: CircumflexAccent
+ {
+ mCircumflexAccent();
+
+ }
+ break;
+ case 70 :
+ // InternalSolverLanguageLexer.g:1:644: LeftCurlyBracket
+ {
+ mLeftCurlyBracket();
+
+ }
+ break;
+ case 71 :
+ // InternalSolverLanguageLexer.g:1:661: VerticalLine
+ {
+ mVerticalLine();
+
+ }
+ break;
+ case 72 :
+ // InternalSolverLanguageLexer.g:1:674: RightCurlyBracket
+ {
+ mRightCurlyBracket();
+
+ }
+ break;
+ case 73 :
+ // InternalSolverLanguageLexer.g:1:692: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 74 :
+ // InternalSolverLanguageLexer.g:1:704: RULE_QUOTED_ID
+ {
+ mRULE_QUOTED_ID();
+
+ }
+ break;
+ case 75 :
+ // InternalSolverLanguageLexer.g:1:719: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 76 :
+ // InternalSolverLanguageLexer.g:1:735: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 77 :
+ // InternalSolverLanguageLexer.g:1:743: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 78 :
+ // InternalSolverLanguageLexer.g:1:752: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 79 :
+ // InternalSolverLanguageLexer.g:1:768: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 80 :
+ // InternalSolverLanguageLexer.g:1:776: RULE_ANY_OTHER
+ {
+ mRULE_ANY_OTHER();
+
+ }
+ break;
+
+ }
+
+ }
+
+
+ protected DFA12 dfa12 = new DFA12(this);
+ static final String DFA12_eotS =
+ "\1\uffff\25\64\1\127\1\131\1\133\1\135\1\137\1\141\1\143\2\64\5\uffff\1\155\3\uffff\1\161\3\uffff\2\62\5\uffff\1\64\1\uffff\37\64\1\u009d\1\u009e\16\uffff\1\u009f\1\u00a0\23\uffff\4\64\1\u00a5\4\64\1\u00ab\1\u00ac\1\u00ae\14\64\1\u00bb\4\64\1\u00c0\1\u00c1\1\u00c2\1\u00c3\1\u00c4\1\u00c5\1\u00c6\4\uffff\4\64\1\uffff\5\64\2\uffff\1\64\1\uffff\1\u00d1\1\64\1\u00d3\1\u00d5\4\64\1\u00db\3\64\1\uffff\1\u00df\1\u00e0\1\u00e1\1\u00e2\7\uffff\2\64\1\u00e5\2\64\1\u00e8\1\64\1\u00ea\2\64\1\uffff\1\64\1\uffff\1\64\1\uffff\3\64\1\u00f2\1\u00f3\1\uffff\2\64\1\u00f6\4\uffff\2\64\1\uffff\2\64\1\uffff\1\64\1\uffff\6\64\1\u0102\2\uffff\1\64\1\u0104\1\uffff\1\u0106\3\64\1\u010a\3\64\1\u010e\1\u010f\1\u0110\1\uffff\1\u0111\1\uffff\1\64\1\uffff\1\64\1\u0114\1\u0115\1\uffff\1\u0116\1\u0117\1\u0118\4\uffff\2\64\5\uffff\1\u011b\1\u011c\2\uffff";
+ static final String DFA12_eofS =
+ "\u011d\uffff";
+ static final String DFA12_minS =
+ "\1\0\1\122\1\141\1\142\1\154\1\141\1\156\1\105\1\145\1\154\1\156\1\117\1\143\1\162\1\145\1\150\1\104\1\111\1\125\1\117\1\125\1\146\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\156\1\162\1\141\1\170\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\60\16\uffff\2\60\23\uffff\1\101\1\143\1\163\1\164\1\60\1\164\1\156\1\162\1\163\3\60\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\60\1\144\1\154\1\156\1\145\7\60\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\60\1\163\2\60\1\165\1\156\1\171\1\162\1\60\1\157\1\105\1\145\1\uffff\4\60\7\uffff\1\105\1\151\1\60\1\141\1\151\1\60\1\156\1\60\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\60\1\uffff\1\167\1\121\1\60\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\60\2\uffff\1\156\1\60\1\uffff\1\60\1\156\1\164\1\163\1\60\3\145\3\60\1\uffff\1\60\1\uffff\1\105\1\uffff\1\141\2\60\1\uffff\3\60\4\uffff\1\121\1\154\5\uffff\2\60\2\uffff";
+ static final String DFA12_maxS =
+ "\1\uffff\1\122\1\165\1\166\2\165\1\160\1\105\1\145\1\170\1\156\1\117\1\165\1\162\1\145\1\162\1\104\1\111\1\125\1\117\1\125\1\156\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\165\1\162\1\141\1\171\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\172\16\uffff\2\172\23\uffff\1\101\1\143\1\163\1\164\1\172\1\164\1\156\1\162\1\163\3\172\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\172\1\144\1\154\1\156\1\145\7\172\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\172\1\163\2\172\1\165\1\162\1\171\1\162\1\172\1\157\1\105\1\145\1\uffff\4\172\7\uffff\1\105\1\151\1\172\1\141\1\151\1\172\1\156\1\172\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\172\1\uffff\1\167\1\121\1\172\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\172\2\uffff\1\156\1\172\1\uffff\1\172\1\156\1\164\1\163\1\172\3\145\3\172\1\uffff\1\172\1\uffff\1\105\1\uffff\1\141\2\172\1\uffff\3\172\4\uffff\1\121\1\154\5\uffff\2\172\2\uffff";
+ static final String DFA12_acceptS =
+ "\37\uffff\1\66\1\67\1\70\1\71\1\72\1\uffff\1\77\1\103\1\104\1\uffff\1\106\1\107\1\110\2\uffff\1\113\1\114\1\115\1\117\1\120\1\uffff\1\114\41\uffff\1\52\1\65\1\53\1\73\1\54\1\74\1\55\1\76\1\56\1\100\1\57\1\101\1\60\1\102\2\uffff\1\66\1\67\1\70\1\71\1\72\1\113\1\116\1\75\1\77\1\103\1\104\1\105\1\106\1\107\1\110\1\111\1\112\1\115\1\117\44\uffff\1\64\1\63\1\61\1\62\4\uffff\1\43\5\uffff\1\46\1\47\1\uffff\1\50\14\uffff\1\51\4\uffff\1\36\1\37\1\40\1\41\1\42\1\44\1\45\12\uffff\1\30\1\uffff\1\31\1\uffff\1\26\5\uffff\1\27\3\uffff\1\32\1\33\1\34\1\35\2\uffff\1\24\2\uffff\1\21\1\uffff\1\20\7\uffff\1\22\1\23\2\uffff\1\25\13\uffff\1\17\1\uffff\1\16\1\uffff\1\10\3\uffff\1\12\3\uffff\1\11\1\13\1\14\1\15\2\uffff\1\3\1\4\1\5\1\6\1\7\2\uffff\1\1\1\2";
+ static final String DFA12_specialS =
+ "\1\1\53\uffff\1\0\1\2\u00ef\uffff}>";
+ static final String[] DFA12_transitionS = {
+ "\11\62\2\61\2\62\1\61\22\62\1\61\1\26\1\54\2\62\1\56\1\62\1\55\1\37\1\40\1\41\1\42\1\43\1\27\1\30\1\44\12\60\1\31\1\45\1\32\1\33\1\34\2\62\1\20\2\57\1\21\1\35\1\57\1\1\1\57\1\36\2\57\1\7\1\22\1\13\1\57\1\23\2\57\1\24\7\57\1\46\1\62\1\47\1\50\1\57\1\62\1\3\1\57\1\4\1\10\1\11\1\2\2\57\1\25\3\57\1\5\1\57\1\6\1\15\1\57\1\16\1\14\1\17\1\12\5\57\1\51\1\52\1\53\uff82\62",
+ "\1\63",
+ "\1\66\23\uffff\1\65",
+ "\1\67\23\uffff\1\70",
+ "\1\73\2\uffff\1\71\5\uffff\1\72",
+ "\1\74\7\uffff\1\75\13\uffff\1\76",
+ "\1\100\1\uffff\1\77",
+ "\1\101",
+ "\1\102",
+ "\1\106\1\104\4\uffff\1\105\5\uffff\1\103",
+ "\1\107",
+ "\1\110",
+ "\1\111\21\uffff\1\112",
+ "\1\113",
+ "\1\114",
+ "\1\115\11\uffff\1\116",
+ "\1\117",
+ "\1\120",
+ "\1\121",
+ "\1\122",
+ "\1\123",
+ "\1\125\7\uffff\1\124",
+ "\1\126",
+ "\1\130",
+ "\1\132",
+ "\1\134",
+ "\1\136",
+ "\1\140",
+ "\1\142",
+ "\1\144",
+ "\1\145",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\154\4\uffff\1\153",
+ "",
+ "",
+ "",
+ "\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "\0\165",
+ "\0\166",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\171",
+ "",
+ "\1\172",
+ "\1\173",
+ "\1\174",
+ "\1\175",
+ "\1\176\6\uffff\1\177",
+ "\1\u0080",
+ "\1\u0081",
+ "\1\u0082\1\u0083",
+ "\1\u0084",
+ "\1\u0085",
+ "\1\u0086",
+ "\1\u0087",
+ "\1\u0088",
+ "\1\u0089",
+ "\1\u008a",
+ "\1\u008b",
+ "\1\u008c",
+ "\1\u008d",
+ "\1\u008e",
+ "\1\u008f",
+ "\1\u0090",
+ "\1\u0091",
+ "\1\u0092",
+ "\1\u0093",
+ "\1\u0094",
+ "\1\u0095",
+ "\1\u0096",
+ "\1\u0097",
+ "\1\u0098",
+ "\1\u0099",
+ "\1\u009a",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\5\64\1\u009b\15\64\1\u009c\6\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00a1",
+ "\1\u00a2",
+ "\1\u00a3",
+ "\1\u00a4",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00a6",
+ "\1\u00a7",
+ "\1\u00a8",
+ "\1\u00a9",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00aa\21\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00ad\21\64",
+ "\1\u00af",
+ "\1\u00b0",
+ "\1\u00b1",
+ "\1\u00b2",
+ "\1\u00b3",
+ "\1\u00b4",
+ "\1\u00b5",
+ "\1\u00b6",
+ "\1\u00b7",
+ "\1\u00b8",
+ "\1\u00b9",
+ "\1\u00ba",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00bc",
+ "\1\u00bd",
+ "\1\u00be",
+ "\1\u00bf",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00c7",
+ "\1\u00c8",
+ "\1\u00c9",
+ "\1\u00ca",
+ "",
+ "\1\u00cb",
+ "\1\u00cc",
+ "\1\u00cd",
+ "\1\u00ce",
+ "\1\u00cf",
+ "",
+ "",
+ "\1\u00d0",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00d2",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\u00d4\1\uffff\32\64",
+ "\1\u00d6",
+ "\1\u00d7\3\uffff\1\u00d8",
+ "\1\u00d9",
+ "\1\u00da",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00dc",
+ "\1\u00dd",
+ "\1\u00de",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00e3",
+ "\1\u00e4",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00e6",
+ "\1\u00e7",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00e9",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00eb",
+ "\1\u00ec",
+ "",
+ "\1\u00ed",
+ "",
+ "\1\u00ee",
+ "",
+ "\1\u00ef",
+ "\1\u00f0",
+ "\1\u00f1",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\1\u00f4",
+ "\1\u00f5",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00f7",
+ "\1\u00f8",
+ "",
+ "\1\u00f9",
+ "\1\u00fa",
+ "",
+ "\1\u00fb",
+ "",
+ "\1\u00fc",
+ "\1\u00fd",
+ "\1\u00fe",
+ "\1\u00ff",
+ "\1\u0100",
+ "\1\u0101",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "\1\u0103",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\u0105\1\uffff\32\64",
+ "\1\u0107",
+ "\1\u0108",
+ "\1\u0109",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u010b",
+ "\1\u010c",
+ "\1\u010d",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\1\u0112",
+ "",
+ "\1\u0113",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "\1\u0119",
+ "\1\u011a",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ ""
+ };
+
+ static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
+ static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
+ static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
+ static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
+ static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
+ static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
+ static final short[][] DFA12_transition;
+
+ static {
+ int numStates = DFA12_transitionS.length;
+ DFA12_transition = new short[numStates][];
+ for (int i=0; i='\u0000' && LA12_44<='\uFFFF')) ) {s = 117;}
+
+ else s = 50;
+
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA12_0 = input.LA(1);
+
+ s = -1;
+ if ( (LA12_0=='G') ) {s = 1;}
+
+ else if ( (LA12_0=='f') ) {s = 2;}
+
+ else if ( (LA12_0=='a') ) {s = 3;}
+
+ else if ( (LA12_0=='c') ) {s = 4;}
+
+ else if ( (LA12_0=='m') ) {s = 5;}
+
+ else if ( (LA12_0=='o') ) {s = 6;}
+
+ else if ( (LA12_0=='L') ) {s = 7;}
+
+ else if ( (LA12_0=='d') ) {s = 8;}
+
+ else if ( (LA12_0=='e') ) {s = 9;}
+
+ else if ( (LA12_0=='u') ) {s = 10;}
+
+ else if ( (LA12_0=='N') ) {s = 11;}
+
+ else if ( (LA12_0=='s') ) {s = 12;}
+
+ else if ( (LA12_0=='p') ) {s = 13;}
+
+ else if ( (LA12_0=='r') ) {s = 14;}
+
+ else if ( (LA12_0=='t') ) {s = 15;}
+
+ else if ( (LA12_0=='A') ) {s = 16;}
+
+ else if ( (LA12_0=='D') ) {s = 17;}
+
+ else if ( (LA12_0=='M') ) {s = 18;}
+
+ else if ( (LA12_0=='P') ) {s = 19;}
+
+ else if ( (LA12_0=='S') ) {s = 20;}
+
+ else if ( (LA12_0=='i') ) {s = 21;}
+
+ else if ( (LA12_0=='!') ) {s = 22;}
+
+ else if ( (LA12_0=='-') ) {s = 23;}
+
+ else if ( (LA12_0=='.') ) {s = 24;}
+
+ else if ( (LA12_0==':') ) {s = 25;}
+
+ else if ( (LA12_0=='<') ) {s = 26;}
+
+ else if ( (LA12_0=='=') ) {s = 27;}
+
+ else if ( (LA12_0=='>') ) {s = 28;}
+
+ else if ( (LA12_0=='E') ) {s = 29;}
+
+ else if ( (LA12_0=='I') ) {s = 30;}
+
+ else if ( (LA12_0=='(') ) {s = 31;}
+
+ else if ( (LA12_0==')') ) {s = 32;}
+
+ else if ( (LA12_0=='*') ) {s = 33;}
+
+ else if ( (LA12_0=='+') ) {s = 34;}
+
+ else if ( (LA12_0==',') ) {s = 35;}
+
+ else if ( (LA12_0=='/') ) {s = 36;}
+
+ else if ( (LA12_0==';') ) {s = 37;}
+
+ else if ( (LA12_0=='[') ) {s = 38;}
+
+ else if ( (LA12_0==']') ) {s = 39;}
+
+ else if ( (LA12_0=='^') ) {s = 40;}
+
+ else if ( (LA12_0=='{') ) {s = 41;}
+
+ else if ( (LA12_0=='|') ) {s = 42;}
+
+ else if ( (LA12_0=='}') ) {s = 43;}
+
+ else if ( (LA12_0=='\"') ) {s = 44;}
+
+ else if ( (LA12_0=='\'') ) {s = 45;}
+
+ else if ( (LA12_0=='%') ) {s = 46;}
+
+ else if ( ((LA12_0>='B' && LA12_0<='C')||LA12_0=='F'||LA12_0=='H'||(LA12_0>='J' && LA12_0<='K')||LA12_0=='O'||(LA12_0>='Q' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='n'||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 47;}
+
+ else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 48;}
+
+ else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 49;}
+
+ else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='$')||LA12_0=='&'||(LA12_0>='?' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 50;}
+
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA12_45 = input.LA(1);
+
+ s = -1;
+ if ( ((LA12_45>='\u0000' && LA12_45<='\uFFFF')) ) {s = 118;}
+
+ else s = 50;
+
+ if ( s>=0 ) return s;
+ break;
+ }
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 12, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens
new file mode 100644
index 00000000..133cc9d6
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens
@@ -0,0 +1,83 @@
+ADD=33
+Abstract=6
+Asterisk=59
+Avg=38
+CircumflexAccent=72
+Class=19
+Colon=65
+ColonHyphenMinus=48
+Comma=61
+Contains=7
+Count=20
+Current=13
+DIV=34
+Default=14
+EQ=52
+Else=26
+Empty=21
+EqualsSign=68
+EqualsSignEqualsSign=50
+Error=22
+ExclamationMark=56
+ExclamationMarkEqualsSign=45
+Extends=15
+Extern=18
+False=23
+FullStop=63
+FullStopFullStop=47
+Functional=5
+GREATER=11
+GREATER_EQ=4
+GreaterThanSign=69
+GreaterThanSignEqualsSign=51
+HyphenMinus=62
+HyphenMinusGreaterThanSign=46
+IN=53
+If=54
+In=55
+Inf=39
+Int=40
+LESS=25
+LESS_EQ=12
+LeftCurlyBracket=73
+LeftParenthesis=57
+LeftSquareBracket=70
+LessThanSign=67
+LessThanSignEqualsSign=49
+MUL=35
+Max=41
+Maximize=8
+May=42
+Min=43
+Minimize=9
+Must=27
+NOT_EQ=17
+Only=28
+Opposite=10
+POW=36
+PlusSign=60
+Prod=29
+RULE_ANY_OTHER=86
+RULE_FULL_STOP=81
+RULE_ID=82
+RULE_INT=83
+RULE_ML_COMMENT=84
+RULE_QUOTED_ID=77
+RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80
+RULE_SL_COMMENT=78
+RULE_STRING=76
+RULE_TRANSITIVE_CLOSURE=79
+RULE_WS=85
+Real=30
+RightCurlyBracket=75
+RightParenthesis=58
+RightSquareBracket=71
+SUB=37
+Scope=24
+Semicolon=66
+Solidus=64
+Sum=44
+Then=31
+True=32
+Unknown=16
+VerticalLine=74
diff --git a/Application/org.eclipse.viatra.solver.language.ide/src/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageTokenSource.java b/Application/org.eclipse.viatra.solver.language.ide/src/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageTokenSource.java
new file mode 100644
index 00000000..07c0af5d
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language.ide/src/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageTokenSource.java
@@ -0,0 +1,39 @@
+/*
+ * generated by Xtext 2.21.0
+ */
+package org.eclipse.viatra.solver.language.ide.contentassist.antlr;
+
+import org.antlr.runtime.Token;
+import org.antlr.runtime.TokenSource;
+import org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal.InternalSolverLanguageParser;
+import org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource;
+
+public class SolverLanguageTokenSource extends AbstractIndentationTokenSource {
+
+ public SolverLanguageTokenSource(TokenSource delegate) {
+ super(delegate);
+ }
+
+ @Override
+ protected boolean shouldSplitTokenImpl(Token token) {
+ // TODO Review assumption
+ return token.getType() == InternalSolverLanguageParser.RULE_WS;
+ }
+
+ @Override
+ protected int getBeginTokenType() {
+ // TODO Implement me
+ throw new UnsupportedOperationException("Implement me");
+ }
+
+ @Override
+ protected int getEndTokenType() {
+ // TODO Implement me
+ throw new UnsupportedOperationException("Implement me");
+ }
+
+ @Override
+ protected boolean shouldEmitPendingEndTokens() {
+ return false;
+ }
+}
diff --git a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/AbstractSolverLanguageUiModule.java b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/AbstractSolverLanguageUiModule.java
index e0206f6a..2df9b674 100644
--- a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/AbstractSolverLanguageUiModule.java
+++ b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/AbstractSolverLanguageUiModule.java
@@ -13,7 +13,7 @@ import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.viatra.solver.language.ide.contentassist.antlr.PartialSolverLanguageContentAssistParser;
import org.eclipse.viatra.solver.language.ide.contentassist.antlr.SolverLanguageParser;
-import org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal.InternalSolverLanguageLexer;
+import org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer.InternalSolverLanguageLexer;
import org.eclipse.viatra.solver.language.ui.contentassist.SolverLanguageProposalProvider;
import org.eclipse.viatra.solver.language.ui.labeling.SolverLanguageDescriptionLabelProvider;
import org.eclipse.viatra.solver.language.ui.labeling.SolverLanguageLabelProvider;
@@ -30,6 +30,8 @@ import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback;
import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess;
import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider;
import org.eclipse.xtext.ide.LexerIdeBindings;
+import org.eclipse.xtext.ide.editor.contentassist.CompletionPrefixProvider;
+import org.eclipse.xtext.ide.editor.contentassist.IndentationAwareCompletionPrefixProvider;
import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser;
@@ -110,7 +112,7 @@ public abstract class AbstractSolverLanguageUiModule extends DefaultUiModule {
public void configureHighlightingLexer(Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class)
.annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
- .to(org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageLexer.class);
+ .to(org.eclipse.viatra.solver.language.parser.antlr.lexer.InternalSolverLanguageLexer.class);
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
@@ -135,6 +137,11 @@ public abstract class AbstractSolverLanguageUiModule extends DefaultUiModule {
binder.bind(InternalSolverLanguageLexer.class).toProvider(LexerProvider.create(InternalSolverLanguageLexer.class));
}
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends CompletionPrefixProvider> bindCompletionPrefixProvider() {
+ return IndentationAwareCompletionPrefixProvider.class;
+ }
+
// contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
public Class extends AbstractValidatorConfigurationBlock> bindAbstractValidatorConfigurationBlock() {
return SolverLanguageValidatorConfigurationBlock.class;
diff --git a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java
index fbf12ae8..4beca20e 100644
--- a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java
+++ b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java
@@ -138,9 +138,6 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr
public void completeAggregation_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
- public void completeAtomicExpression_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
public void completeCall_Functor(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
@@ -445,13 +442,16 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr
public void complete_QUOTED_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_PLUS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_SL_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_TRANSITIVE_CLOSURE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_STAR(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_REFLEXIVE_TRANSITIVE_CLOSURE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
- public void complete_DOT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ public void complete_FULL_STOP(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_NamedElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin
index 30fff96c..a71f12bf 100644
Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ
diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin
index 846152db..2972aaaa 100644
Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ
diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin
index 6d6995bd..0aec0cb3 100644
Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ
diff --git a/Application/org.eclipse.viatra.solver.language/.launch/Launch Runtime Eclipse.launch b/Application/org.eclipse.viatra.solver.language/.launch/Launch Runtime Eclipse.launch
index c50bf17e..1e189f24 100644
--- a/Application/org.eclipse.viatra.solver.language/.launch/Launch Runtime Eclipse.launch
+++ b/Application/org.eclipse.viatra.solver.language/.launch/Launch Runtime Eclipse.launch
@@ -1,34 +1,35 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF b/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF
index dc13b2d9..c45bb276 100644
--- a/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF
+++ b/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF
@@ -26,5 +26,6 @@ Export-Package: org.eclipse.viatra.solver.language,
org.eclipse.viatra.solver.language.solverLanguage,
org.eclipse.viatra.solver.language.solverLanguage.impl,
org.eclipse.viatra.solver.language.solverLanguage.util,
- org.eclipse.viatra.solver.language.validation
+ org.eclipse.viatra.solver.language.validation,
+ org.eclipse.viatra.solver.language.parser.antlr.lexer
Import-Package: org.apache.log4j
diff --git a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore
index aa1c579f..bd516038 100644
--- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore
+++ b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore
@@ -6,14 +6,7 @@
-
-
-
-
-
-
+
@@ -110,11 +103,11 @@
-
+
+
+
+
+
+
+
diff --git a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel
index 4c88d381..53c17e2a 100644
--- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel
+++ b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel
@@ -53,12 +53,7 @@
-
-
-
-
-
-
+
@@ -105,9 +100,9 @@
-
+
@@ -143,6 +138,12 @@
+
+
+
+
+
+
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java
index 5b6118ec..4bf254b2 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java
@@ -10,7 +10,7 @@ import java.util.Properties;
import org.eclipse.viatra.solver.language.generator.SolverLanguageGenerator;
import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageAntlrTokenFileProvider;
import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageParser;
-import org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageLexer;
+import org.eclipse.viatra.solver.language.parser.antlr.lexer.InternalSolverLanguageLexer;
import org.eclipse.viatra.solver.language.scoping.SolverLanguageScopeProvider;
import org.eclipse.viatra.solver.language.serializer.SolverLanguageSemanticSequencer;
import org.eclipse.viatra.solver.language.serializer.SolverLanguageSyntacticSequencer;
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin
index cbdd7c40..da698ba6 100644
Binary files a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin and b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin differ
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageAntlrTokenFileProvider.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageAntlrTokenFileProvider.java
index 9b5fd45d..cfddb988 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageAntlrTokenFileProvider.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageAntlrTokenFileProvider.java
@@ -11,6 +11,6 @@ public class SolverLanguageAntlrTokenFileProvider implements IAntlrTokenFileProv
@Override
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens");
}
}
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java
index eb746697..da897406 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageParser.java
@@ -4,6 +4,8 @@
package org.eclipse.viatra.solver.language.parser.antlr;
import com.google.inject.Inject;
+import org.antlr.runtime.CharStream;
+import org.antlr.runtime.TokenSource;
import org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser;
import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess;
import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
@@ -19,6 +21,19 @@ public class SolverLanguageParser extends AbstractAntlrParser {
tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
}
+ @Override
+ protected TokenSource createLexer(CharStream stream) {
+ return new SolverLanguageTokenSource(super.createLexer(stream));
+ }
+
+ /**
+ * Indentation aware languages do not support partial parsing since the lexer is inherently stateful.
+ * Override and return {@code true} if your terminal splitting is stateless.
+ */
+ @Override
+ protected boolean isReparseSupported() {
+ return false;
+ }
@Override
protected InternalSolverLanguageParser createParser(XtextTokenStream stream) {
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.g
deleted file mode 100644
index 3fac9254..00000000
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.g
+++ /dev/null
@@ -1,3902 +0,0 @@
-/*
- * generated by Xtext 2.21.0
- */
-grammar InternalSolverLanguage;
-
-options {
- superClass=AbstractInternalAntlrParser;
-}
-
-@lexer::header {
-package org.eclipse.viatra.solver.language.parser.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.parser.antlr.Lexer;
-}
-
-@parser::header {
-package org.eclipse.viatra.solver.language.parser.antlr.internal;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.common.util.Enumerator;
-import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
-import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess;
-
-}
-
-@parser::members {
-
- private SolverLanguageGrammarAccess grammarAccess;
-
- public InternalSolverLanguageParser(TokenStream input, SolverLanguageGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "Problem";
- }
-
- @Override
- protected SolverLanguageGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-
-}
-
-@rulecatch {
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
-}
-
-// Entry rule entryRuleProblem
-entryRuleProblem returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getProblemRule()); }
- iv_ruleProblem=ruleProblem
- { $current=$iv_ruleProblem.current; }
- EOF;
-
-// Rule Problem
-ruleProblem returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
- }
- lv_statements_0_0=ruleStatement
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getProblemRule());
- }
- add(
- $current,
- "statements",
- lv_statements_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Statement");
- afterParserOrEnumRuleCall();
- }
- )
- )*
-;
-
-// Entry rule entryRuleStatement
-entryRuleStatement returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getStatementRule()); }
- iv_ruleStatement=ruleStatement
- { $current=$iv_ruleStatement.current; }
- EOF;
-
-// Rule Statement
-ruleStatement returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
- }
- this_AssertionOrDefinition_0=ruleAssertionOrDefinition
- {
- $current = $this_AssertionOrDefinition_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
- }
- this_PredicateDefinition_1=rulePredicateDefinition
- {
- $current = $this_PredicateDefinition_1.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
- }
- this_UnnamedErrorPrediateDefinition_2=ruleUnnamedErrorPrediateDefinition
- {
- $current = $this_UnnamedErrorPrediateDefinition_2.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
- }
- this_DefaultDefinition_3=ruleDefaultDefinition
- {
- $current = $this_DefaultDefinition_3.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
- }
- this_ExternPredicateDefinition_4=ruleExternPredicateDefinition
- {
- $current = $this_ExternPredicateDefinition_4.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
- }
- this_MetricDefinition_5=ruleMetricDefinition
- {
- $current = $this_MetricDefinition_5.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
- }
- this_ExternMetricDefinition_6=ruleExternMetricDefinition
- {
- $current = $this_ExternMetricDefinition_6.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
- }
- this_ClassDefinition_7=ruleClassDefinition
- {
- $current = $this_ClassDefinition_7.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
- }
- this_ScopeDefinition_8=ruleScopeDefinition
- {
- $current = $this_ScopeDefinition_8.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
- }
- this_ObjectiveDefinition_9=ruleObjectiveDefinition
- {
- $current = $this_ObjectiveDefinition_9.current;
- afterParserOrEnumRuleCall();
- }
- )
- this_DOT_10=RULE_DOT
- {
- newLeafNode(this_DOT_10, grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1());
- }
- )
-;
-
-// Entry rule entryRuleAssertionOrDefinition
-entryRuleAssertionOrDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getAssertionOrDefinitionRule()); }
- iv_ruleAssertionOrDefinition=ruleAssertionOrDefinition
- { $current=$iv_ruleAssertionOrDefinition.current; }
- EOF;
-
-// Rule AssertionOrDefinition
-ruleAssertionOrDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
- }
- this_Expression_0=ruleExpression
- {
- $current = $this_Expression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0(),
- $current);
- }
- )
- (
- otherlv_2=':'
- {
- newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
- }
- lv_range_3_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
- }
- set(
- $current,
- "range",
- lv_range_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )?
- )
- |
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0(),
- $current);
- }
- )
- otherlv_5=':-'
- {
- newLeafNode(otherlv_5, grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
- }
- lv_body_6_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
- }
- set(
- $current,
- "body",
- lv_body_6_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
- |
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(),
- $current);
- }
- )
- otherlv_8='='
- {
- newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
- }
- lv_body_9_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
- }
- set(
- $current,
- "body",
- lv_body_9_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
- )
- )
-;
-
-// Entry rule entryRulePredicateDefinition
-entryRulePredicateDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getPredicateDefinitionRule()); }
- iv_rulePredicateDefinition=rulePredicateDefinition
- { $current=$iv_rulePredicateDefinition.current; }
- EOF;
-
-// Rule PredicateDefinition
-rulePredicateDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- (
- (
- lv_functional_0_0='functional'
- {
- newLeafNode(lv_functional_0_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed($current, "functional", true, "functional");
- }
- )
- )
- (
- (
- lv_error_1_0='error'
- {
- newLeafNode(lv_error_1_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed($current, "error", true, "error");
- }
- )
- )?
- )
- |
- (
- (
- (
- lv_error_2_0='error'
- {
- newLeafNode(lv_error_2_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed($current, "error", true, "error");
- }
- )
- )
- (
- (
- lv_functional_3_0='functional'
- {
- newLeafNode(lv_functional_3_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed($current, "functional", true, "functional");
- }
- )
- )?
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
- lv_head_4_0=ruleCall
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
- }
- set(
- $current,
- "head",
- lv_head_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_5=':-'
- {
- newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
- lv_body_6_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
- }
- set(
- $current,
- "body",
- lv_body_6_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleUnnamedErrorPrediateDefinition
-entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); }
- iv_ruleUnnamedErrorPrediateDefinition=ruleUnnamedErrorPrediateDefinition
- { $current=$iv_ruleUnnamedErrorPrediateDefinition.current; }
- EOF;
-
-// Rule UnnamedErrorPrediateDefinition
-ruleUnnamedErrorPrediateDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='error'
- {
- newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
- }
- lv_argumentList_1_0=ruleArgumentList
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
- set(
- $current,
- "argumentList",
- lv_argumentList_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2=':-'
- {
- newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
- lv_body_3_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
- set(
- $current,
- "body",
- lv_body_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleDefaultDefinition
-entryRuleDefaultDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getDefaultDefinitionRule()); }
- iv_ruleDefaultDefinition=ruleDefaultDefinition
- { $current=$iv_ruleDefaultDefinition.current; }
- EOF;
-
-// Rule DefaultDefinition
-ruleDefaultDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='default'
- {
- newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
- lv_head_1_0=ruleCall
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
- }
- set(
- $current,
- "head",
- lv_head_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2=':'
- {
- newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
- }
- lv_range_3_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
- }
- set(
- $current,
- "range",
- lv_range_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleExternPredicateDefinition
-entryRuleExternPredicateDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); }
- iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition
- { $current=$iv_ruleExternPredicateDefinition.current; }
- EOF;
-
-// Rule ExternPredicateDefinition
-ruleExternPredicateDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='extern'
- {
- newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
- }
- lv_head_1_0=ruleCall
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule());
- }
- set(
- $current,
- "head",
- lv_head_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2='.'
- {
- newLeafNode(otherlv_2, grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2());
- }
- )
-;
-
-// Entry rule entryRuleMetricDefinition
-entryRuleMetricDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getMetricDefinitionRule()); }
- iv_ruleMetricDefinition=ruleMetricDefinition
- { $current=$iv_ruleMetricDefinition.current; }
- EOF;
-
-// Rule MetricDefinition
-ruleMetricDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
- }
- lv_type_0_0=ruleMetricType
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
- }
- set(
- $current,
- "type",
- lv_type_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
- }
- lv_head_1_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
- }
- set(
- $current,
- "head",
- lv_head_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2='='
- {
- newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
- }
- lv_body_3_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
- }
- set(
- $current,
- "body",
- lv_body_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleExternMetricDefinition
-entryRuleExternMetricDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); }
- iv_ruleExternMetricDefinition=ruleExternMetricDefinition
- { $current=$iv_ruleExternMetricDefinition.current; }
- EOF;
-
-// Rule ExternMetricDefinition
-ruleExternMetricDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='extern'
- {
- newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
- }
- lv_type_1_0=ruleMetricType
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
- }
- set(
- $current,
- "type",
- lv_type_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
- }
- lv_head_2_0=ruleCall
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
- }
- set(
- $current,
- "head",
- lv_head_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleExpression
-entryRuleExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExpressionRule()); }
- iv_ruleExpression=ruleExpression
- { $current=$iv_ruleExpression.current; }
- EOF;
-
-// Rule Expression
-ruleExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
- }
- this_IfElse_0=ruleIfElse
- {
- $current = $this_IfElse_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
- }
- this_DisjunctiveExpression_1=ruleDisjunctiveExpression
- {
- $current = $this_DisjunctiveExpression_1.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRuleIfElse
-entryRuleIfElse returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getIfElseRule()); }
- iv_ruleIfElse=ruleIfElse
- { $current=$iv_ruleIfElse.current; }
- EOF;
-
-// Rule IfElse
-ruleIfElse returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='if'
- {
- newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
- }
- lv_condition_1_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIfElseRule());
- }
- set(
- $current,
- "condition",
- lv_condition_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2='then'
- {
- newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
- }
- lv_then_3_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIfElseRule());
- }
- set(
- $current,
- "then",
- lv_then_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_4='else'
- {
- newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
- }
- lv_else_5_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIfElseRule());
- }
- set(
- $current,
- "else",
- lv_else_5_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleDisjunctiveExpression
-entryRuleDisjunctiveExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getDisjunctiveExpressionRule()); }
- iv_ruleDisjunctiveExpression=ruleDisjunctiveExpression
- { $current=$iv_ruleDisjunctiveExpression.current; }
- EOF;
-
-// Rule DisjunctiveExpression
-ruleDisjunctiveExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
- }
- this_ConjunctiveExpression_0=ruleConjunctiveExpression
- {
- $current = $this_ConjunctiveExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- (
- {
- $current = forceCreateModelElementAndAdd(
- grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0(),
- $current);
- }
- )
- (
- otherlv_2=';'
- {
- newLeafNode(otherlv_2, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
- }
- lv_children_3_0=ruleConjunctiveExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
- }
- add(
- $current,
- "children",
- lv_children_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )+
- )
- |
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0(),
- $current);
- }
- )
- otherlv_5='->'
- {
- newLeafNode(otherlv_5, grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
- }
- lv_body_6_0=ruleConjunctiveExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
- }
- set(
- $current,
- "body",
- lv_body_6_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- {
- $current = forceCreateModelElementAndAdd(
- grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3(),
- $current);
- }
- )
- (
- otherlv_8=';'
- {
- newLeafNode(otherlv_8, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
- }
- lv_cases_9_0=ruleCase
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
- }
- add(
- $current,
- "cases",
- lv_cases_9_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Case");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )*
- )
- )?
- )
-;
-
-// Entry rule entryRuleCase
-entryRuleCase returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getCaseRule()); }
- iv_ruleCase=ruleCase
- { $current=$iv_ruleCase.current; }
- EOF;
-
-// Rule Case
-ruleCase returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- newCompositeNode(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
- }
- lv_condition_0_0=ruleConjunctiveExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCaseRule());
- }
- set(
- $current,
- "condition",
- lv_condition_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_1='->'
- {
- newLeafNode(otherlv_1, grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
- }
- lv_body_2_0=ruleConjunctiveExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCaseRule());
- }
- set(
- $current,
- "body",
- lv_body_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleConjunctiveExpression
-entryRuleConjunctiveExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getConjunctiveExpressionRule()); }
- iv_ruleConjunctiveExpression=ruleConjunctiveExpression
- { $current=$iv_ruleConjunctiveExpression.current; }
- EOF;
-
-// Rule ConjunctiveExpression
-ruleConjunctiveExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
- }
- this_ComparisonExpression_0=ruleComparisonExpression
- {
- $current = $this_ComparisonExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- {
- $current = forceCreateModelElementAndAdd(
- grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0(),
- $current);
- }
- )
- (
- otherlv_2=','
- {
- newLeafNode(otherlv_2, grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
- }
- lv_children_3_0=ruleComparisonExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConjunctiveExpressionRule());
- }
- add(
- $current,
- "children",
- lv_children_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )+
- )?
- )
-;
-
-// Entry rule entryRuleComparisonExpression
-entryRuleComparisonExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getComparisonExpressionRule()); }
- iv_ruleComparisonExpression=ruleComparisonExpression
- { $current=$iv_ruleComparisonExpression.current; }
- EOF;
-
-// Rule ComparisonExpression
-ruleComparisonExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
- }
- this_AdditiveExpression_0=ruleAdditiveExpression
- {
- $current = $this_AdditiveExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(),
- $current);
- }
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
- }
- lv_op_2_0=ruleComparisonOperator
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
- }
- set(
- $current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonOperator");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
- }
- lv_right_3_0=ruleAdditiveExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
- }
- set(
- $current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )?
- )
-;
-
-// Entry rule entryRuleAdditiveExpression
-entryRuleAdditiveExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getAdditiveExpressionRule()); }
- iv_ruleAdditiveExpression=ruleAdditiveExpression
- { $current=$iv_ruleAdditiveExpression.current; }
- EOF;
-
-// Rule AdditiveExpression
-ruleAdditiveExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
- }
- this_MultiplicativeExpression_0=ruleMultiplicativeExpression
- {
- $current = $this_MultiplicativeExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0(),
- $current);
- }
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
- }
- lv_op_2_0=ruleAdditiveBinaryOperator
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- set(
- $current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveBinaryOperator");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
- }
- lv_right_3_0=ruleMultiplicativeExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- set(
- $current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )*
- )
-;
-
-// Entry rule entryRuleMultiplicativeExpression
-entryRuleMultiplicativeExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); }
- iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression
- { $current=$iv_ruleMultiplicativeExpression.current; }
- EOF;
-
-// Rule MultiplicativeExpression
-ruleMultiplicativeExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
- }
- this_ExponentialExpression_0=ruleExponentialExpression
- {
- $current = $this_ExponentialExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0(),
- $current);
- }
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
- }
- lv_op_2_0=ruleMultiplicativeBinaryOperator
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- set(
- $current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeBinaryOperator");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
- }
- lv_right_3_0=ruleExponentialExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- set(
- $current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )*
- )
-;
-
-// Entry rule entryRuleExponentialExpression
-entryRuleExponentialExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExponentialExpressionRule()); }
- iv_ruleExponentialExpression=ruleExponentialExpression
- { $current=$iv_ruleExponentialExpression.current; }
- EOF;
-
-// Rule ExponentialExpression
-ruleExponentialExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
- }
- this_UnaryExpression_0=ruleUnaryExpression
- {
- $current = $this_UnaryExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0(),
- $current);
- }
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
- }
- lv_op_2_0=ruleExponentialOp
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
- }
- set(
- $current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialOp");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
- }
- lv_right_3_0=ruleExponentialExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
- }
- set(
- $current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )?
- )
-;
-
-// Entry rule entryRuleUnaryExpression
-entryRuleUnaryExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getUnaryExpressionRule()); }
- iv_ruleUnaryExpression=ruleUnaryExpression
- { $current=$iv_ruleUnaryExpression.current; }
- EOF;
-
-// Rule UnaryExpression
-ruleUnaryExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
- }
- this_AggregationExpression_0=ruleAggregationExpression
- {
- $current = $this_AggregationExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- (
- (
- {
- $current = forceCreateModelElement(
- grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0(),
- $current);
- }
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
- }
- lv_op_2_0=ruleUnaryOp
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- $current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
- }
- lv_body_3_0=ruleAggregationExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- $current,
- "body",
- lv_body_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
- )
-;
-
-// Entry rule entryRuleAggregationExpression
-entryRuleAggregationExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getAggregationExpressionRule()); }
- iv_ruleAggregationExpression=ruleAggregationExpression
- { $current=$iv_ruleAggregationExpression.current; }
- EOF;
-
-// Rule AggregationExpression
-ruleAggregationExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
- }
- this_AtomicExpression_0=ruleAtomicExpression
- {
- $current = $this_AtomicExpression_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
- }
- this_Count_1=ruleCount
- {
- $current = $this_Count_1.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
- }
- this_Aggregation_2=ruleAggregation
- {
- $current = $this_Aggregation_2.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRuleCount
-entryRuleCount returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getCountRule()); }
- iv_ruleCount=ruleCount
- { $current=$iv_ruleCount.current; }
- EOF;
-
-// Rule Count
-ruleCount returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='count'
- {
- newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0());
- }
- otherlv_1='{'
- {
- newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
- }
- lv_body_2_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCountRule());
- }
- set(
- $current,
- "body",
- lv_body_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_3='}'
- {
- newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
- }
- )
-;
-
-// Entry rule entryRuleAggregation
-entryRuleAggregation returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getAggregationRule()); }
- iv_ruleAggregation=ruleAggregation
- { $current=$iv_ruleAggregation.current; }
- EOF;
-
-// Rule Aggregation
-ruleAggregation returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- newCompositeNode(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
- }
- lv_op_0_0=ruleAggregationOp
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAggregationRule());
- }
- set(
- $current,
- "op",
- lv_op_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_1='{'
- {
- newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
- }
- lv_body_2_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAggregationRule());
- }
- set(
- $current,
- "body",
- lv_body_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_3='|'
- {
- newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
- }
- lv_condition_4_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAggregationRule());
- }
- set(
- $current,
- "condition",
- lv_condition_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_5='}'
- {
- newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
- }
- )
-;
-
-// Entry rule entryRuleAtomicExpression
-entryRuleAtomicExpression returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getAtomicExpressionRule()); }
- iv_ruleAtomicExpression=ruleAtomicExpression
- { $current=$iv_ruleAtomicExpression.current; }
- EOF;
-
-// Rule AtomicExpression
-ruleAtomicExpression returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0());
- }
- this_Reference_0=ruleReference
- {
- $current = $this_Reference_0.current;
- afterParserOrEnumRuleCall();
- }
- (
- (
- {
- $current = forceCreateModelElementAndSet(
- grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0(),
- $current);
- }
- )
- (
- ('(')=>
- (
- {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0());
- }
- lv_argumentList_2_0=ruleArgumentList
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAtomicExpressionRule());
- }
- set(
- $current,
- "argumentList",
- lv_argumentList_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )?
- )
- |
- {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1());
- }
- this_Interval_3=ruleInterval
- {
- $current = $this_Interval_3.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2());
- }
- this_Literal_4=ruleLiteral
- {
- $current = $this_Literal_4.current;
- afterParserOrEnumRuleCall();
- }
- |
- (
- otherlv_5='('
- {
- newLeafNode(otherlv_5, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0());
- }
- {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1());
- }
- this_Expression_6=ruleExpression
- {
- $current = $this_Expression_6.current;
- afterParserOrEnumRuleCall();
- }
- otherlv_7=')'
- {
- newLeafNode(otherlv_7, grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2());
- }
- )
- )
-;
-
-// Entry rule entryRuleCall
-entryRuleCall returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getCallRule()); }
- iv_ruleCall=ruleCall
- { $current=$iv_ruleCall.current; }
- EOF;
-
-// Rule Call
-ruleCall returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- newCompositeNode(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
- }
- lv_functor_0_0=ruleReference
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCallRule());
- }
- set(
- $current,
- "functor",
- lv_functor_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Reference");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- (
- lv_transitiveClosure_1_0=RULE_STAR
- {
- newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getCallRule());
- }
- setWithLastConsumed(
- $current,
- "transitiveClosure",
- true,
- "org.eclipse.viatra.solver.language.SolverLanguage.STAR");
- }
- )
- )
- |
- (
- (
- lv_reflexiveTransitiveClosure_2_0=RULE_PLUS
- {
- newLeafNode(lv_reflexiveTransitiveClosure_2_0, grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getCallRule());
- }
- setWithLastConsumed(
- $current,
- "reflexiveTransitiveClosure",
- true,
- "org.eclipse.viatra.solver.language.SolverLanguage.PLUS");
- }
- )
- )
- )?
- (
- (
- {
- newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
- }
- lv_argumentList_3_0=ruleArgumentList
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCallRule());
- }
- set(
- $current,
- "argumentList",
- lv_argumentList_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleArgumentList
-entryRuleArgumentList returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getArgumentListRule()); }
- iv_ruleArgumentList=ruleArgumentList
- { $current=$iv_ruleArgumentList.current; }
- EOF;
-
-// Rule ArgumentList
-ruleArgumentList returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- $current = forceCreateModelElement(
- grammarAccess.getArgumentListAccess().getArgumentListAction_0(),
- $current);
- }
- )
- otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
- }
- (
- (
- (
- {
- newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
- }
- lv_arguments_2_0=ruleArgument
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getArgumentListRule());
- }
- add(
- $current,
- "arguments",
- lv_arguments_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- otherlv_3=','
- {
- newLeafNode(otherlv_3, grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
- }
- lv_arguments_4_0=ruleArgument
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getArgumentListRule());
- }
- add(
- $current,
- "arguments",
- lv_arguments_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )*
- )?
- otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
- }
- )
-;
-
-// Entry rule entryRuleArgument
-entryRuleArgument returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getArgumentRule()); }
- iv_ruleArgument=ruleArgument
- { $current=$iv_ruleArgument.current; }
- EOF;
-
-// Rule Argument
-ruleArgument returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
- }
- this_ExpressionArgument_0=ruleExpressionArgument
- {
- $current = $this_ExpressionArgument_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
- }
- this_StarArgument_1=ruleStarArgument
- {
- $current = $this_StarArgument_1.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
- }
- this_TypedArgument_2=ruleTypedArgument
- {
- $current = $this_TypedArgument_2.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
- }
- this_TypedStarArgument_3=ruleTypedStarArgument
- {
- $current = $this_TypedStarArgument_3.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRuleExpressionArgument
-entryRuleExpressionArgument returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExpressionArgumentRule()); }
- iv_ruleExpressionArgument=ruleExpressionArgument
- { $current=$iv_ruleExpressionArgument.current; }
- EOF;
-
-// Rule ExpressionArgument
-ruleExpressionArgument returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
- }
- lv_body_0_0=ruleComparisonExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExpressionArgumentRule());
- }
- set(
- $current,
- "body",
- lv_body_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
- afterParserOrEnumRuleCall();
- }
- )
- )
-;
-
-// Entry rule entryRuleStarArgument
-entryRuleStarArgument returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getStarArgumentRule()); }
- iv_ruleStarArgument=ruleStarArgument
- { $current=$iv_ruleStarArgument.current; }
- EOF;
-
-// Rule StarArgument
-ruleStarArgument returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- $current = forceCreateModelElement(
- grammarAccess.getStarArgumentAccess().getStarArgumentAction_0(),
- $current);
- }
- )
- otherlv_1='*'
- {
- newLeafNode(otherlv_1, grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
- }
- )
-;
-
-// Entry rule entryRuleTypedArgument
-entryRuleTypedArgument returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getTypedArgumentRule()); }
- iv_ruleTypedArgument=ruleTypedArgument
- { $current=$iv_ruleTypedArgument.current; }
- EOF;
-
-// Rule TypedArgument
-ruleTypedArgument returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getTypedArgumentRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getTypedArgumentRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleTypedStarArgument
-entryRuleTypedStarArgument returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getTypedStarArgumentRule()); }
- iv_ruleTypedStarArgument=ruleTypedStarArgument
- { $current=$iv_ruleTypedStarArgument.current; }
- EOF;
-
-// Rule TypedStarArgument
-ruleTypedStarArgument returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getTypedStarArgumentRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_1='*'
- {
- newLeafNode(otherlv_1, grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
- }
- )
-;
-
-// Entry rule entryRuleReference
-entryRuleReference returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getReferenceRule()); }
- iv_ruleReference=ruleReference
- { $current=$iv_ruleReference.current; }
- EOF;
-
-// Rule Reference
-ruleReference returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getReferenceRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
-;
-
-// Entry rule entryRuleInterval
-entryRuleInterval returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getIntervalRule()); }
- iv_ruleInterval=ruleInterval
- { $current=$iv_ruleInterval.current; }
- EOF;
-
-// Rule Interval
-ruleInterval returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='['
- {
- newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
- }
- lv_lowerBound_1_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIntervalRule());
- }
- set(
- $current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2='..'
- {
- newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
- }
- lv_upperBound_3_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIntervalRule());
- }
- set(
- $current,
- "upperBound",
- lv_upperBound_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_4=']'
- {
- newLeafNode(otherlv_4, grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
- }
- )
-;
-
-// Entry rule entryRuleLiteral
-entryRuleLiteral returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getLiteralRule()); }
- iv_ruleLiteral=ruleLiteral
- { $current=$iv_ruleLiteral.current; }
- EOF;
-
-// Rule Literal
-ruleLiteral returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
- }
- this_LogicLiteral_0=ruleLogicLiteral
- {
- $current = $this_LogicLiteral_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
- }
- this_NumericLiteral_1=ruleNumericLiteral
- {
- $current = $this_NumericLiteral_1.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
- }
- this_InfinityLiteral_2=ruleInfinityLiteral
- {
- $current = $this_InfinityLiteral_2.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
- }
- this_EmptyIntervalLiteral_3=ruleEmptyIntervalLiteral
- {
- $current = $this_EmptyIntervalLiteral_3.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
- }
- this_StringLiteral_4=ruleStringLiteral
- {
- $current = $this_StringLiteral_4.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRuleLogicLiteral
-entryRuleLogicLiteral returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getLogicLiteralRule()); }
- iv_ruleLogicLiteral=ruleLogicLiteral
- { $current=$iv_ruleLogicLiteral.current; }
- EOF;
-
-// Rule LogicLiteral
-ruleLogicLiteral returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- newCompositeNode(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
- }
- lv_value_0_0=ruleLogicValue
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLogicLiteralRule());
- }
- set(
- $current,
- "value",
- lv_value_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.LogicValue");
- afterParserOrEnumRuleCall();
- }
- )
- )
-;
-
-// Entry rule entryRuleNumericLiteral
-entryRuleNumericLiteral returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getNumericLiteralRule()); }
- iv_ruleNumericLiteral=ruleNumericLiteral
- { $current=$iv_ruleNumericLiteral.current; }
- EOF;
-
-// Rule NumericLiteral
-ruleNumericLiteral returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
- }
- lv_value_0_0=ruleReal
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNumericLiteralRule());
- }
- set(
- $current,
- "value",
- lv_value_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Real");
- afterParserOrEnumRuleCall();
- }
- )
- )
-;
-
-// Entry rule entryRuleInfinityLiteral
-entryRuleInfinityLiteral returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getInfinityLiteralRule()); }
- iv_ruleInfinityLiteral=ruleInfinityLiteral
- { $current=$iv_ruleInfinityLiteral.current; }
- EOF;
-
-// Rule InfinityLiteral
-ruleInfinityLiteral returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- $current = forceCreateModelElement(
- grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0(),
- $current);
- }
- )
- otherlv_1='inf'
- {
- newLeafNode(otherlv_1, grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
- }
- )
-;
-
-// Entry rule entryRuleEmptyIntervalLiteral
-entryRuleEmptyIntervalLiteral returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule()); }
- iv_ruleEmptyIntervalLiteral=ruleEmptyIntervalLiteral
- { $current=$iv_ruleEmptyIntervalLiteral.current; }
- EOF;
-
-// Rule EmptyIntervalLiteral
-ruleEmptyIntervalLiteral returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- $current = forceCreateModelElement(
- grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0(),
- $current);
- }
- )
- otherlv_1='empty'
- {
- newLeafNode(otherlv_1, grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
- }
- )
-;
-
-// Entry rule entryRuleStringLiteral
-entryRuleStringLiteral returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getStringLiteralRule()); }
- iv_ruleStringLiteral=ruleStringLiteral
- { $current=$iv_ruleStringLiteral.current; }
- EOF;
-
-// Rule StringLiteral
-ruleStringLiteral returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- lv_value_0_0=RULE_STRING
- {
- newLeafNode(lv_value_0_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getStringLiteralRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.STRING");
- }
- )
- )
-;
-
-// Entry rule entryRuleClassDefinition
-entryRuleClassDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getClassDefinitionRule()); }
- iv_ruleClassDefinition=ruleClassDefinition
- { $current=$iv_ruleClassDefinition.current; }
- EOF;
-
-// Rule ClassDefinition
-ruleClassDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- lv_abstract_0_0='abstract'
- {
- newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
- setWithLastConsumed($current, "abstract", true, "abstract");
- }
- )
- )?
- otherlv_1='class'
- {
- newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
- }
- (
- (
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "org.eclipse.xtext.common.Terminals.ID");
- }
- )
- )
- (
- otherlv_3='extends'
- {
- newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
- }
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- otherlv_5=','
- {
- newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
- }
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- )*
- )?
- otherlv_7='{'
- {
- newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
- }
- lv_members_8_0=ruleMemberDefinition
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassDefinitionRule());
- }
- add(
- $current,
- "members",
- lv_members_8_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition");
- afterParserOrEnumRuleCall();
- }
- )
- )*
- otherlv_9='}'
- {
- newLeafNode(otherlv_9, grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
- }
- )
-;
-
-// Entry rule entryRuleMemberDefinition
-entryRuleMemberDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getMemberDefinitionRule()); }
- iv_ruleMemberDefinition=ruleMemberDefinition
- { $current=$iv_ruleMemberDefinition.current; }
- EOF;
-
-// Rule MemberDefinition
-ruleMemberDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- lv_containment_0_0='contains'
- {
- newLeafNode(lv_containment_0_0, grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
- setWithLastConsumed($current, "containment", true, "contains");
- }
- )
- )?
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
- }
- lv_multiplicity_2_0=ruleMultiplicity
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMemberDefinitionRule());
- }
- set(
- $current,
- "multiplicity",
- lv_multiplicity_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity");
- afterParserOrEnumRuleCall();
- }
- )
- )?
- (
- (
- lv_name_3_0=RULE_ID
- {
- newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_3_0,
- "org.eclipse.xtext.common.Terminals.ID");
- }
- )
- )
- (
- otherlv_4='opposite'
- {
- newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
- }
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- )?
- (
- otherlv_6=';'
- {
- newLeafNode(otherlv_6, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
- }
- )?
- )
-;
-
-// Entry rule entryRuleMultiplicity
-entryRuleMultiplicity returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getMultiplicityRule()); }
- iv_ruleMultiplicity=ruleMultiplicity
- { $current=$iv_ruleMultiplicity.current; }
- EOF;
-
-// Rule Multiplicity
-ruleMultiplicity returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
- }
- this_ManyMultiplicity_0=ruleManyMultiplicity
- {
- $current = $this_ManyMultiplicity_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
- }
- this_ExactMultiplicity_1=ruleExactMultiplicity
- {
- $current = $this_ExactMultiplicity_1.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
- }
- this_BoundedMultiplicity_2=ruleBoundedMultiplicity
- {
- $current = $this_BoundedMultiplicity_2.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRuleManyMultiplicity
-entryRuleManyMultiplicity returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getManyMultiplicityRule()); }
- iv_ruleManyMultiplicity=ruleManyMultiplicity
- { $current=$iv_ruleManyMultiplicity.current; }
- EOF;
-
-// Rule ManyMultiplicity
-ruleManyMultiplicity returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- {
- $current = forceCreateModelElement(
- grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0(),
- $current);
- }
- )
- otherlv_1='['
- {
- newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
- }
- otherlv_2=']'
- {
- newLeafNode(otherlv_2, grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
- }
- )
-;
-
-// Entry rule entryRuleExactMultiplicity
-entryRuleExactMultiplicity returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExactMultiplicityRule()); }
- iv_ruleExactMultiplicity=ruleExactMultiplicity
- { $current=$iv_ruleExactMultiplicity.current; }
- EOF;
-
-// Rule ExactMultiplicity
-ruleExactMultiplicity returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='['
- {
- newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
- }
- lv_multiplicity_1_0=ruleUpperMultiplicty
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExactMultiplicityRule());
- }
- set(
- $current,
- "multiplicity",
- lv_multiplicity_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2=']'
- {
- newLeafNode(otherlv_2, grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
- }
- )
-;
-
-// Entry rule entryRuleBoundedMultiplicity
-entryRuleBoundedMultiplicity returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getBoundedMultiplicityRule()); }
- iv_ruleBoundedMultiplicity=ruleBoundedMultiplicity
- { $current=$iv_ruleBoundedMultiplicity.current; }
- EOF;
-
-// Rule BoundedMultiplicity
-ruleBoundedMultiplicity returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='['
- {
- newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
- }
- (
- (
- lv_lowerBound_1_0=RULE_INT
- {
- newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedMultiplicityRule());
- }
- setWithLastConsumed(
- $current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- otherlv_2='..'
- {
- newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
- }
- (
- (
- {
- newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
- }
- lv_upperBound_3_0=ruleUpperMultiplicty
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getBoundedMultiplicityRule());
- }
- set(
- $current,
- "upperBound",
- lv_upperBound_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_4=']'
- {
- newLeafNode(otherlv_4, grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
- }
- )
-;
-
-// Entry rule entryRuleScopeDefinition
-entryRuleScopeDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getScopeDefinitionRule()); }
- iv_ruleScopeDefinition=ruleScopeDefinition
- { $current=$iv_ruleScopeDefinition.current; }
- EOF;
-
-// Rule ScopeDefinition
-ruleScopeDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- {
- newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
- }
- this_ExactScopeDefinition_0=ruleExactScopeDefinition
- {
- $current = $this_ExactScopeDefinition_0.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
- }
- this_BoundedScopeDefinition_1=ruleBoundedScopeDefinition
- {
- $current = $this_BoundedScopeDefinition_1.current;
- afterParserOrEnumRuleCall();
- }
- |
- {
- newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
- }
- this_LowerBoundedScopeDefinition_2=ruleLowerBoundedScopeDefinition
- {
- $current = $this_LowerBoundedScopeDefinition_2.current;
- afterParserOrEnumRuleCall();
- }
- )
-;
-
-// Entry rule entryRuleExactScopeDefinition
-entryRuleExactScopeDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getExactScopeDefinitionRule()); }
- iv_ruleExactScopeDefinition=ruleExactScopeDefinition
- { $current=$iv_ruleExactScopeDefinition.current; }
- EOF;
-
-// Rule ExactScopeDefinition
-ruleExactScopeDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='scope'
- {
- newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
- }
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_2='=='
- {
- newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
- }
- (
- (
- lv_exactScope_3_0=RULE_INT
- {
- newLeafNode(lv_exactScope_3_0, grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "exactScope",
- lv_exactScope_3_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleBoundedScopeDefinition
-entryRuleBoundedScopeDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule()); }
- iv_ruleBoundedScopeDefinition=ruleBoundedScopeDefinition
- { $current=$iv_ruleBoundedScopeDefinition.current; }
- EOF;
-
-// Rule BoundedScopeDefinition
-ruleBoundedScopeDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='scope'
- {
- newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
- }
- (
- (
- (
- (
- (
- lv_lowerBound_1_0=RULE_INT
- {
- newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- otherlv_2='<='
- {
- newLeafNode(otherlv_2, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
- }
- )?
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_4='<='
- {
- newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
- }
- (
- (
- lv_upperBound_5_0=RULE_INT
- {
- newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "upperBound",
- lv_upperBound_5_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- )
- |
- (
- (
- (
- lv_upperBound_6_0=RULE_INT
- {
- newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "upperBound",
- lv_upperBound_6_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- otherlv_7='>='
- {
- newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
- }
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- otherlv_9='>='
- {
- newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
- }
- (
- (
- lv_lowerBound_10_0=RULE_INT
- {
- newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "lowerBound",
- lv_lowerBound_10_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- )?
- )
- )
- otherlv_11='.'
- {
- newLeafNode(otherlv_11, grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2());
- }
- )
-;
-
-// Entry rule entryRuleLowerBoundedScopeDefinition
-entryRuleLowerBoundedScopeDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule()); }
- iv_ruleLowerBoundedScopeDefinition=ruleLowerBoundedScopeDefinition
- { $current=$iv_ruleLowerBoundedScopeDefinition.current; }
- EOF;
-
-// Rule LowerBoundedScopeDefinition
-ruleLowerBoundedScopeDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- otherlv_0='scope'
- {
- newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
- }
- (
- (
- (
- (
- lv_lowerBound_1_0=RULE_INT
- {
- newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- otherlv_2='<='
- {
- newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
- }
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
- |
- (
- (
- (
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- }
- {
- newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
- }
- ruleQualifiedName
- {
- afterParserOrEnumRuleCall();
- }
- )
- )
- otherlv_5='>='
- {
- newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
- }
- (
- (
- lv_lowerBound_6_0=RULE_INT
- {
- newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "lowerBound",
- lv_lowerBound_6_0,
- "org.eclipse.xtext.common.Terminals.INT");
- }
- )
- )
- )
- )
- otherlv_7='.'
- {
- newLeafNode(otherlv_7, grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2());
- }
- )
-;
-
-// Entry rule entryRuleObjectiveDefinition
-entryRuleObjectiveDefinition returns [EObject current=null]:
- { newCompositeNode(grammarAccess.getObjectiveDefinitionRule()); }
- iv_ruleObjectiveDefinition=ruleObjectiveDefinition
- { $current=$iv_ruleObjectiveDefinition.current; }
- EOF;
-
-// Rule ObjectiveDefinition
-ruleObjectiveDefinition returns [EObject current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- (
- {
- newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
- }
- lv_kind_0_0=ruleObjectiveKind
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
- }
- set(
- $current,
- "kind",
- lv_kind_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveKind");
- afterParserOrEnumRuleCall();
- }
- )
- )
- (
- (
- {
- newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
- }
- lv_objective_1_0=ruleExpression
- {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
- }
- set(
- $current,
- "objective",
- lv_objective_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
- }
- )
- )
- )
-;
-
-// Entry rule entryRuleUpperMultiplicty
-entryRuleUpperMultiplicty returns [String current=null]:
- { newCompositeNode(grammarAccess.getUpperMultiplictyRule()); }
- iv_ruleUpperMultiplicty=ruleUpperMultiplicty
- { $current=$iv_ruleUpperMultiplicty.current.getText(); }
- EOF;
-
-// Rule UpperMultiplicty
-ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- this_INT_0=RULE_INT
- {
- $current.merge(this_INT_0);
- }
- {
- newLeafNode(this_INT_0, grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
- }
- |
- kw='*'
- {
- $current.merge(kw);
- newLeafNode(kw, grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
- }
- )
-;
-
-// Entry rule entryRuleReal
-entryRuleReal returns [String current=null]@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}:
- { newCompositeNode(grammarAccess.getRealRule()); }
- iv_ruleReal=ruleReal
- { $current=$iv_ruleReal.current.getText(); }
- EOF;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule Real
-ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
-@init {
- enterRule();
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-@after {
- leaveRule();
-}:
- (
- this_INT_0=RULE_INT
- {
- $current.merge(this_INT_0);
- }
- {
- newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
- }
- (
- kw='.'
- {
- $current.merge(kw);
- newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0());
- }
- this_INT_2=RULE_INT
- {
- $current.merge(this_INT_2);
- }
- {
- newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
- }
- )?
- )
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Entry rule entryRuleQualifiedName
-entryRuleQualifiedName returns [String current=null]@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}:
- { newCompositeNode(grammarAccess.getQualifiedNameRule()); }
- iv_ruleQualifiedName=ruleQualifiedName
- { $current=$iv_ruleQualifiedName.current.getText(); }
- EOF;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule QualifiedName
-ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
-@init {
- enterRule();
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-@after {
- leaveRule();
-}:
- (
- (
- this_ID_0=RULE_ID
- {
- $current.merge(this_ID_0);
- }
- {
- newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
- }
- (
- kw='.'
- {
- $current.merge(kw);
- newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
- }
- this_ID_2=RULE_ID
- {
- $current.merge(this_ID_2);
- }
- {
- newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
- }
- )*
- )
- |
- this_QUOTED_ID_3=RULE_QUOTED_ID
- {
- $current.merge(this_QUOTED_ID_3);
- }
- {
- newLeafNode(this_QUOTED_ID_3, grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
- }
- )
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule MetricType
-ruleMetricType returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='int'
- {
- $current = grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='real'
- {
- $current = grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
- }
- )
- )
-;
-
-// Rule ComparisonOperator
-ruleComparisonOperator returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='=='
- {
- $current = grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='!='
- {
- $current = grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
- }
- )
- |
- (
- enumLiteral_2='<'
- {
- $current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
- }
- )
- |
- (
- enumLiteral_3='<='
- {
- $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
- }
- )
- |
- (
- enumLiteral_4='>'
- {
- $current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
- }
- )
- |
- (
- enumLiteral_5='>='
- {
- $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
- }
- )
- |
- (
- enumLiteral_6='in'
- {
- $current = grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
- }
- )
- )
-;
-
-// Rule AdditiveBinaryOperator
-ruleAdditiveBinaryOperator returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='+'
- {
- $current = grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='-'
- {
- $current = grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
- }
- )
- )
-;
-
-// Rule MultiplicativeBinaryOperator
-ruleMultiplicativeBinaryOperator returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='*'
- {
- $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='/'
- {
- $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
- }
- )
- )
-;
-
-// Rule ExponentialOp
-ruleExponentialOp returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- enumLiteral_0='^'
- {
- $current = grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
- }
- )
-;
-
-// Rule UnaryOp
-ruleUnaryOp returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='!'
- {
- $current = grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='+'
- {
- $current = grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
- }
- )
- |
- (
- enumLiteral_2='-'
- {
- $current = grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
- }
- )
- |
- (
- enumLiteral_3='may'
- {
- $current = grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
- }
- )
- |
- (
- enumLiteral_4='must'
- {
- $current = grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
- }
- )
- |
- (
- enumLiteral_5='current'
- {
- $current = grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
- }
- )
- )
-;
-
-// Rule AggregationOp
-ruleAggregationOp returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='only'
- {
- $current = grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='sum'
- {
- $current = grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
- }
- )
- |
- (
- enumLiteral_2='prod'
- {
- $current = grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
- }
- )
- |
- (
- enumLiteral_3='avg'
- {
- $current = grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
- }
- )
- |
- (
- enumLiteral_4='min'
- {
- $current = grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
- }
- )
- |
- (
- enumLiteral_5='max'
- {
- $current = grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
- }
- )
- )
-;
-
-// Rule LogicValue
-ruleLogicValue returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='true'
- {
- $current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='false'
- {
- $current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
- }
- )
- |
- (
- enumLiteral_2='unknown'
- {
- $current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
- }
- )
- |
- (
- enumLiteral_3='error'
- {
- $current = grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
- }
- )
- )
-;
-
-// Rule ObjectiveKind
-ruleObjectiveKind returns [Enumerator current=null]
-@init {
- enterRule();
-}
-@after {
- leaveRule();
-}:
- (
- (
- enumLiteral_0='minimize'
- {
- $current = grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
- }
- )
- |
- (
- enumLiteral_1='maximize'
- {
- $current = grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
- }
- )
- )
-;
-
-RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"';
-
-RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\'';
-
-RULE_PLUS : 'synthetic::plus';
-
-RULE_STAR : 'synthetic::star';
-
-RULE_DOT : 'synthetic::dot';
-
-RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.tokens
deleted file mode 100644
index 1cf5b64f..00000000
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguage.tokens
+++ /dev/null
@@ -1,131 +0,0 @@
-'!'=60
-'!='=52
-'('=33
-')'=34
-'*'=35
-'+'=56
-','=28
-'-'=57
-'->'=27
-'.'=22
-'..'=37
-'/'=58
-':'=15
-':-'=16
-';'=26
-'<'=53
-'<='=48
-'='=17
-'=='=47
-'>'=54
-'>='=49
-'['=36
-']'=38
-'^'=59
-'abstract'=41
-'avg'=67
-'class'=42
-'contains'=44
-'count'=29
-'current'=63
-'default'=20
-'else'=25
-'empty'=40
-'error'=19
-'extends'=43
-'extern'=21
-'false'=71
-'functional'=18
-'if'=23
-'in'=55
-'inf'=39
-'int'=50
-'max'=69
-'maximize'=74
-'may'=61
-'min'=68
-'minimize'=73
-'must'=62
-'only'=64
-'opposite'=45
-'prod'=66
-'real'=51
-'scope'=46
-'sum'=65
-'then'=24
-'true'=70
-'unknown'=72
-'{'=30
-'|'=32
-'}'=31
-RULE_ANY_OTHER=14
-RULE_DOT=4
-RULE_ID=8
-RULE_INT=9
-RULE_ML_COMMENT=11
-RULE_PLUS=6
-RULE_QUOTED_ID=10
-RULE_SL_COMMENT=12
-RULE_STAR=5
-RULE_STRING=7
-RULE_WS=13
-T__15=15
-T__16=16
-T__17=17
-T__18=18
-T__19=19
-T__20=20
-T__21=21
-T__22=22
-T__23=23
-T__24=24
-T__25=25
-T__26=26
-T__27=27
-T__28=28
-T__29=29
-T__30=30
-T__31=31
-T__32=32
-T__33=33
-T__34=34
-T__35=35
-T__36=36
-T__37=37
-T__38=38
-T__39=39
-T__40=40
-T__41=41
-T__42=42
-T__43=43
-T__44=44
-T__45=45
-T__46=46
-T__47=47
-T__48=48
-T__49=49
-T__50=50
-T__51=51
-T__52=52
-T__53=53
-T__54=54
-T__55=55
-T__56=56
-T__57=57
-T__58=58
-T__59=59
-T__60=60
-T__61=61
-T__62=62
-T__63=63
-T__64=64
-T__65=65
-T__66=66
-T__67=67
-T__68=68
-T__69=69
-T__70=70
-T__71=71
-T__72=72
-T__73=73
-T__74=74
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageLexer.java
deleted file mode 100644
index 21e5bac9..00000000
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageLexer.java
+++ /dev/null
@@ -1,2805 +0,0 @@
-package org.eclipse.viatra.solver.language.parser.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.parser.antlr.Lexer;
-
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
-@SuppressWarnings("all")
-public class InternalSolverLanguageLexer extends Lexer {
- public static final int T__50=50;
- public static final int T__19=19;
- public static final int T__15=15;
- public static final int T__59=59;
- public static final int T__16=16;
- public static final int T__17=17;
- public static final int T__18=18;
- public static final int T__55=55;
- public static final int T__56=56;
- public static final int T__57=57;
- public static final int T__58=58;
- public static final int T__51=51;
- public static final int RULE_STAR=5;
- public static final int T__52=52;
- public static final int T__53=53;
- public static final int T__54=54;
- public static final int T__60=60;
- public static final int T__61=61;
- public static final int RULE_ID=8;
- public static final int RULE_QUOTED_ID=10;
- public static final int T__26=26;
- public static final int T__27=27;
- public static final int T__28=28;
- public static final int RULE_INT=9;
- public static final int T__29=29;
- public static final int T__22=22;
- public static final int T__66=66;
- public static final int RULE_ML_COMMENT=11;
- public static final int T__23=23;
- public static final int T__67=67;
- public static final int T__24=24;
- public static final int T__68=68;
- public static final int T__25=25;
- public static final int T__69=69;
- public static final int T__62=62;
- public static final int T__63=63;
- public static final int T__20=20;
- public static final int T__64=64;
- public static final int T__21=21;
- public static final int T__65=65;
- public static final int T__70=70;
- public static final int T__71=71;
- public static final int T__72=72;
- public static final int RULE_STRING=7;
- public static final int RULE_SL_COMMENT=12;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int RULE_PLUS=6;
- public static final int T__36=36;
- public static final int T__73=73;
- public static final int RULE_DOT=4;
- public static final int EOF=-1;
- public static final int T__30=30;
- public static final int T__74=74;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_WS=13;
- public static final int RULE_ANY_OTHER=14;
- public static final int T__48=48;
- public static final int T__49=49;
- public static final int T__44=44;
- public static final int T__45=45;
- public static final int T__46=46;
- public static final int T__47=47;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__42=42;
- public static final int T__43=43;
-
- // delegates
- // delegators
-
- public InternalSolverLanguageLexer() {;}
- public InternalSolverLanguageLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
- public InternalSolverLanguageLexer(CharStream input, RecognizerSharedState state) {
- super(input,state);
-
- }
- public String getGrammarFileName() { return "InternalSolverLanguage.g"; }
-
- // $ANTLR start "T__15"
- public final void mT__15() throws RecognitionException {
- try {
- int _type = T__15;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:11:7: ( ':' )
- // InternalSolverLanguage.g:11:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__15"
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:12:7: ( ':-' )
- // InternalSolverLanguage.g:12:9: ':-'
- {
- match(":-");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:13:7: ( '=' )
- // InternalSolverLanguage.g:13:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:14:7: ( 'functional' )
- // InternalSolverLanguage.g:14:9: 'functional'
- {
- match("functional");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:15:7: ( 'error' )
- // InternalSolverLanguage.g:15:9: 'error'
- {
- match("error");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:16:7: ( 'default' )
- // InternalSolverLanguage.g:16:9: 'default'
- {
- match("default");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:17:7: ( 'extern' )
- // InternalSolverLanguage.g:17:9: 'extern'
- {
- match("extern");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:18:7: ( '.' )
- // InternalSolverLanguage.g:18:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:19:7: ( 'if' )
- // InternalSolverLanguage.g:19:9: 'if'
- {
- match("if");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:20:7: ( 'then' )
- // InternalSolverLanguage.g:20:9: 'then'
- {
- match("then");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:21:7: ( 'else' )
- // InternalSolverLanguage.g:21:9: 'else'
- {
- match("else");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:22:7: ( ';' )
- // InternalSolverLanguage.g:22:9: ';'
- {
- match(';');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:23:7: ( '->' )
- // InternalSolverLanguage.g:23:9: '->'
- {
- match("->");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:24:7: ( ',' )
- // InternalSolverLanguage.g:24:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:25:7: ( 'count' )
- // InternalSolverLanguage.g:25:9: 'count'
- {
- match("count");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:26:7: ( '{' )
- // InternalSolverLanguage.g:26:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:27:7: ( '}' )
- // InternalSolverLanguage.g:27:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:28:7: ( '|' )
- // InternalSolverLanguage.g:28:9: '|'
- {
- match('|');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:29:7: ( '(' )
- // InternalSolverLanguage.g:29:9: '('
- {
- match('(');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:30:7: ( ')' )
- // InternalSolverLanguage.g:30:9: ')'
- {
- match(')');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:31:7: ( '*' )
- // InternalSolverLanguage.g:31:9: '*'
- {
- match('*');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:32:7: ( '[' )
- // InternalSolverLanguage.g:32:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__36"
-
- // $ANTLR start "T__37"
- public final void mT__37() throws RecognitionException {
- try {
- int _type = T__37;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:33:7: ( '..' )
- // InternalSolverLanguage.g:33:9: '..'
- {
- match("..");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:34:7: ( ']' )
- // InternalSolverLanguage.g:34:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__38"
-
- // $ANTLR start "T__39"
- public final void mT__39() throws RecognitionException {
- try {
- int _type = T__39;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:35:7: ( 'inf' )
- // InternalSolverLanguage.g:35:9: 'inf'
- {
- match("inf");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__39"
-
- // $ANTLR start "T__40"
- public final void mT__40() throws RecognitionException {
- try {
- int _type = T__40;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:36:7: ( 'empty' )
- // InternalSolverLanguage.g:36:9: 'empty'
- {
- match("empty");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__40"
-
- // $ANTLR start "T__41"
- public final void mT__41() throws RecognitionException {
- try {
- int _type = T__41;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:37:7: ( 'abstract' )
- // InternalSolverLanguage.g:37:9: 'abstract'
- {
- match("abstract");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__41"
-
- // $ANTLR start "T__42"
- public final void mT__42() throws RecognitionException {
- try {
- int _type = T__42;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:38:7: ( 'class' )
- // InternalSolverLanguage.g:38:9: 'class'
- {
- match("class");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__42"
-
- // $ANTLR start "T__43"
- public final void mT__43() throws RecognitionException {
- try {
- int _type = T__43;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:39:7: ( 'extends' )
- // InternalSolverLanguage.g:39:9: 'extends'
- {
- match("extends");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__43"
-
- // $ANTLR start "T__44"
- public final void mT__44() throws RecognitionException {
- try {
- int _type = T__44;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:40:7: ( 'contains' )
- // InternalSolverLanguage.g:40:9: 'contains'
- {
- match("contains");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__44"
-
- // $ANTLR start "T__45"
- public final void mT__45() throws RecognitionException {
- try {
- int _type = T__45;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:41:7: ( 'opposite' )
- // InternalSolverLanguage.g:41:9: 'opposite'
- {
- match("opposite");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__45"
-
- // $ANTLR start "T__46"
- public final void mT__46() throws RecognitionException {
- try {
- int _type = T__46;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:42:7: ( 'scope' )
- // InternalSolverLanguage.g:42:9: 'scope'
- {
- match("scope");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__46"
-
- // $ANTLR start "T__47"
- public final void mT__47() throws RecognitionException {
- try {
- int _type = T__47;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:43:7: ( '==' )
- // InternalSolverLanguage.g:43:9: '=='
- {
- match("==");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__47"
-
- // $ANTLR start "T__48"
- public final void mT__48() throws RecognitionException {
- try {
- int _type = T__48;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:44:7: ( '<=' )
- // InternalSolverLanguage.g:44:9: '<='
- {
- match("<=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__48"
-
- // $ANTLR start "T__49"
- public final void mT__49() throws RecognitionException {
- try {
- int _type = T__49;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:45:7: ( '>=' )
- // InternalSolverLanguage.g:45:9: '>='
- {
- match(">=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__49"
-
- // $ANTLR start "T__50"
- public final void mT__50() throws RecognitionException {
- try {
- int _type = T__50;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:46:7: ( 'int' )
- // InternalSolverLanguage.g:46:9: 'int'
- {
- match("int");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__50"
-
- // $ANTLR start "T__51"
- public final void mT__51() throws RecognitionException {
- try {
- int _type = T__51;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:47:7: ( 'real' )
- // InternalSolverLanguage.g:47:9: 'real'
- {
- match("real");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__51"
-
- // $ANTLR start "T__52"
- public final void mT__52() throws RecognitionException {
- try {
- int _type = T__52;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:48:7: ( '!=' )
- // InternalSolverLanguage.g:48:9: '!='
- {
- match("!=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__52"
-
- // $ANTLR start "T__53"
- public final void mT__53() throws RecognitionException {
- try {
- int _type = T__53;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:49:7: ( '<' )
- // InternalSolverLanguage.g:49:9: '<'
- {
- match('<');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__53"
-
- // $ANTLR start "T__54"
- public final void mT__54() throws RecognitionException {
- try {
- int _type = T__54;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:50:7: ( '>' )
- // InternalSolverLanguage.g:50:9: '>'
- {
- match('>');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__54"
-
- // $ANTLR start "T__55"
- public final void mT__55() throws RecognitionException {
- try {
- int _type = T__55;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:51:7: ( 'in' )
- // InternalSolverLanguage.g:51:9: 'in'
- {
- match("in");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__55"
-
- // $ANTLR start "T__56"
- public final void mT__56() throws RecognitionException {
- try {
- int _type = T__56;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:52:7: ( '+' )
- // InternalSolverLanguage.g:52:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__56"
-
- // $ANTLR start "T__57"
- public final void mT__57() throws RecognitionException {
- try {
- int _type = T__57;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:53:7: ( '-' )
- // InternalSolverLanguage.g:53:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__57"
-
- // $ANTLR start "T__58"
- public final void mT__58() throws RecognitionException {
- try {
- int _type = T__58;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:54:7: ( '/' )
- // InternalSolverLanguage.g:54:9: '/'
- {
- match('/');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__58"
-
- // $ANTLR start "T__59"
- public final void mT__59() throws RecognitionException {
- try {
- int _type = T__59;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:55:7: ( '^' )
- // InternalSolverLanguage.g:55:9: '^'
- {
- match('^');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__59"
-
- // $ANTLR start "T__60"
- public final void mT__60() throws RecognitionException {
- try {
- int _type = T__60;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:56:7: ( '!' )
- // InternalSolverLanguage.g:56:9: '!'
- {
- match('!');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__60"
-
- // $ANTLR start "T__61"
- public final void mT__61() throws RecognitionException {
- try {
- int _type = T__61;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:57:7: ( 'may' )
- // InternalSolverLanguage.g:57:9: 'may'
- {
- match("may");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__61"
-
- // $ANTLR start "T__62"
- public final void mT__62() throws RecognitionException {
- try {
- int _type = T__62;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:58:7: ( 'must' )
- // InternalSolverLanguage.g:58:9: 'must'
- {
- match("must");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__62"
-
- // $ANTLR start "T__63"
- public final void mT__63() throws RecognitionException {
- try {
- int _type = T__63;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:59:7: ( 'current' )
- // InternalSolverLanguage.g:59:9: 'current'
- {
- match("current");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__63"
-
- // $ANTLR start "T__64"
- public final void mT__64() throws RecognitionException {
- try {
- int _type = T__64;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:60:7: ( 'only' )
- // InternalSolverLanguage.g:60:9: 'only'
- {
- match("only");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__64"
-
- // $ANTLR start "T__65"
- public final void mT__65() throws RecognitionException {
- try {
- int _type = T__65;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:61:7: ( 'sum' )
- // InternalSolverLanguage.g:61:9: 'sum'
- {
- match("sum");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__65"
-
- // $ANTLR start "T__66"
- public final void mT__66() throws RecognitionException {
- try {
- int _type = T__66;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:62:7: ( 'prod' )
- // InternalSolverLanguage.g:62:9: 'prod'
- {
- match("prod");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__66"
-
- // $ANTLR start "T__67"
- public final void mT__67() throws RecognitionException {
- try {
- int _type = T__67;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:63:7: ( 'avg' )
- // InternalSolverLanguage.g:63:9: 'avg'
- {
- match("avg");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__67"
-
- // $ANTLR start "T__68"
- public final void mT__68() throws RecognitionException {
- try {
- int _type = T__68;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:64:7: ( 'min' )
- // InternalSolverLanguage.g:64:9: 'min'
- {
- match("min");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__68"
-
- // $ANTLR start "T__69"
- public final void mT__69() throws RecognitionException {
- try {
- int _type = T__69;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:65:7: ( 'max' )
- // InternalSolverLanguage.g:65:9: 'max'
- {
- match("max");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__69"
-
- // $ANTLR start "T__70"
- public final void mT__70() throws RecognitionException {
- try {
- int _type = T__70;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:66:7: ( 'true' )
- // InternalSolverLanguage.g:66:9: 'true'
- {
- match("true");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__70"
-
- // $ANTLR start "T__71"
- public final void mT__71() throws RecognitionException {
- try {
- int _type = T__71;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:67:7: ( 'false' )
- // InternalSolverLanguage.g:67:9: 'false'
- {
- match("false");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__71"
-
- // $ANTLR start "T__72"
- public final void mT__72() throws RecognitionException {
- try {
- int _type = T__72;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:68:7: ( 'unknown' )
- // InternalSolverLanguage.g:68:9: 'unknown'
- {
- match("unknown");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__72"
-
- // $ANTLR start "T__73"
- public final void mT__73() throws RecognitionException {
- try {
- int _type = T__73;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:69:7: ( 'minimize' )
- // InternalSolverLanguage.g:69:9: 'minimize'
- {
- match("minimize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__73"
-
- // $ANTLR start "T__74"
- public final void mT__74() throws RecognitionException {
- try {
- int _type = T__74;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:70:7: ( 'maximize' )
- // InternalSolverLanguage.g:70:9: 'maximize'
- {
- match("maximize");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__74"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3882:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // InternalSolverLanguage.g:3882:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // InternalSolverLanguage.g:3882:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
- loop1:
- do {
- int alt1=3;
- int LA1_0 = input.LA(1);
-
- if ( (LA1_0=='\\') ) {
- alt1=1;
- }
- else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) {
- alt1=2;
- }
-
-
- switch (alt1) {
- case 1 :
- // InternalSolverLanguage.g:3882:20: '\\\\' .
- {
- match('\\');
- matchAny();
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:3882:27: ~ ( ( '\\\\' | '\"' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop1;
- }
- } while (true);
-
- match('\"');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_QUOTED_ID"
- public final void mRULE_QUOTED_ID() throws RecognitionException {
- try {
- int _type = RULE_QUOTED_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3884:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- // InternalSolverLanguage.g:3884:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
- {
- match('\'');
- // InternalSolverLanguage.g:3884:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop2:
- do {
- int alt2=3;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0=='\\') ) {
- alt2=1;
- }
- else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) {
- alt2=2;
- }
-
-
- switch (alt2) {
- case 1 :
- // InternalSolverLanguage.g:3884:24: '\\\\' .
- {
- match('\\');
- matchAny();
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:3884:31: ~ ( ( '\\\\' | '\\'' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop2;
- }
- } while (true);
-
- match('\'');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_QUOTED_ID"
-
- // $ANTLR start "RULE_PLUS"
- public final void mRULE_PLUS() throws RecognitionException {
- try {
- int _type = RULE_PLUS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3886:11: ( 'synthetic::plus' )
- // InternalSolverLanguage.g:3886:13: 'synthetic::plus'
- {
- match("synthetic::plus");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_PLUS"
-
- // $ANTLR start "RULE_STAR"
- public final void mRULE_STAR() throws RecognitionException {
- try {
- int _type = RULE_STAR;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3888:11: ( 'synthetic::star' )
- // InternalSolverLanguage.g:3888:13: 'synthetic::star'
- {
- match("synthetic::star");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_STAR"
-
- // $ANTLR start "RULE_DOT"
- public final void mRULE_DOT() throws RecognitionException {
- try {
- int _type = RULE_DOT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3890:10: ( 'synthetic::dot' )
- // InternalSolverLanguage.g:3890:12: 'synthetic::dot'
- {
- match("synthetic::dot");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_DOT"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3892:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // InternalSolverLanguage.g:3892:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- // InternalSolverLanguage.g:3892:11: ( '^' )?
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0=='^') ) {
- alt3=1;
- }
- switch (alt3) {
- case 1 :
- // InternalSolverLanguage.g:3892:11: '^'
- {
- match('^');
-
- }
- break;
-
- }
-
- if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
- // InternalSolverLanguage.g:3892:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
- do {
- int alt4=2;
- int LA4_0 = input.LA(1);
-
- if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
- alt4=1;
- }
-
-
- switch (alt4) {
- case 1 :
- // InternalSolverLanguage.g:
- {
- if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop4;
- }
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3894:10: ( ( '0' .. '9' )+ )
- // InternalSolverLanguage.g:3894:12: ( '0' .. '9' )+
- {
- // InternalSolverLanguage.g:3894:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
- do {
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( ((LA5_0>='0' && LA5_0<='9')) ) {
- alt5=1;
- }
-
-
- switch (alt5) {
- case 1 :
- // InternalSolverLanguage.g:3894:13: '0' .. '9'
- {
- matchRange('0','9');
-
- }
- break;
-
- default :
- if ( cnt5 >= 1 ) break loop5;
- EarlyExitException eee =
- new EarlyExitException(5, input);
- throw eee;
- }
- cnt5++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3896:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // InternalSolverLanguage.g:3896:19: '/*' ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- // InternalSolverLanguage.g:3896:24: ( options {greedy=false; } : . )*
- loop6:
- do {
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( (LA6_0=='*') ) {
- int LA6_1 = input.LA(2);
-
- if ( (LA6_1=='/') ) {
- alt6=2;
- }
- else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) {
- alt6=1;
- }
-
-
- }
- else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) {
- alt6=1;
- }
-
-
- switch (alt6) {
- case 1 :
- // InternalSolverLanguage.g:3896:52: .
- {
- matchAny();
-
- }
- break;
-
- default :
- break loop6;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3898:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalSolverLanguage.g:3898:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // InternalSolverLanguage.g:3898:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop7:
- do {
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) {
- alt7=1;
- }
-
-
- switch (alt7) {
- case 1 :
- // InternalSolverLanguage.g:3898:24: ~ ( ( '\\n' | '\\r' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop7;
- }
- } while (true);
-
- // InternalSolverLanguage.g:3898:40: ( ( '\\r' )? '\\n' )?
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0=='\n'||LA9_0=='\r') ) {
- alt9=1;
- }
- switch (alt9) {
- case 1 :
- // InternalSolverLanguage.g:3898:41: ( '\\r' )? '\\n'
- {
- // InternalSolverLanguage.g:3898:41: ( '\\r' )?
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0=='\r') ) {
- alt8=1;
- }
- switch (alt8) {
- case 1 :
- // InternalSolverLanguage.g:3898:41: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3900:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalSolverLanguage.g:3900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // InternalSolverLanguage.g:3900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt10=0;
- loop10:
- do {
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) {
- alt10=1;
- }
-
-
- switch (alt10) {
- case 1 :
- // InternalSolverLanguage.g:
- {
- if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- if ( cnt10 >= 1 ) break loop10;
- EarlyExitException eee =
- new EarlyExitException(10, input);
- throw eee;
- }
- cnt10++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalSolverLanguage.g:3902:16: ( . )
- // InternalSolverLanguage.g:3902:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ANY_OTHER"
-
- public void mTokens() throws RecognitionException {
- // InternalSolverLanguage.g:1:8: ( T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | RULE_STRING | RULE_QUOTED_ID | RULE_PLUS | RULE_STAR | RULE_DOT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt11=71;
- alt11 = dfa11.predict(input);
- switch (alt11) {
- case 1 :
- // InternalSolverLanguage.g:1:10: T__15
- {
- mT__15();
-
- }
- break;
- case 2 :
- // InternalSolverLanguage.g:1:16: T__16
- {
- mT__16();
-
- }
- break;
- case 3 :
- // InternalSolverLanguage.g:1:22: T__17
- {
- mT__17();
-
- }
- break;
- case 4 :
- // InternalSolverLanguage.g:1:28: T__18
- {
- mT__18();
-
- }
- break;
- case 5 :
- // InternalSolverLanguage.g:1:34: T__19
- {
- mT__19();
-
- }
- break;
- case 6 :
- // InternalSolverLanguage.g:1:40: T__20
- {
- mT__20();
-
- }
- break;
- case 7 :
- // InternalSolverLanguage.g:1:46: T__21
- {
- mT__21();
-
- }
- break;
- case 8 :
- // InternalSolverLanguage.g:1:52: T__22
- {
- mT__22();
-
- }
- break;
- case 9 :
- // InternalSolverLanguage.g:1:58: T__23
- {
- mT__23();
-
- }
- break;
- case 10 :
- // InternalSolverLanguage.g:1:64: T__24
- {
- mT__24();
-
- }
- break;
- case 11 :
- // InternalSolverLanguage.g:1:70: T__25
- {
- mT__25();
-
- }
- break;
- case 12 :
- // InternalSolverLanguage.g:1:76: T__26
- {
- mT__26();
-
- }
- break;
- case 13 :
- // InternalSolverLanguage.g:1:82: T__27
- {
- mT__27();
-
- }
- break;
- case 14 :
- // InternalSolverLanguage.g:1:88: T__28
- {
- mT__28();
-
- }
- break;
- case 15 :
- // InternalSolverLanguage.g:1:94: T__29
- {
- mT__29();
-
- }
- break;
- case 16 :
- // InternalSolverLanguage.g:1:100: T__30
- {
- mT__30();
-
- }
- break;
- case 17 :
- // InternalSolverLanguage.g:1:106: T__31
- {
- mT__31();
-
- }
- break;
- case 18 :
- // InternalSolverLanguage.g:1:112: T__32
- {
- mT__32();
-
- }
- break;
- case 19 :
- // InternalSolverLanguage.g:1:118: T__33
- {
- mT__33();
-
- }
- break;
- case 20 :
- // InternalSolverLanguage.g:1:124: T__34
- {
- mT__34();
-
- }
- break;
- case 21 :
- // InternalSolverLanguage.g:1:130: T__35
- {
- mT__35();
-
- }
- break;
- case 22 :
- // InternalSolverLanguage.g:1:136: T__36
- {
- mT__36();
-
- }
- break;
- case 23 :
- // InternalSolverLanguage.g:1:142: T__37
- {
- mT__37();
-
- }
- break;
- case 24 :
- // InternalSolverLanguage.g:1:148: T__38
- {
- mT__38();
-
- }
- break;
- case 25 :
- // InternalSolverLanguage.g:1:154: T__39
- {
- mT__39();
-
- }
- break;
- case 26 :
- // InternalSolverLanguage.g:1:160: T__40
- {
- mT__40();
-
- }
- break;
- case 27 :
- // InternalSolverLanguage.g:1:166: T__41
- {
- mT__41();
-
- }
- break;
- case 28 :
- // InternalSolverLanguage.g:1:172: T__42
- {
- mT__42();
-
- }
- break;
- case 29 :
- // InternalSolverLanguage.g:1:178: T__43
- {
- mT__43();
-
- }
- break;
- case 30 :
- // InternalSolverLanguage.g:1:184: T__44
- {
- mT__44();
-
- }
- break;
- case 31 :
- // InternalSolverLanguage.g:1:190: T__45
- {
- mT__45();
-
- }
- break;
- case 32 :
- // InternalSolverLanguage.g:1:196: T__46
- {
- mT__46();
-
- }
- break;
- case 33 :
- // InternalSolverLanguage.g:1:202: T__47
- {
- mT__47();
-
- }
- break;
- case 34 :
- // InternalSolverLanguage.g:1:208: T__48
- {
- mT__48();
-
- }
- break;
- case 35 :
- // InternalSolverLanguage.g:1:214: T__49
- {
- mT__49();
-
- }
- break;
- case 36 :
- // InternalSolverLanguage.g:1:220: T__50
- {
- mT__50();
-
- }
- break;
- case 37 :
- // InternalSolverLanguage.g:1:226: T__51
- {
- mT__51();
-
- }
- break;
- case 38 :
- // InternalSolverLanguage.g:1:232: T__52
- {
- mT__52();
-
- }
- break;
- case 39 :
- // InternalSolverLanguage.g:1:238: T__53
- {
- mT__53();
-
- }
- break;
- case 40 :
- // InternalSolverLanguage.g:1:244: T__54
- {
- mT__54();
-
- }
- break;
- case 41 :
- // InternalSolverLanguage.g:1:250: T__55
- {
- mT__55();
-
- }
- break;
- case 42 :
- // InternalSolverLanguage.g:1:256: T__56
- {
- mT__56();
-
- }
- break;
- case 43 :
- // InternalSolverLanguage.g:1:262: T__57
- {
- mT__57();
-
- }
- break;
- case 44 :
- // InternalSolverLanguage.g:1:268: T__58
- {
- mT__58();
-
- }
- break;
- case 45 :
- // InternalSolverLanguage.g:1:274: T__59
- {
- mT__59();
-
- }
- break;
- case 46 :
- // InternalSolverLanguage.g:1:280: T__60
- {
- mT__60();
-
- }
- break;
- case 47 :
- // InternalSolverLanguage.g:1:286: T__61
- {
- mT__61();
-
- }
- break;
- case 48 :
- // InternalSolverLanguage.g:1:292: T__62
- {
- mT__62();
-
- }
- break;
- case 49 :
- // InternalSolverLanguage.g:1:298: T__63
- {
- mT__63();
-
- }
- break;
- case 50 :
- // InternalSolverLanguage.g:1:304: T__64
- {
- mT__64();
-
- }
- break;
- case 51 :
- // InternalSolverLanguage.g:1:310: T__65
- {
- mT__65();
-
- }
- break;
- case 52 :
- // InternalSolverLanguage.g:1:316: T__66
- {
- mT__66();
-
- }
- break;
- case 53 :
- // InternalSolverLanguage.g:1:322: T__67
- {
- mT__67();
-
- }
- break;
- case 54 :
- // InternalSolverLanguage.g:1:328: T__68
- {
- mT__68();
-
- }
- break;
- case 55 :
- // InternalSolverLanguage.g:1:334: T__69
- {
- mT__69();
-
- }
- break;
- case 56 :
- // InternalSolverLanguage.g:1:340: T__70
- {
- mT__70();
-
- }
- break;
- case 57 :
- // InternalSolverLanguage.g:1:346: T__71
- {
- mT__71();
-
- }
- break;
- case 58 :
- // InternalSolverLanguage.g:1:352: T__72
- {
- mT__72();
-
- }
- break;
- case 59 :
- // InternalSolverLanguage.g:1:358: T__73
- {
- mT__73();
-
- }
- break;
- case 60 :
- // InternalSolverLanguage.g:1:364: T__74
- {
- mT__74();
-
- }
- break;
- case 61 :
- // InternalSolverLanguage.g:1:370: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 62 :
- // InternalSolverLanguage.g:1:382: RULE_QUOTED_ID
- {
- mRULE_QUOTED_ID();
-
- }
- break;
- case 63 :
- // InternalSolverLanguage.g:1:397: RULE_PLUS
- {
- mRULE_PLUS();
-
- }
- break;
- case 64 :
- // InternalSolverLanguage.g:1:407: RULE_STAR
- {
- mRULE_STAR();
-
- }
- break;
- case 65 :
- // InternalSolverLanguage.g:1:417: RULE_DOT
- {
- mRULE_DOT();
-
- }
- break;
- case 66 :
- // InternalSolverLanguage.g:1:426: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 67 :
- // InternalSolverLanguage.g:1:434: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 68 :
- // InternalSolverLanguage.g:1:443: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 69 :
- // InternalSolverLanguage.g:1:459: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 70 :
- // InternalSolverLanguage.g:1:475: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 71 :
- // InternalSolverLanguage.g:1:483: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA11 dfa11 = new DFA11(this);
- static final String DFA11_eotS =
- "\1\uffff\1\51\1\53\3\56\1\65\2\56\1\uffff\1\74\1\uffff\1\56\10\uffff\3\56\1\121\1\123\1\56\1\126\1\uffff\1\132\1\133\3\56\2\47\10\uffff\2\56\1\uffff\5\56\2\uffff\1\154\1\157\2\56\4\uffff\3\56\10\uffff\7\56\4\uffff\1\56\7\uffff\5\56\4\uffff\7\56\1\uffff\1\u008b\1\u008c\1\uffff\7\56\1\u0094\3\56\1\u0098\2\56\1\u009b\1\u009d\1\56\1\u00a0\6\56\1\u00a8\2\56\2\uffff\1\u00ab\1\u00ac\5\56\1\uffff\1\56\1\u00b3\1\56\1\uffff\1\56\1\u00b6\1\uffff\1\56\1\uffff\1\u00b8\1\56\1\uffff\1\u00ba\2\56\1\u00bd\1\u00be\2\56\1\uffff\1\u00c1\1\56\2\uffff\1\u00c3\1\56\1\u00c5\3\56\1\uffff\1\u00c9\1\56\1\uffff\1\56\1\uffff\1\56\1\uffff\2\56\2\uffff\1\u00cf\1\56\1\uffff\1\56\1\uffff\1\56\1\uffff\3\56\1\uffff\5\56\1\uffff\1\u00db\1\u00dc\1\56\1\u00de\5\56\1\u00e4\1\56\2\uffff\1\u00e6\1\uffff\1\u00e7\1\u00e8\1\56\1\u00ea\1\u00eb\1\uffff\1\56\3\uffff\1\56\2\uffff\1\u00ee\6\uffff";
- static final String DFA11_eofS =
- "\u00f3\uffff";
- static final String DFA11_minS =
- "\1\0\1\55\1\75\1\141\1\154\1\145\1\56\1\146\1\150\1\uffff\1\76\1\uffff\1\154\10\uffff\1\142\1\156\1\143\2\75\1\145\1\75\1\uffff\1\52\1\101\1\141\1\162\1\156\2\0\10\uffff\1\156\1\154\1\uffff\1\162\1\164\1\163\1\160\1\146\2\uffff\2\60\1\145\1\165\4\uffff\1\156\1\141\1\162\10\uffff\1\163\1\147\1\160\1\154\1\157\1\155\1\156\4\uffff\1\141\7\uffff\1\170\1\163\1\156\1\157\1\153\4\uffff\1\143\1\163\1\157\2\145\1\164\1\141\1\uffff\2\60\1\uffff\1\156\1\145\1\156\1\164\1\163\1\162\1\164\1\60\1\157\1\171\1\160\1\60\1\164\1\154\2\60\1\164\1\60\1\144\1\156\1\164\1\145\1\162\1\156\1\60\1\171\1\165\2\uffff\2\60\1\164\1\141\1\163\1\145\1\162\1\uffff\1\163\1\60\1\145\1\uffff\1\150\1\60\1\uffff\1\155\1\uffff\1\60\1\155\1\uffff\1\60\1\157\1\151\2\60\1\156\1\144\1\uffff\1\60\1\154\2\uffff\1\60\1\151\1\60\1\156\1\141\1\151\1\uffff\1\60\1\145\1\uffff\1\151\1\uffff\1\151\1\uffff\1\167\1\157\2\uffff\1\60\1\163\1\uffff\1\164\1\uffff\1\156\1\uffff\1\164\1\143\1\164\1\uffff\1\164\2\172\2\156\1\uffff\2\60\1\163\1\60\1\164\1\145\1\151\2\145\1\60\1\141\2\uffff\1\60\1\uffff\2\60\1\143\2\60\1\uffff\1\154\3\uffff\1\72\2\uffff\1\60\1\72\1\uffff\1\144\3\uffff";
- static final String DFA11_maxS =
- "\1\uffff\1\55\1\75\1\165\1\170\1\145\1\56\1\156\1\162\1\uffff\1\76\1\uffff\1\165\10\uffff\1\166\1\160\1\171\2\75\1\145\1\75\1\uffff\1\57\1\172\1\165\1\162\1\156\2\uffff\10\uffff\1\156\1\154\1\uffff\1\162\1\164\1\163\1\160\1\146\2\uffff\2\172\1\145\1\165\4\uffff\1\165\1\141\1\162\10\uffff\1\163\1\147\1\160\1\154\1\157\1\155\1\156\4\uffff\1\141\7\uffff\1\171\1\163\1\156\1\157\1\153\4\uffff\1\143\1\163\1\157\2\145\1\164\1\141\1\uffff\2\172\1\uffff\1\156\1\145\1\156\1\164\1\163\1\162\1\164\1\172\1\157\1\171\1\160\1\172\1\164\1\154\2\172\1\164\1\172\1\144\1\156\1\164\1\145\2\162\1\172\1\171\1\165\2\uffff\2\172\1\164\1\141\1\163\1\145\1\162\1\uffff\1\163\1\172\1\145\1\uffff\1\150\1\172\1\uffff\1\155\1\uffff\1\172\1\155\1\uffff\1\172\1\157\1\151\2\172\1\156\1\144\1\uffff\1\172\1\154\2\uffff\1\172\1\151\1\172\1\156\1\141\1\151\1\uffff\1\172\1\145\1\uffff\1\151\1\uffff\1\151\1\uffff\1\167\1\157\2\uffff\1\172\1\163\1\uffff\1\164\1\uffff\1\156\1\uffff\1\164\1\143\1\164\1\uffff\1\164\2\172\2\156\1\uffff\2\172\1\163\1\172\1\164\1\145\1\151\2\145\1\172\1\141\2\uffff\1\172\1\uffff\2\172\1\143\2\172\1\uffff\1\154\3\uffff\1\72\2\uffff\1\172\1\72\1\uffff\1\163\3\uffff";
- static final String DFA11_acceptS =
- "\11\uffff\1\14\1\uffff\1\16\1\uffff\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\30\7\uffff\1\52\7\uffff\1\102\1\103\1\106\1\107\1\2\1\1\1\41\1\3\2\uffff\1\102\5\uffff\1\27\1\10\4\uffff\1\14\1\15\1\53\1\16\3\uffff\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\30\7\uffff\1\42\1\47\1\43\1\50\1\uffff\1\46\1\56\1\52\1\104\1\105\1\54\1\55\5\uffff\1\75\1\76\1\103\1\106\7\uffff\1\11\2\uffff\1\51\33\uffff\1\31\1\44\7\uffff\1\65\3\uffff\1\63\2\uffff\1\57\1\uffff\1\67\2\uffff\1\66\7\uffff\1\13\2\uffff\1\12\1\70\6\uffff\1\62\2\uffff\1\45\1\uffff\1\60\1\uffff\1\64\2\uffff\1\71\1\5\2\uffff\1\32\1\uffff\1\17\1\uffff\1\34\3\uffff\1\40\5\uffff\1\7\13\uffff\1\35\1\6\1\uffff\1\61\5\uffff\1\72\1\uffff\1\36\1\33\1\37\1\uffff\1\74\1\73\2\uffff\1\4\1\uffff\1\77\1\100\1\101";
- static final String DFA11_specialS =
- "\1\1\41\uffff\1\2\1\0\u00cf\uffff}>";
- static final String[] DFA11_transitionS = {
- "\11\47\2\46\2\47\1\46\22\47\1\46\1\33\1\42\4\47\1\43\1\20\1\21\1\22\1\34\1\13\1\12\1\6\1\35\12\45\1\1\1\11\1\30\1\2\1\31\2\47\32\44\1\23\1\47\1\24\1\36\1\44\1\47\1\25\1\44\1\14\1\5\1\4\1\3\2\44\1\7\3\44\1\37\1\44\1\26\1\40\1\44\1\32\1\27\1\10\1\41\5\44\1\15\1\17\1\16\uff82\47",
- "\1\50",
- "\1\52",
- "\1\55\23\uffff\1\54",
- "\1\61\1\62\4\uffff\1\57\5\uffff\1\60",
- "\1\63",
- "\1\64",
- "\1\66\7\uffff\1\67",
- "\1\70\11\uffff\1\71",
- "",
- "\1\73",
- "",
- "\1\77\2\uffff\1\76\5\uffff\1\100",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\111\23\uffff\1\112",
- "\1\114\1\uffff\1\113",
- "\1\115\21\uffff\1\116\3\uffff\1\117",
- "\1\120",
- "\1\122",
- "\1\124",
- "\1\125",
- "",
- "\1\130\4\uffff\1\131",
- "\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\134\7\uffff\1\136\13\uffff\1\135",
- "\1\137",
- "\1\140",
- "\0\141",
- "\0\142",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\145",
- "\1\146",
- "",
- "\1\147",
- "\1\150",
- "\1\151",
- "\1\152",
- "\1\153",
- "",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\5\56\1\155\15\56\1\156\6\56",
- "\1\160",
- "\1\161",
- "",
- "",
- "",
- "",
- "\1\163\6\uffff\1\162",
- "\1\164",
- "\1\165",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\166",
- "\1\167",
- "\1\170",
- "\1\171",
- "\1\172",
- "\1\173",
- "\1\174",
- "",
- "",
- "",
- "",
- "\1\175",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\177\1\176",
- "\1\u0080",
- "\1\u0081",
- "\1\u0082",
- "\1\u0083",
- "",
- "",
- "",
- "",
- "\1\u0084",
- "\1\u0085",
- "\1\u0086",
- "\1\u0087",
- "\1\u0088",
- "\1\u0089",
- "\1\u008a",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "",
- "\1\u008d",
- "\1\u008e",
- "\1\u008f",
- "\1\u0090",
- "\1\u0091",
- "\1\u0092",
- "\1\u0093",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0095",
- "\1\u0096",
- "\1\u0097",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u0099",
- "\1\u009a",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\10\56\1\u009c\21\56",
- "\1\u009e",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\10\56\1\u009f\21\56",
- "\1\u00a1",
- "\1\u00a2",
- "\1\u00a3",
- "\1\u00a4",
- "\1\u00a5",
- "\1\u00a7\3\uffff\1\u00a6",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00a9",
- "\1\u00aa",
- "",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00ad",
- "\1\u00ae",
- "\1\u00af",
- "\1\u00b0",
- "\1\u00b1",
- "",
- "\1\u00b2",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00b4",
- "",
- "\1\u00b5",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "",
- "\1\u00b7",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00b9",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00bb",
- "\1\u00bc",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00bf",
- "\1\u00c0",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00c2",
- "",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00c4",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00c6",
- "\1\u00c7",
- "\1\u00c8",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00ca",
- "",
- "\1\u00cb",
- "",
- "\1\u00cc",
- "",
- "\1\u00cd",
- "\1\u00ce",
- "",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00d0",
- "",
- "\1\u00d1",
- "",
- "\1\u00d2",
- "",
- "\1\u00d3",
- "\1\u00d4",
- "\1\u00d5",
- "",
- "\1\u00d6",
- "\1\u00d7",
- "\1\u00d8",
- "\1\u00d9",
- "\1\u00da",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00dd",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00df",
- "\1\u00e0",
- "\1\u00e1",
- "\1\u00e2",
- "\1\u00e3",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00e5",
- "",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00e9",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "",
- "\1\u00ec",
- "",
- "",
- "",
- "\1\u00ed",
- "",
- "",
- "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56",
- "\1\u00ef",
- "",
- "\1\u00f2\13\uffff\1\u00f0\2\uffff\1\u00f1",
- "",
- "",
- ""
- };
-
- static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS);
- static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS);
- static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS);
- static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS);
- static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS);
- static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS);
- static final short[][] DFA11_transition;
-
- static {
- int numStates = DFA11_transitionS.length;
- DFA11_transition = new short[numStates][];
- for (int i=0; i='\u0000' && LA11_35<='\uFFFF')) ) {s = 98;}
-
- else s = 39;
-
- if ( s>=0 ) return s;
- break;
- case 1 :
- int LA11_0 = input.LA(1);
-
- s = -1;
- if ( (LA11_0==':') ) {s = 1;}
-
- else if ( (LA11_0=='=') ) {s = 2;}
-
- else if ( (LA11_0=='f') ) {s = 3;}
-
- else if ( (LA11_0=='e') ) {s = 4;}
-
- else if ( (LA11_0=='d') ) {s = 5;}
-
- else if ( (LA11_0=='.') ) {s = 6;}
-
- else if ( (LA11_0=='i') ) {s = 7;}
-
- else if ( (LA11_0=='t') ) {s = 8;}
-
- else if ( (LA11_0==';') ) {s = 9;}
-
- else if ( (LA11_0=='-') ) {s = 10;}
-
- else if ( (LA11_0==',') ) {s = 11;}
-
- else if ( (LA11_0=='c') ) {s = 12;}
-
- else if ( (LA11_0=='{') ) {s = 13;}
-
- else if ( (LA11_0=='}') ) {s = 14;}
-
- else if ( (LA11_0=='|') ) {s = 15;}
-
- else if ( (LA11_0=='(') ) {s = 16;}
-
- else if ( (LA11_0==')') ) {s = 17;}
-
- else if ( (LA11_0=='*') ) {s = 18;}
-
- else if ( (LA11_0=='[') ) {s = 19;}
-
- else if ( (LA11_0==']') ) {s = 20;}
-
- else if ( (LA11_0=='a') ) {s = 21;}
-
- else if ( (LA11_0=='o') ) {s = 22;}
-
- else if ( (LA11_0=='s') ) {s = 23;}
-
- else if ( (LA11_0=='<') ) {s = 24;}
-
- else if ( (LA11_0=='>') ) {s = 25;}
-
- else if ( (LA11_0=='r') ) {s = 26;}
-
- else if ( (LA11_0=='!') ) {s = 27;}
-
- else if ( (LA11_0=='+') ) {s = 28;}
-
- else if ( (LA11_0=='/') ) {s = 29;}
-
- else if ( (LA11_0=='^') ) {s = 30;}
-
- else if ( (LA11_0=='m') ) {s = 31;}
-
- else if ( (LA11_0=='p') ) {s = 32;}
-
- else if ( (LA11_0=='u') ) {s = 33;}
-
- else if ( (LA11_0=='\"') ) {s = 34;}
-
- else if ( (LA11_0=='\'') ) {s = 35;}
-
- else if ( ((LA11_0>='A' && LA11_0<='Z')||LA11_0=='_'||LA11_0=='b'||(LA11_0>='g' && LA11_0<='h')||(LA11_0>='j' && LA11_0<='l')||LA11_0=='n'||LA11_0=='q'||(LA11_0>='v' && LA11_0<='z')) ) {s = 36;}
-
- else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 37;}
-
- else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 38;}
-
- else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='#' && LA11_0<='&')||(LA11_0>='?' && LA11_0<='@')||LA11_0=='\\'||LA11_0=='`'||(LA11_0>='~' && LA11_0<='\uFFFF')) ) {s = 39;}
-
- if ( s>=0 ) return s;
- break;
- case 2 :
- int LA11_34 = input.LA(1);
-
- s = -1;
- if ( ((LA11_34>='\u0000' && LA11_34<='\uFFFF')) ) {s = 97;}
-
- else s = 39;
-
- if ( s>=0 ) return s;
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 11, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
-
-}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g
new file mode 100644
index 00000000..6cd0341f
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g
@@ -0,0 +1,3839 @@
+/*
+ * generated by Xtext 2.21.0
+ */
+parser grammar InternalSolverLanguageParser;
+
+options {
+ tokenVocab=InternalSolverLanguageLexer;
+ superClass=AbstractInternalAntlrParser;
+}
+
+@header {
+package org.eclipse.viatra.solver.language.parser.antlr.internal;
+
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.parser.*;
+import org.eclipse.xtext.parser.impl.*;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.common.util.Enumerator;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
+import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
+import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess;
+
+}
+
+@members {
+
+ private SolverLanguageGrammarAccess grammarAccess;
+
+ public InternalSolverLanguageParser(TokenStream input, SolverLanguageGrammarAccess grammarAccess) {
+ this(input);
+ this.grammarAccess = grammarAccess;
+ registerRules(grammarAccess.getGrammar());
+ }
+
+ @Override
+ protected String getFirstRuleName() {
+ return "Problem";
+ }
+
+ @Override
+ protected SolverLanguageGrammarAccess getGrammarAccess() {
+ return grammarAccess;
+ }
+
+}
+
+@rulecatch {
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+}
+
+// Entry rule entryRuleProblem
+entryRuleProblem returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getProblemRule()); }
+ iv_ruleProblem=ruleProblem
+ { $current=$iv_ruleProblem.current; }
+ EOF;
+
+// Rule Problem
+ruleProblem returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
+ }
+ lv_statements_0_0=ruleStatement
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getProblemRule());
+ }
+ add(
+ $current,
+ "statements",
+ lv_statements_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Statement");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+;
+
+// Entry rule entryRuleStatement
+entryRuleStatement returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getStatementRule()); }
+ iv_ruleStatement=ruleStatement
+ { $current=$iv_ruleStatement.current; }
+ EOF;
+
+// Rule Statement
+ruleStatement returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
+ }
+ this_AssertionOrDefinition_0=ruleAssertionOrDefinition
+ {
+ $current = $this_AssertionOrDefinition_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
+ }
+ this_PredicateDefinition_1=rulePredicateDefinition
+ {
+ $current = $this_PredicateDefinition_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
+ }
+ this_UnnamedErrorPrediateDefinition_2=ruleUnnamedErrorPrediateDefinition
+ {
+ $current = $this_UnnamedErrorPrediateDefinition_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
+ }
+ this_DefaultDefinition_3=ruleDefaultDefinition
+ {
+ $current = $this_DefaultDefinition_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
+ }
+ this_ExternPredicateDefinition_4=ruleExternPredicateDefinition
+ {
+ $current = $this_ExternPredicateDefinition_4.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
+ }
+ this_MetricDefinition_5=ruleMetricDefinition
+ {
+ $current = $this_MetricDefinition_5.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
+ }
+ this_ExternMetricDefinition_6=ruleExternMetricDefinition
+ {
+ $current = $this_ExternMetricDefinition_6.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
+ }
+ this_ClassDefinition_7=ruleClassDefinition
+ {
+ $current = $this_ClassDefinition_7.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
+ }
+ this_ScopeDefinition_8=ruleScopeDefinition
+ {
+ $current = $this_ScopeDefinition_8.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
+ }
+ this_ObjectiveDefinition_9=ruleObjectiveDefinition
+ {
+ $current = $this_ObjectiveDefinition_9.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+ this_FULL_STOP_10=RULE_FULL_STOP
+ {
+ newLeafNode(this_FULL_STOP_10, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1());
+ }
+ )
+;
+
+// Entry rule entryRuleAssertionOrDefinition
+entryRuleAssertionOrDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAssertionOrDefinitionRule()); }
+ iv_ruleAssertionOrDefinition=ruleAssertionOrDefinition
+ { $current=$iv_ruleAssertionOrDefinition.current; }
+ EOF;
+
+// Rule AssertionOrDefinition
+ruleAssertionOrDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
+ }
+ this_Expression_0=ruleExpression
+ {
+ $current = $this_Expression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0(),
+ $current);
+ }
+ )
+ (
+ otherlv_2=Colon
+ {
+ newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
+ }
+ lv_range_3_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
+ }
+ set(
+ $current,
+ "range",
+ lv_range_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0(),
+ $current);
+ }
+ )
+ otherlv_5=ColonHyphenMinus
+ {
+ newLeafNode(otherlv_5, grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
+ }
+ lv_body_6_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_6_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(),
+ $current);
+ }
+ )
+ otherlv_8=EqualsSign
+ {
+ newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
+ }
+ lv_body_9_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_9_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ )
+ )
+;
+
+// Entry rule entryRulePredicateDefinition
+entryRulePredicateDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getPredicateDefinitionRule()); }
+ iv_rulePredicateDefinition=rulePredicateDefinition
+ { $current=$iv_rulePredicateDefinition.current; }
+ EOF;
+
+// Rule PredicateDefinition
+rulePredicateDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ (
+ (
+ lv_functional_0_0=Functional
+ {
+ newLeafNode(lv_functional_0_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed($current, "functional", true, "functional");
+ }
+ )
+ )
+ (
+ (
+ lv_error_1_0=Error
+ {
+ newLeafNode(lv_error_1_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed($current, "error", true, "error");
+ }
+ )
+ )?
+ )
+ |
+ (
+ (
+ (
+ lv_error_2_0=Error
+ {
+ newLeafNode(lv_error_2_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed($current, "error", true, "error");
+ }
+ )
+ )
+ (
+ (
+ lv_functional_3_0=Functional
+ {
+ newLeafNode(lv_functional_3_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed($current, "functional", true, "functional");
+ }
+ )
+ )?
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
+ }
+ lv_head_4_0=ruleCall
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
+ }
+ set(
+ $current,
+ "head",
+ lv_head_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_5=ColonHyphenMinus
+ {
+ newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
+ }
+ lv_body_6_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_6_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleUnnamedErrorPrediateDefinition
+entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); }
+ iv_ruleUnnamedErrorPrediateDefinition=ruleUnnamedErrorPrediateDefinition
+ { $current=$iv_ruleUnnamedErrorPrediateDefinition.current; }
+ EOF;
+
+// Rule UnnamedErrorPrediateDefinition
+ruleUnnamedErrorPrediateDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Error
+ {
+ newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
+ }
+ lv_argumentList_1_0=ruleArgumentList
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
+ }
+ set(
+ $current,
+ "argumentList",
+ lv_argumentList_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=ColonHyphenMinus
+ {
+ newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
+ }
+ lv_body_3_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleDefaultDefinition
+entryRuleDefaultDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getDefaultDefinitionRule()); }
+ iv_ruleDefaultDefinition=ruleDefaultDefinition
+ { $current=$iv_ruleDefaultDefinition.current; }
+ EOF;
+
+// Rule DefaultDefinition
+ruleDefaultDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Default
+ {
+ newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
+ }
+ lv_head_1_0=ruleCall
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
+ }
+ set(
+ $current,
+ "head",
+ lv_head_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=Colon
+ {
+ newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
+ }
+ lv_range_3_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
+ }
+ set(
+ $current,
+ "range",
+ lv_range_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleExternPredicateDefinition
+entryRuleExternPredicateDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); }
+ iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition
+ { $current=$iv_ruleExternPredicateDefinition.current; }
+ EOF;
+
+// Rule ExternPredicateDefinition
+ruleExternPredicateDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Extern
+ {
+ newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
+ }
+ lv_head_1_0=ruleCall
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule());
+ }
+ set(
+ $current,
+ "head",
+ lv_head_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleMetricDefinition
+entryRuleMetricDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMetricDefinitionRule()); }
+ iv_ruleMetricDefinition=ruleMetricDefinition
+ { $current=$iv_ruleMetricDefinition.current; }
+ EOF;
+
+// Rule MetricDefinition
+ruleMetricDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
+ }
+ lv_type_0_0=ruleMetricType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
+ }
+ set(
+ $current,
+ "type",
+ lv_type_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
+ }
+ lv_head_1_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
+ }
+ set(
+ $current,
+ "head",
+ lv_head_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=EqualsSign
+ {
+ newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
+ }
+ lv_body_3_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleExternMetricDefinition
+entryRuleExternMetricDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); }
+ iv_ruleExternMetricDefinition=ruleExternMetricDefinition
+ { $current=$iv_ruleExternMetricDefinition.current; }
+ EOF;
+
+// Rule ExternMetricDefinition
+ruleExternMetricDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Extern
+ {
+ newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
+ }
+ lv_type_1_0=ruleMetricType
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
+ }
+ set(
+ $current,
+ "type",
+ lv_type_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
+ }
+ lv_head_2_0=ruleCall
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
+ }
+ set(
+ $current,
+ "head",
+ lv_head_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleExpression
+entryRuleExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExpressionRule()); }
+ iv_ruleExpression=ruleExpression
+ { $current=$iv_ruleExpression.current; }
+ EOF;
+
+// Rule Expression
+ruleExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
+ }
+ this_IfElse_0=ruleIfElse
+ {
+ $current = $this_IfElse_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
+ }
+ this_DisjunctiveExpression_1=ruleDisjunctiveExpression
+ {
+ $current = $this_DisjunctiveExpression_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleIfElse
+entryRuleIfElse returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getIfElseRule()); }
+ iv_ruleIfElse=ruleIfElse
+ { $current=$iv_ruleIfElse.current; }
+ EOF;
+
+// Rule IfElse
+ruleIfElse returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=If
+ {
+ newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
+ }
+ lv_condition_1_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIfElseRule());
+ }
+ set(
+ $current,
+ "condition",
+ lv_condition_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=Then
+ {
+ newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
+ }
+ lv_then_3_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIfElseRule());
+ }
+ set(
+ $current,
+ "then",
+ lv_then_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4=Else
+ {
+ newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
+ }
+ lv_else_5_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIfElseRule());
+ }
+ set(
+ $current,
+ "else",
+ lv_else_5_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleDisjunctiveExpression
+entryRuleDisjunctiveExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getDisjunctiveExpressionRule()); }
+ iv_ruleDisjunctiveExpression=ruleDisjunctiveExpression
+ { $current=$iv_ruleDisjunctiveExpression.current; }
+ EOF;
+
+// Rule DisjunctiveExpression
+ruleDisjunctiveExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
+ }
+ this_ConjunctiveExpression_0=ruleConjunctiveExpression
+ {
+ $current = $this_ConjunctiveExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0(),
+ $current);
+ }
+ )
+ (
+ otherlv_2=Semicolon
+ {
+ newLeafNode(otherlv_2, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
+ }
+ lv_children_3_0=ruleConjunctiveExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
+ }
+ add(
+ $current,
+ "children",
+ lv_children_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )+
+ )
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0(),
+ $current);
+ }
+ )
+ otherlv_5=HyphenMinusGreaterThanSign
+ {
+ newLeafNode(otherlv_5, grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
+ }
+ lv_body_6_0=ruleConjunctiveExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_6_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3(),
+ $current);
+ }
+ )
+ (
+ otherlv_8=Semicolon
+ {
+ newLeafNode(otherlv_8, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
+ }
+ lv_cases_9_0=ruleCase
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
+ }
+ add(
+ $current,
+ "cases",
+ lv_cases_9_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Case");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleCase
+entryRuleCase returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCaseRule()); }
+ iv_ruleCase=ruleCase
+ { $current=$iv_ruleCase.current; }
+ EOF;
+
+// Rule Case
+ruleCase returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
+ }
+ lv_condition_0_0=ruleConjunctiveExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCaseRule());
+ }
+ set(
+ $current,
+ "condition",
+ lv_condition_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_1=HyphenMinusGreaterThanSign
+ {
+ newLeafNode(otherlv_1, grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
+ }
+ lv_body_2_0=ruleConjunctiveExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCaseRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleConjunctiveExpression
+entryRuleConjunctiveExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getConjunctiveExpressionRule()); }
+ iv_ruleConjunctiveExpression=ruleConjunctiveExpression
+ { $current=$iv_ruleConjunctiveExpression.current; }
+ EOF;
+
+// Rule ConjunctiveExpression
+ruleConjunctiveExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
+ }
+ this_ComparisonExpression_0=ruleComparisonExpression
+ {
+ $current = $this_ComparisonExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ $current = forceCreateModelElementAndAdd(
+ grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0(),
+ $current);
+ }
+ )
+ (
+ otherlv_2=Comma
+ {
+ newLeafNode(otherlv_2, grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
+ }
+ lv_children_3_0=ruleComparisonExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getConjunctiveExpressionRule());
+ }
+ add(
+ $current,
+ "children",
+ lv_children_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )+
+ )?
+ )
+;
+
+// Entry rule entryRuleComparisonExpression
+entryRuleComparisonExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getComparisonExpressionRule()); }
+ iv_ruleComparisonExpression=ruleComparisonExpression
+ { $current=$iv_ruleComparisonExpression.current; }
+ EOF;
+
+// Rule ComparisonExpression
+ruleComparisonExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
+ }
+ this_AdditiveExpression_0=ruleAdditiveExpression
+ {
+ $current = $this_AdditiveExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
+ }
+ lv_op_2_0=ruleComparisonOperator
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
+ }
+ set(
+ $current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonOperator");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
+ }
+ lv_right_3_0=ruleAdditiveExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
+ }
+ set(
+ $current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleAdditiveExpression
+entryRuleAdditiveExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAdditiveExpressionRule()); }
+ iv_ruleAdditiveExpression=ruleAdditiveExpression
+ { $current=$iv_ruleAdditiveExpression.current; }
+ EOF;
+
+// Rule AdditiveExpression
+ruleAdditiveExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
+ }
+ this_MultiplicativeExpression_0=ruleMultiplicativeExpression
+ {
+ $current = $this_MultiplicativeExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
+ }
+ lv_op_2_0=ruleAdditiveBinaryOperator
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
+ }
+ set(
+ $current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveBinaryOperator");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
+ }
+ lv_right_3_0=ruleMultiplicativeExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
+ }
+ set(
+ $current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleMultiplicativeExpression
+entryRuleMultiplicativeExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); }
+ iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression
+ { $current=$iv_ruleMultiplicativeExpression.current; }
+ EOF;
+
+// Rule MultiplicativeExpression
+ruleMultiplicativeExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
+ }
+ this_ExponentialExpression_0=ruleExponentialExpression
+ {
+ $current = $this_ExponentialExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
+ }
+ lv_op_2_0=ruleMultiplicativeBinaryOperator
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
+ }
+ set(
+ $current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeBinaryOperator");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
+ }
+ lv_right_3_0=ruleExponentialExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
+ }
+ set(
+ $current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )
+;
+
+// Entry rule entryRuleExponentialExpression
+entryRuleExponentialExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExponentialExpressionRule()); }
+ iv_ruleExponentialExpression=ruleExponentialExpression
+ { $current=$iv_ruleExponentialExpression.current; }
+ EOF;
+
+// Rule ExponentialExpression
+ruleExponentialExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
+ }
+ this_UnaryExpression_0=ruleUnaryExpression
+ {
+ $current = $this_UnaryExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ (
+ (
+ {
+ $current = forceCreateModelElementAndSet(
+ grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
+ }
+ lv_op_2_0=ruleExponentialOp
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
+ }
+ set(
+ $current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialOp");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
+ }
+ lv_right_3_0=ruleExponentialExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
+ }
+ set(
+ $current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ )
+;
+
+// Entry rule entryRuleUnaryExpression
+entryRuleUnaryExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getUnaryExpressionRule()); }
+ iv_ruleUnaryExpression=ruleUnaryExpression
+ { $current=$iv_ruleUnaryExpression.current; }
+ EOF;
+
+// Rule UnaryExpression
+ruleUnaryExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
+ }
+ this_AggregationExpression_0=ruleAggregationExpression
+ {
+ $current = $this_AggregationExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0(),
+ $current);
+ }
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
+ }
+ lv_op_2_0=ruleUnaryOp
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
+ }
+ set(
+ $current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
+ }
+ lv_body_3_0=ruleAggregationExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleAggregationExpression
+entryRuleAggregationExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAggregationExpressionRule()); }
+ iv_ruleAggregationExpression=ruleAggregationExpression
+ { $current=$iv_ruleAggregationExpression.current; }
+ EOF;
+
+// Rule AggregationExpression
+ruleAggregationExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
+ }
+ this_AtomicExpression_0=ruleAtomicExpression
+ {
+ $current = $this_AtomicExpression_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
+ }
+ this_Count_1=ruleCount
+ {
+ $current = $this_Count_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
+ }
+ this_Aggregation_2=ruleAggregation
+ {
+ $current = $this_Aggregation_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleCount
+entryRuleCount returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCountRule()); }
+ iv_ruleCount=ruleCount
+ { $current=$iv_ruleCount.current; }
+ EOF;
+
+// Rule Count
+ruleCount returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Count
+ {
+ newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0());
+ }
+ otherlv_1=LeftCurlyBracket
+ {
+ newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
+ }
+ lv_body_2_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCountRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3=RightCurlyBracket
+ {
+ newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
+ }
+ )
+;
+
+// Entry rule entryRuleAggregation
+entryRuleAggregation returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAggregationRule()); }
+ iv_ruleAggregation=ruleAggregation
+ { $current=$iv_ruleAggregation.current; }
+ EOF;
+
+// Rule Aggregation
+ruleAggregation returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
+ }
+ lv_op_0_0=ruleAggregationOp
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAggregationRule());
+ }
+ set(
+ $current,
+ "op",
+ lv_op_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_1=LeftCurlyBracket
+ {
+ newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
+ }
+ lv_body_2_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAggregationRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_3=VerticalLine
+ {
+ newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
+ }
+ lv_condition_4_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAggregationRule());
+ }
+ set(
+ $current,
+ "condition",
+ lv_condition_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_5=RightCurlyBracket
+ {
+ newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
+ }
+ )
+;
+
+// Entry rule entryRuleAtomicExpression
+entryRuleAtomicExpression returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getAtomicExpressionRule()); }
+ iv_ruleAtomicExpression=ruleAtomicExpression
+ { $current=$iv_ruleAtomicExpression.current; }
+ EOF;
+
+// Rule AtomicExpression
+ruleAtomicExpression returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0());
+ }
+ this_Reference_0=ruleReference
+ {
+ $current = $this_Reference_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1());
+ }
+ this_Call_1=ruleCall
+ {
+ $current = $this_Call_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2());
+ }
+ this_Interval_2=ruleInterval
+ {
+ $current = $this_Interval_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3());
+ }
+ this_Literal_3=ruleLiteral
+ {
+ $current = $this_Literal_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ (
+ otherlv_4=LeftParenthesis
+ {
+ newLeafNode(otherlv_4, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0());
+ }
+ {
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1());
+ }
+ this_Expression_5=ruleExpression
+ {
+ $current = $this_Expression_5.current;
+ afterParserOrEnumRuleCall();
+ }
+ otherlv_6=RightParenthesis
+ {
+ newLeafNode(otherlv_6, grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2());
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleCall
+entryRuleCall returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getCallRule()); }
+ iv_ruleCall=ruleCall
+ { $current=$iv_ruleCall.current; }
+ EOF;
+
+// Rule Call
+ruleCall returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
+ }
+ lv_functor_0_0=ruleReference
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCallRule());
+ }
+ set(
+ $current,
+ "functor",
+ lv_functor_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Reference");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ (
+ lv_transitiveClosure_1_0=RULE_TRANSITIVE_CLOSURE
+ {
+ newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getCallRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "transitiveClosure",
+ true,
+ "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE");
+ }
+ )
+ )
+ |
+ (
+ (
+ lv_reflexiveTransitiveClosure_2_0=RULE_REFLEXIVE_TRANSITIVE_CLOSURE
+ {
+ newLeafNode(lv_reflexiveTransitiveClosure_2_0, grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getCallRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "reflexiveTransitiveClosure",
+ true,
+ "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE");
+ }
+ )
+ )
+ )?
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
+ }
+ lv_argumentList_3_0=ruleArgumentList
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getCallRule());
+ }
+ set(
+ $current,
+ "argumentList",
+ lv_argumentList_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleArgumentList
+entryRuleArgumentList returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getArgumentListRule()); }
+ iv_ruleArgumentList=ruleArgumentList
+ { $current=$iv_ruleArgumentList.current; }
+ EOF;
+
+// Rule ArgumentList
+ruleArgumentList returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getArgumentListAccess().getArgumentListAction_0(),
+ $current);
+ }
+ )
+ otherlv_1=LeftParenthesis
+ {
+ newLeafNode(otherlv_1, grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
+ }
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
+ }
+ lv_arguments_2_0=ruleArgument
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getArgumentListRule());
+ }
+ add(
+ $current,
+ "arguments",
+ lv_arguments_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_3=Comma
+ {
+ newLeafNode(otherlv_3, grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
+ }
+ lv_arguments_4_0=ruleArgument
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getArgumentListRule());
+ }
+ add(
+ $current,
+ "arguments",
+ lv_arguments_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_5=RightParenthesis
+ {
+ newLeafNode(otherlv_5, grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
+ }
+ )
+;
+
+// Entry rule entryRuleArgument
+entryRuleArgument returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getArgumentRule()); }
+ iv_ruleArgument=ruleArgument
+ { $current=$iv_ruleArgument.current; }
+ EOF;
+
+// Rule Argument
+ruleArgument returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
+ }
+ this_ExpressionArgument_0=ruleExpressionArgument
+ {
+ $current = $this_ExpressionArgument_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
+ }
+ this_StarArgument_1=ruleStarArgument
+ {
+ $current = $this_StarArgument_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
+ }
+ this_TypedArgument_2=ruleTypedArgument
+ {
+ $current = $this_TypedArgument_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
+ }
+ this_TypedStarArgument_3=ruleTypedStarArgument
+ {
+ $current = $this_TypedStarArgument_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleExpressionArgument
+entryRuleExpressionArgument returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExpressionArgumentRule()); }
+ iv_ruleExpressionArgument=ruleExpressionArgument
+ { $current=$iv_ruleExpressionArgument.current; }
+ EOF;
+
+// Rule ExpressionArgument
+ruleExpressionArgument returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
+ }
+ lv_body_0_0=ruleComparisonExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExpressionArgumentRule());
+ }
+ set(
+ $current,
+ "body",
+ lv_body_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleStarArgument
+entryRuleStarArgument returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getStarArgumentRule()); }
+ iv_ruleStarArgument=ruleStarArgument
+ { $current=$iv_ruleStarArgument.current; }
+ EOF;
+
+// Rule StarArgument
+ruleStarArgument returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getStarArgumentAccess().getStarArgumentAction_0(),
+ $current);
+ }
+ )
+ otherlv_1=Asterisk
+ {
+ newLeafNode(otherlv_1, grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleTypedArgument
+entryRuleTypedArgument returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getTypedArgumentRule()); }
+ iv_ruleTypedArgument=ruleTypedArgument
+ { $current=$iv_ruleTypedArgument.current; }
+ EOF;
+
+// Rule TypedArgument
+ruleTypedArgument returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getTypedArgumentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getTypedArgumentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleTypedStarArgument
+entryRuleTypedStarArgument returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getTypedStarArgumentRule()); }
+ iv_ruleTypedStarArgument=ruleTypedStarArgument
+ { $current=$iv_ruleTypedStarArgument.current; }
+ EOF;
+
+// Rule TypedStarArgument
+ruleTypedStarArgument returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getTypedStarArgumentRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_1=Asterisk
+ {
+ newLeafNode(otherlv_1, grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleReference
+entryRuleReference returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getReferenceRule()); }
+ iv_ruleReference=ruleReference
+ { $current=$iv_ruleReference.current; }
+ EOF;
+
+// Rule Reference
+ruleReference returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getReferenceRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleInterval
+entryRuleInterval returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getIntervalRule()); }
+ iv_ruleInterval=ruleInterval
+ { $current=$iv_ruleInterval.current; }
+ EOF;
+
+// Rule Interval
+ruleInterval returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=LeftSquareBracket
+ {
+ newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
+ }
+ lv_lowerBound_1_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIntervalRule());
+ }
+ set(
+ $current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=FullStopFullStop
+ {
+ newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
+ }
+ lv_upperBound_3_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getIntervalRule());
+ }
+ set(
+ $current,
+ "upperBound",
+ lv_upperBound_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4=RightSquareBracket
+ {
+ newLeafNode(otherlv_4, grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleLiteral
+entryRuleLiteral returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLiteralRule()); }
+ iv_ruleLiteral=ruleLiteral
+ { $current=$iv_ruleLiteral.current; }
+ EOF;
+
+// Rule Literal
+ruleLiteral returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
+ }
+ this_LogicLiteral_0=ruleLogicLiteral
+ {
+ $current = $this_LogicLiteral_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
+ }
+ this_NumericLiteral_1=ruleNumericLiteral
+ {
+ $current = $this_NumericLiteral_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
+ }
+ this_InfinityLiteral_2=ruleInfinityLiteral
+ {
+ $current = $this_InfinityLiteral_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
+ }
+ this_EmptyIntervalLiteral_3=ruleEmptyIntervalLiteral
+ {
+ $current = $this_EmptyIntervalLiteral_3.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
+ }
+ this_StringLiteral_4=ruleStringLiteral
+ {
+ $current = $this_StringLiteral_4.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleLogicLiteral
+entryRuleLogicLiteral returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLogicLiteralRule()); }
+ iv_ruleLogicLiteral=ruleLogicLiteral
+ { $current=$iv_ruleLogicLiteral.current; }
+ EOF;
+
+// Rule LogicLiteral
+ruleLogicLiteral returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
+ }
+ lv_value_0_0=ruleLogicValue
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLogicLiteralRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.LogicValue");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleNumericLiteral
+entryRuleNumericLiteral returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getNumericLiteralRule()); }
+ iv_ruleNumericLiteral=ruleNumericLiteral
+ { $current=$iv_ruleNumericLiteral.current; }
+ EOF;
+
+// Rule NumericLiteral
+ruleNumericLiteral returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
+ }
+ lv_value_0_0=ruleReal
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getNumericLiteralRule());
+ }
+ set(
+ $current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Real");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleInfinityLiteral
+entryRuleInfinityLiteral returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getInfinityLiteralRule()); }
+ iv_ruleInfinityLiteral=ruleInfinityLiteral
+ { $current=$iv_ruleInfinityLiteral.current; }
+ EOF;
+
+// Rule InfinityLiteral
+ruleInfinityLiteral returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0(),
+ $current);
+ }
+ )
+ otherlv_1=Inf
+ {
+ newLeafNode(otherlv_1, grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleEmptyIntervalLiteral
+entryRuleEmptyIntervalLiteral returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule()); }
+ iv_ruleEmptyIntervalLiteral=ruleEmptyIntervalLiteral
+ { $current=$iv_ruleEmptyIntervalLiteral.current; }
+ EOF;
+
+// Rule EmptyIntervalLiteral
+ruleEmptyIntervalLiteral returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0(),
+ $current);
+ }
+ )
+ otherlv_1=Empty
+ {
+ newLeafNode(otherlv_1, grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleStringLiteral
+entryRuleStringLiteral returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getStringLiteralRule()); }
+ iv_ruleStringLiteral=ruleStringLiteral
+ { $current=$iv_ruleStringLiteral.current; }
+ EOF;
+
+// Rule StringLiteral
+ruleStringLiteral returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ lv_value_0_0=RULE_STRING
+ {
+ newLeafNode(lv_value_0_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getStringLiteralRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.STRING");
+ }
+ )
+ )
+;
+
+// Entry rule entryRuleClassDefinition
+entryRuleClassDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getClassDefinitionRule()); }
+ iv_ruleClassDefinition=ruleClassDefinition
+ { $current=$iv_ruleClassDefinition.current; }
+ EOF;
+
+// Rule ClassDefinition
+ruleClassDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ lv_abstract_0_0=Abstract
+ {
+ newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+ setWithLastConsumed($current, "abstract", true, "abstract");
+ }
+ )
+ )?
+ otherlv_1=Class
+ {
+ newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
+ }
+ (
+ (
+ lv_name_2_0=RULE_ID
+ {
+ newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "name",
+ lv_name_2_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+ }
+ )
+ )
+ (
+ otherlv_3=Extends
+ {
+ newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_5=Comma
+ {
+ newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )*
+ )?
+ otherlv_7=LeftCurlyBracket
+ {
+ newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
+ }
+ lv_members_8_0=ruleMemberDefinition
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getClassDefinitionRule());
+ }
+ add(
+ $current,
+ "members",
+ lv_members_8_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )*
+ otherlv_9=RightCurlyBracket
+ {
+ newLeafNode(otherlv_9, grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
+ }
+ )
+;
+
+// Entry rule entryRuleMemberDefinition
+entryRuleMemberDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMemberDefinitionRule()); }
+ iv_ruleMemberDefinition=ruleMemberDefinition
+ { $current=$iv_ruleMemberDefinition.current; }
+ EOF;
+
+// Rule MemberDefinition
+ruleMemberDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ lv_containment_0_0=Contains
+ {
+ newLeafNode(lv_containment_0_0, grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+ setWithLastConsumed($current, "containment", true, "contains");
+ }
+ )
+ )?
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
+ }
+ lv_multiplicity_2_0=ruleMultiplicity
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getMemberDefinitionRule());
+ }
+ set(
+ $current,
+ "multiplicity",
+ lv_multiplicity_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )?
+ (
+ (
+ lv_name_3_0=RULE_ID
+ {
+ newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "name",
+ lv_name_3_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+ }
+ )
+ )
+ (
+ otherlv_4=Opposite
+ {
+ newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )?
+ (
+ otherlv_6=Semicolon
+ {
+ newLeafNode(otherlv_6, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
+ }
+ )?
+ )
+;
+
+// Entry rule entryRuleMultiplicity
+entryRuleMultiplicity returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getMultiplicityRule()); }
+ iv_ruleMultiplicity=ruleMultiplicity
+ { $current=$iv_ruleMultiplicity.current; }
+ EOF;
+
+// Rule Multiplicity
+ruleMultiplicity returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
+ }
+ this_ManyMultiplicity_0=ruleManyMultiplicity
+ {
+ $current = $this_ManyMultiplicity_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
+ }
+ this_ExactMultiplicity_1=ruleExactMultiplicity
+ {
+ $current = $this_ExactMultiplicity_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
+ }
+ this_BoundedMultiplicity_2=ruleBoundedMultiplicity
+ {
+ $current = $this_BoundedMultiplicity_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleManyMultiplicity
+entryRuleManyMultiplicity returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getManyMultiplicityRule()); }
+ iv_ruleManyMultiplicity=ruleManyMultiplicity
+ { $current=$iv_ruleManyMultiplicity.current; }
+ EOF;
+
+// Rule ManyMultiplicity
+ruleManyMultiplicity returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0(),
+ $current);
+ }
+ )
+ otherlv_1=LeftSquareBracket
+ {
+ newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
+ }
+ otherlv_2=RightSquareBracket
+ {
+ newLeafNode(otherlv_2, grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
+ }
+ )
+;
+
+// Entry rule entryRuleExactMultiplicity
+entryRuleExactMultiplicity returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExactMultiplicityRule()); }
+ iv_ruleExactMultiplicity=ruleExactMultiplicity
+ { $current=$iv_ruleExactMultiplicity.current; }
+ EOF;
+
+// Rule ExactMultiplicity
+ruleExactMultiplicity returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=LeftSquareBracket
+ {
+ newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
+ }
+ lv_multiplicity_1_0=ruleUpperMultiplicty
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getExactMultiplicityRule());
+ }
+ set(
+ $current,
+ "multiplicity",
+ lv_multiplicity_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=RightSquareBracket
+ {
+ newLeafNode(otherlv_2, grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
+ }
+ )
+;
+
+// Entry rule entryRuleBoundedMultiplicity
+entryRuleBoundedMultiplicity returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getBoundedMultiplicityRule()); }
+ iv_ruleBoundedMultiplicity=ruleBoundedMultiplicity
+ { $current=$iv_ruleBoundedMultiplicity.current; }
+ EOF;
+
+// Rule BoundedMultiplicity
+ruleBoundedMultiplicity returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=LeftSquareBracket
+ {
+ newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
+ }
+ (
+ (
+ lv_lowerBound_1_0=RULE_INT
+ {
+ newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedMultiplicityRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ otherlv_2=FullStopFullStop
+ {
+ newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
+ }
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
+ }
+ lv_upperBound_3_0=ruleUpperMultiplicty
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getBoundedMultiplicityRule());
+ }
+ set(
+ $current,
+ "upperBound",
+ lv_upperBound_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4=RightSquareBracket
+ {
+ newLeafNode(otherlv_4, grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
+ }
+ )
+;
+
+// Entry rule entryRuleScopeDefinition
+entryRuleScopeDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getScopeDefinitionRule()); }
+ iv_ruleScopeDefinition=ruleScopeDefinition
+ { $current=$iv_ruleScopeDefinition.current; }
+ EOF;
+
+// Rule ScopeDefinition
+ruleScopeDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ {
+ newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
+ }
+ this_ExactScopeDefinition_0=ruleExactScopeDefinition
+ {
+ $current = $this_ExactScopeDefinition_0.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
+ }
+ this_BoundedScopeDefinition_1=ruleBoundedScopeDefinition
+ {
+ $current = $this_BoundedScopeDefinition_1.current;
+ afterParserOrEnumRuleCall();
+ }
+ |
+ {
+ newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
+ }
+ this_LowerBoundedScopeDefinition_2=ruleLowerBoundedScopeDefinition
+ {
+ $current = $this_LowerBoundedScopeDefinition_2.current;
+ afterParserOrEnumRuleCall();
+ }
+ )
+;
+
+// Entry rule entryRuleExactScopeDefinition
+entryRuleExactScopeDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getExactScopeDefinitionRule()); }
+ iv_ruleExactScopeDefinition=ruleExactScopeDefinition
+ { $current=$iv_ruleExactScopeDefinition.current; }
+ EOF;
+
+// Rule ExactScopeDefinition
+ruleExactScopeDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Scope
+ {
+ newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_2=EqualsSignEqualsSign
+ {
+ newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
+ }
+ (
+ (
+ lv_exactScope_3_0=RULE_INT
+ {
+ newLeafNode(lv_exactScope_3_0, grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "exactScope",
+ lv_exactScope_3_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleBoundedScopeDefinition
+entryRuleBoundedScopeDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule()); }
+ iv_ruleBoundedScopeDefinition=ruleBoundedScopeDefinition
+ { $current=$iv_ruleBoundedScopeDefinition.current; }
+ EOF;
+
+// Rule BoundedScopeDefinition
+ruleBoundedScopeDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Scope
+ {
+ newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
+ }
+ (
+ (
+ (
+ (
+ (
+ lv_lowerBound_1_0=RULE_INT
+ {
+ newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ otherlv_2=LessThanSignEqualsSign
+ {
+ newLeafNode(otherlv_2, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
+ }
+ )?
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_4=LessThanSignEqualsSign
+ {
+ newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
+ }
+ (
+ (
+ lv_upperBound_5_0=RULE_INT
+ {
+ newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "upperBound",
+ lv_upperBound_5_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ (
+ lv_upperBound_6_0=RULE_INT
+ {
+ newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "upperBound",
+ lv_upperBound_6_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ otherlv_7=GreaterThanSignEqualsSign
+ {
+ newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ otherlv_9=GreaterThanSignEqualsSign
+ {
+ newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
+ }
+ (
+ (
+ lv_lowerBound_10_0=RULE_INT
+ {
+ newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "lowerBound",
+ lv_lowerBound_10_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ )?
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleLowerBoundedScopeDefinition
+entryRuleLowerBoundedScopeDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule()); }
+ iv_ruleLowerBoundedScopeDefinition=ruleLowerBoundedScopeDefinition
+ { $current=$iv_ruleLowerBoundedScopeDefinition.current; }
+ EOF;
+
+// Rule LowerBoundedScopeDefinition
+ruleLowerBoundedScopeDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ otherlv_0=Scope
+ {
+ newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
+ }
+ (
+ (
+ (
+ (
+ lv_lowerBound_1_0=RULE_INT
+ {
+ newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ otherlv_2=LessThanSignEqualsSign
+ {
+ newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
+ }
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+ |
+ (
+ (
+ (
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
+ }
+ ruleQualifiedName
+ {
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ otherlv_5=GreaterThanSignEqualsSign
+ {
+ newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
+ }
+ (
+ (
+ lv_lowerBound_6_0=RULE_INT
+ {
+ newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "lowerBound",
+ lv_lowerBound_6_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+ }
+ )
+ )
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleObjectiveDefinition
+entryRuleObjectiveDefinition returns [EObject current=null]:
+ { newCompositeNode(grammarAccess.getObjectiveDefinitionRule()); }
+ iv_ruleObjectiveDefinition=ruleObjectiveDefinition
+ { $current=$iv_ruleObjectiveDefinition.current; }
+ EOF;
+
+// Rule ObjectiveDefinition
+ruleObjectiveDefinition returns [EObject current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
+ }
+ lv_kind_0_0=ruleObjectiveKind
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
+ }
+ set(
+ $current,
+ "kind",
+ lv_kind_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveKind");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ (
+ (
+ {
+ newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
+ }
+ lv_objective_1_0=ruleExpression
+ {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
+ }
+ set(
+ $current,
+ "objective",
+ lv_objective_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+ }
+ )
+ )
+ )
+;
+
+// Entry rule entryRuleUpperMultiplicty
+entryRuleUpperMultiplicty returns [String current=null]:
+ { newCompositeNode(grammarAccess.getUpperMultiplictyRule()); }
+ iv_ruleUpperMultiplicty=ruleUpperMultiplicty
+ { $current=$iv_ruleUpperMultiplicty.current.getText(); }
+ EOF;
+
+// Rule UpperMultiplicty
+ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ this_INT_0=RULE_INT
+ {
+ $current.merge(this_INT_0);
+ }
+ {
+ newLeafNode(this_INT_0, grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
+ }
+ |
+ kw=Asterisk
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
+ }
+ )
+;
+
+// Entry rule entryRuleReal
+entryRuleReal returns [String current=null]@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}:
+ { newCompositeNode(grammarAccess.getRealRule()); }
+ iv_ruleReal=ruleReal
+ { $current=$iv_ruleReal.current.getText(); }
+ EOF;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule Real
+ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+@after {
+ leaveRule();
+}:
+ (
+ this_INT_0=RULE_INT
+ {
+ $current.merge(this_INT_0);
+ }
+ {
+ newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
+ }
+ (
+ kw=FullStop
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0());
+ }
+ this_INT_2=RULE_INT
+ {
+ $current.merge(this_INT_2);
+ }
+ {
+ newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
+ }
+ )?
+ )
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Entry rule entryRuleQualifiedName
+entryRuleQualifiedName returns [String current=null]@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}:
+ { newCompositeNode(grammarAccess.getQualifiedNameRule()); }
+ iv_ruleQualifiedName=ruleQualifiedName
+ { $current=$iv_ruleQualifiedName.current.getText(); }
+ EOF;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule QualifiedName
+ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+@init {
+ enterRule();
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ this_ID_0=RULE_ID
+ {
+ $current.merge(this_ID_0);
+ }
+ {
+ newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
+ }
+ (
+ kw=FullStop
+ {
+ $current.merge(kw);
+ newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
+ }
+ this_ID_2=RULE_ID
+ {
+ $current.merge(this_ID_2);
+ }
+ {
+ newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
+ }
+ )*
+ )
+ |
+ this_QUOTED_ID_3=RULE_QUOTED_ID
+ {
+ $current.merge(this_QUOTED_ID_3);
+ }
+ {
+ newLeafNode(this_QUOTED_ID_3, grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
+ }
+ )
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule MetricType
+ruleMetricType returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=Int
+ {
+ $current = grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=Real
+ {
+ $current = grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
+ }
+ )
+ )
+;
+
+// Rule ComparisonOperator
+ruleComparisonOperator returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=EqualsSignEqualsSign
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=ExclamationMarkEqualsSign
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2=LessThanSign
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
+ }
+ )
+ |
+ (
+ enumLiteral_3=LessThanSignEqualsSign
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
+ }
+ )
+ |
+ (
+ enumLiteral_4=GreaterThanSign
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
+ }
+ )
+ |
+ (
+ enumLiteral_5=GreaterThanSignEqualsSign
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
+ }
+ )
+ |
+ (
+ enumLiteral_6=In
+ {
+ $current = grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
+ }
+ )
+ )
+;
+
+// Rule AdditiveBinaryOperator
+ruleAdditiveBinaryOperator returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=PlusSign
+ {
+ $current = grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=HyphenMinus
+ {
+ $current = grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
+ }
+ )
+ )
+;
+
+// Rule MultiplicativeBinaryOperator
+ruleMultiplicativeBinaryOperator returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=Asterisk
+ {
+ $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=Solidus
+ {
+ $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
+ }
+ )
+ )
+;
+
+// Rule ExponentialOp
+ruleExponentialOp returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ enumLiteral_0=CircumflexAccent
+ {
+ $current = grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
+ }
+ )
+;
+
+// Rule UnaryOp
+ruleUnaryOp returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=ExclamationMark
+ {
+ $current = grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=PlusSign
+ {
+ $current = grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2=HyphenMinus
+ {
+ $current = grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
+ }
+ )
+ |
+ (
+ enumLiteral_3=May
+ {
+ $current = grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
+ }
+ )
+ |
+ (
+ enumLiteral_4=Must
+ {
+ $current = grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
+ }
+ )
+ |
+ (
+ enumLiteral_5=Current
+ {
+ $current = grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
+ }
+ )
+ )
+;
+
+// Rule AggregationOp
+ruleAggregationOp returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=Only
+ {
+ $current = grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=Sum
+ {
+ $current = grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2=Prod
+ {
+ $current = grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
+ }
+ )
+ |
+ (
+ enumLiteral_3=Avg
+ {
+ $current = grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
+ }
+ )
+ |
+ (
+ enumLiteral_4=Min
+ {
+ $current = grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
+ }
+ )
+ |
+ (
+ enumLiteral_5=Max
+ {
+ $current = grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
+ }
+ )
+ )
+;
+
+// Rule LogicValue
+ruleLogicValue returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=True
+ {
+ $current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=False
+ {
+ $current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
+ }
+ )
+ |
+ (
+ enumLiteral_2=Unknown
+ {
+ $current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
+ }
+ )
+ |
+ (
+ enumLiteral_3=Error
+ {
+ $current = grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
+ }
+ )
+ )
+;
+
+// Rule ObjectiveKind
+ruleObjectiveKind returns [Enumerator current=null]
+@init {
+ enterRule();
+}
+@after {
+ leaveRule();
+}:
+ (
+ (
+ enumLiteral_0=Minimize
+ {
+ $current = grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
+ }
+ )
+ |
+ (
+ enumLiteral_1=Maximize
+ {
+ $current = grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
+ }
+ )
+ )
+;
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java
index ee2f6175..7dbfa002 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java
@@ -18,85 +18,96 @@ import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
+
@SuppressWarnings("all")
public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "", "", "", "", "RULE_DOT", "RULE_STAR", "RULE_PLUS", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_QUOTED_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':'", "':-'", "'='", "'functional'", "'error'", "'default'", "'extern'", "'.'", "'if'", "'then'", "'else'", "';'", "'->'", "','", "'count'", "'{'", "'}'", "'|'", "'('", "')'", "'*'", "'['", "'..'", "']'", "'inf'", "'empty'", "'abstract'", "'class'", "'extends'", "'contains'", "'opposite'", "'scope'", "'=='", "'<='", "'>='", "'int'", "'real'", "'!='", "'<'", "'>'", "'in'", "'+'", "'-'", "'/'", "'^'", "'!'", "'may'", "'must'", "'current'", "'only'", "'sum'", "'prod'", "'avg'", "'min'", "'max'", "'true'", "'false'", "'unknown'", "'minimize'", "'maximize'"
+ "", "", "", "", "GREATER_EQ", "Functional", "Abstract", "Contains", "Maximize", "Minimize", "Opposite", "GREATER", "LESS_EQ", "Current", "Default", "Extends", "Unknown", "NOT_EQ", "Extern", "Class", "Count", "Empty", "Error", "False", "Scope", "LESS", "Else", "Must", "Only", "Prod", "Real", "Then", "True", "ADD", "DIV", "MUL", "POW", "SUB", "Avg", "Inf", "Int", "Max", "May", "Min", "Sum", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "GreaterThanSignEqualsSign", "EQ", "IN", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER"
};
- public static final int T__50=50;
- public static final int T__19=19;
- public static final int T__15=15;
- public static final int T__59=59;
- public static final int T__16=16;
- public static final int T__17=17;
- public static final int T__18=18;
- public static final int T__55=55;
- public static final int T__56=56;
- public static final int T__57=57;
- public static final int T__58=58;
- public static final int T__51=51;
- public static final int RULE_STAR=5;
- public static final int T__52=52;
- public static final int T__53=53;
- public static final int T__54=54;
- public static final int T__60=60;
- public static final int T__61=61;
- public static final int RULE_ID=8;
- public static final int RULE_QUOTED_ID=10;
- public static final int T__26=26;
- public static final int T__27=27;
- public static final int T__28=28;
- public static final int RULE_INT=9;
- public static final int T__29=29;
- public static final int T__22=22;
- public static final int T__66=66;
- public static final int RULE_ML_COMMENT=11;
- public static final int T__23=23;
- public static final int T__67=67;
- public static final int T__24=24;
- public static final int T__68=68;
- public static final int T__25=25;
- public static final int T__69=69;
- public static final int T__62=62;
- public static final int T__63=63;
- public static final int T__20=20;
- public static final int T__64=64;
- public static final int T__21=21;
- public static final int T__65=65;
- public static final int T__70=70;
- public static final int T__71=71;
- public static final int T__72=72;
- public static final int RULE_STRING=7;
- public static final int RULE_SL_COMMENT=12;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int RULE_PLUS=6;
- public static final int T__36=36;
- public static final int T__73=73;
- public static final int RULE_DOT=4;
+ public static final int ADD=33;
+ public static final int True=32;
+ public static final int GREATER_EQ=4;
+ public static final int Count=20;
+ public static final int False=23;
+ public static final int Must=27;
+ public static final int LessThanSign=67;
+ public static final int LeftParenthesis=57;
+ public static final int Unknown=16;
+ public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80;
+ public static final int FullStopFullStop=47;
+ public static final int Real=30;
+ public static final int Then=31;
+ public static final int Extends=15;
+ public static final int RightSquareBracket=71;
+ public static final int ExclamationMark=56;
+ public static final int Opposite=10;
+ public static final int SUB=37;
+ public static final int GreaterThanSign=69;
+ public static final int NOT_EQ=17;
+ public static final int RULE_ID=82;
+ public static final int MUL=35;
+ public static final int IN=53;
+ public static final int RULE_QUOTED_ID=77;
+ public static final int RightParenthesis=58;
+ public static final int Sum=44;
+ public static final int EQ=52;
+ public static final int GreaterThanSignEqualsSign=51;
+ public static final int Functional=5;
+ public static final int EqualsSignEqualsSign=50;
+ public static final int Avg=38;
+ public static final int Min=43;
+ public static final int VerticalLine=74;
+ public static final int PlusSign=60;
+ public static final int RULE_INT=83;
+ public static final int Contains=7;
+ public static final int RULE_ML_COMMENT=84;
+ public static final int POW=36;
+ public static final int RULE_TRANSITIVE_CLOSURE=79;
+ public static final int Class=19;
+ public static final int LESS=25;
+ public static final int LeftSquareBracket=70;
+ public static final int RULE_FULL_STOP=81;
+ public static final int Current=13;
+ public static final int If=54;
+ public static final int Inf=39;
+ public static final int LESS_EQ=12;
+ public static final int May=42;
+ public static final int Max=41;
+ public static final int In=55;
+ public static final int RULE_STRING=76;
+ public static final int Int=40;
+ public static final int Extern=18;
+ public static final int RULE_SL_COMMENT=78;
+ public static final int Prod=29;
+ public static final int Comma=61;
+ public static final int EqualsSign=68;
+ public static final int Empty=21;
+ public static final int HyphenMinus=62;
+ public static final int Maximize=8;
+ public static final int LessThanSignEqualsSign=49;
+ public static final int Solidus=64;
+ public static final int Colon=65;
+ public static final int RightCurlyBracket=75;
public static final int EOF=-1;
- public static final int T__30=30;
- public static final int T__74=74;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_WS=13;
- public static final int RULE_ANY_OTHER=14;
- public static final int T__48=48;
- public static final int T__49=49;
- public static final int T__44=44;
- public static final int T__45=45;
- public static final int T__46=46;
- public static final int T__47=47;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__42=42;
- public static final int T__43=43;
+ public static final int Asterisk=59;
+ public static final int FullStop=63;
+ public static final int RULE_WS=85;
+ public static final int Abstract=6;
+ public static final int Minimize=9;
+ public static final int GREATER=11;
+ public static final int LeftCurlyBracket=73;
+ public static final int Error=22;
+ public static final int Only=28;
+ public static final int RULE_ANY_OTHER=86;
+ public static final int Default=14;
+ public static final int ColonHyphenMinus=48;
+ public static final int CircumflexAccent=72;
+ public static final int DIV=34;
+ public static final int Semicolon=66;
+ public static final int Scope=24;
+ public static final int Else=26;
+ public static final int ExclamationMarkEqualsSign=45;
+ public static final int HyphenMinusGreaterThanSign=46;
// delegates
// delegators
@@ -112,7 +123,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
public String[] getTokenNames() { return InternalSolverLanguageParser.tokenNames; }
- public String getGrammarFileName() { return "InternalSolverLanguage.g"; }
+ public String getGrammarFileName() { return "InternalSolverLanguageParser.g"; }
@@ -138,7 +149,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleProblem"
- // InternalSolverLanguage.g:65:1: entryRuleProblem returns [EObject current=null] : iv_ruleProblem= ruleProblem EOF ;
+ // InternalSolverLanguageParser.g:58:1: entryRuleProblem returns [EObject current=null] : iv_ruleProblem= ruleProblem EOF ;
public final EObject entryRuleProblem() throws RecognitionException {
EObject current = null;
@@ -146,21 +157,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:65:48: (iv_ruleProblem= ruleProblem EOF )
- // InternalSolverLanguage.g:66:2: iv_ruleProblem= ruleProblem EOF
+ // InternalSolverLanguageParser.g:58:48: (iv_ruleProblem= ruleProblem EOF )
+ // InternalSolverLanguageParser.g:59:2: iv_ruleProblem= ruleProblem EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getProblemRule());
- }
+ newCompositeNode(grammarAccess.getProblemRule());
pushFollow(FOLLOW_1);
iv_ruleProblem=ruleProblem();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleProblem;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleProblem;
+ match(input,EOF,FOLLOW_2);
}
@@ -178,7 +185,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleProblem"
- // InternalSolverLanguage.g:72:1: ruleProblem returns [EObject current=null] : ( (lv_statements_0_0= ruleStatement ) )* ;
+ // InternalSolverLanguageParser.g:65:1: ruleProblem returns [EObject current=null] : ( (lv_statements_0_0= ruleStatement ) )* ;
public final EObject ruleProblem() throws RecognitionException {
EObject current = null;
@@ -189,50 +196,46 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:78:2: ( ( (lv_statements_0_0= ruleStatement ) )* )
- // InternalSolverLanguage.g:79:2: ( (lv_statements_0_0= ruleStatement ) )*
+ // InternalSolverLanguageParser.g:71:2: ( ( (lv_statements_0_0= ruleStatement ) )* )
+ // InternalSolverLanguageParser.g:72:2: ( (lv_statements_0_0= ruleStatement ) )*
{
- // InternalSolverLanguage.g:79:2: ( (lv_statements_0_0= ruleStatement ) )*
+ // InternalSolverLanguageParser.g:72:2: ( (lv_statements_0_0= ruleStatement ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( ((LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=18 && LA1_0<=21)||LA1_0==23||LA1_0==29||LA1_0==33||LA1_0==36||(LA1_0>=39 && LA1_0<=42)||LA1_0==46||(LA1_0>=50 && LA1_0<=51)||(LA1_0>=56 && LA1_0<=57)||(LA1_0>=60 && LA1_0<=74)) ) {
+ if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||LA1_0==Unknown||(LA1_0>=Extern && LA1_0<=False)||LA1_0==Scope||(LA1_0>=Must && LA1_0<=Real)||LA1_0==True||(LA1_0>=Avg && LA1_0<=Sum)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) {
alt1=1;
}
switch (alt1) {
case 1 :
- // InternalSolverLanguage.g:80:3: (lv_statements_0_0= ruleStatement )
+ // InternalSolverLanguageParser.g:73:3: (lv_statements_0_0= ruleStatement )
{
- // InternalSolverLanguage.g:80:3: (lv_statements_0_0= ruleStatement )
- // InternalSolverLanguage.g:81:4: lv_statements_0_0= ruleStatement
+ // InternalSolverLanguageParser.g:73:3: (lv_statements_0_0= ruleStatement )
+ // InternalSolverLanguageParser.g:74:4: lv_statements_0_0= ruleStatement
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
+
pushFollow(FOLLOW_3);
lv_statements_0_0=ruleStatement();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getProblemRule());
- }
- add(
- current,
- "statements",
- lv_statements_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Statement");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getProblemRule());
+ }
+ add(
+ current,
+ "statements",
+ lv_statements_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Statement");
+ afterParserOrEnumRuleCall();
+
}
@@ -248,11 +251,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -267,7 +268,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStatement"
- // InternalSolverLanguage.g:101:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ;
+ // InternalSolverLanguageParser.g:94:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ;
public final EObject entryRuleStatement() throws RecognitionException {
EObject current = null;
@@ -275,21 +276,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:101:50: (iv_ruleStatement= ruleStatement EOF )
- // InternalSolverLanguage.g:102:2: iv_ruleStatement= ruleStatement EOF
+ // InternalSolverLanguageParser.g:94:50: (iv_ruleStatement= ruleStatement EOF )
+ // InternalSolverLanguageParser.g:95:2: iv_ruleStatement= ruleStatement EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementRule());
- }
+ newCompositeNode(grammarAccess.getStatementRule());
pushFollow(FOLLOW_1);
iv_ruleStatement=ruleStatement();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleStatement;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleStatement;
+ match(input,EOF,FOLLOW_2);
}
@@ -307,11 +304,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStatement"
- // InternalSolverLanguage.g:108:1: ruleStatement returns [EObject current=null] : ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_DOT_10= RULE_DOT ) ;
+ // InternalSolverLanguageParser.g:101:1: ruleStatement returns [EObject current=null] : ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP ) ;
public final EObject ruleStatement() throws RecognitionException {
EObject current = null;
- Token this_DOT_10=null;
+ Token this_FULL_STOP_10=null;
EObject this_AssertionOrDefinition_0 = null;
EObject this_PredicateDefinition_1 = null;
@@ -337,256 +334,212 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:114:2: ( ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_DOT_10= RULE_DOT ) )
- // InternalSolverLanguage.g:115:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_DOT_10= RULE_DOT )
+ // InternalSolverLanguageParser.g:107:2: ( ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP ) )
+ // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP )
{
- // InternalSolverLanguage.g:115:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_DOT_10= RULE_DOT )
- // InternalSolverLanguage.g:116:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_DOT_10= RULE_DOT
+ // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP )
+ // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP
{
- // InternalSolverLanguage.g:116:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition )
+ // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition )
int alt2=10;
alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
- // InternalSolverLanguage.g:117:4: this_AssertionOrDefinition_0= ruleAssertionOrDefinition
+ // InternalSolverLanguageParser.g:110:4: this_AssertionOrDefinition_0= ruleAssertionOrDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0());
+
pushFollow(FOLLOW_4);
this_AssertionOrDefinition_0=ruleAssertionOrDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_AssertionOrDefinition_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_AssertionOrDefinition_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:126:4: this_PredicateDefinition_1= rulePredicateDefinition
+ // InternalSolverLanguageParser.g:119:4: this_PredicateDefinition_1= rulePredicateDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1());
+
pushFollow(FOLLOW_4);
this_PredicateDefinition_1=rulePredicateDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_PredicateDefinition_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_PredicateDefinition_1;
+ afterParserOrEnumRuleCall();
+
}
break;
case 3 :
- // InternalSolverLanguage.g:135:4: this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition
+ // InternalSolverLanguageParser.g:128:4: this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2());
+
pushFollow(FOLLOW_4);
this_UnnamedErrorPrediateDefinition_2=ruleUnnamedErrorPrediateDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_UnnamedErrorPrediateDefinition_2;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_UnnamedErrorPrediateDefinition_2;
+ afterParserOrEnumRuleCall();
+
}
break;
case 4 :
- // InternalSolverLanguage.g:144:4: this_DefaultDefinition_3= ruleDefaultDefinition
+ // InternalSolverLanguageParser.g:137:4: this_DefaultDefinition_3= ruleDefaultDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3());
+
pushFollow(FOLLOW_4);
this_DefaultDefinition_3=ruleDefaultDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_DefaultDefinition_3;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_DefaultDefinition_3;
+ afterParserOrEnumRuleCall();
+
}
break;
case 5 :
- // InternalSolverLanguage.g:153:4: this_ExternPredicateDefinition_4= ruleExternPredicateDefinition
+ // InternalSolverLanguageParser.g:146:4: this_ExternPredicateDefinition_4= ruleExternPredicateDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4());
+
pushFollow(FOLLOW_4);
this_ExternPredicateDefinition_4=ruleExternPredicateDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ExternPredicateDefinition_4;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ExternPredicateDefinition_4;
+ afterParserOrEnumRuleCall();
+
}
break;
case 6 :
- // InternalSolverLanguage.g:162:4: this_MetricDefinition_5= ruleMetricDefinition
+ // InternalSolverLanguageParser.g:155:4: this_MetricDefinition_5= ruleMetricDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5());
+
pushFollow(FOLLOW_4);
this_MetricDefinition_5=ruleMetricDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_MetricDefinition_5;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_MetricDefinition_5;
+ afterParserOrEnumRuleCall();
+
}
break;
case 7 :
- // InternalSolverLanguage.g:171:4: this_ExternMetricDefinition_6= ruleExternMetricDefinition
+ // InternalSolverLanguageParser.g:164:4: this_ExternMetricDefinition_6= ruleExternMetricDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6());
+
pushFollow(FOLLOW_4);
this_ExternMetricDefinition_6=ruleExternMetricDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ExternMetricDefinition_6;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ExternMetricDefinition_6;
+ afterParserOrEnumRuleCall();
+
}
break;
case 8 :
- // InternalSolverLanguage.g:180:4: this_ClassDefinition_7= ruleClassDefinition
+ // InternalSolverLanguageParser.g:173:4: this_ClassDefinition_7= ruleClassDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7());
+
pushFollow(FOLLOW_4);
this_ClassDefinition_7=ruleClassDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ClassDefinition_7;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ClassDefinition_7;
+ afterParserOrEnumRuleCall();
+
}
break;
case 9 :
- // InternalSolverLanguage.g:189:4: this_ScopeDefinition_8= ruleScopeDefinition
+ // InternalSolverLanguageParser.g:182:4: this_ScopeDefinition_8= ruleScopeDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8());
+
pushFollow(FOLLOW_4);
this_ScopeDefinition_8=ruleScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ScopeDefinition_8;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ScopeDefinition_8;
+ afterParserOrEnumRuleCall();
+
}
break;
case 10 :
- // InternalSolverLanguage.g:198:4: this_ObjectiveDefinition_9= ruleObjectiveDefinition
+ // InternalSolverLanguageParser.g:191:4: this_ObjectiveDefinition_9= ruleObjectiveDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
-
- }
+ newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9());
+
pushFollow(FOLLOW_4);
this_ObjectiveDefinition_9=ruleObjectiveDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ObjectiveDefinition_9;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ObjectiveDefinition_9;
+ afterParserOrEnumRuleCall();
+
}
break;
}
- this_DOT_10=(Token)match(input,RULE_DOT,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_FULL_STOP_10=(Token)match(input,RULE_FULL_STOP,FOLLOW_2);
- newLeafNode(this_DOT_10, grammarAccess.getStatementAccess().getDOTTerminalRuleCall_1());
-
- }
+ newLeafNode(this_FULL_STOP_10, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -601,7 +554,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAssertionOrDefinition"
- // InternalSolverLanguage.g:215:1: entryRuleAssertionOrDefinition returns [EObject current=null] : iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ;
+ // InternalSolverLanguageParser.g:208:1: entryRuleAssertionOrDefinition returns [EObject current=null] : iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ;
public final EObject entryRuleAssertionOrDefinition() throws RecognitionException {
EObject current = null;
@@ -609,21 +562,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:215:62: (iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF )
- // InternalSolverLanguage.g:216:2: iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF
+ // InternalSolverLanguageParser.g:208:62: (iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF )
+ // InternalSolverLanguageParser.g:209:2: iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleAssertionOrDefinition=ruleAssertionOrDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAssertionOrDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleAssertionOrDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -641,7 +590,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAssertionOrDefinition"
- // InternalSolverLanguage.g:222:1: ruleAssertionOrDefinition returns [EObject current=null] : (this_Expression_0= ruleExpression ( ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) ) ) ) ;
+ // InternalSolverLanguageParser.g:215:1: ruleAssertionOrDefinition returns [EObject current=null] : (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) ) ;
public final EObject ruleAssertionOrDefinition() throws RecognitionException {
EObject current = null;
@@ -661,50 +610,45 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:228:2: ( (this_Expression_0= ruleExpression ( ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) ) ) ) )
- // InternalSolverLanguage.g:229:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) ) ) )
+ // InternalSolverLanguageParser.g:221:2: ( (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) ) )
+ // InternalSolverLanguageParser.g:222:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) )
{
- // InternalSolverLanguage.g:229:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) ) ) )
- // InternalSolverLanguage.g:230:3: this_Expression_0= ruleExpression ( ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:222:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) )
+ // InternalSolverLanguageParser.g:223:3: this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_5);
this_Expression_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_Expression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:238:3: ( ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) ) )
+
+ current = this_Expression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:231:3: ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )
int alt4=3;
switch ( input.LA(1) ) {
case EOF:
- case RULE_DOT:
- case 15:
+ case Colon:
+ case RULE_FULL_STOP:
{
alt4=1;
}
break;
- case 16:
+ case ColonHyphenMinus:
{
alt4=2;
}
break;
- case 17:
+ case EqualsSign:
{
alt4=3;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 4, 0, input);
@@ -713,70 +657,62 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
switch (alt4) {
case 1 :
- // InternalSolverLanguage.g:239:4: ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? )
+ // InternalSolverLanguageParser.g:232:4: ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? )
{
- // InternalSolverLanguage.g:239:4: ( () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )? )
- // InternalSolverLanguage.g:240:5: () (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )?
+ // InternalSolverLanguageParser.g:232:4: ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? )
+ // InternalSolverLanguageParser.g:233:5: () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )?
{
- // InternalSolverLanguage.g:240:5: ()
- // InternalSolverLanguage.g:241:6:
+ // InternalSolverLanguageParser.g:233:5: ()
+ // InternalSolverLanguageParser.g:234:6:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0(),
+ current);
+
}
- // InternalSolverLanguage.g:247:5: (otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )?
+ // InternalSolverLanguageParser.g:240:5: (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )?
int alt3=2;
int LA3_0 = input.LA(1);
- if ( (LA3_0==15) ) {
+ if ( (LA3_0==Colon) ) {
alt3=1;
}
switch (alt3) {
case 1 :
- // InternalSolverLanguage.g:248:6: otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:241:6: otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) )
{
- otherlv_2=(Token)match(input,15,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,Colon,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
-
- }
- // InternalSolverLanguage.g:252:6: ( (lv_range_3_0= ruleExpression ) )
- // InternalSolverLanguage.g:253:7: (lv_range_3_0= ruleExpression )
+ newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0());
+
+ // InternalSolverLanguageParser.g:245:6: ( (lv_range_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:246:7: (lv_range_3_0= ruleExpression )
{
- // InternalSolverLanguage.g:253:7: (lv_range_3_0= ruleExpression )
- // InternalSolverLanguage.g:254:8: lv_range_3_0= ruleExpression
+ // InternalSolverLanguageParser.g:246:7: (lv_range_3_0= ruleExpression )
+ // InternalSolverLanguageParser.g:247:8: lv_range_3_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0());
+
pushFollow(FOLLOW_2);
lv_range_3_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
- }
- set(
- current,
- "range",
- lv_range_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
+ }
+ set(
+ current,
+ "range",
+ lv_range_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -796,59 +732,51 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:274:4: ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:267:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:274:4: ( () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:275:5: () otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:267:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:268:5: () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) )
{
- // InternalSolverLanguage.g:275:5: ()
- // InternalSolverLanguage.g:276:6:
+ // InternalSolverLanguageParser.g:268:5: ()
+ // InternalSolverLanguageParser.g:269:6:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0(),
+ current);
+
}
- otherlv_5=(Token)match(input,16,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,ColonHyphenMinus,FOLLOW_6);
- newLeafNode(otherlv_5, grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
-
- }
- // InternalSolverLanguage.g:286:5: ( (lv_body_6_0= ruleExpression ) )
- // InternalSolverLanguage.g:287:6: (lv_body_6_0= ruleExpression )
+ newLeafNode(otherlv_5, grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1());
+
+ // InternalSolverLanguageParser.g:279:5: ( (lv_body_6_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:280:6: (lv_body_6_0= ruleExpression )
{
- // InternalSolverLanguage.g:287:6: (lv_body_6_0= ruleExpression )
- // InternalSolverLanguage.g:288:7: lv_body_6_0= ruleExpression
+ // InternalSolverLanguageParser.g:280:6: (lv_body_6_0= ruleExpression )
+ // InternalSolverLanguageParser.g:281:7: lv_body_6_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0());
+
pushFollow(FOLLOW_2);
lv_body_6_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
- }
- set(
- current,
- "body",
- lv_body_6_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_6_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -862,59 +790,51 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:307:4: ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:300:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:307:4: ( () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:308:5: () otherlv_8= '=' ( (lv_body_9_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:300:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:301:5: () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) )
{
- // InternalSolverLanguage.g:308:5: ()
- // InternalSolverLanguage.g:309:6:
+ // InternalSolverLanguageParser.g:301:5: ()
+ // InternalSolverLanguageParser.g:302:6:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(),
+ current);
+
}
- otherlv_8=(Token)match(input,17,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_8=(Token)match(input,EqualsSign,FOLLOW_6);
- newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
-
- }
- // InternalSolverLanguage.g:319:5: ( (lv_body_9_0= ruleExpression ) )
- // InternalSolverLanguage.g:320:6: (lv_body_9_0= ruleExpression )
+ newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1());
+
+ // InternalSolverLanguageParser.g:312:5: ( (lv_body_9_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:313:6: (lv_body_9_0= ruleExpression )
{
- // InternalSolverLanguage.g:320:6: (lv_body_9_0= ruleExpression )
- // InternalSolverLanguage.g:321:7: lv_body_9_0= ruleExpression
+ // InternalSolverLanguageParser.g:313:6: (lv_body_9_0= ruleExpression )
+ // InternalSolverLanguageParser.g:314:7: lv_body_9_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
-
- }
+ newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0());
+
pushFollow(FOLLOW_2);
lv_body_9_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
- }
- set(
- current,
- "body",
- lv_body_9_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_9_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -936,11 +856,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -955,7 +873,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePredicateDefinition"
- // InternalSolverLanguage.g:344:1: entryRulePredicateDefinition returns [EObject current=null] : iv_rulePredicateDefinition= rulePredicateDefinition EOF ;
+ // InternalSolverLanguageParser.g:337:1: entryRulePredicateDefinition returns [EObject current=null] : iv_rulePredicateDefinition= rulePredicateDefinition EOF ;
public final EObject entryRulePredicateDefinition() throws RecognitionException {
EObject current = null;
@@ -963,21 +881,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:344:60: (iv_rulePredicateDefinition= rulePredicateDefinition EOF )
- // InternalSolverLanguage.g:345:2: iv_rulePredicateDefinition= rulePredicateDefinition EOF
+ // InternalSolverLanguageParser.g:337:60: (iv_rulePredicateDefinition= rulePredicateDefinition EOF )
+ // InternalSolverLanguageParser.g:338:2: iv_rulePredicateDefinition= rulePredicateDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPredicateDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getPredicateDefinitionRule());
pushFollow(FOLLOW_1);
iv_rulePredicateDefinition=rulePredicateDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_rulePredicateDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_rulePredicateDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -995,7 +909,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePredicateDefinition"
- // InternalSolverLanguage.g:351:1: rulePredicateDefinition returns [EObject current=null] : ( ( ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? ) | ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:344:1: rulePredicateDefinition returns [EObject current=null] : ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ;
public final EObject rulePredicateDefinition() throws RecognitionException {
EObject current = null;
@@ -1013,24 +927,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:357:2: ( ( ( ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? ) | ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) ) )
- // InternalSolverLanguage.g:358:2: ( ( ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? ) | ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:350:2: ( ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:351:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:358:2: ( ( ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? ) | ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:359:3: ( ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? ) | ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ':-' ( (lv_body_6_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:351:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:352:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) )
{
- // InternalSolverLanguage.g:359:3: ( ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? ) | ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? ) )
+ // InternalSolverLanguageParser.g:352:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) )
int alt7=2;
int LA7_0 = input.LA(1);
- if ( (LA7_0==18) ) {
+ if ( (LA7_0==Functional) ) {
alt7=1;
}
- else if ( (LA7_0==19) ) {
+ else if ( (LA7_0==Error) ) {
alt7=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 7, 0, input);
@@ -1038,65 +951,57 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
switch (alt7) {
case 1 :
- // InternalSolverLanguage.g:360:4: ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? )
+ // InternalSolverLanguageParser.g:353:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? )
{
- // InternalSolverLanguage.g:360:4: ( ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )? )
- // InternalSolverLanguage.g:361:5: ( (lv_functional_0_0= 'functional' ) ) ( (lv_error_1_0= 'error' ) )?
+ // InternalSolverLanguageParser.g:353:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? )
+ // InternalSolverLanguageParser.g:354:5: ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )?
{
- // InternalSolverLanguage.g:361:5: ( (lv_functional_0_0= 'functional' ) )
- // InternalSolverLanguage.g:362:6: (lv_functional_0_0= 'functional' )
+ // InternalSolverLanguageParser.g:354:5: ( (lv_functional_0_0= Functional ) )
+ // InternalSolverLanguageParser.g:355:6: (lv_functional_0_0= Functional )
{
- // InternalSolverLanguage.g:362:6: (lv_functional_0_0= 'functional' )
- // InternalSolverLanguage.g:363:7: lv_functional_0_0= 'functional'
+ // InternalSolverLanguageParser.g:355:6: (lv_functional_0_0= Functional )
+ // InternalSolverLanguageParser.g:356:7: lv_functional_0_0= Functional
{
- lv_functional_0_0=(Token)match(input,18,FOLLOW_7); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_functional_0_0=(Token)match(input,Functional,FOLLOW_7);
- newLeafNode(lv_functional_0_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_functional_0_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed(current, "functional", true, "functional");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed(current, "functional", true, "functional");
+
}
}
- // InternalSolverLanguage.g:375:5: ( (lv_error_1_0= 'error' ) )?
+ // InternalSolverLanguageParser.g:368:5: ( (lv_error_1_0= Error ) )?
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==19) ) {
+ if ( (LA5_0==Error) ) {
alt5=1;
}
switch (alt5) {
case 1 :
- // InternalSolverLanguage.g:376:6: (lv_error_1_0= 'error' )
+ // InternalSolverLanguageParser.g:369:6: (lv_error_1_0= Error )
{
- // InternalSolverLanguage.g:376:6: (lv_error_1_0= 'error' )
- // InternalSolverLanguage.g:377:7: lv_error_1_0= 'error'
+ // InternalSolverLanguageParser.g:369:6: (lv_error_1_0= Error )
+ // InternalSolverLanguageParser.g:370:7: lv_error_1_0= Error
{
- lv_error_1_0=(Token)match(input,19,FOLLOW_7); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_error_1_0=(Token)match(input,Error,FOLLOW_8);
- newLeafNode(lv_error_1_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_error_1_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed(current, "error", true, "error");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed(current, "error", true, "error");
+
}
@@ -1113,65 +1018,57 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:391:4: ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? )
+ // InternalSolverLanguageParser.g:384:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? )
{
- // InternalSolverLanguage.g:391:4: ( ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )? )
- // InternalSolverLanguage.g:392:5: ( (lv_error_2_0= 'error' ) ) ( (lv_functional_3_0= 'functional' ) )?
+ // InternalSolverLanguageParser.g:384:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? )
+ // InternalSolverLanguageParser.g:385:5: ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )?
{
- // InternalSolverLanguage.g:392:5: ( (lv_error_2_0= 'error' ) )
- // InternalSolverLanguage.g:393:6: (lv_error_2_0= 'error' )
+ // InternalSolverLanguageParser.g:385:5: ( (lv_error_2_0= Error ) )
+ // InternalSolverLanguageParser.g:386:6: (lv_error_2_0= Error )
{
- // InternalSolverLanguage.g:393:6: (lv_error_2_0= 'error' )
- // InternalSolverLanguage.g:394:7: lv_error_2_0= 'error'
+ // InternalSolverLanguageParser.g:386:6: (lv_error_2_0= Error )
+ // InternalSolverLanguageParser.g:387:7: lv_error_2_0= Error
{
- lv_error_2_0=(Token)match(input,19,FOLLOW_8); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_error_2_0=(Token)match(input,Error,FOLLOW_9);
- newLeafNode(lv_error_2_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_error_2_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed(current, "error", true, "error");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed(current, "error", true, "error");
+
}
}
- // InternalSolverLanguage.g:406:5: ( (lv_functional_3_0= 'functional' ) )?
+ // InternalSolverLanguageParser.g:399:5: ( (lv_functional_3_0= Functional ) )?
int alt6=2;
int LA6_0 = input.LA(1);
- if ( (LA6_0==18) ) {
+ if ( (LA6_0==Functional) ) {
alt6=1;
}
switch (alt6) {
case 1 :
- // InternalSolverLanguage.g:407:6: (lv_functional_3_0= 'functional' )
+ // InternalSolverLanguageParser.g:400:6: (lv_functional_3_0= Functional )
{
- // InternalSolverLanguage.g:407:6: (lv_functional_3_0= 'functional' )
- // InternalSolverLanguage.g:408:7: lv_functional_3_0= 'functional'
+ // InternalSolverLanguageParser.g:400:6: (lv_functional_3_0= Functional )
+ // InternalSolverLanguageParser.g:401:7: lv_functional_3_0= Functional
{
- lv_functional_3_0=(Token)match(input,18,FOLLOW_7); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_functional_3_0=(Token)match(input,Functional,FOLLOW_8);
- newLeafNode(lv_functional_3_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_functional_3_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPredicateDefinitionRule());
- }
- setWithLastConsumed(current, "functional", true, "functional");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPredicateDefinitionRule());
+ }
+ setWithLastConsumed(current, "functional", true, "functional");
+
}
@@ -1190,76 +1087,66 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:422:3: ( (lv_head_4_0= ruleCall ) )
- // InternalSolverLanguage.g:423:4: (lv_head_4_0= ruleCall )
+ // InternalSolverLanguageParser.g:415:3: ( (lv_head_4_0= ruleCall ) )
+ // InternalSolverLanguageParser.g:416:4: (lv_head_4_0= ruleCall )
{
- // InternalSolverLanguage.g:423:4: (lv_head_4_0= ruleCall )
- // InternalSolverLanguage.g:424:5: lv_head_4_0= ruleCall
+ // InternalSolverLanguageParser.g:416:4: (lv_head_4_0= ruleCall )
+ // InternalSolverLanguageParser.g:417:5: lv_head_4_0= ruleCall
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_9);
+ newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_10);
lv_head_4_0=ruleCall();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
- }
- set(
- current,
- "head",
- lv_head_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
+ }
+ set(
+ current,
+ "head",
+ lv_head_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_5=(Token)match(input,16,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,ColonHyphenMinus,FOLLOW_6);
- newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
-
- }
- // InternalSolverLanguage.g:445:3: ( (lv_body_6_0= ruleExpression ) )
- // InternalSolverLanguage.g:446:4: (lv_body_6_0= ruleExpression )
+ newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2());
+
+ // InternalSolverLanguageParser.g:438:3: ( (lv_body_6_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:439:4: (lv_body_6_0= ruleExpression )
{
- // InternalSolverLanguage.g:446:4: (lv_body_6_0= ruleExpression )
- // InternalSolverLanguage.g:447:5: lv_body_6_0= ruleExpression
+ // InternalSolverLanguageParser.g:439:4: (lv_body_6_0= ruleExpression )
+ // InternalSolverLanguageParser.g:440:5: lv_body_6_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
-
- }
+ newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
+
pushFollow(FOLLOW_2);
lv_body_6_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
- }
- set(
- current,
- "body",
- lv_body_6_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_6_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -1272,11 +1159,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -1291,7 +1176,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleUnnamedErrorPrediateDefinition"
- // InternalSolverLanguage.g:468:1: entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null] : iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ;
+ // InternalSolverLanguageParser.g:461:1: entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null] : iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ;
public final EObject entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException {
EObject current = null;
@@ -1299,21 +1184,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:468:71: (iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF )
- // InternalSolverLanguage.g:469:2: iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF
+ // InternalSolverLanguageParser.g:461:71: (iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF )
+ // InternalSolverLanguageParser.g:462:2: iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleUnnamedErrorPrediateDefinition=ruleUnnamedErrorPrediateDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleUnnamedErrorPrediateDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleUnnamedErrorPrediateDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -1331,7 +1212,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleUnnamedErrorPrediateDefinition"
- // InternalSolverLanguage.g:475:1: ruleUnnamedErrorPrediateDefinition returns [EObject current=null] : (otherlv_0= 'error' ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ':-' ( (lv_body_3_0= ruleExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:468:1: ruleUnnamedErrorPrediateDefinition returns [EObject current=null] : (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ;
public final EObject ruleUnnamedErrorPrediateDefinition() throws RecognitionException {
EObject current = null;
@@ -1346,88 +1227,76 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:481:2: ( (otherlv_0= 'error' ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ':-' ( (lv_body_3_0= ruleExpression ) ) ) )
- // InternalSolverLanguage.g:482:2: (otherlv_0= 'error' ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ':-' ( (lv_body_3_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:474:2: ( (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:475:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:482:2: (otherlv_0= 'error' ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ':-' ( (lv_body_3_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:483:3: otherlv_0= 'error' ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ':-' ( (lv_body_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:475:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:476:3: otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) )
{
- otherlv_0=(Token)match(input,19,FOLLOW_10); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Error,FOLLOW_11);
- newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
-
- }
- // InternalSolverLanguage.g:487:3: ( (lv_argumentList_1_0= ruleArgumentList ) )
- // InternalSolverLanguage.g:488:4: (lv_argumentList_1_0= ruleArgumentList )
+ newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0());
+
+ // InternalSolverLanguageParser.g:480:3: ( (lv_argumentList_1_0= ruleArgumentList ) )
+ // InternalSolverLanguageParser.g:481:4: (lv_argumentList_1_0= ruleArgumentList )
{
- // InternalSolverLanguage.g:488:4: (lv_argumentList_1_0= ruleArgumentList )
- // InternalSolverLanguage.g:489:5: lv_argumentList_1_0= ruleArgumentList
+ // InternalSolverLanguageParser.g:481:4: (lv_argumentList_1_0= ruleArgumentList )
+ // InternalSolverLanguageParser.g:482:5: lv_argumentList_1_0= ruleArgumentList
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_9);
+ newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_10);
lv_argumentList_1_0=ruleArgumentList();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
- set(
- current,
- "argumentList",
- lv_argumentList_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
+ }
+ set(
+ current,
+ "argumentList",
+ lv_argumentList_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,16,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,ColonHyphenMinus,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
-
- }
- // InternalSolverLanguage.g:510:3: ( (lv_body_3_0= ruleExpression ) )
- // InternalSolverLanguage.g:511:4: (lv_body_3_0= ruleExpression )
+ newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2());
+
+ // InternalSolverLanguageParser.g:503:3: ( (lv_body_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:504:4: (lv_body_3_0= ruleExpression )
{
- // InternalSolverLanguage.g:511:4: (lv_body_3_0= ruleExpression )
- // InternalSolverLanguage.g:512:5: lv_body_3_0= ruleExpression
+ // InternalSolverLanguageParser.g:504:4: (lv_body_3_0= ruleExpression )
+ // InternalSolverLanguageParser.g:505:5: lv_body_3_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
-
- }
+ newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
+
pushFollow(FOLLOW_2);
lv_body_3_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
- }
- set(
- current,
- "body",
- lv_body_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -1440,11 +1309,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -1459,7 +1326,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDefaultDefinition"
- // InternalSolverLanguage.g:533:1: entryRuleDefaultDefinition returns [EObject current=null] : iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ;
+ // InternalSolverLanguageParser.g:526:1: entryRuleDefaultDefinition returns [EObject current=null] : iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ;
public final EObject entryRuleDefaultDefinition() throws RecognitionException {
EObject current = null;
@@ -1467,21 +1334,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:533:58: (iv_ruleDefaultDefinition= ruleDefaultDefinition EOF )
- // InternalSolverLanguage.g:534:2: iv_ruleDefaultDefinition= ruleDefaultDefinition EOF
+ // InternalSolverLanguageParser.g:526:58: (iv_ruleDefaultDefinition= ruleDefaultDefinition EOF )
+ // InternalSolverLanguageParser.g:527:2: iv_ruleDefaultDefinition= ruleDefaultDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDefaultDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getDefaultDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleDefaultDefinition=ruleDefaultDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleDefaultDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleDefaultDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -1499,7 +1362,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDefaultDefinition"
- // InternalSolverLanguage.g:540:1: ruleDefaultDefinition returns [EObject current=null] : (otherlv_0= 'default' ( (lv_head_1_0= ruleCall ) ) otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:533:1: ruleDefaultDefinition returns [EObject current=null] : (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ;
public final EObject ruleDefaultDefinition() throws RecognitionException {
EObject current = null;
@@ -1514,88 +1377,76 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:546:2: ( (otherlv_0= 'default' ( (lv_head_1_0= ruleCall ) ) otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) ) )
- // InternalSolverLanguage.g:547:2: (otherlv_0= 'default' ( (lv_head_1_0= ruleCall ) ) otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:539:2: ( (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:540:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:547:2: (otherlv_0= 'default' ( (lv_head_1_0= ruleCall ) ) otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:548:3: otherlv_0= 'default' ( (lv_head_1_0= ruleCall ) ) otherlv_2= ':' ( (lv_range_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:540:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:541:3: otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) )
{
- otherlv_0=(Token)match(input,20,FOLLOW_7); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Default,FOLLOW_8);
- newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
-
- }
- // InternalSolverLanguage.g:552:3: ( (lv_head_1_0= ruleCall ) )
- // InternalSolverLanguage.g:553:4: (lv_head_1_0= ruleCall )
+ newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0());
+
+ // InternalSolverLanguageParser.g:545:3: ( (lv_head_1_0= ruleCall ) )
+ // InternalSolverLanguageParser.g:546:4: (lv_head_1_0= ruleCall )
{
- // InternalSolverLanguage.g:553:4: (lv_head_1_0= ruleCall )
- // InternalSolverLanguage.g:554:5: lv_head_1_0= ruleCall
+ // InternalSolverLanguageParser.g:546:4: (lv_head_1_0= ruleCall )
+ // InternalSolverLanguageParser.g:547:5: lv_head_1_0= ruleCall
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_11);
+ newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_12);
lv_head_1_0=ruleCall();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
- }
- set(
- current,
- "head",
- lv_head_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
+ }
+ set(
+ current,
+ "head",
+ lv_head_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,15,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,Colon,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
-
- }
- // InternalSolverLanguage.g:575:3: ( (lv_range_3_0= ruleExpression ) )
- // InternalSolverLanguage.g:576:4: (lv_range_3_0= ruleExpression )
+ newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2());
+
+ // InternalSolverLanguageParser.g:568:3: ( (lv_range_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:569:4: (lv_range_3_0= ruleExpression )
{
- // InternalSolverLanguage.g:576:4: (lv_range_3_0= ruleExpression )
- // InternalSolverLanguage.g:577:5: lv_range_3_0= ruleExpression
+ // InternalSolverLanguageParser.g:569:4: (lv_range_3_0= ruleExpression )
+ // InternalSolverLanguageParser.g:570:5: lv_range_3_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
-
- }
+ newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0());
+
pushFollow(FOLLOW_2);
lv_range_3_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
- }
- set(
- current,
- "range",
- lv_range_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule());
+ }
+ set(
+ current,
+ "range",
+ lv_range_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -1608,11 +1459,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -1627,7 +1476,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExternPredicateDefinition"
- // InternalSolverLanguage.g:598:1: entryRuleExternPredicateDefinition returns [EObject current=null] : iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ;
+ // InternalSolverLanguageParser.g:591:1: entryRuleExternPredicateDefinition returns [EObject current=null] : iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ;
public final EObject entryRuleExternPredicateDefinition() throws RecognitionException {
EObject current = null;
@@ -1635,21 +1484,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:598:66: (iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF )
- // InternalSolverLanguage.g:599:2: iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF
+ // InternalSolverLanguageParser.g:591:66: (iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF )
+ // InternalSolverLanguageParser.g:592:2: iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExternPredicateDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getExternPredicateDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExternPredicateDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExternPredicateDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -1667,12 +1512,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExternPredicateDefinition"
- // InternalSolverLanguage.g:605:1: ruleExternPredicateDefinition returns [EObject current=null] : (otherlv_0= 'extern' ( (lv_head_1_0= ruleCall ) ) otherlv_2= '.' ) ;
+ // InternalSolverLanguageParser.g:598:1: ruleExternPredicateDefinition returns [EObject current=null] : (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) ) ;
public final EObject ruleExternPredicateDefinition() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
- Token otherlv_2=null;
EObject lv_head_1_0 = null;
@@ -1680,70 +1524,56 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:611:2: ( (otherlv_0= 'extern' ( (lv_head_1_0= ruleCall ) ) otherlv_2= '.' ) )
- // InternalSolverLanguage.g:612:2: (otherlv_0= 'extern' ( (lv_head_1_0= ruleCall ) ) otherlv_2= '.' )
+ // InternalSolverLanguageParser.g:604:2: ( (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) ) )
+ // InternalSolverLanguageParser.g:605:2: (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) )
{
- // InternalSolverLanguage.g:612:2: (otherlv_0= 'extern' ( (lv_head_1_0= ruleCall ) ) otherlv_2= '.' )
- // InternalSolverLanguage.g:613:3: otherlv_0= 'extern' ( (lv_head_1_0= ruleCall ) ) otherlv_2= '.'
+ // InternalSolverLanguageParser.g:605:2: (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) )
+ // InternalSolverLanguageParser.g:606:3: otherlv_0= Extern ( (lv_head_1_0= ruleCall ) )
{
- otherlv_0=(Token)match(input,21,FOLLOW_7); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Extern,FOLLOW_8);
- newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
-
- }
- // InternalSolverLanguage.g:617:3: ( (lv_head_1_0= ruleCall ) )
- // InternalSolverLanguage.g:618:4: (lv_head_1_0= ruleCall )
+ newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0());
+
+ // InternalSolverLanguageParser.g:610:3: ( (lv_head_1_0= ruleCall ) )
+ // InternalSolverLanguageParser.g:611:4: (lv_head_1_0= ruleCall )
{
- // InternalSolverLanguage.g:618:4: (lv_head_1_0= ruleCall )
- // InternalSolverLanguage.g:619:5: lv_head_1_0= ruleCall
+ // InternalSolverLanguageParser.g:611:4: (lv_head_1_0= ruleCall )
+ // InternalSolverLanguageParser.g:612:5: lv_head_1_0= ruleCall
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_12);
+ newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_2);
lv_head_1_0=ruleCall();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule());
- }
- set(
- current,
- "head",
- lv_head_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
-
- }
- }
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule());
+ }
+ set(
+ current,
+ "head",
+ lv_head_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+
}
- otherlv_2=(Token)match(input,22,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getExternPredicateDefinitionAccess().getFullStopKeyword_2());
-
}
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -1758,7 +1588,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleMetricDefinition"
- // InternalSolverLanguage.g:644:1: entryRuleMetricDefinition returns [EObject current=null] : iv_ruleMetricDefinition= ruleMetricDefinition EOF ;
+ // InternalSolverLanguageParser.g:633:1: entryRuleMetricDefinition returns [EObject current=null] : iv_ruleMetricDefinition= ruleMetricDefinition EOF ;
public final EObject entryRuleMetricDefinition() throws RecognitionException {
EObject current = null;
@@ -1766,21 +1596,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:644:57: (iv_ruleMetricDefinition= ruleMetricDefinition EOF )
- // InternalSolverLanguage.g:645:2: iv_ruleMetricDefinition= ruleMetricDefinition EOF
+ // InternalSolverLanguageParser.g:633:57: (iv_ruleMetricDefinition= ruleMetricDefinition EOF )
+ // InternalSolverLanguageParser.g:634:2: iv_ruleMetricDefinition= ruleMetricDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMetricDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getMetricDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleMetricDefinition=ruleMetricDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleMetricDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleMetricDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -1798,7 +1624,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMetricDefinition"
- // InternalSolverLanguage.g:651:1: ruleMetricDefinition returns [EObject current=null] : ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= '=' ( (lv_body_3_0= ruleExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:640:1: ruleMetricDefinition returns [EObject current=null] : ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ;
public final EObject ruleMetricDefinition() throws RecognitionException {
EObject current = null;
@@ -1814,117 +1640,103 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:657:2: ( ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= '=' ( (lv_body_3_0= ruleExpression ) ) ) )
- // InternalSolverLanguage.g:658:2: ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= '=' ( (lv_body_3_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:646:2: ( ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:647:2: ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:658:2: ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= '=' ( (lv_body_3_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:659:3: ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= '=' ( (lv_body_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:647:2: ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:648:3: ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) )
{
- // InternalSolverLanguage.g:659:3: ( (lv_type_0_0= ruleMetricType ) )
- // InternalSolverLanguage.g:660:4: (lv_type_0_0= ruleMetricType )
+ // InternalSolverLanguageParser.g:648:3: ( (lv_type_0_0= ruleMetricType ) )
+ // InternalSolverLanguageParser.g:649:4: (lv_type_0_0= ruleMetricType )
{
- // InternalSolverLanguage.g:660:4: (lv_type_0_0= ruleMetricType )
- // InternalSolverLanguage.g:661:5: lv_type_0_0= ruleMetricType
+ // InternalSolverLanguageParser.g:649:4: (lv_type_0_0= ruleMetricType )
+ // InternalSolverLanguageParser.g:650:5: lv_type_0_0= ruleMetricType
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
-
- }
+ newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0());
+
pushFollow(FOLLOW_6);
lv_type_0_0=ruleMetricType();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:678:3: ( (lv_head_1_0= ruleExpression ) )
- // InternalSolverLanguage.g:679:4: (lv_head_1_0= ruleExpression )
+ // InternalSolverLanguageParser.g:667:3: ( (lv_head_1_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:668:4: (lv_head_1_0= ruleExpression )
{
- // InternalSolverLanguage.g:679:4: (lv_head_1_0= ruleExpression )
- // InternalSolverLanguage.g:680:5: lv_head_1_0= ruleExpression
+ // InternalSolverLanguageParser.g:668:4: (lv_head_1_0= ruleExpression )
+ // InternalSolverLanguageParser.g:669:5: lv_head_1_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
-
- }
+ newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0());
+
pushFollow(FOLLOW_13);
lv_head_1_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
- }
- set(
- current,
- "head",
- lv_head_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
+ }
+ set(
+ current,
+ "head",
+ lv_head_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,17,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,EqualsSign,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
-
- }
- // InternalSolverLanguage.g:701:3: ( (lv_body_3_0= ruleExpression ) )
- // InternalSolverLanguage.g:702:4: (lv_body_3_0= ruleExpression )
+ newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2());
+
+ // InternalSolverLanguageParser.g:690:3: ( (lv_body_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:691:4: (lv_body_3_0= ruleExpression )
{
- // InternalSolverLanguage.g:702:4: (lv_body_3_0= ruleExpression )
- // InternalSolverLanguage.g:703:5: lv_body_3_0= ruleExpression
+ // InternalSolverLanguageParser.g:691:4: (lv_body_3_0= ruleExpression )
+ // InternalSolverLanguageParser.g:692:5: lv_body_3_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
-
- }
+ newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0());
+
pushFollow(FOLLOW_2);
lv_body_3_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
- }
- set(
- current,
- "body",
- lv_body_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMetricDefinitionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -1937,11 +1749,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -1956,7 +1766,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExternMetricDefinition"
- // InternalSolverLanguage.g:724:1: entryRuleExternMetricDefinition returns [EObject current=null] : iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ;
+ // InternalSolverLanguageParser.g:713:1: entryRuleExternMetricDefinition returns [EObject current=null] : iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ;
public final EObject entryRuleExternMetricDefinition() throws RecognitionException {
EObject current = null;
@@ -1964,21 +1774,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:724:63: (iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF )
- // InternalSolverLanguage.g:725:2: iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF
+ // InternalSolverLanguageParser.g:713:63: (iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF )
+ // InternalSolverLanguageParser.g:714:2: iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExternMetricDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getExternMetricDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleExternMetricDefinition=ruleExternMetricDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExternMetricDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExternMetricDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -1996,7 +1802,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExternMetricDefinition"
- // InternalSolverLanguage.g:731:1: ruleExternMetricDefinition returns [EObject current=null] : (otherlv_0= 'extern' ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) ;
+ // InternalSolverLanguageParser.g:720:1: ruleExternMetricDefinition returns [EObject current=null] : (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) ;
public final EObject ruleExternMetricDefinition() throws RecognitionException {
EObject current = null;
@@ -2010,82 +1816,72 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:737:2: ( (otherlv_0= 'extern' ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) )
- // InternalSolverLanguage.g:738:2: (otherlv_0= 'extern' ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) )
+ // InternalSolverLanguageParser.g:726:2: ( (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) )
+ // InternalSolverLanguageParser.g:727:2: (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) )
{
- // InternalSolverLanguage.g:738:2: (otherlv_0= 'extern' ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) )
- // InternalSolverLanguage.g:739:3: otherlv_0= 'extern' ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) )
+ // InternalSolverLanguageParser.g:727:2: (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) )
+ // InternalSolverLanguageParser.g:728:3: otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) )
{
- otherlv_0=(Token)match(input,21,FOLLOW_14); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Extern,FOLLOW_14);
- newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
-
- }
- // InternalSolverLanguage.g:743:3: ( (lv_type_1_0= ruleMetricType ) )
- // InternalSolverLanguage.g:744:4: (lv_type_1_0= ruleMetricType )
+ newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0());
+
+ // InternalSolverLanguageParser.g:732:3: ( (lv_type_1_0= ruleMetricType ) )
+ // InternalSolverLanguageParser.g:733:4: (lv_type_1_0= ruleMetricType )
{
- // InternalSolverLanguage.g:744:4: (lv_type_1_0= ruleMetricType )
- // InternalSolverLanguage.g:745:5: lv_type_1_0= ruleMetricType
+ // InternalSolverLanguageParser.g:733:4: (lv_type_1_0= ruleMetricType )
+ // InternalSolverLanguageParser.g:734:5: lv_type_1_0= ruleMetricType
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_7);
+ newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0());
+
+ pushFollow(FOLLOW_8);
lv_type_1_0=ruleMetricType();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MetricType");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:762:3: ( (lv_head_2_0= ruleCall ) )
- // InternalSolverLanguage.g:763:4: (lv_head_2_0= ruleCall )
+ // InternalSolverLanguageParser.g:751:3: ( (lv_head_2_0= ruleCall ) )
+ // InternalSolverLanguageParser.g:752:4: (lv_head_2_0= ruleCall )
{
- // InternalSolverLanguage.g:763:4: (lv_head_2_0= ruleCall )
- // InternalSolverLanguage.g:764:5: lv_head_2_0= ruleCall
+ // InternalSolverLanguageParser.g:752:4: (lv_head_2_0= ruleCall )
+ // InternalSolverLanguageParser.g:753:5: lv_head_2_0= ruleCall
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
-
- }
+ newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0());
+
pushFollow(FOLLOW_2);
lv_head_2_0=ruleCall();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
- }
- set(
- current,
- "head",
- lv_head_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Call");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule());
+ }
+ set(
+ current,
+ "head",
+ lv_head_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Call");
+ afterParserOrEnumRuleCall();
+
}
@@ -2098,11 +1894,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -2117,7 +1911,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExpression"
- // InternalSolverLanguage.g:785:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ;
+ // InternalSolverLanguageParser.g:774:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ;
public final EObject entryRuleExpression() throws RecognitionException {
EObject current = null;
@@ -2125,21 +1919,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:785:51: (iv_ruleExpression= ruleExpression EOF )
- // InternalSolverLanguage.g:786:2: iv_ruleExpression= ruleExpression EOF
+ // InternalSolverLanguageParser.g:774:51: (iv_ruleExpression= ruleExpression EOF )
+ // InternalSolverLanguageParser.g:775:2: iv_ruleExpression= ruleExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExpressionRule());
- }
+ newCompositeNode(grammarAccess.getExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleExpression=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -2157,7 +1947,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExpression"
- // InternalSolverLanguage.g:792:1: ruleExpression returns [EObject current=null] : (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) ;
+ // InternalSolverLanguageParser.g:781:1: ruleExpression returns [EObject current=null] : (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) ;
public final EObject ruleExpression() throws RecognitionException {
EObject current = null;
@@ -2170,21 +1960,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:798:2: ( (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) )
- // InternalSolverLanguage.g:799:2: (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression )
+ // InternalSolverLanguageParser.g:787:2: ( (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:788:2: (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression )
{
- // InternalSolverLanguage.g:799:2: (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression )
+ // InternalSolverLanguageParser.g:788:2: (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression )
int alt8=2;
int LA8_0 = input.LA(1);
- if ( (LA8_0==23) ) {
+ if ( (LA8_0==If) ) {
alt8=1;
}
- else if ( ((LA8_0>=RULE_STRING && LA8_0<=RULE_QUOTED_ID)||LA8_0==19||LA8_0==29||LA8_0==33||LA8_0==36||(LA8_0>=39 && LA8_0<=40)||(LA8_0>=56 && LA8_0<=57)||(LA8_0>=60 && LA8_0<=72)) ) {
+ else if ( (LA8_0==Current||LA8_0==Unknown||(LA8_0>=Count && LA8_0<=False)||(LA8_0>=Must && LA8_0<=Prod)||LA8_0==True||(LA8_0>=Avg && LA8_0<=Inf)||(LA8_0>=Max && LA8_0<=Sum)||(LA8_0>=ExclamationMark && LA8_0<=LeftParenthesis)||LA8_0==PlusSign||LA8_0==HyphenMinus||LA8_0==LeftSquareBracket||(LA8_0>=RULE_STRING && LA8_0<=RULE_QUOTED_ID)||(LA8_0>=RULE_ID && LA8_0<=RULE_INT)) ) {
alt8=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 8, 0, input);
@@ -2192,46 +1981,38 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
switch (alt8) {
case 1 :
- // InternalSolverLanguage.g:800:3: this_IfElse_0= ruleIfElse
+ // InternalSolverLanguageParser.g:789:3: this_IfElse_0= ruleIfElse
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_IfElse_0=ruleIfElse();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_IfElse_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_IfElse_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:809:3: this_DisjunctiveExpression_1= ruleDisjunctiveExpression
+ // InternalSolverLanguageParser.g:798:3: this_DisjunctiveExpression_1= ruleDisjunctiveExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1());
+
pushFollow(FOLLOW_2);
this_DisjunctiveExpression_1=ruleDisjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_DisjunctiveExpression_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_DisjunctiveExpression_1;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -2241,11 +2022,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -2260,7 +2039,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIfElse"
- // InternalSolverLanguage.g:821:1: entryRuleIfElse returns [EObject current=null] : iv_ruleIfElse= ruleIfElse EOF ;
+ // InternalSolverLanguageParser.g:810:1: entryRuleIfElse returns [EObject current=null] : iv_ruleIfElse= ruleIfElse EOF ;
public final EObject entryRuleIfElse() throws RecognitionException {
EObject current = null;
@@ -2268,21 +2047,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:821:47: (iv_ruleIfElse= ruleIfElse EOF )
- // InternalSolverLanguage.g:822:2: iv_ruleIfElse= ruleIfElse EOF
+ // InternalSolverLanguageParser.g:810:47: (iv_ruleIfElse= ruleIfElse EOF )
+ // InternalSolverLanguageParser.g:811:2: iv_ruleIfElse= ruleIfElse EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIfElseRule());
- }
+ newCompositeNode(grammarAccess.getIfElseRule());
pushFollow(FOLLOW_1);
iv_ruleIfElse=ruleIfElse();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleIfElse;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleIfElse;
+ match(input,EOF,FOLLOW_2);
}
@@ -2300,7 +2075,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIfElse"
- // InternalSolverLanguage.g:828:1: ruleIfElse returns [EObject current=null] : (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= 'then' ( (lv_then_3_0= ruleExpression ) ) otherlv_4= 'else' ( (lv_else_5_0= ruleExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:817:1: ruleIfElse returns [EObject current=null] : (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ;
public final EObject ruleIfElse() throws RecognitionException {
EObject current = null;
@@ -2318,129 +2093,111 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:834:2: ( (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= 'then' ( (lv_then_3_0= ruleExpression ) ) otherlv_4= 'else' ( (lv_else_5_0= ruleExpression ) ) ) )
- // InternalSolverLanguage.g:835:2: (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= 'then' ( (lv_then_3_0= ruleExpression ) ) otherlv_4= 'else' ( (lv_else_5_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:823:2: ( (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:824:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:835:2: (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= 'then' ( (lv_then_3_0= ruleExpression ) ) otherlv_4= 'else' ( (lv_else_5_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:836:3: otherlv_0= 'if' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= 'then' ( (lv_then_3_0= ruleExpression ) ) otherlv_4= 'else' ( (lv_else_5_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:824:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:825:3: otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) )
{
- otherlv_0=(Token)match(input,23,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,If,FOLLOW_6);
- newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0());
-
- }
- // InternalSolverLanguage.g:840:3: ( (lv_condition_1_0= ruleExpression ) )
- // InternalSolverLanguage.g:841:4: (lv_condition_1_0= ruleExpression )
+ newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0());
+
+ // InternalSolverLanguageParser.g:829:3: ( (lv_condition_1_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:830:4: (lv_condition_1_0= ruleExpression )
{
- // InternalSolverLanguage.g:841:4: (lv_condition_1_0= ruleExpression )
- // InternalSolverLanguage.g:842:5: lv_condition_1_0= ruleExpression
+ // InternalSolverLanguageParser.g:830:4: (lv_condition_1_0= ruleExpression )
+ // InternalSolverLanguageParser.g:831:5: lv_condition_1_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
-
- }
+ newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0());
+
pushFollow(FOLLOW_15);
lv_condition_1_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getIfElseRule());
- }
- set(
- current,
- "condition",
- lv_condition_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIfElseRule());
+ }
+ set(
+ current,
+ "condition",
+ lv_condition_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,24,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,Then,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2());
-
- }
- // InternalSolverLanguage.g:863:3: ( (lv_then_3_0= ruleExpression ) )
- // InternalSolverLanguage.g:864:4: (lv_then_3_0= ruleExpression )
+ newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2());
+
+ // InternalSolverLanguageParser.g:852:3: ( (lv_then_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:853:4: (lv_then_3_0= ruleExpression )
{
- // InternalSolverLanguage.g:864:4: (lv_then_3_0= ruleExpression )
- // InternalSolverLanguage.g:865:5: lv_then_3_0= ruleExpression
+ // InternalSolverLanguageParser.g:853:4: (lv_then_3_0= ruleExpression )
+ // InternalSolverLanguageParser.g:854:5: lv_then_3_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
-
- }
+ newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0());
+
pushFollow(FOLLOW_16);
lv_then_3_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getIfElseRule());
- }
- set(
- current,
- "then",
- lv_then_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIfElseRule());
+ }
+ set(
+ current,
+ "then",
+ lv_then_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_4=(Token)match(input,25,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,Else,FOLLOW_6);
- newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4());
-
- }
- // InternalSolverLanguage.g:886:3: ( (lv_else_5_0= ruleExpression ) )
- // InternalSolverLanguage.g:887:4: (lv_else_5_0= ruleExpression )
+ newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4());
+
+ // InternalSolverLanguageParser.g:875:3: ( (lv_else_5_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:876:4: (lv_else_5_0= ruleExpression )
{
- // InternalSolverLanguage.g:887:4: (lv_else_5_0= ruleExpression )
- // InternalSolverLanguage.g:888:5: lv_else_5_0= ruleExpression
+ // InternalSolverLanguageParser.g:876:4: (lv_else_5_0= ruleExpression )
+ // InternalSolverLanguageParser.g:877:5: lv_else_5_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
-
- }
+ newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0());
+
pushFollow(FOLLOW_2);
lv_else_5_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getIfElseRule());
- }
- set(
- current,
- "else",
- lv_else_5_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIfElseRule());
+ }
+ set(
+ current,
+ "else",
+ lv_else_5_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -2453,11 +2210,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -2472,7 +2227,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDisjunctiveExpression"
- // InternalSolverLanguage.g:909:1: entryRuleDisjunctiveExpression returns [EObject current=null] : iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ;
+ // InternalSolverLanguageParser.g:898:1: entryRuleDisjunctiveExpression returns [EObject current=null] : iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ;
public final EObject entryRuleDisjunctiveExpression() throws RecognitionException {
EObject current = null;
@@ -2480,21 +2235,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:909:62: (iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF )
- // InternalSolverLanguage.g:910:2: iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF
+ // InternalSolverLanguageParser.g:898:62: (iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF )
+ // InternalSolverLanguageParser.g:899:2: iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionRule());
- }
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleDisjunctiveExpression=ruleDisjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleDisjunctiveExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleDisjunctiveExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -2512,7 +2263,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDisjunctiveExpression"
- // InternalSolverLanguage.g:916:1: ruleDisjunctiveExpression returns [EObject current=null] : (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ;
+ // InternalSolverLanguageParser.g:905:1: ruleDisjunctiveExpression returns [EObject current=null] : (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ;
public final EObject ruleDisjunctiveExpression() throws RecognitionException {
EObject current = null;
@@ -2532,109 +2283,97 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:922:2: ( (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) )
- // InternalSolverLanguage.g:923:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* ) )? )
+ // InternalSolverLanguageParser.g:911:2: ( (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) )
+ // InternalSolverLanguageParser.g:912:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? )
{
- // InternalSolverLanguage.g:923:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* ) )? )
- // InternalSolverLanguage.g:924:3: this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* ) )?
+ // InternalSolverLanguageParser.g:912:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? )
+ // InternalSolverLanguageParser.g:913:3: this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )?
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_17);
this_ConjunctiveExpression_0=ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ConjunctiveExpression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:932:3: ( ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* ) )?
+
+ current = this_ConjunctiveExpression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:921:3: ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )?
int alt11=3;
int LA11_0 = input.LA(1);
- if ( (LA11_0==26) ) {
+ if ( (LA11_0==Semicolon) ) {
alt11=1;
}
- else if ( (LA11_0==27) ) {
+ else if ( (LA11_0==HyphenMinusGreaterThanSign) ) {
alt11=2;
}
switch (alt11) {
case 1 :
- // InternalSolverLanguage.g:933:4: ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ )
+ // InternalSolverLanguageParser.g:922:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ )
{
- // InternalSolverLanguage.g:933:4: ( () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ )
- // InternalSolverLanguage.g:934:5: () (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+
+ // InternalSolverLanguageParser.g:922:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ )
+ // InternalSolverLanguageParser.g:923:5: () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+
{
- // InternalSolverLanguage.g:934:5: ()
- // InternalSolverLanguage.g:935:6:
+ // InternalSolverLanguageParser.g:923:5: ()
+ // InternalSolverLanguageParser.g:924:6:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndAdd(
- grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0(),
- current);
-
- }
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0(),
+ current);
+
}
- // InternalSolverLanguage.g:941:5: (otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+
+ // InternalSolverLanguageParser.g:930:5: (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+
int cnt9=0;
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
- if ( (LA9_0==26) ) {
+ if ( (LA9_0==Semicolon) ) {
alt9=1;
}
switch (alt9) {
case 1 :
- // InternalSolverLanguage.g:942:6: otherlv_2= ';' ( (lv_children_3_0= ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:931:6: otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) )
{
- otherlv_2=(Token)match(input,26,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,Semicolon,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
-
- }
- // InternalSolverLanguage.g:946:6: ( (lv_children_3_0= ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:947:7: (lv_children_3_0= ruleConjunctiveExpression )
+ newLeafNode(otherlv_2, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0());
+
+ // InternalSolverLanguageParser.g:935:6: ( (lv_children_3_0= ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:936:7: (lv_children_3_0= ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:947:7: (lv_children_3_0= ruleConjunctiveExpression )
- // InternalSolverLanguage.g:948:8: lv_children_3_0= ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:936:7: (lv_children_3_0= ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:937:8: lv_children_3_0= ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0());
+
pushFollow(FOLLOW_18);
lv_children_3_0=ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
- }
- add(
- current,
- "children",
- lv_children_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
+ }
+ add(
+ current,
+ "children",
+ lv_children_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -2647,7 +2386,6 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
default :
if ( cnt9 >= 1 ) break loop9;
- if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(9, input);
throw eee;
@@ -2662,128 +2400,112 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:968:4: ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* )
+ // InternalSolverLanguageParser.g:957:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* )
{
- // InternalSolverLanguage.g:968:4: ( () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )* )
- // InternalSolverLanguage.g:969:5: () otherlv_5= '->' ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )*
+ // InternalSolverLanguageParser.g:957:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* )
+ // InternalSolverLanguageParser.g:958:5: () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )*
{
- // InternalSolverLanguage.g:969:5: ()
- // InternalSolverLanguage.g:970:6:
+ // InternalSolverLanguageParser.g:958:5: ()
+ // InternalSolverLanguageParser.g:959:6:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0(),
+ current);
+
}
- otherlv_5=(Token)match(input,27,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,HyphenMinusGreaterThanSign,FOLLOW_6);
- newLeafNode(otherlv_5, grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
-
- }
- // InternalSolverLanguage.g:980:5: ( (lv_body_6_0= ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:981:6: (lv_body_6_0= ruleConjunctiveExpression )
+ newLeafNode(otherlv_5, grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1());
+
+ // InternalSolverLanguageParser.g:969:5: ( (lv_body_6_0= ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:970:6: (lv_body_6_0= ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:981:6: (lv_body_6_0= ruleConjunctiveExpression )
- // InternalSolverLanguage.g:982:7: lv_body_6_0= ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:970:6: (lv_body_6_0= ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:971:7: lv_body_6_0= ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0());
+
pushFollow(FOLLOW_18);
lv_body_6_0=ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
- }
- set(
- current,
- "body",
- lv_body_6_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_6_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:999:5: ()
- // InternalSolverLanguage.g:1000:6:
+ // InternalSolverLanguageParser.g:988:5: ()
+ // InternalSolverLanguageParser.g:989:6:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndAdd(
- grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3(),
- current);
-
- }
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3(),
+ current);
+
}
- // InternalSolverLanguage.g:1006:5: (otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) ) )*
+ // InternalSolverLanguageParser.g:995:5: (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )*
loop10:
do {
int alt10=2;
int LA10_0 = input.LA(1);
- if ( (LA10_0==26) ) {
+ if ( (LA10_0==Semicolon) ) {
alt10=1;
}
switch (alt10) {
case 1 :
- // InternalSolverLanguage.g:1007:6: otherlv_8= ';' ( (lv_cases_9_0= ruleCase ) )
+ // InternalSolverLanguageParser.g:996:6: otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) )
{
- otherlv_8=(Token)match(input,26,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_8=(Token)match(input,Semicolon,FOLLOW_6);
- newLeafNode(otherlv_8, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
-
- }
- // InternalSolverLanguage.g:1011:6: ( (lv_cases_9_0= ruleCase ) )
- // InternalSolverLanguage.g:1012:7: (lv_cases_9_0= ruleCase )
+ newLeafNode(otherlv_8, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0());
+
+ // InternalSolverLanguageParser.g:1000:6: ( (lv_cases_9_0= ruleCase ) )
+ // InternalSolverLanguageParser.g:1001:7: (lv_cases_9_0= ruleCase )
{
- // InternalSolverLanguage.g:1012:7: (lv_cases_9_0= ruleCase )
- // InternalSolverLanguage.g:1013:8: lv_cases_9_0= ruleCase
+ // InternalSolverLanguageParser.g:1001:7: (lv_cases_9_0= ruleCase )
+ // InternalSolverLanguageParser.g:1002:8: lv_cases_9_0= ruleCase
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
-
- }
+ newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0());
+
pushFollow(FOLLOW_18);
lv_cases_9_0=ruleCase();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
- }
- add(
- current,
- "cases",
- lv_cases_9_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Case");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisjunctiveExpressionRule());
+ }
+ add(
+ current,
+ "cases",
+ lv_cases_9_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Case");
+ afterParserOrEnumRuleCall();
+
}
@@ -2814,11 +2536,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -2833,7 +2553,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleCase"
- // InternalSolverLanguage.g:1037:1: entryRuleCase returns [EObject current=null] : iv_ruleCase= ruleCase EOF ;
+ // InternalSolverLanguageParser.g:1026:1: entryRuleCase returns [EObject current=null] : iv_ruleCase= ruleCase EOF ;
public final EObject entryRuleCase() throws RecognitionException {
EObject current = null;
@@ -2841,21 +2561,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1037:45: (iv_ruleCase= ruleCase EOF )
- // InternalSolverLanguage.g:1038:2: iv_ruleCase= ruleCase EOF
+ // InternalSolverLanguageParser.g:1026:45: (iv_ruleCase= ruleCase EOF )
+ // InternalSolverLanguageParser.g:1027:2: iv_ruleCase= ruleCase EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCaseRule());
- }
+ newCompositeNode(grammarAccess.getCaseRule());
pushFollow(FOLLOW_1);
iv_ruleCase=ruleCase();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleCase;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleCase;
+ match(input,EOF,FOLLOW_2);
}
@@ -2873,7 +2589,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleCase"
- // InternalSolverLanguage.g:1044:1: ruleCase returns [EObject current=null] : ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= '->' ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:1033:1: ruleCase returns [EObject current=null] : ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ;
public final EObject ruleCase() throws RecognitionException {
EObject current = null;
@@ -2887,82 +2603,72 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1050:2: ( ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= '->' ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) )
- // InternalSolverLanguage.g:1051:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= '->' ( (lv_body_2_0= ruleConjunctiveExpression ) ) )
+ // InternalSolverLanguageParser.g:1039:2: ( ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) )
+ // InternalSolverLanguageParser.g:1040:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) )
{
- // InternalSolverLanguage.g:1051:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= '->' ( (lv_body_2_0= ruleConjunctiveExpression ) ) )
- // InternalSolverLanguage.g:1052:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= '->' ( (lv_body_2_0= ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:1040:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) )
+ // InternalSolverLanguageParser.g:1041:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) )
{
- // InternalSolverLanguage.g:1052:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:1053:4: (lv_condition_0_0= ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:1041:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:1042:4: (lv_condition_0_0= ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:1053:4: (lv_condition_0_0= ruleConjunctiveExpression )
- // InternalSolverLanguage.g:1054:5: lv_condition_0_0= ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:1042:4: (lv_condition_0_0= ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:1043:5: lv_condition_0_0= ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
-
- }
+ newCompositeNode(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0());
+
pushFollow(FOLLOW_19);
lv_condition_0_0=ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getCaseRule());
- }
- set(
- current,
- "condition",
- lv_condition_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCaseRule());
+ }
+ set(
+ current,
+ "condition",
+ lv_condition_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_1=(Token)match(input,27,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,HyphenMinusGreaterThanSign,FOLLOW_6);
- newLeafNode(otherlv_1, grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
-
- }
- // InternalSolverLanguage.g:1075:3: ( (lv_body_2_0= ruleConjunctiveExpression ) )
- // InternalSolverLanguage.g:1076:4: (lv_body_2_0= ruleConjunctiveExpression )
+ newLeafNode(otherlv_1, grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1());
+
+ // InternalSolverLanguageParser.g:1064:3: ( (lv_body_2_0= ruleConjunctiveExpression ) )
+ // InternalSolverLanguageParser.g:1065:4: (lv_body_2_0= ruleConjunctiveExpression )
{
- // InternalSolverLanguage.g:1076:4: (lv_body_2_0= ruleConjunctiveExpression )
- // InternalSolverLanguage.g:1077:5: lv_body_2_0= ruleConjunctiveExpression
+ // InternalSolverLanguageParser.g:1065:4: (lv_body_2_0= ruleConjunctiveExpression )
+ // InternalSolverLanguageParser.g:1066:5: lv_body_2_0= ruleConjunctiveExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
-
- }
+ newCompositeNode(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0());
+
pushFollow(FOLLOW_2);
lv_body_2_0=ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getCaseRule());
- }
- set(
- current,
- "body",
- lv_body_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCaseRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ConjunctiveExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -2975,11 +2681,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -2994,7 +2698,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleConjunctiveExpression"
- // InternalSolverLanguage.g:1098:1: entryRuleConjunctiveExpression returns [EObject current=null] : iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ;
+ // InternalSolverLanguageParser.g:1087:1: entryRuleConjunctiveExpression returns [EObject current=null] : iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ;
public final EObject entryRuleConjunctiveExpression() throws RecognitionException {
EObject current = null;
@@ -3002,21 +2706,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1098:62: (iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF )
- // InternalSolverLanguage.g:1099:2: iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF
+ // InternalSolverLanguageParser.g:1087:62: (iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF )
+ // InternalSolverLanguageParser.g:1088:2: iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getConjunctiveExpressionRule());
- }
+ newCompositeNode(grammarAccess.getConjunctiveExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleConjunctiveExpression=ruleConjunctiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleConjunctiveExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleConjunctiveExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -3034,7 +2734,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleConjunctiveExpression"
- // InternalSolverLanguage.g:1105:1: ruleConjunctiveExpression returns [EObject current=null] : (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ;
+ // InternalSolverLanguageParser.g:1094:1: ruleConjunctiveExpression returns [EObject current=null] : (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ;
public final EObject ruleConjunctiveExpression() throws RecognitionException {
EObject current = null;
@@ -3048,103 +2748,91 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1111:2: ( (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) )
- // InternalSolverLanguage.g:1112:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? )
+ // InternalSolverLanguageParser.g:1100:2: ( (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) )
+ // InternalSolverLanguageParser.g:1101:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? )
{
- // InternalSolverLanguage.g:1112:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? )
- // InternalSolverLanguage.g:1113:3: this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )?
+ // InternalSolverLanguageParser.g:1101:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? )
+ // InternalSolverLanguageParser.g:1102:3: this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )?
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_20);
this_ComparisonExpression_0=ruleComparisonExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ComparisonExpression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:1121:3: ( () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )?
+
+ current = this_ComparisonExpression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:1110:3: ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )?
int alt13=2;
int LA13_0 = input.LA(1);
- if ( (LA13_0==28) ) {
+ if ( (LA13_0==Comma) ) {
alt13=1;
}
switch (alt13) {
case 1 :
- // InternalSolverLanguage.g:1122:4: () (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+
+ // InternalSolverLanguageParser.g:1111:4: () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+
{
- // InternalSolverLanguage.g:1122:4: ()
- // InternalSolverLanguage.g:1123:5:
+ // InternalSolverLanguageParser.g:1111:4: ()
+ // InternalSolverLanguageParser.g:1112:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndAdd(
- grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0(),
+ current);
+
}
- // InternalSolverLanguage.g:1129:4: (otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) ) )+
+ // InternalSolverLanguageParser.g:1118:4: (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+
int cnt12=0;
loop12:
do {
int alt12=2;
int LA12_0 = input.LA(1);
- if ( (LA12_0==28) ) {
+ if ( (LA12_0==Comma) ) {
alt12=1;
}
switch (alt12) {
case 1 :
- // InternalSolverLanguage.g:1130:5: otherlv_2= ',' ( (lv_children_3_0= ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:1119:5: otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) )
{
- otherlv_2=(Token)match(input,28,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,Comma,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
-
- }
- // InternalSolverLanguage.g:1134:5: ( (lv_children_3_0= ruleComparisonExpression ) )
- // InternalSolverLanguage.g:1135:6: (lv_children_3_0= ruleComparisonExpression )
+ newLeafNode(otherlv_2, grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0());
+
+ // InternalSolverLanguageParser.g:1123:5: ( (lv_children_3_0= ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:1124:6: (lv_children_3_0= ruleComparisonExpression )
{
- // InternalSolverLanguage.g:1135:6: (lv_children_3_0= ruleComparisonExpression )
- // InternalSolverLanguage.g:1136:7: lv_children_3_0= ruleComparisonExpression
+ // InternalSolverLanguageParser.g:1124:6: (lv_children_3_0= ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:1125:7: lv_children_3_0= ruleComparisonExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0());
+
pushFollow(FOLLOW_20);
lv_children_3_0=ruleComparisonExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getConjunctiveExpressionRule());
- }
- add(
- current,
- "children",
- lv_children_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConjunctiveExpressionRule());
+ }
+ add(
+ current,
+ "children",
+ lv_children_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -3157,7 +2845,6 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
default :
if ( cnt12 >= 1 ) break loop12;
- if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(12, input);
throw eee;
@@ -3177,11 +2864,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -3196,7 +2881,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleComparisonExpression"
- // InternalSolverLanguage.g:1159:1: entryRuleComparisonExpression returns [EObject current=null] : iv_ruleComparisonExpression= ruleComparisonExpression EOF ;
+ // InternalSolverLanguageParser.g:1148:1: entryRuleComparisonExpression returns [EObject current=null] : iv_ruleComparisonExpression= ruleComparisonExpression EOF ;
public final EObject entryRuleComparisonExpression() throws RecognitionException {
EObject current = null;
@@ -3204,21 +2889,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1159:61: (iv_ruleComparisonExpression= ruleComparisonExpression EOF )
- // InternalSolverLanguage.g:1160:2: iv_ruleComparisonExpression= ruleComparisonExpression EOF
+ // InternalSolverLanguageParser.g:1148:61: (iv_ruleComparisonExpression= ruleComparisonExpression EOF )
+ // InternalSolverLanguageParser.g:1149:2: iv_ruleComparisonExpression= ruleComparisonExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComparisonExpressionRule());
- }
+ newCompositeNode(grammarAccess.getComparisonExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleComparisonExpression=ruleComparisonExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleComparisonExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleComparisonExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -3236,7 +2917,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleComparisonExpression"
- // InternalSolverLanguage.g:1166:1: ruleComparisonExpression returns [EObject current=null] : (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ;
+ // InternalSolverLanguageParser.g:1155:1: ruleComparisonExpression returns [EObject current=null] : (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ;
public final EObject ruleComparisonExpression() throws RecognitionException {
EObject current = null;
@@ -3251,116 +2932,102 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1172:2: ( (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) )
- // InternalSolverLanguage.g:1173:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? )
+ // InternalSolverLanguageParser.g:1161:2: ( (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) )
+ // InternalSolverLanguageParser.g:1162:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? )
{
- // InternalSolverLanguage.g:1173:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? )
- // InternalSolverLanguage.g:1174:3: this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )?
+ // InternalSolverLanguageParser.g:1162:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? )
+ // InternalSolverLanguageParser.g:1163:3: this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )?
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_21);
this_AdditiveExpression_0=ruleAdditiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_AdditiveExpression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:1182:3: ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )?
+
+ current = this_AdditiveExpression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:1171:3: ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )?
int alt14=2;
int LA14_0 = input.LA(1);
- if ( ((LA14_0>=47 && LA14_0<=49)||(LA14_0>=52 && LA14_0<=55)) ) {
+ if ( (LA14_0==ExclamationMarkEqualsSign||(LA14_0>=LessThanSignEqualsSign && LA14_0<=GreaterThanSignEqualsSign)||LA14_0==In||LA14_0==LessThanSign||LA14_0==GreaterThanSign) ) {
alt14=1;
}
switch (alt14) {
case 1 :
- // InternalSolverLanguage.g:1183:4: () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) )
+ // InternalSolverLanguageParser.g:1172:4: () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) )
{
- // InternalSolverLanguage.g:1183:4: ()
- // InternalSolverLanguage.g:1184:5:
+ // InternalSolverLanguageParser.g:1172:4: ()
+ // InternalSolverLanguageParser.g:1173:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(),
+ current);
+
}
- // InternalSolverLanguage.g:1190:4: ( (lv_op_2_0= ruleComparisonOperator ) )
- // InternalSolverLanguage.g:1191:5: (lv_op_2_0= ruleComparisonOperator )
+ // InternalSolverLanguageParser.g:1179:4: ( (lv_op_2_0= ruleComparisonOperator ) )
+ // InternalSolverLanguageParser.g:1180:5: (lv_op_2_0= ruleComparisonOperator )
{
- // InternalSolverLanguage.g:1191:5: (lv_op_2_0= ruleComparisonOperator )
- // InternalSolverLanguage.g:1192:6: lv_op_2_0= ruleComparisonOperator
+ // InternalSolverLanguageParser.g:1180:5: (lv_op_2_0= ruleComparisonOperator )
+ // InternalSolverLanguageParser.g:1181:6: lv_op_2_0= ruleComparisonOperator
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0());
+
pushFollow(FOLLOW_6);
lv_op_2_0=ruleComparisonOperator();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
- }
- set(
- current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonOperator");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
+ }
+ set(
+ current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonOperator");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1209:4: ( (lv_right_3_0= ruleAdditiveExpression ) )
- // InternalSolverLanguage.g:1210:5: (lv_right_3_0= ruleAdditiveExpression )
+ // InternalSolverLanguageParser.g:1198:4: ( (lv_right_3_0= ruleAdditiveExpression ) )
+ // InternalSolverLanguageParser.g:1199:5: (lv_right_3_0= ruleAdditiveExpression )
{
- // InternalSolverLanguage.g:1210:5: (lv_right_3_0= ruleAdditiveExpression )
- // InternalSolverLanguage.g:1211:6: lv_right_3_0= ruleAdditiveExpression
+ // InternalSolverLanguageParser.g:1199:5: (lv_right_3_0= ruleAdditiveExpression )
+ // InternalSolverLanguageParser.g:1200:6: lv_right_3_0= ruleAdditiveExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0());
+
pushFollow(FOLLOW_2);
lv_right_3_0=ruleAdditiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
- }
- set(
- current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComparisonExpressionRule());
+ }
+ set(
+ current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -3379,11 +3046,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -3398,7 +3063,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAdditiveExpression"
- // InternalSolverLanguage.g:1233:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ;
+ // InternalSolverLanguageParser.g:1222:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ;
public final EObject entryRuleAdditiveExpression() throws RecognitionException {
EObject current = null;
@@ -3406,21 +3071,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1233:59: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF )
- // InternalSolverLanguage.g:1234:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF
+ // InternalSolverLanguageParser.g:1222:59: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF )
+ // InternalSolverLanguageParser.g:1223:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAdditiveExpressionRule());
- }
+ newCompositeNode(grammarAccess.getAdditiveExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleAdditiveExpression=ruleAdditiveExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAdditiveExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleAdditiveExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -3438,7 +3099,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAdditiveExpression"
- // InternalSolverLanguage.g:1240:1: ruleAdditiveExpression returns [EObject current=null] : (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ;
+ // InternalSolverLanguageParser.g:1229:1: ruleAdditiveExpression returns [EObject current=null] : (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ;
public final EObject ruleAdditiveExpression() throws RecognitionException {
EObject current = null;
@@ -3453,120 +3114,106 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1246:2: ( (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) )
- // InternalSolverLanguage.g:1247:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* )
+ // InternalSolverLanguageParser.g:1235:2: ( (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) )
+ // InternalSolverLanguageParser.g:1236:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* )
{
- // InternalSolverLanguage.g:1247:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* )
- // InternalSolverLanguage.g:1248:3: this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )*
+ // InternalSolverLanguageParser.g:1236:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* )
+ // InternalSolverLanguageParser.g:1237:3: this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )*
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_22);
this_MultiplicativeExpression_0=ruleMultiplicativeExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_MultiplicativeExpression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:1256:3: ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )*
+
+ current = this_MultiplicativeExpression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:1245:3: ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )*
loop15:
do {
int alt15=2;
int LA15_0 = input.LA(1);
- if ( ((LA15_0>=56 && LA15_0<=57)) ) {
+ if ( (LA15_0==PlusSign||LA15_0==HyphenMinus) ) {
alt15=1;
}
switch (alt15) {
case 1 :
- // InternalSolverLanguage.g:1257:4: () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) )
+ // InternalSolverLanguageParser.g:1246:4: () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) )
{
- // InternalSolverLanguage.g:1257:4: ()
- // InternalSolverLanguage.g:1258:5:
+ // InternalSolverLanguageParser.g:1246:4: ()
+ // InternalSolverLanguageParser.g:1247:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0(),
+ current);
+
}
- // InternalSolverLanguage.g:1264:4: ( (lv_op_2_0= ruleAdditiveBinaryOperator ) )
- // InternalSolverLanguage.g:1265:5: (lv_op_2_0= ruleAdditiveBinaryOperator )
+ // InternalSolverLanguageParser.g:1253:4: ( (lv_op_2_0= ruleAdditiveBinaryOperator ) )
+ // InternalSolverLanguageParser.g:1254:5: (lv_op_2_0= ruleAdditiveBinaryOperator )
{
- // InternalSolverLanguage.g:1265:5: (lv_op_2_0= ruleAdditiveBinaryOperator )
- // InternalSolverLanguage.g:1266:6: lv_op_2_0= ruleAdditiveBinaryOperator
+ // InternalSolverLanguageParser.g:1254:5: (lv_op_2_0= ruleAdditiveBinaryOperator )
+ // InternalSolverLanguageParser.g:1255:6: lv_op_2_0= ruleAdditiveBinaryOperator
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0());
+
pushFollow(FOLLOW_6);
lv_op_2_0=ruleAdditiveBinaryOperator();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- set(
- current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveBinaryOperator");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
+ }
+ set(
+ current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveBinaryOperator");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1283:4: ( (lv_right_3_0= ruleMultiplicativeExpression ) )
- // InternalSolverLanguage.g:1284:5: (lv_right_3_0= ruleMultiplicativeExpression )
+ // InternalSolverLanguageParser.g:1272:4: ( (lv_right_3_0= ruleMultiplicativeExpression ) )
+ // InternalSolverLanguageParser.g:1273:5: (lv_right_3_0= ruleMultiplicativeExpression )
{
- // InternalSolverLanguage.g:1284:5: (lv_right_3_0= ruleMultiplicativeExpression )
- // InternalSolverLanguage.g:1285:6: lv_right_3_0= ruleMultiplicativeExpression
+ // InternalSolverLanguageParser.g:1273:5: (lv_right_3_0= ruleMultiplicativeExpression )
+ // InternalSolverLanguageParser.g:1274:6: lv_right_3_0= ruleMultiplicativeExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0());
+
pushFollow(FOLLOW_22);
lv_right_3_0=ruleMultiplicativeExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- set(
- current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
+ }
+ set(
+ current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -3588,11 +3235,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -3607,7 +3252,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleMultiplicativeExpression"
- // InternalSolverLanguage.g:1307:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ;
+ // InternalSolverLanguageParser.g:1296:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ;
public final EObject entryRuleMultiplicativeExpression() throws RecognitionException {
EObject current = null;
@@ -3615,21 +3260,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1307:65: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF )
- // InternalSolverLanguage.g:1308:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF
+ // InternalSolverLanguageParser.g:1296:65: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF )
+ // InternalSolverLanguageParser.g:1297:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionRule());
- }
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleMultiplicativeExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleMultiplicativeExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -3647,7 +3288,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMultiplicativeExpression"
- // InternalSolverLanguage.g:1314:1: ruleMultiplicativeExpression returns [EObject current=null] : (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ;
+ // InternalSolverLanguageParser.g:1303:1: ruleMultiplicativeExpression returns [EObject current=null] : (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ;
public final EObject ruleMultiplicativeExpression() throws RecognitionException {
EObject current = null;
@@ -3662,120 +3303,106 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1320:2: ( (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) )
- // InternalSolverLanguage.g:1321:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* )
+ // InternalSolverLanguageParser.g:1309:2: ( (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) )
+ // InternalSolverLanguageParser.g:1310:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* )
{
- // InternalSolverLanguage.g:1321:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* )
- // InternalSolverLanguage.g:1322:3: this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )*
+ // InternalSolverLanguageParser.g:1310:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* )
+ // InternalSolverLanguageParser.g:1311:3: this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )*
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_23);
this_ExponentialExpression_0=ruleExponentialExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ExponentialExpression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:1330:3: ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )*
+
+ current = this_ExponentialExpression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:1319:3: ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
- if ( (LA16_0==35||LA16_0==58) ) {
+ if ( (LA16_0==Asterisk||LA16_0==Solidus) ) {
alt16=1;
}
switch (alt16) {
case 1 :
- // InternalSolverLanguage.g:1331:4: () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:1320:4: () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) )
{
- // InternalSolverLanguage.g:1331:4: ()
- // InternalSolverLanguage.g:1332:5:
+ // InternalSolverLanguageParser.g:1320:4: ()
+ // InternalSolverLanguageParser.g:1321:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0(),
+ current);
+
}
- // InternalSolverLanguage.g:1338:4: ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) )
- // InternalSolverLanguage.g:1339:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator )
+ // InternalSolverLanguageParser.g:1327:4: ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) )
+ // InternalSolverLanguageParser.g:1328:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator )
{
- // InternalSolverLanguage.g:1339:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator )
- // InternalSolverLanguage.g:1340:6: lv_op_2_0= ruleMultiplicativeBinaryOperator
+ // InternalSolverLanguageParser.g:1328:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator )
+ // InternalSolverLanguageParser.g:1329:6: lv_op_2_0= ruleMultiplicativeBinaryOperator
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0());
+
pushFollow(FOLLOW_6);
lv_op_2_0=ruleMultiplicativeBinaryOperator();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- set(
- current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeBinaryOperator");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
+ }
+ set(
+ current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeBinaryOperator");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1357:4: ( (lv_right_3_0= ruleExponentialExpression ) )
- // InternalSolverLanguage.g:1358:5: (lv_right_3_0= ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:1346:4: ( (lv_right_3_0= ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:1347:5: (lv_right_3_0= ruleExponentialExpression )
{
- // InternalSolverLanguage.g:1358:5: (lv_right_3_0= ruleExponentialExpression )
- // InternalSolverLanguage.g:1359:6: lv_right_3_0= ruleExponentialExpression
+ // InternalSolverLanguageParser.g:1347:5: (lv_right_3_0= ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:1348:6: lv_right_3_0= ruleExponentialExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
+
pushFollow(FOLLOW_23);
lv_right_3_0=ruleExponentialExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- set(
- current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
+ }
+ set(
+ current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -3797,11 +3424,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -3816,7 +3441,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExponentialExpression"
- // InternalSolverLanguage.g:1381:1: entryRuleExponentialExpression returns [EObject current=null] : iv_ruleExponentialExpression= ruleExponentialExpression EOF ;
+ // InternalSolverLanguageParser.g:1370:1: entryRuleExponentialExpression returns [EObject current=null] : iv_ruleExponentialExpression= ruleExponentialExpression EOF ;
public final EObject entryRuleExponentialExpression() throws RecognitionException {
EObject current = null;
@@ -3824,21 +3449,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1381:62: (iv_ruleExponentialExpression= ruleExponentialExpression EOF )
- // InternalSolverLanguage.g:1382:2: iv_ruleExponentialExpression= ruleExponentialExpression EOF
+ // InternalSolverLanguageParser.g:1370:62: (iv_ruleExponentialExpression= ruleExponentialExpression EOF )
+ // InternalSolverLanguageParser.g:1371:2: iv_ruleExponentialExpression= ruleExponentialExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExponentialExpressionRule());
- }
+ newCompositeNode(grammarAccess.getExponentialExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleExponentialExpression=ruleExponentialExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExponentialExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExponentialExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -3856,7 +3477,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExponentialExpression"
- // InternalSolverLanguage.g:1388:1: ruleExponentialExpression returns [EObject current=null] : (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) ;
+ // InternalSolverLanguageParser.g:1377:1: ruleExponentialExpression returns [EObject current=null] : (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) ;
public final EObject ruleExponentialExpression() throws RecognitionException {
EObject current = null;
@@ -3871,116 +3492,102 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1394:2: ( (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) )
- // InternalSolverLanguage.g:1395:2: (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? )
+ // InternalSolverLanguageParser.g:1383:2: ( (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) )
+ // InternalSolverLanguageParser.g:1384:2: (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? )
{
- // InternalSolverLanguage.g:1395:2: (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? )
- // InternalSolverLanguage.g:1396:3: this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )?
+ // InternalSolverLanguageParser.g:1384:2: (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? )
+ // InternalSolverLanguageParser.g:1385:3: this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )?
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_24);
this_UnaryExpression_0=ruleUnaryExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_UnaryExpression_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:1404:3: ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )?
+
+ current = this_UnaryExpression_0;
+ afterParserOrEnumRuleCall();
+
+ // InternalSolverLanguageParser.g:1393:3: ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )?
int alt17=2;
int LA17_0 = input.LA(1);
- if ( (LA17_0==59) ) {
+ if ( (LA17_0==CircumflexAccent) ) {
alt17=1;
}
switch (alt17) {
case 1 :
- // InternalSolverLanguage.g:1405:4: () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:1394:4: () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) )
{
- // InternalSolverLanguage.g:1405:4: ()
- // InternalSolverLanguage.g:1406:5:
+ // InternalSolverLanguageParser.g:1394:4: ()
+ // InternalSolverLanguageParser.g:1395:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElementAndSet(
- grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0(),
- current);
-
- }
+ current = forceCreateModelElementAndSet(
+ grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0(),
+ current);
+
}
- // InternalSolverLanguage.g:1412:4: ( (lv_op_2_0= ruleExponentialOp ) )
- // InternalSolverLanguage.g:1413:5: (lv_op_2_0= ruleExponentialOp )
+ // InternalSolverLanguageParser.g:1401:4: ( (lv_op_2_0= ruleExponentialOp ) )
+ // InternalSolverLanguageParser.g:1402:5: (lv_op_2_0= ruleExponentialOp )
{
- // InternalSolverLanguage.g:1413:5: (lv_op_2_0= ruleExponentialOp )
- // InternalSolverLanguage.g:1414:6: lv_op_2_0= ruleExponentialOp
+ // InternalSolverLanguageParser.g:1402:5: (lv_op_2_0= ruleExponentialOp )
+ // InternalSolverLanguageParser.g:1403:6: lv_op_2_0= ruleExponentialOp
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0());
+
pushFollow(FOLLOW_6);
lv_op_2_0=ruleExponentialOp();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
- }
- set(
- current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialOp");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
+ }
+ set(
+ current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialOp");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1431:4: ( (lv_right_3_0= ruleExponentialExpression ) )
- // InternalSolverLanguage.g:1432:5: (lv_right_3_0= ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:1420:4: ( (lv_right_3_0= ruleExponentialExpression ) )
+ // InternalSolverLanguageParser.g:1421:5: (lv_right_3_0= ruleExponentialExpression )
{
- // InternalSolverLanguage.g:1432:5: (lv_right_3_0= ruleExponentialExpression )
- // InternalSolverLanguage.g:1433:6: lv_right_3_0= ruleExponentialExpression
+ // InternalSolverLanguageParser.g:1421:5: (lv_right_3_0= ruleExponentialExpression )
+ // InternalSolverLanguageParser.g:1422:6: lv_right_3_0= ruleExponentialExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0());
+
pushFollow(FOLLOW_2);
lv_right_3_0=ruleExponentialExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
- }
- set(
- current,
- "right",
- lv_right_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExponentialExpressionRule());
+ }
+ set(
+ current,
+ "right",
+ lv_right_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -3999,11 +3606,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -4018,7 +3623,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleUnaryExpression"
- // InternalSolverLanguage.g:1455:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ;
+ // InternalSolverLanguageParser.g:1444:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ;
public final EObject entryRuleUnaryExpression() throws RecognitionException {
EObject current = null;
@@ -4026,21 +3631,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1455:56: (iv_ruleUnaryExpression= ruleUnaryExpression EOF )
- // InternalSolverLanguage.g:1456:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF
+ // InternalSolverLanguageParser.g:1444:56: (iv_ruleUnaryExpression= ruleUnaryExpression EOF )
+ // InternalSolverLanguageParser.g:1445:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnaryExpressionRule());
- }
+ newCompositeNode(grammarAccess.getUnaryExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleUnaryExpression=ruleUnaryExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleUnaryExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleUnaryExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -4058,7 +3659,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleUnaryExpression"
- // InternalSolverLanguage.g:1462:1: ruleUnaryExpression returns [EObject current=null] : (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ;
+ // InternalSolverLanguageParser.g:1451:1: ruleUnaryExpression returns [EObject current=null] : (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ;
public final EObject ruleUnaryExpression() throws RecognitionException {
EObject current = null;
@@ -4073,21 +3674,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1468:2: ( (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) )
- // InternalSolverLanguage.g:1469:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) )
+ // InternalSolverLanguageParser.g:1457:2: ( (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) )
+ // InternalSolverLanguageParser.g:1458:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) )
{
- // InternalSolverLanguage.g:1469:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) )
+ // InternalSolverLanguageParser.g:1458:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) )
int alt18=2;
int LA18_0 = input.LA(1);
- if ( ((LA18_0>=RULE_STRING && LA18_0<=RULE_QUOTED_ID)||LA18_0==19||LA18_0==29||LA18_0==33||LA18_0==36||(LA18_0>=39 && LA18_0<=40)||(LA18_0>=64 && LA18_0<=72)) ) {
+ if ( (LA18_0==Unknown||(LA18_0>=Count && LA18_0<=False)||(LA18_0>=Only && LA18_0<=Prod)||LA18_0==True||(LA18_0>=Avg && LA18_0<=Inf)||LA18_0==Max||(LA18_0>=Min && LA18_0<=Sum)||LA18_0==LeftParenthesis||LA18_0==LeftSquareBracket||(LA18_0>=RULE_STRING && LA18_0<=RULE_QUOTED_ID)||(LA18_0>=RULE_ID && LA18_0<=RULE_INT)) ) {
alt18=1;
}
- else if ( ((LA18_0>=56 && LA18_0<=57)||(LA18_0>=60 && LA18_0<=63)) ) {
+ else if ( (LA18_0==Current||LA18_0==Must||LA18_0==May||LA18_0==ExclamationMark||LA18_0==PlusSign||LA18_0==HyphenMinus) ) {
alt18=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 18, 0, input);
@@ -4095,110 +3695,96 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
switch (alt18) {
case 1 :
- // InternalSolverLanguage.g:1470:3: this_AggregationExpression_0= ruleAggregationExpression
+ // InternalSolverLanguageParser.g:1459:3: this_AggregationExpression_0= ruleAggregationExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_AggregationExpression_0=ruleAggregationExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_AggregationExpression_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_AggregationExpression_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:1479:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) )
+ // InternalSolverLanguageParser.g:1468:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) )
{
- // InternalSolverLanguage.g:1479:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) )
- // InternalSolverLanguage.g:1480:4: () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) )
+ // InternalSolverLanguageParser.g:1468:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) )
+ // InternalSolverLanguageParser.g:1469:4: () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) )
{
- // InternalSolverLanguage.g:1480:4: ()
- // InternalSolverLanguage.g:1481:5:
+ // InternalSolverLanguageParser.g:1469:4: ()
+ // InternalSolverLanguageParser.g:1470:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0(),
+ current);
+
}
- // InternalSolverLanguage.g:1487:4: ( (lv_op_2_0= ruleUnaryOp ) )
- // InternalSolverLanguage.g:1488:5: (lv_op_2_0= ruleUnaryOp )
+ // InternalSolverLanguageParser.g:1476:4: ( (lv_op_2_0= ruleUnaryOp ) )
+ // InternalSolverLanguageParser.g:1477:5: (lv_op_2_0= ruleUnaryOp )
{
- // InternalSolverLanguage.g:1488:5: (lv_op_2_0= ruleUnaryOp )
- // InternalSolverLanguage.g:1489:6: lv_op_2_0= ruleUnaryOp
+ // InternalSolverLanguageParser.g:1477:5: (lv_op_2_0= ruleUnaryOp )
+ // InternalSolverLanguageParser.g:1478:6: lv_op_2_0= ruleUnaryOp
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
-
- }
+ newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0());
+
pushFollow(FOLLOW_25);
lv_op_2_0=ruleUnaryOp();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- current,
- "op",
- lv_op_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
+ }
+ set(
+ current,
+ "op",
+ lv_op_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1506:4: ( (lv_body_3_0= ruleAggregationExpression ) )
- // InternalSolverLanguage.g:1507:5: (lv_body_3_0= ruleAggregationExpression )
+ // InternalSolverLanguageParser.g:1495:4: ( (lv_body_3_0= ruleAggregationExpression ) )
+ // InternalSolverLanguageParser.g:1496:5: (lv_body_3_0= ruleAggregationExpression )
{
- // InternalSolverLanguage.g:1507:5: (lv_body_3_0= ruleAggregationExpression )
- // InternalSolverLanguage.g:1508:6: lv_body_3_0= ruleAggregationExpression
+ // InternalSolverLanguageParser.g:1496:5: (lv_body_3_0= ruleAggregationExpression )
+ // InternalSolverLanguageParser.g:1497:6: lv_body_3_0= ruleAggregationExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
-
- }
+ newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0());
+
pushFollow(FOLLOW_2);
lv_body_3_0=ruleAggregationExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- current,
- "body",
- lv_body_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -4217,11 +3803,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -4236,7 +3820,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAggregationExpression"
- // InternalSolverLanguage.g:1530:1: entryRuleAggregationExpression returns [EObject current=null] : iv_ruleAggregationExpression= ruleAggregationExpression EOF ;
+ // InternalSolverLanguageParser.g:1519:1: entryRuleAggregationExpression returns [EObject current=null] : iv_ruleAggregationExpression= ruleAggregationExpression EOF ;
public final EObject entryRuleAggregationExpression() throws RecognitionException {
EObject current = null;
@@ -4244,21 +3828,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1530:62: (iv_ruleAggregationExpression= ruleAggregationExpression EOF )
- // InternalSolverLanguage.g:1531:2: iv_ruleAggregationExpression= ruleAggregationExpression EOF
+ // InternalSolverLanguageParser.g:1519:62: (iv_ruleAggregationExpression= ruleAggregationExpression EOF )
+ // InternalSolverLanguageParser.g:1520:2: iv_ruleAggregationExpression= ruleAggregationExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationExpressionRule());
- }
+ newCompositeNode(grammarAccess.getAggregationExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleAggregationExpression=ruleAggregationExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAggregationExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleAggregationExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -4276,7 +3856,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAggregationExpression"
- // InternalSolverLanguage.g:1537:1: ruleAggregationExpression returns [EObject current=null] : (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) ;
+ // InternalSolverLanguageParser.g:1526:1: ruleAggregationExpression returns [EObject current=null] : (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) ;
public final EObject ruleAggregationExpression() throws RecognitionException {
EObject current = null;
@@ -4291,45 +3871,44 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1543:2: ( (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) )
- // InternalSolverLanguage.g:1544:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation )
+ // InternalSolverLanguageParser.g:1532:2: ( (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) )
+ // InternalSolverLanguageParser.g:1533:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation )
{
- // InternalSolverLanguage.g:1544:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation )
+ // InternalSolverLanguageParser.g:1533:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation )
int alt19=3;
switch ( input.LA(1) ) {
+ case Unknown:
+ case Empty:
+ case Error:
+ case False:
+ case True:
+ case Inf:
+ case LeftParenthesis:
+ case LeftSquareBracket:
case RULE_STRING:
+ case RULE_QUOTED_ID:
case RULE_ID:
case RULE_INT:
- case RULE_QUOTED_ID:
- case 19:
- case 33:
- case 36:
- case 39:
- case 40:
- case 70:
- case 71:
- case 72:
{
alt19=1;
}
break;
- case 29:
+ case Count:
{
alt19=2;
}
break;
- case 64:
- case 65:
- case 66:
- case 67:
- case 68:
- case 69:
+ case Only:
+ case Prod:
+ case Avg:
+ case Max:
+ case Min:
+ case Sum:
{
alt19=3;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
@@ -4338,68 +3917,56 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
switch (alt19) {
case 1 :
- // InternalSolverLanguage.g:1545:3: this_AtomicExpression_0= ruleAtomicExpression
+ // InternalSolverLanguageParser.g:1534:3: this_AtomicExpression_0= ruleAtomicExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_AtomicExpression_0=ruleAtomicExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_AtomicExpression_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_AtomicExpression_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:1554:3: this_Count_1= ruleCount
+ // InternalSolverLanguageParser.g:1543:3: this_Count_1= ruleCount
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1());
+
pushFollow(FOLLOW_2);
this_Count_1=ruleCount();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_Count_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_Count_1;
+ afterParserOrEnumRuleCall();
+
}
break;
case 3 :
- // InternalSolverLanguage.g:1563:3: this_Aggregation_2= ruleAggregation
+ // InternalSolverLanguageParser.g:1552:3: this_Aggregation_2= ruleAggregation
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
-
- }
+ newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2());
+
pushFollow(FOLLOW_2);
this_Aggregation_2=ruleAggregation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_Aggregation_2;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_Aggregation_2;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -4409,11 +3976,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -4428,7 +3993,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleCount"
- // InternalSolverLanguage.g:1575:1: entryRuleCount returns [EObject current=null] : iv_ruleCount= ruleCount EOF ;
+ // InternalSolverLanguageParser.g:1564:1: entryRuleCount returns [EObject current=null] : iv_ruleCount= ruleCount EOF ;
public final EObject entryRuleCount() throws RecognitionException {
EObject current = null;
@@ -4436,21 +4001,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1575:46: (iv_ruleCount= ruleCount EOF )
- // InternalSolverLanguage.g:1576:2: iv_ruleCount= ruleCount EOF
+ // InternalSolverLanguageParser.g:1564:46: (iv_ruleCount= ruleCount EOF )
+ // InternalSolverLanguageParser.g:1565:2: iv_ruleCount= ruleCount EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCountRule());
- }
+ newCompositeNode(grammarAccess.getCountRule());
pushFollow(FOLLOW_1);
iv_ruleCount=ruleCount();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleCount;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleCount;
+ match(input,EOF,FOLLOW_2);
}
@@ -4468,7 +4029,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleCount"
- // InternalSolverLanguage.g:1582:1: ruleCount returns [EObject current=null] : (otherlv_0= 'count' otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '}' ) ;
+ // InternalSolverLanguageParser.g:1571:1: ruleCount returns [EObject current=null] : (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) ;
public final EObject ruleCount() throws RecognitionException {
EObject current = null;
@@ -4482,76 +4043,64 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1588:2: ( (otherlv_0= 'count' otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '}' ) )
- // InternalSolverLanguage.g:1589:2: (otherlv_0= 'count' otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '}' )
+ // InternalSolverLanguageParser.g:1577:2: ( (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) )
+ // InternalSolverLanguageParser.g:1578:2: (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket )
{
- // InternalSolverLanguage.g:1589:2: (otherlv_0= 'count' otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '}' )
- // InternalSolverLanguage.g:1590:3: otherlv_0= 'count' otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '}'
+ // InternalSolverLanguageParser.g:1578:2: (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket )
+ // InternalSolverLanguageParser.g:1579:3: otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket
{
- otherlv_0=(Token)match(input,29,FOLLOW_26); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Count,FOLLOW_26);
- newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0());
-
- }
- otherlv_1=(Token)match(input,30,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0());
+
+ otherlv_1=(Token)match(input,LeftCurlyBracket,FOLLOW_6);
- newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
-
- }
- // InternalSolverLanguage.g:1598:3: ( (lv_body_2_0= ruleExpression ) )
- // InternalSolverLanguage.g:1599:4: (lv_body_2_0= ruleExpression )
+ newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1());
+
+ // InternalSolverLanguageParser.g:1587:3: ( (lv_body_2_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:1588:4: (lv_body_2_0= ruleExpression )
{
- // InternalSolverLanguage.g:1599:4: (lv_body_2_0= ruleExpression )
- // InternalSolverLanguage.g:1600:5: lv_body_2_0= ruleExpression
+ // InternalSolverLanguageParser.g:1588:4: (lv_body_2_0= ruleExpression )
+ // InternalSolverLanguageParser.g:1589:5: lv_body_2_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
-
- }
+ newCompositeNode(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0());
+
pushFollow(FOLLOW_27);
lv_body_2_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getCountRule());
- }
- set(
- current,
- "body",
- lv_body_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCountRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_3=(Token)match(input,31,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,RightCurlyBracket,FOLLOW_2);
- newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
-
- }
+ newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -4566,7 +4115,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAggregation"
- // InternalSolverLanguage.g:1625:1: entryRuleAggregation returns [EObject current=null] : iv_ruleAggregation= ruleAggregation EOF ;
+ // InternalSolverLanguageParser.g:1614:1: entryRuleAggregation returns [EObject current=null] : iv_ruleAggregation= ruleAggregation EOF ;
public final EObject entryRuleAggregation() throws RecognitionException {
EObject current = null;
@@ -4574,21 +4123,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1625:52: (iv_ruleAggregation= ruleAggregation EOF )
- // InternalSolverLanguage.g:1626:2: iv_ruleAggregation= ruleAggregation EOF
+ // InternalSolverLanguageParser.g:1614:52: (iv_ruleAggregation= ruleAggregation EOF )
+ // InternalSolverLanguageParser.g:1615:2: iv_ruleAggregation= ruleAggregation EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationRule());
- }
+ newCompositeNode(grammarAccess.getAggregationRule());
pushFollow(FOLLOW_1);
iv_ruleAggregation=ruleAggregation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAggregation;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleAggregation;
+ match(input,EOF,FOLLOW_2);
}
@@ -4606,7 +4151,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAggregation"
- // InternalSolverLanguage.g:1632:1: ruleAggregation returns [EObject current=null] : ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '|' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= '}' ) ;
+ // InternalSolverLanguageParser.g:1621:1: ruleAggregation returns [EObject current=null] : ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) ;
public final EObject ruleAggregation() throws RecognitionException {
EObject current = null;
@@ -4624,146 +4169,126 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1638:2: ( ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '|' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= '}' ) )
- // InternalSolverLanguage.g:1639:2: ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '|' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= '}' )
+ // InternalSolverLanguageParser.g:1627:2: ( ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) )
+ // InternalSolverLanguageParser.g:1628:2: ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket )
{
- // InternalSolverLanguage.g:1639:2: ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '|' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= '}' )
- // InternalSolverLanguage.g:1640:3: ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= '{' ( (lv_body_2_0= ruleExpression ) ) otherlv_3= '|' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= '}'
+ // InternalSolverLanguageParser.g:1628:2: ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket )
+ // InternalSolverLanguageParser.g:1629:3: ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket
{
- // InternalSolverLanguage.g:1640:3: ( (lv_op_0_0= ruleAggregationOp ) )
- // InternalSolverLanguage.g:1641:4: (lv_op_0_0= ruleAggregationOp )
+ // InternalSolverLanguageParser.g:1629:3: ( (lv_op_0_0= ruleAggregationOp ) )
+ // InternalSolverLanguageParser.g:1630:4: (lv_op_0_0= ruleAggregationOp )
{
- // InternalSolverLanguage.g:1641:4: (lv_op_0_0= ruleAggregationOp )
- // InternalSolverLanguage.g:1642:5: lv_op_0_0= ruleAggregationOp
+ // InternalSolverLanguageParser.g:1630:4: (lv_op_0_0= ruleAggregationOp )
+ // InternalSolverLanguageParser.g:1631:5: lv_op_0_0= ruleAggregationOp
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
-
- }
+ newCompositeNode(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0());
+
pushFollow(FOLLOW_26);
lv_op_0_0=ruleAggregationOp();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAggregationRule());
- }
- set(
- current,
- "op",
- lv_op_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAggregationRule());
+ }
+ set(
+ current,
+ "op",
+ lv_op_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_1=(Token)match(input,30,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,LeftCurlyBracket,FOLLOW_6);
- newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
-
- }
- // InternalSolverLanguage.g:1663:3: ( (lv_body_2_0= ruleExpression ) )
- // InternalSolverLanguage.g:1664:4: (lv_body_2_0= ruleExpression )
+ newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1());
+
+ // InternalSolverLanguageParser.g:1652:3: ( (lv_body_2_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:1653:4: (lv_body_2_0= ruleExpression )
{
- // InternalSolverLanguage.g:1664:4: (lv_body_2_0= ruleExpression )
- // InternalSolverLanguage.g:1665:5: lv_body_2_0= ruleExpression
+ // InternalSolverLanguageParser.g:1653:4: (lv_body_2_0= ruleExpression )
+ // InternalSolverLanguageParser.g:1654:5: lv_body_2_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
-
- }
+ newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0());
+
pushFollow(FOLLOW_28);
lv_body_2_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAggregationRule());
- }
- set(
- current,
- "body",
- lv_body_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAggregationRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_3=(Token)match(input,32,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,VerticalLine,FOLLOW_6);
- newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
-
- }
- // InternalSolverLanguage.g:1686:3: ( (lv_condition_4_0= ruleExpression ) )
- // InternalSolverLanguage.g:1687:4: (lv_condition_4_0= ruleExpression )
+ newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3());
+
+ // InternalSolverLanguageParser.g:1675:3: ( (lv_condition_4_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:1676:4: (lv_condition_4_0= ruleExpression )
{
- // InternalSolverLanguage.g:1687:4: (lv_condition_4_0= ruleExpression )
- // InternalSolverLanguage.g:1688:5: lv_condition_4_0= ruleExpression
+ // InternalSolverLanguageParser.g:1676:4: (lv_condition_4_0= ruleExpression )
+ // InternalSolverLanguageParser.g:1677:5: lv_condition_4_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
-
- }
+ newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0());
+
pushFollow(FOLLOW_27);
lv_condition_4_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAggregationRule());
- }
- set(
- current,
- "condition",
- lv_condition_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAggregationRule());
+ }
+ set(
+ current,
+ "condition",
+ lv_condition_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_5=(Token)match(input,31,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,RightCurlyBracket,FOLLOW_2);
- newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
-
- }
+ newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -4778,7 +4303,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAtomicExpression"
- // InternalSolverLanguage.g:1713:1: entryRuleAtomicExpression returns [EObject current=null] : iv_ruleAtomicExpression= ruleAtomicExpression EOF ;
+ // InternalSolverLanguageParser.g:1702:1: entryRuleAtomicExpression returns [EObject current=null] : iv_ruleAtomicExpression= ruleAtomicExpression EOF ;
public final EObject entryRuleAtomicExpression() throws RecognitionException {
EObject current = null;
@@ -4786,21 +4311,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1713:57: (iv_ruleAtomicExpression= ruleAtomicExpression EOF )
- // InternalSolverLanguage.g:1714:2: iv_ruleAtomicExpression= ruleAtomicExpression EOF
+ // InternalSolverLanguageParser.g:1702:57: (iv_ruleAtomicExpression= ruleAtomicExpression EOF )
+ // InternalSolverLanguageParser.g:1703:2: iv_ruleAtomicExpression= ruleAtomicExpression EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAtomicExpressionRule());
- }
+ newCompositeNode(grammarAccess.getAtomicExpressionRule());
pushFollow(FOLLOW_1);
iv_ruleAtomicExpression=ruleAtomicExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAtomicExpression;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleAtomicExpression;
+ match(input,EOF,FOLLOW_2);
}
@@ -4818,241 +4339,132 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAtomicExpression"
- // InternalSolverLanguage.g:1720:1: ruleAtomicExpression returns [EObject current=null] : ( (this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )? ) | this_Interval_3= ruleInterval | this_Literal_4= ruleLiteral | (otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')' ) ) ;
+ // InternalSolverLanguageParser.g:1709:1: ruleAtomicExpression returns [EObject current=null] : (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ;
public final EObject ruleAtomicExpression() throws RecognitionException {
EObject current = null;
- Token otherlv_5=null;
- Token otherlv_7=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
EObject this_Reference_0 = null;
- EObject lv_argumentList_2_0 = null;
+ EObject this_Call_1 = null;
- EObject this_Interval_3 = null;
+ EObject this_Interval_2 = null;
- EObject this_Literal_4 = null;
+ EObject this_Literal_3 = null;
- EObject this_Expression_6 = null;
+ EObject this_Expression_5 = null;
enterRule();
try {
- // InternalSolverLanguage.g:1726:2: ( ( (this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )? ) | this_Interval_3= ruleInterval | this_Literal_4= ruleLiteral | (otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')' ) ) )
- // InternalSolverLanguage.g:1727:2: ( (this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )? ) | this_Interval_3= ruleInterval | this_Literal_4= ruleLiteral | (otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')' ) )
+ // InternalSolverLanguageParser.g:1715:2: ( (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) )
+ // InternalSolverLanguageParser.g:1716:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )
{
- // InternalSolverLanguage.g:1727:2: ( (this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )? ) | this_Interval_3= ruleInterval | this_Literal_4= ruleLiteral | (otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')' ) )
- int alt21=4;
- switch ( input.LA(1) ) {
- case RULE_ID:
- case RULE_QUOTED_ID:
- {
- alt21=1;
- }
- break;
- case 36:
- {
- alt21=2;
- }
- break;
- case RULE_STRING:
- case RULE_INT:
- case 19:
- case 39:
- case 40:
- case 70:
- case 71:
- case 72:
- {
- alt21=3;
- }
- break;
- case 33:
- {
- alt21=4;
- }
- break;
- default:
- if (state.backtracking>0) {state.failed=true; return current;}
- NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
-
- throw nvae;
- }
-
- switch (alt21) {
+ // InternalSolverLanguageParser.g:1716:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )
+ int alt20=5;
+ alt20 = dfa20.predict(input);
+ switch (alt20) {
case 1 :
- // InternalSolverLanguage.g:1728:3: (this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )? )
+ // InternalSolverLanguageParser.g:1717:3: this_Reference_0= ruleReference
{
- // InternalSolverLanguage.g:1728:3: (this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )? )
- // InternalSolverLanguage.g:1729:4: this_Reference_0= ruleReference ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )?
- {
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0_0());
-
- }
- pushFollow(FOLLOW_29);
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0());
+
+ pushFollow(FOLLOW_2);
this_Reference_0=ruleReference();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_Reference_0;
- afterParserOrEnumRuleCall();
-
- }
- // InternalSolverLanguage.g:1737:4: ( () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) ) )?
- int alt20=2;
- int LA20_0 = input.LA(1);
-
- if ( (LA20_0==33) ) {
- alt20=1;
- }
- switch (alt20) {
- case 1 :
- // InternalSolverLanguage.g:1738:5: () ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) )
- {
- // InternalSolverLanguage.g:1738:5: ()
- // InternalSolverLanguage.g:1739:6:
- {
- if ( state.backtracking==0 ) {
-
- current = forceCreateModelElementAndSet(
- grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0(),
- current);
-
- }
- }
- // InternalSolverLanguage.g:1745:5: ( ( '(' )=> (lv_argumentList_2_0= ruleArgumentList ) )
- // InternalSolverLanguage.g:1746:6: ( '(' )=> (lv_argumentList_2_0= ruleArgumentList )
- {
- // InternalSolverLanguage.g:1747:6: (lv_argumentList_2_0= ruleArgumentList )
- // InternalSolverLanguage.g:1748:7: lv_argumentList_2_0= ruleArgumentList
- {
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0());
-
- }
- pushFollow(FOLLOW_2);
- lv_argumentList_2_0=ruleArgumentList();
-
- state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAtomicExpressionRule());
- }
- set(
- current,
- "argumentList",
- lv_argumentList_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
- afterParserOrEnumRuleCall();
-
- }
-
- }
-
-
- }
-
-
- }
- break;
+ current = this_Reference_0;
+ afterParserOrEnumRuleCall();
+
}
+ break;
+ case 2 :
+ // InternalSolverLanguageParser.g:1726:3: this_Call_1= ruleCall
+ {
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1());
+
+ pushFollow(FOLLOW_2);
+ this_Call_1=ruleCall();
- }
+ state._fsp--;
+ current = this_Call_1;
+ afterParserOrEnumRuleCall();
+
+
}
break;
- case 2 :
- // InternalSolverLanguage.g:1768:3: this_Interval_3= ruleInterval
+ case 3 :
+ // InternalSolverLanguageParser.g:1735:3: this_Interval_2= ruleInterval
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2());
+
pushFollow(FOLLOW_2);
- this_Interval_3=ruleInterval();
+ this_Interval_2=ruleInterval();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_Interval_3;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_Interval_2;
+ afterParserOrEnumRuleCall();
+
}
break;
- case 3 :
- // InternalSolverLanguage.g:1777:3: this_Literal_4= ruleLiteral
+ case 4 :
+ // InternalSolverLanguageParser.g:1744:3: this_Literal_3= ruleLiteral
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_2());
-
- }
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3());
+
pushFollow(FOLLOW_2);
- this_Literal_4=ruleLiteral();
+ this_Literal_3=ruleLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_Literal_4;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_Literal_3;
+ afterParserOrEnumRuleCall();
+
}
break;
- case 4 :
- // InternalSolverLanguage.g:1786:3: (otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')' )
+ case 5 :
+ // InternalSolverLanguageParser.g:1753:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis )
{
- // InternalSolverLanguage.g:1786:3: (otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')' )
- // InternalSolverLanguage.g:1787:4: otherlv_5= '(' this_Expression_6= ruleExpression otherlv_7= ')'
+ // InternalSolverLanguageParser.g:1753:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis )
+ // InternalSolverLanguageParser.g:1754:4: otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis
{
- otherlv_5=(Token)match(input,33,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,LeftParenthesis,FOLLOW_6);
- newLeafNode(otherlv_5, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_4, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0());
+
- newCompositeNode(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_3_1());
-
- }
- pushFollow(FOLLOW_30);
- this_Expression_6=ruleExpression();
+ newCompositeNode(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1());
+
+ pushFollow(FOLLOW_29);
+ this_Expression_5=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_Expression_6;
- afterParserOrEnumRuleCall();
-
- }
- otherlv_7=(Token)match(input,34,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
- newLeafNode(otherlv_7, grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_3_2());
-
- }
+ current = this_Expression_5;
+ afterParserOrEnumRuleCall();
+
+ otherlv_6=(Token)match(input,RightParenthesis,FOLLOW_2);
+
+ newLeafNode(otherlv_6, grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2());
+
}
@@ -5065,11 +4477,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -5084,7 +4494,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleCall"
- // InternalSolverLanguage.g:1808:1: entryRuleCall returns [EObject current=null] : iv_ruleCall= ruleCall EOF ;
+ // InternalSolverLanguageParser.g:1775:1: entryRuleCall returns [EObject current=null] : iv_ruleCall= ruleCall EOF ;
public final EObject entryRuleCall() throws RecognitionException {
EObject current = null;
@@ -5092,21 +4502,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1808:45: (iv_ruleCall= ruleCall EOF )
- // InternalSolverLanguage.g:1809:2: iv_ruleCall= ruleCall EOF
+ // InternalSolverLanguageParser.g:1775:45: (iv_ruleCall= ruleCall EOF )
+ // InternalSolverLanguageParser.g:1776:2: iv_ruleCall= ruleCall EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCallRule());
- }
+ newCompositeNode(grammarAccess.getCallRule());
pushFollow(FOLLOW_1);
iv_ruleCall=ruleCall();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleCall;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleCall;
+ match(input,EOF,FOLLOW_2);
}
@@ -5124,7 +4530,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleCall"
- // InternalSolverLanguage.g:1815:1: ruleCall returns [EObject current=null] : ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_STAR ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ;
+ // InternalSolverLanguageParser.g:1782:1: ruleCall returns [EObject current=null] : ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ;
public final EObject ruleCall() throws RecognitionException {
EObject current = null;
@@ -5139,85 +4545,77 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1821:2: ( ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_STAR ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) )
- // InternalSolverLanguage.g:1822:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_STAR ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) )
+ // InternalSolverLanguageParser.g:1788:2: ( ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) )
+ // InternalSolverLanguageParser.g:1789:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) )
{
- // InternalSolverLanguage.g:1822:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_STAR ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) )
- // InternalSolverLanguage.g:1823:3: ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_STAR ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) )
+ // InternalSolverLanguageParser.g:1789:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) )
+ // InternalSolverLanguageParser.g:1790:3: ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) )
{
- // InternalSolverLanguage.g:1823:3: ( (lv_functor_0_0= ruleReference ) )
- // InternalSolverLanguage.g:1824:4: (lv_functor_0_0= ruleReference )
+ // InternalSolverLanguageParser.g:1790:3: ( (lv_functor_0_0= ruleReference ) )
+ // InternalSolverLanguageParser.g:1791:4: (lv_functor_0_0= ruleReference )
{
- // InternalSolverLanguage.g:1824:4: (lv_functor_0_0= ruleReference )
- // InternalSolverLanguage.g:1825:5: lv_functor_0_0= ruleReference
+ // InternalSolverLanguageParser.g:1791:4: (lv_functor_0_0= ruleReference )
+ // InternalSolverLanguageParser.g:1792:5: lv_functor_0_0= ruleReference
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
-
- }
- pushFollow(FOLLOW_31);
+ newCompositeNode(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0());
+
+ pushFollow(FOLLOW_30);
lv_functor_0_0=ruleReference();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getCallRule());
- }
- set(
- current,
- "functor",
- lv_functor_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Reference");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCallRule());
+ }
+ set(
+ current,
+ "functor",
+ lv_functor_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Reference");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1842:3: ( ( (lv_transitiveClosure_1_0= RULE_STAR ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) ) )?
- int alt22=3;
- int LA22_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:1809:3: ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )?
+ int alt21=3;
+ int LA21_0 = input.LA(1);
- if ( (LA22_0==RULE_STAR) ) {
- alt22=1;
+ if ( (LA21_0==RULE_TRANSITIVE_CLOSURE) ) {
+ alt21=1;
}
- else if ( (LA22_0==RULE_PLUS) ) {
- alt22=2;
+ else if ( (LA21_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) {
+ alt21=2;
}
- switch (alt22) {
+ switch (alt21) {
case 1 :
- // InternalSolverLanguage.g:1843:4: ( (lv_transitiveClosure_1_0= RULE_STAR ) )
+ // InternalSolverLanguageParser.g:1810:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) )
{
- // InternalSolverLanguage.g:1843:4: ( (lv_transitiveClosure_1_0= RULE_STAR ) )
- // InternalSolverLanguage.g:1844:5: (lv_transitiveClosure_1_0= RULE_STAR )
+ // InternalSolverLanguageParser.g:1810:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) )
+ // InternalSolverLanguageParser.g:1811:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE )
{
- // InternalSolverLanguage.g:1844:5: (lv_transitiveClosure_1_0= RULE_STAR )
- // InternalSolverLanguage.g:1845:6: lv_transitiveClosure_1_0= RULE_STAR
+ // InternalSolverLanguageParser.g:1811:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE )
+ // InternalSolverLanguageParser.g:1812:6: lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE
{
- lv_transitiveClosure_1_0=(Token)match(input,RULE_STAR,FOLLOW_10); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_transitiveClosure_1_0=(Token)match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_11);
- newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getCallAccess().getTransitiveClosureSTARTerminalRuleCall_1_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getCallRule());
- }
- setWithLastConsumed(
- current,
- "transitiveClosure",
- true,
- "org.eclipse.viatra.solver.language.SolverLanguage.STAR");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getCallRule());
+ }
+ setWithLastConsumed(
+ current,
+ "transitiveClosure",
+ true,
+ "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE");
+
}
@@ -5228,32 +4626,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:1862:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) )
+ // InternalSolverLanguageParser.g:1829:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) )
{
- // InternalSolverLanguage.g:1862:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS ) )
- // InternalSolverLanguage.g:1863:5: (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS )
+ // InternalSolverLanguageParser.g:1829:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) )
+ // InternalSolverLanguageParser.g:1830:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE )
{
- // InternalSolverLanguage.g:1863:5: (lv_reflexiveTransitiveClosure_2_0= RULE_PLUS )
- // InternalSolverLanguage.g:1864:6: lv_reflexiveTransitiveClosure_2_0= RULE_PLUS
+ // InternalSolverLanguageParser.g:1830:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE )
+ // InternalSolverLanguageParser.g:1831:6: lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE
{
- lv_reflexiveTransitiveClosure_2_0=(Token)match(input,RULE_PLUS,FOLLOW_10); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_reflexiveTransitiveClosure_2_0=(Token)match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_11);
- newLeafNode(lv_reflexiveTransitiveClosure_2_0, grammarAccess.getCallAccess().getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_reflexiveTransitiveClosure_2_0, grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getCallRule());
- }
- setWithLastConsumed(
- current,
- "reflexiveTransitiveClosure",
- true,
- "org.eclipse.viatra.solver.language.SolverLanguage.PLUS");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getCallRule());
+ }
+ setWithLastConsumed(
+ current,
+ "reflexiveTransitiveClosure",
+ true,
+ "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE");
+
}
@@ -5266,35 +4660,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:1881:3: ( (lv_argumentList_3_0= ruleArgumentList ) )
- // InternalSolverLanguage.g:1882:4: (lv_argumentList_3_0= ruleArgumentList )
+ // InternalSolverLanguageParser.g:1848:3: ( (lv_argumentList_3_0= ruleArgumentList ) )
+ // InternalSolverLanguageParser.g:1849:4: (lv_argumentList_3_0= ruleArgumentList )
{
- // InternalSolverLanguage.g:1882:4: (lv_argumentList_3_0= ruleArgumentList )
- // InternalSolverLanguage.g:1883:5: lv_argumentList_3_0= ruleArgumentList
+ // InternalSolverLanguageParser.g:1849:4: (lv_argumentList_3_0= ruleArgumentList )
+ // InternalSolverLanguageParser.g:1850:5: lv_argumentList_3_0= ruleArgumentList
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
-
- }
+ newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0());
+
pushFollow(FOLLOW_2);
lv_argumentList_3_0=ruleArgumentList();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getCallRule());
- }
- set(
- current,
- "argumentList",
- lv_argumentList_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCallRule());
+ }
+ set(
+ current,
+ "argumentList",
+ lv_argumentList_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList");
+ afterParserOrEnumRuleCall();
+
}
@@ -5307,11 +4697,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -5326,7 +4714,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleArgumentList"
- // InternalSolverLanguage.g:1904:1: entryRuleArgumentList returns [EObject current=null] : iv_ruleArgumentList= ruleArgumentList EOF ;
+ // InternalSolverLanguageParser.g:1871:1: entryRuleArgumentList returns [EObject current=null] : iv_ruleArgumentList= ruleArgumentList EOF ;
public final EObject entryRuleArgumentList() throws RecognitionException {
EObject current = null;
@@ -5334,21 +4722,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1904:53: (iv_ruleArgumentList= ruleArgumentList EOF )
- // InternalSolverLanguage.g:1905:2: iv_ruleArgumentList= ruleArgumentList EOF
+ // InternalSolverLanguageParser.g:1871:53: (iv_ruleArgumentList= ruleArgumentList EOF )
+ // InternalSolverLanguageParser.g:1872:2: iv_ruleArgumentList= ruleArgumentList EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentListRule());
- }
+ newCompositeNode(grammarAccess.getArgumentListRule());
pushFollow(FOLLOW_1);
iv_ruleArgumentList=ruleArgumentList();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleArgumentList;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleArgumentList;
+ match(input,EOF,FOLLOW_2);
}
@@ -5366,7 +4750,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleArgumentList"
- // InternalSolverLanguage.g:1911:1: ruleArgumentList returns [EObject current=null] : ( () otherlv_1= '(' ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= ')' ) ;
+ // InternalSolverLanguageParser.g:1878:1: ruleArgumentList returns [EObject current=null] : ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ;
public final EObject ruleArgumentList() throws RecognitionException {
EObject current = null;
@@ -5382,127 +4766,113 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1917:2: ( ( () otherlv_1= '(' ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= ')' ) )
- // InternalSolverLanguage.g:1918:2: ( () otherlv_1= '(' ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= ')' )
+ // InternalSolverLanguageParser.g:1884:2: ( ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) )
+ // InternalSolverLanguageParser.g:1885:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis )
{
- // InternalSolverLanguage.g:1918:2: ( () otherlv_1= '(' ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= ')' )
- // InternalSolverLanguage.g:1919:3: () otherlv_1= '(' ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= ')'
+ // InternalSolverLanguageParser.g:1885:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis )
+ // InternalSolverLanguageParser.g:1886:3: () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis
{
- // InternalSolverLanguage.g:1919:3: ()
- // InternalSolverLanguage.g:1920:4:
+ // InternalSolverLanguageParser.g:1886:3: ()
+ // InternalSolverLanguageParser.g:1887:4:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getArgumentListAccess().getArgumentListAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getArgumentListAccess().getArgumentListAction_0(),
+ current);
+
}
- otherlv_1=(Token)match(input,33,FOLLOW_32); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,LeftParenthesis,FOLLOW_31);
- newLeafNode(otherlv_1, grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
-
- }
- // InternalSolverLanguage.g:1930:3: ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )* )?
- int alt24=2;
- int LA24_0 = input.LA(1);
+ newLeafNode(otherlv_1, grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1());
+
+ // InternalSolverLanguageParser.g:1897:3: ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )?
+ int alt23=2;
+ int LA23_0 = input.LA(1);
- if ( ((LA24_0>=RULE_STRING && LA24_0<=RULE_QUOTED_ID)||LA24_0==19||LA24_0==29||LA24_0==33||(LA24_0>=35 && LA24_0<=36)||(LA24_0>=39 && LA24_0<=40)||(LA24_0>=56 && LA24_0<=57)||(LA24_0>=60 && LA24_0<=72)) ) {
- alt24=1;
+ if ( (LA23_0==Current||LA23_0==Unknown||(LA23_0>=Count && LA23_0<=False)||(LA23_0>=Must && LA23_0<=Prod)||LA23_0==True||(LA23_0>=Avg && LA23_0<=Inf)||(LA23_0>=Max && LA23_0<=Sum)||(LA23_0>=ExclamationMark && LA23_0<=LeftParenthesis)||(LA23_0>=Asterisk && LA23_0<=PlusSign)||LA23_0==HyphenMinus||LA23_0==LeftSquareBracket||(LA23_0>=RULE_STRING && LA23_0<=RULE_QUOTED_ID)||(LA23_0>=RULE_ID && LA23_0<=RULE_INT)) ) {
+ alt23=1;
}
- switch (alt24) {
+ switch (alt23) {
case 1 :
- // InternalSolverLanguage.g:1931:4: ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )*
+ // InternalSolverLanguageParser.g:1898:4: ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )*
{
- // InternalSolverLanguage.g:1931:4: ( (lv_arguments_2_0= ruleArgument ) )
- // InternalSolverLanguage.g:1932:5: (lv_arguments_2_0= ruleArgument )
+ // InternalSolverLanguageParser.g:1898:4: ( (lv_arguments_2_0= ruleArgument ) )
+ // InternalSolverLanguageParser.g:1899:5: (lv_arguments_2_0= ruleArgument )
{
- // InternalSolverLanguage.g:1932:5: (lv_arguments_2_0= ruleArgument )
- // InternalSolverLanguage.g:1933:6: lv_arguments_2_0= ruleArgument
+ // InternalSolverLanguageParser.g:1899:5: (lv_arguments_2_0= ruleArgument )
+ // InternalSolverLanguageParser.g:1900:6: lv_arguments_2_0= ruleArgument
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
-
- }
- pushFollow(FOLLOW_33);
+ newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0());
+
+ pushFollow(FOLLOW_32);
lv_arguments_2_0=ruleArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getArgumentListRule());
- }
- add(
- current,
- "arguments",
- lv_arguments_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getArgumentListRule());
+ }
+ add(
+ current,
+ "arguments",
+ lv_arguments_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:1950:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) ) )*
- loop23:
+ // InternalSolverLanguageParser.g:1917:4: (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )*
+ loop22:
do {
- int alt23=2;
- int LA23_0 = input.LA(1);
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA23_0==28) ) {
- alt23=1;
+ if ( (LA22_0==Comma) ) {
+ alt22=1;
}
- switch (alt23) {
+ switch (alt22) {
case 1 :
- // InternalSolverLanguage.g:1951:5: otherlv_3= ',' ( (lv_arguments_4_0= ruleArgument ) )
+ // InternalSolverLanguageParser.g:1918:5: otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) )
{
- otherlv_3=(Token)match(input,28,FOLLOW_34); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,Comma,FOLLOW_33);
- newLeafNode(otherlv_3, grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
-
- }
- // InternalSolverLanguage.g:1955:5: ( (lv_arguments_4_0= ruleArgument ) )
- // InternalSolverLanguage.g:1956:6: (lv_arguments_4_0= ruleArgument )
+ newLeafNode(otherlv_3, grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0());
+
+ // InternalSolverLanguageParser.g:1922:5: ( (lv_arguments_4_0= ruleArgument ) )
+ // InternalSolverLanguageParser.g:1923:6: (lv_arguments_4_0= ruleArgument )
{
- // InternalSolverLanguage.g:1956:6: (lv_arguments_4_0= ruleArgument )
- // InternalSolverLanguage.g:1957:7: lv_arguments_4_0= ruleArgument
+ // InternalSolverLanguageParser.g:1923:6: (lv_arguments_4_0= ruleArgument )
+ // InternalSolverLanguageParser.g:1924:7: lv_arguments_4_0= ruleArgument
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
-
- }
- pushFollow(FOLLOW_33);
+ newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0());
+
+ pushFollow(FOLLOW_32);
lv_arguments_4_0=ruleArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getArgumentListRule());
- }
- add(
- current,
- "arguments",
- lv_arguments_4_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getArgumentListRule());
+ }
+ add(
+ current,
+ "arguments",
+ lv_arguments_4_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Argument");
+ afterParserOrEnumRuleCall();
+
}
@@ -5514,7 +4884,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
default :
- break loop23;
+ break loop22;
}
} while (true);
@@ -5524,23 +4894,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_5=(Token)match(input,34,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,RightParenthesis,FOLLOW_2);
- newLeafNode(otherlv_5, grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
-
- }
+ newLeafNode(otherlv_5, grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -5555,7 +4921,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleArgument"
- // InternalSolverLanguage.g:1984:1: entryRuleArgument returns [EObject current=null] : iv_ruleArgument= ruleArgument EOF ;
+ // InternalSolverLanguageParser.g:1951:1: entryRuleArgument returns [EObject current=null] : iv_ruleArgument= ruleArgument EOF ;
public final EObject entryRuleArgument() throws RecognitionException {
EObject current = null;
@@ -5563,21 +4929,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:1984:49: (iv_ruleArgument= ruleArgument EOF )
- // InternalSolverLanguage.g:1985:2: iv_ruleArgument= ruleArgument EOF
+ // InternalSolverLanguageParser.g:1951:49: (iv_ruleArgument= ruleArgument EOF )
+ // InternalSolverLanguageParser.g:1952:2: iv_ruleArgument= ruleArgument EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentRule());
- }
+ newCompositeNode(grammarAccess.getArgumentRule());
pushFollow(FOLLOW_1);
iv_ruleArgument=ruleArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleArgument;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleArgument;
+ match(input,EOF,FOLLOW_2);
}
@@ -5595,7 +4957,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleArgument"
- // InternalSolverLanguage.g:1991:1: ruleArgument returns [EObject current=null] : (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ;
+ // InternalSolverLanguageParser.g:1958:1: ruleArgument returns [EObject current=null] : (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ;
public final EObject ruleArgument() throws RecognitionException {
EObject current = null;
@@ -5612,98 +4974,82 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:1997:2: ( (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) )
- // InternalSolverLanguage.g:1998:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )
+ // InternalSolverLanguageParser.g:1964:2: ( (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) )
+ // InternalSolverLanguageParser.g:1965:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )
{
- // InternalSolverLanguage.g:1998:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )
- int alt25=4;
- alt25 = dfa25.predict(input);
- switch (alt25) {
+ // InternalSolverLanguageParser.g:1965:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )
+ int alt24=4;
+ alt24 = dfa24.predict(input);
+ switch (alt24) {
case 1 :
- // InternalSolverLanguage.g:1999:3: this_ExpressionArgument_0= ruleExpressionArgument
+ // InternalSolverLanguageParser.g:1966:3: this_ExpressionArgument_0= ruleExpressionArgument
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_ExpressionArgument_0=ruleExpressionArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ExpressionArgument_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ExpressionArgument_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:2008:3: this_StarArgument_1= ruleStarArgument
+ // InternalSolverLanguageParser.g:1975:3: this_StarArgument_1= ruleStarArgument
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1());
+
pushFollow(FOLLOW_2);
this_StarArgument_1=ruleStarArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_StarArgument_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_StarArgument_1;
+ afterParserOrEnumRuleCall();
+
}
break;
case 3 :
- // InternalSolverLanguage.g:2017:3: this_TypedArgument_2= ruleTypedArgument
+ // InternalSolverLanguageParser.g:1984:3: this_TypedArgument_2= ruleTypedArgument
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
-
- }
+ newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2());
+
pushFollow(FOLLOW_2);
this_TypedArgument_2=ruleTypedArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_TypedArgument_2;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_TypedArgument_2;
+ afterParserOrEnumRuleCall();
+
}
break;
case 4 :
- // InternalSolverLanguage.g:2026:3: this_TypedStarArgument_3= ruleTypedStarArgument
+ // InternalSolverLanguageParser.g:1993:3: this_TypedStarArgument_3= ruleTypedStarArgument
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
-
- }
+ newCompositeNode(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3());
+
pushFollow(FOLLOW_2);
this_TypedStarArgument_3=ruleTypedStarArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_TypedStarArgument_3;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_TypedStarArgument_3;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -5713,11 +5059,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -5732,7 +5076,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExpressionArgument"
- // InternalSolverLanguage.g:2038:1: entryRuleExpressionArgument returns [EObject current=null] : iv_ruleExpressionArgument= ruleExpressionArgument EOF ;
+ // InternalSolverLanguageParser.g:2005:1: entryRuleExpressionArgument returns [EObject current=null] : iv_ruleExpressionArgument= ruleExpressionArgument EOF ;
public final EObject entryRuleExpressionArgument() throws RecognitionException {
EObject current = null;
@@ -5740,21 +5084,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2038:59: (iv_ruleExpressionArgument= ruleExpressionArgument EOF )
- // InternalSolverLanguage.g:2039:2: iv_ruleExpressionArgument= ruleExpressionArgument EOF
+ // InternalSolverLanguageParser.g:2005:59: (iv_ruleExpressionArgument= ruleExpressionArgument EOF )
+ // InternalSolverLanguageParser.g:2006:2: iv_ruleExpressionArgument= ruleExpressionArgument EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExpressionArgumentRule());
- }
+ newCompositeNode(grammarAccess.getExpressionArgumentRule());
pushFollow(FOLLOW_1);
iv_ruleExpressionArgument=ruleExpressionArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExpressionArgument;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExpressionArgument;
+ match(input,EOF,FOLLOW_2);
}
@@ -5772,7 +5112,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExpressionArgument"
- // InternalSolverLanguage.g:2045:1: ruleExpressionArgument returns [EObject current=null] : ( (lv_body_0_0= ruleComparisonExpression ) ) ;
+ // InternalSolverLanguageParser.g:2012:1: ruleExpressionArgument returns [EObject current=null] : ( (lv_body_0_0= ruleComparisonExpression ) ) ;
public final EObject ruleExpressionArgument() throws RecognitionException {
EObject current = null;
@@ -5783,38 +5123,34 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2051:2: ( ( (lv_body_0_0= ruleComparisonExpression ) ) )
- // InternalSolverLanguage.g:2052:2: ( (lv_body_0_0= ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:2018:2: ( ( (lv_body_0_0= ruleComparisonExpression ) ) )
+ // InternalSolverLanguageParser.g:2019:2: ( (lv_body_0_0= ruleComparisonExpression ) )
{
- // InternalSolverLanguage.g:2052:2: ( (lv_body_0_0= ruleComparisonExpression ) )
- // InternalSolverLanguage.g:2053:3: (lv_body_0_0= ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:2019:2: ( (lv_body_0_0= ruleComparisonExpression ) )
+ // InternalSolverLanguageParser.g:2020:3: (lv_body_0_0= ruleComparisonExpression )
{
- // InternalSolverLanguage.g:2053:3: (lv_body_0_0= ruleComparisonExpression )
- // InternalSolverLanguage.g:2054:4: lv_body_0_0= ruleComparisonExpression
+ // InternalSolverLanguageParser.g:2020:3: (lv_body_0_0= ruleComparisonExpression )
+ // InternalSolverLanguageParser.g:2021:4: lv_body_0_0= ruleComparisonExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0());
+
pushFollow(FOLLOW_2);
lv_body_0_0=ruleComparisonExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExpressionArgumentRule());
- }
- set(
- current,
- "body",
- lv_body_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExpressionArgumentRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression");
+ afterParserOrEnumRuleCall();
+
}
@@ -5824,11 +5160,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -5843,7 +5177,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStarArgument"
- // InternalSolverLanguage.g:2074:1: entryRuleStarArgument returns [EObject current=null] : iv_ruleStarArgument= ruleStarArgument EOF ;
+ // InternalSolverLanguageParser.g:2041:1: entryRuleStarArgument returns [EObject current=null] : iv_ruleStarArgument= ruleStarArgument EOF ;
public final EObject entryRuleStarArgument() throws RecognitionException {
EObject current = null;
@@ -5851,21 +5185,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2074:53: (iv_ruleStarArgument= ruleStarArgument EOF )
- // InternalSolverLanguage.g:2075:2: iv_ruleStarArgument= ruleStarArgument EOF
+ // InternalSolverLanguageParser.g:2041:53: (iv_ruleStarArgument= ruleStarArgument EOF )
+ // InternalSolverLanguageParser.g:2042:2: iv_ruleStarArgument= ruleStarArgument EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStarArgumentRule());
- }
+ newCompositeNode(grammarAccess.getStarArgumentRule());
pushFollow(FOLLOW_1);
iv_ruleStarArgument=ruleStarArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleStarArgument;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleStarArgument;
+ match(input,EOF,FOLLOW_2);
}
@@ -5883,7 +5213,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStarArgument"
- // InternalSolverLanguage.g:2081:1: ruleStarArgument returns [EObject current=null] : ( () otherlv_1= '*' ) ;
+ // InternalSolverLanguageParser.g:2048:1: ruleStarArgument returns [EObject current=null] : ( () otherlv_1= Asterisk ) ;
public final EObject ruleStarArgument() throws RecognitionException {
EObject current = null;
@@ -5893,42 +5223,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2087:2: ( ( () otherlv_1= '*' ) )
- // InternalSolverLanguage.g:2088:2: ( () otherlv_1= '*' )
+ // InternalSolverLanguageParser.g:2054:2: ( ( () otherlv_1= Asterisk ) )
+ // InternalSolverLanguageParser.g:2055:2: ( () otherlv_1= Asterisk )
{
- // InternalSolverLanguage.g:2088:2: ( () otherlv_1= '*' )
- // InternalSolverLanguage.g:2089:3: () otherlv_1= '*'
+ // InternalSolverLanguageParser.g:2055:2: ( () otherlv_1= Asterisk )
+ // InternalSolverLanguageParser.g:2056:3: () otherlv_1= Asterisk
{
- // InternalSolverLanguage.g:2089:3: ()
- // InternalSolverLanguage.g:2090:4:
+ // InternalSolverLanguageParser.g:2056:3: ()
+ // InternalSolverLanguageParser.g:2057:4:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getStarArgumentAccess().getStarArgumentAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getStarArgumentAccess().getStarArgumentAction_0(),
+ current);
+
}
- otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,Asterisk,FOLLOW_2);
- newLeafNode(otherlv_1, grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -5943,7 +5267,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleTypedArgument"
- // InternalSolverLanguage.g:2104:1: entryRuleTypedArgument returns [EObject current=null] : iv_ruleTypedArgument= ruleTypedArgument EOF ;
+ // InternalSolverLanguageParser.g:2071:1: entryRuleTypedArgument returns [EObject current=null] : iv_ruleTypedArgument= ruleTypedArgument EOF ;
public final EObject entryRuleTypedArgument() throws RecognitionException {
EObject current = null;
@@ -5951,21 +5275,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2104:54: (iv_ruleTypedArgument= ruleTypedArgument EOF )
- // InternalSolverLanguage.g:2105:2: iv_ruleTypedArgument= ruleTypedArgument EOF
+ // InternalSolverLanguageParser.g:2071:54: (iv_ruleTypedArgument= ruleTypedArgument EOF )
+ // InternalSolverLanguageParser.g:2072:2: iv_ruleTypedArgument= ruleTypedArgument EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getTypedArgumentRule());
- }
+ newCompositeNode(grammarAccess.getTypedArgumentRule());
pushFollow(FOLLOW_1);
iv_ruleTypedArgument=ruleTypedArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleTypedArgument;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleTypedArgument;
+ match(input,EOF,FOLLOW_2);
}
@@ -5983,7 +5303,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleTypedArgument"
- // InternalSolverLanguage.g:2111:1: ruleTypedArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ;
+ // InternalSolverLanguageParser.g:2078:1: ruleTypedArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ;
public final EObject ruleTypedArgument() throws RecognitionException {
EObject current = null;
@@ -5991,74 +5311,62 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2117:2: ( ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) )
- // InternalSolverLanguage.g:2118:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:2084:2: ( ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) )
+ // InternalSolverLanguageParser.g:2085:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) )
{
- // InternalSolverLanguage.g:2118:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:2119:3: ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2085:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:2086:3: ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:2119:3: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2120:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2086:3: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2087:4: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2120:4: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2121:5: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2087:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2088:5: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getTypedArgumentRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getTypedArgumentRule());
+ }
+
- newCompositeNode(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
-
- }
- pushFollow(FOLLOW_35);
+ newCompositeNode(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0());
+
+ pushFollow(FOLLOW_8);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:2135:3: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2136:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2102:3: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2103:4: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2136:4: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2137:5: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2103:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2104:5: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getTypedArgumentRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getTypedArgumentRule());
+ }
+
- newCompositeNode(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
-
- }
+ newCompositeNode(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0());
+
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
@@ -6071,11 +5379,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6090,7 +5396,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleTypedStarArgument"
- // InternalSolverLanguage.g:2155:1: entryRuleTypedStarArgument returns [EObject current=null] : iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ;
+ // InternalSolverLanguageParser.g:2122:1: entryRuleTypedStarArgument returns [EObject current=null] : iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ;
public final EObject entryRuleTypedStarArgument() throws RecognitionException {
EObject current = null;
@@ -6098,21 +5404,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2155:58: (iv_ruleTypedStarArgument= ruleTypedStarArgument EOF )
- // InternalSolverLanguage.g:2156:2: iv_ruleTypedStarArgument= ruleTypedStarArgument EOF
+ // InternalSolverLanguageParser.g:2122:58: (iv_ruleTypedStarArgument= ruleTypedStarArgument EOF )
+ // InternalSolverLanguageParser.g:2123:2: iv_ruleTypedStarArgument= ruleTypedStarArgument EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getTypedStarArgumentRule());
- }
+ newCompositeNode(grammarAccess.getTypedStarArgumentRule());
pushFollow(FOLLOW_1);
iv_ruleTypedStarArgument=ruleTypedStarArgument();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleTypedStarArgument;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleTypedStarArgument;
+ match(input,EOF,FOLLOW_2);
}
@@ -6130,7 +5432,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleTypedStarArgument"
- // InternalSolverLanguage.g:2162:1: ruleTypedStarArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) otherlv_1= '*' ) ;
+ // InternalSolverLanguageParser.g:2129:1: ruleTypedStarArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ;
public final EObject ruleTypedStarArgument() throws RecognitionException {
EObject current = null;
@@ -6140,63 +5442,53 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2168:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '*' ) )
- // InternalSolverLanguage.g:2169:2: ( ( ( ruleQualifiedName ) ) otherlv_1= '*' )
+ // InternalSolverLanguageParser.g:2135:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) )
+ // InternalSolverLanguageParser.g:2136:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk )
{
- // InternalSolverLanguage.g:2169:2: ( ( ( ruleQualifiedName ) ) otherlv_1= '*' )
- // InternalSolverLanguage.g:2170:3: ( ( ruleQualifiedName ) ) otherlv_1= '*'
+ // InternalSolverLanguageParser.g:2136:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk )
+ // InternalSolverLanguageParser.g:2137:3: ( ( ruleQualifiedName ) ) otherlv_1= Asterisk
{
- // InternalSolverLanguage.g:2170:3: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2171:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2137:3: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2138:4: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2171:4: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2172:5: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2138:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2139:5: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getTypedStarArgumentRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getTypedStarArgumentRule());
+ }
+
- newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
-
- }
- pushFollow(FOLLOW_36);
+ newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0());
+
+ pushFollow(FOLLOW_34);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,Asterisk,FOLLOW_2);
- newLeafNode(otherlv_1, grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6211,7 +5503,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleReference"
- // InternalSolverLanguage.g:2194:1: entryRuleReference returns [EObject current=null] : iv_ruleReference= ruleReference EOF ;
+ // InternalSolverLanguageParser.g:2161:1: entryRuleReference returns [EObject current=null] : iv_ruleReference= ruleReference EOF ;
public final EObject entryRuleReference() throws RecognitionException {
EObject current = null;
@@ -6219,21 +5511,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2194:50: (iv_ruleReference= ruleReference EOF )
- // InternalSolverLanguage.g:2195:2: iv_ruleReference= ruleReference EOF
+ // InternalSolverLanguageParser.g:2161:50: (iv_ruleReference= ruleReference EOF )
+ // InternalSolverLanguageParser.g:2162:2: iv_ruleReference= ruleReference EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getReferenceRule());
- }
+ newCompositeNode(grammarAccess.getReferenceRule());
pushFollow(FOLLOW_1);
iv_ruleReference=ruleReference();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleReference;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleReference;
+ match(input,EOF,FOLLOW_2);
}
@@ -6251,7 +5539,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleReference"
- // InternalSolverLanguage.g:2201:1: ruleReference returns [EObject current=null] : ( ( ruleQualifiedName ) ) ;
+ // InternalSolverLanguageParser.g:2168:1: ruleReference returns [EObject current=null] : ( ( ruleQualifiedName ) ) ;
public final EObject ruleReference() throws RecognitionException {
EObject current = null;
@@ -6259,37 +5547,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2207:2: ( ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:2208:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2174:2: ( ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:2175:2: ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:2208:2: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2209:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2175:2: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2176:3: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2209:3: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2210:4: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2176:3: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2177:4: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getReferenceRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getReferenceRule());
+ }
+
- newCompositeNode(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
-
- }
+ newCompositeNode(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0());
+
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
@@ -6299,11 +5581,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6318,7 +5598,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInterval"
- // InternalSolverLanguage.g:2227:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ;
+ // InternalSolverLanguageParser.g:2194:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ;
public final EObject entryRuleInterval() throws RecognitionException {
EObject current = null;
@@ -6326,21 +5606,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2227:49: (iv_ruleInterval= ruleInterval EOF )
- // InternalSolverLanguage.g:2228:2: iv_ruleInterval= ruleInterval EOF
+ // InternalSolverLanguageParser.g:2194:49: (iv_ruleInterval= ruleInterval EOF )
+ // InternalSolverLanguageParser.g:2195:2: iv_ruleInterval= ruleInterval EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIntervalRule());
- }
+ newCompositeNode(grammarAccess.getIntervalRule());
pushFollow(FOLLOW_1);
iv_ruleInterval=ruleInterval();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleInterval;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleInterval;
+ match(input,EOF,FOLLOW_2);
}
@@ -6358,7 +5634,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInterval"
- // InternalSolverLanguage.g:2234:1: ruleInterval returns [EObject current=null] : (otherlv_0= '[' ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= ']' ) ;
+ // InternalSolverLanguageParser.g:2201:1: ruleInterval returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ;
public final EObject ruleInterval() throws RecognitionException {
EObject current = null;
@@ -6374,111 +5650,95 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2240:2: ( (otherlv_0= '[' ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= ']' ) )
- // InternalSolverLanguage.g:2241:2: (otherlv_0= '[' ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= ']' )
+ // InternalSolverLanguageParser.g:2207:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:2208:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket )
{
- // InternalSolverLanguage.g:2241:2: (otherlv_0= '[' ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= ']' )
- // InternalSolverLanguage.g:2242:3: otherlv_0= '[' ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= ']'
+ // InternalSolverLanguageParser.g:2208:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket )
+ // InternalSolverLanguageParser.g:2209:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket
{
- otherlv_0=(Token)match(input,36,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_6);
- newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
-
- }
- // InternalSolverLanguage.g:2246:3: ( (lv_lowerBound_1_0= ruleExpression ) )
- // InternalSolverLanguage.g:2247:4: (lv_lowerBound_1_0= ruleExpression )
+ newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0());
+
+ // InternalSolverLanguageParser.g:2213:3: ( (lv_lowerBound_1_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:2214:4: (lv_lowerBound_1_0= ruleExpression )
{
- // InternalSolverLanguage.g:2247:4: (lv_lowerBound_1_0= ruleExpression )
- // InternalSolverLanguage.g:2248:5: lv_lowerBound_1_0= ruleExpression
+ // InternalSolverLanguageParser.g:2214:4: (lv_lowerBound_1_0= ruleExpression )
+ // InternalSolverLanguageParser.g:2215:5: lv_lowerBound_1_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_37);
+ newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_35);
lv_lowerBound_1_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getIntervalRule());
- }
- set(
- current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIntervalRule());
+ }
+ set(
+ current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,37,FOLLOW_6); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,FullStopFullStop,FOLLOW_6);
- newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
-
- }
- // InternalSolverLanguage.g:2269:3: ( (lv_upperBound_3_0= ruleExpression ) )
- // InternalSolverLanguage.g:2270:4: (lv_upperBound_3_0= ruleExpression )
+ newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
+
+ // InternalSolverLanguageParser.g:2236:3: ( (lv_upperBound_3_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:2237:4: (lv_upperBound_3_0= ruleExpression )
{
- // InternalSolverLanguage.g:2270:4: (lv_upperBound_3_0= ruleExpression )
- // InternalSolverLanguage.g:2271:5: lv_upperBound_3_0= ruleExpression
+ // InternalSolverLanguageParser.g:2237:4: (lv_upperBound_3_0= ruleExpression )
+ // InternalSolverLanguageParser.g:2238:5: lv_upperBound_3_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
-
- }
- pushFollow(FOLLOW_38);
+ newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_36);
lv_upperBound_3_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getIntervalRule());
- }
- set(
- current,
- "upperBound",
- lv_upperBound_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIntervalRule());
+ }
+ set(
+ current,
+ "upperBound",
+ lv_upperBound_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_4=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,RightSquareBracket,FOLLOW_2);
- newLeafNode(otherlv_4, grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
-
- }
+ newLeafNode(otherlv_4, grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6493,7 +5753,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteral"
- // InternalSolverLanguage.g:2296:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
+ // InternalSolverLanguageParser.g:2263:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -6501,21 +5761,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2296:48: (iv_ruleLiteral= ruleLiteral EOF )
- // InternalSolverLanguage.g:2297:2: iv_ruleLiteral= ruleLiteral EOF
+ // InternalSolverLanguageParser.g:2263:48: (iv_ruleLiteral= ruleLiteral EOF )
+ // InternalSolverLanguageParser.g:2264:2: iv_ruleLiteral= ruleLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralRule());
- }
+ newCompositeNode(grammarAccess.getLiteralRule());
pushFollow(FOLLOW_1);
iv_ruleLiteral=ruleLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleLiteral;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -6533,7 +5789,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteral"
- // InternalSolverLanguage.g:2303:1: ruleLiteral returns [EObject current=null] : (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ;
+ // InternalSolverLanguageParser.g:2270:1: ruleLiteral returns [EObject current=null] : (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ;
public final EObject ruleLiteral() throws RecognitionException {
EObject current = null;
@@ -6552,156 +5808,135 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2309:2: ( (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) )
- // InternalSolverLanguage.g:2310:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral )
+ // InternalSolverLanguageParser.g:2276:2: ( (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) )
+ // InternalSolverLanguageParser.g:2277:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral )
{
- // InternalSolverLanguage.g:2310:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral )
- int alt26=5;
+ // InternalSolverLanguageParser.g:2277:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral )
+ int alt25=5;
switch ( input.LA(1) ) {
- case 19:
- case 70:
- case 71:
- case 72:
+ case Unknown:
+ case Error:
+ case False:
+ case True:
{
- alt26=1;
+ alt25=1;
}
break;
case RULE_INT:
{
- alt26=2;
+ alt25=2;
}
break;
- case 39:
+ case Inf:
{
- alt26=3;
+ alt25=3;
}
break;
- case 40:
+ case Empty:
{
- alt26=4;
+ alt25=4;
}
break;
case RULE_STRING:
{
- alt26=5;
+ alt25=5;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 26, 0, input);
+ new NoViableAltException("", 25, 0, input);
throw nvae;
}
- switch (alt26) {
+ switch (alt25) {
case 1 :
- // InternalSolverLanguage.g:2311:3: this_LogicLiteral_0= ruleLogicLiteral
+ // InternalSolverLanguageParser.g:2278:3: this_LogicLiteral_0= ruleLogicLiteral
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_LogicLiteral_0=ruleLogicLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_LogicLiteral_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_LogicLiteral_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:2320:3: this_NumericLiteral_1= ruleNumericLiteral
+ // InternalSolverLanguageParser.g:2287:3: this_NumericLiteral_1= ruleNumericLiteral
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1());
+
pushFollow(FOLLOW_2);
this_NumericLiteral_1=ruleNumericLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_NumericLiteral_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_NumericLiteral_1;
+ afterParserOrEnumRuleCall();
+
}
break;
case 3 :
- // InternalSolverLanguage.g:2329:3: this_InfinityLiteral_2= ruleInfinityLiteral
+ // InternalSolverLanguageParser.g:2296:3: this_InfinityLiteral_2= ruleInfinityLiteral
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
-
- }
+ newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2());
+
pushFollow(FOLLOW_2);
this_InfinityLiteral_2=ruleInfinityLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_InfinityLiteral_2;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_InfinityLiteral_2;
+ afterParserOrEnumRuleCall();
+
}
break;
case 4 :
- // InternalSolverLanguage.g:2338:3: this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral
+ // InternalSolverLanguageParser.g:2305:3: this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
-
- }
+ newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3());
+
pushFollow(FOLLOW_2);
this_EmptyIntervalLiteral_3=ruleEmptyIntervalLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_EmptyIntervalLiteral_3;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_EmptyIntervalLiteral_3;
+ afterParserOrEnumRuleCall();
+
}
break;
case 5 :
- // InternalSolverLanguage.g:2347:3: this_StringLiteral_4= ruleStringLiteral
+ // InternalSolverLanguageParser.g:2314:3: this_StringLiteral_4= ruleStringLiteral
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
-
- }
+ newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4());
+
pushFollow(FOLLOW_2);
this_StringLiteral_4=ruleStringLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_StringLiteral_4;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_StringLiteral_4;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -6711,11 +5946,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6730,7 +5963,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLogicLiteral"
- // InternalSolverLanguage.g:2359:1: entryRuleLogicLiteral returns [EObject current=null] : iv_ruleLogicLiteral= ruleLogicLiteral EOF ;
+ // InternalSolverLanguageParser.g:2326:1: entryRuleLogicLiteral returns [EObject current=null] : iv_ruleLogicLiteral= ruleLogicLiteral EOF ;
public final EObject entryRuleLogicLiteral() throws RecognitionException {
EObject current = null;
@@ -6738,21 +5971,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2359:53: (iv_ruleLogicLiteral= ruleLogicLiteral EOF )
- // InternalSolverLanguage.g:2360:2: iv_ruleLogicLiteral= ruleLogicLiteral EOF
+ // InternalSolverLanguageParser.g:2326:53: (iv_ruleLogicLiteral= ruleLogicLiteral EOF )
+ // InternalSolverLanguageParser.g:2327:2: iv_ruleLogicLiteral= ruleLogicLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLogicLiteralRule());
- }
+ newCompositeNode(grammarAccess.getLogicLiteralRule());
pushFollow(FOLLOW_1);
iv_ruleLogicLiteral=ruleLogicLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleLogicLiteral;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleLogicLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -6770,7 +5999,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLogicLiteral"
- // InternalSolverLanguage.g:2366:1: ruleLogicLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleLogicValue ) ) ;
+ // InternalSolverLanguageParser.g:2333:1: ruleLogicLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleLogicValue ) ) ;
public final EObject ruleLogicLiteral() throws RecognitionException {
EObject current = null;
@@ -6781,38 +6010,34 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2372:2: ( ( (lv_value_0_0= ruleLogicValue ) ) )
- // InternalSolverLanguage.g:2373:2: ( (lv_value_0_0= ruleLogicValue ) )
+ // InternalSolverLanguageParser.g:2339:2: ( ( (lv_value_0_0= ruleLogicValue ) ) )
+ // InternalSolverLanguageParser.g:2340:2: ( (lv_value_0_0= ruleLogicValue ) )
{
- // InternalSolverLanguage.g:2373:2: ( (lv_value_0_0= ruleLogicValue ) )
- // InternalSolverLanguage.g:2374:3: (lv_value_0_0= ruleLogicValue )
+ // InternalSolverLanguageParser.g:2340:2: ( (lv_value_0_0= ruleLogicValue ) )
+ // InternalSolverLanguageParser.g:2341:3: (lv_value_0_0= ruleLogicValue )
{
- // InternalSolverLanguage.g:2374:3: (lv_value_0_0= ruleLogicValue )
- // InternalSolverLanguage.g:2375:4: lv_value_0_0= ruleLogicValue
+ // InternalSolverLanguageParser.g:2341:3: (lv_value_0_0= ruleLogicValue )
+ // InternalSolverLanguageParser.g:2342:4: lv_value_0_0= ruleLogicValue
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0());
+
pushFollow(FOLLOW_2);
lv_value_0_0=ruleLogicValue();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getLogicLiteralRule());
- }
- set(
- current,
- "value",
- lv_value_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.LogicValue");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLogicLiteralRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.LogicValue");
+ afterParserOrEnumRuleCall();
+
}
@@ -6822,11 +6047,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6841,7 +6064,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNumericLiteral"
- // InternalSolverLanguage.g:2395:1: entryRuleNumericLiteral returns [EObject current=null] : iv_ruleNumericLiteral= ruleNumericLiteral EOF ;
+ // InternalSolverLanguageParser.g:2362:1: entryRuleNumericLiteral returns [EObject current=null] : iv_ruleNumericLiteral= ruleNumericLiteral EOF ;
public final EObject entryRuleNumericLiteral() throws RecognitionException {
EObject current = null;
@@ -6849,21 +6072,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2395:55: (iv_ruleNumericLiteral= ruleNumericLiteral EOF )
- // InternalSolverLanguage.g:2396:2: iv_ruleNumericLiteral= ruleNumericLiteral EOF
+ // InternalSolverLanguageParser.g:2362:55: (iv_ruleNumericLiteral= ruleNumericLiteral EOF )
+ // InternalSolverLanguageParser.g:2363:2: iv_ruleNumericLiteral= ruleNumericLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getNumericLiteralRule());
- }
+ newCompositeNode(grammarAccess.getNumericLiteralRule());
pushFollow(FOLLOW_1);
iv_ruleNumericLiteral=ruleNumericLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleNumericLiteral;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleNumericLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -6881,7 +6100,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNumericLiteral"
- // InternalSolverLanguage.g:2402:1: ruleNumericLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleReal ) ) ;
+ // InternalSolverLanguageParser.g:2369:1: ruleNumericLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleReal ) ) ;
public final EObject ruleNumericLiteral() throws RecognitionException {
EObject current = null;
@@ -6892,38 +6111,34 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2408:2: ( ( (lv_value_0_0= ruleReal ) ) )
- // InternalSolverLanguage.g:2409:2: ( (lv_value_0_0= ruleReal ) )
+ // InternalSolverLanguageParser.g:2375:2: ( ( (lv_value_0_0= ruleReal ) ) )
+ // InternalSolverLanguageParser.g:2376:2: ( (lv_value_0_0= ruleReal ) )
{
- // InternalSolverLanguage.g:2409:2: ( (lv_value_0_0= ruleReal ) )
- // InternalSolverLanguage.g:2410:3: (lv_value_0_0= ruleReal )
+ // InternalSolverLanguageParser.g:2376:2: ( (lv_value_0_0= ruleReal ) )
+ // InternalSolverLanguageParser.g:2377:3: (lv_value_0_0= ruleReal )
{
- // InternalSolverLanguage.g:2410:3: (lv_value_0_0= ruleReal )
- // InternalSolverLanguage.g:2411:4: lv_value_0_0= ruleReal
+ // InternalSolverLanguageParser.g:2377:3: (lv_value_0_0= ruleReal )
+ // InternalSolverLanguageParser.g:2378:4: lv_value_0_0= ruleReal
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0());
+
pushFollow(FOLLOW_2);
lv_value_0_0=ruleReal();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNumericLiteralRule());
- }
- set(
- current,
- "value",
- lv_value_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Real");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNumericLiteralRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Real");
+ afterParserOrEnumRuleCall();
+
}
@@ -6933,11 +6148,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -6952,7 +6165,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInfinityLiteral"
- // InternalSolverLanguage.g:2431:1: entryRuleInfinityLiteral returns [EObject current=null] : iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ;
+ // InternalSolverLanguageParser.g:2398:1: entryRuleInfinityLiteral returns [EObject current=null] : iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ;
public final EObject entryRuleInfinityLiteral() throws RecognitionException {
EObject current = null;
@@ -6960,21 +6173,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2431:56: (iv_ruleInfinityLiteral= ruleInfinityLiteral EOF )
- // InternalSolverLanguage.g:2432:2: iv_ruleInfinityLiteral= ruleInfinityLiteral EOF
+ // InternalSolverLanguageParser.g:2398:56: (iv_ruleInfinityLiteral= ruleInfinityLiteral EOF )
+ // InternalSolverLanguageParser.g:2399:2: iv_ruleInfinityLiteral= ruleInfinityLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getInfinityLiteralRule());
- }
+ newCompositeNode(grammarAccess.getInfinityLiteralRule());
pushFollow(FOLLOW_1);
iv_ruleInfinityLiteral=ruleInfinityLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleInfinityLiteral;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleInfinityLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -6992,7 +6201,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInfinityLiteral"
- // InternalSolverLanguage.g:2438:1: ruleInfinityLiteral returns [EObject current=null] : ( () otherlv_1= 'inf' ) ;
+ // InternalSolverLanguageParser.g:2405:1: ruleInfinityLiteral returns [EObject current=null] : ( () otherlv_1= Inf ) ;
public final EObject ruleInfinityLiteral() throws RecognitionException {
EObject current = null;
@@ -7002,42 +6211,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2444:2: ( ( () otherlv_1= 'inf' ) )
- // InternalSolverLanguage.g:2445:2: ( () otherlv_1= 'inf' )
+ // InternalSolverLanguageParser.g:2411:2: ( ( () otherlv_1= Inf ) )
+ // InternalSolverLanguageParser.g:2412:2: ( () otherlv_1= Inf )
{
- // InternalSolverLanguage.g:2445:2: ( () otherlv_1= 'inf' )
- // InternalSolverLanguage.g:2446:3: () otherlv_1= 'inf'
+ // InternalSolverLanguageParser.g:2412:2: ( () otherlv_1= Inf )
+ // InternalSolverLanguageParser.g:2413:3: () otherlv_1= Inf
{
- // InternalSolverLanguage.g:2446:3: ()
- // InternalSolverLanguage.g:2447:4:
+ // InternalSolverLanguageParser.g:2413:3: ()
+ // InternalSolverLanguageParser.g:2414:4:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0(),
+ current);
+
}
- otherlv_1=(Token)match(input,39,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,Inf,FOLLOW_2);
- newLeafNode(otherlv_1, grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getInfinityLiteralAccess().getInfKeyword_1());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -7052,7 +6255,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEmptyIntervalLiteral"
- // InternalSolverLanguage.g:2461:1: entryRuleEmptyIntervalLiteral returns [EObject current=null] : iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ;
+ // InternalSolverLanguageParser.g:2428:1: entryRuleEmptyIntervalLiteral returns [EObject current=null] : iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ;
public final EObject entryRuleEmptyIntervalLiteral() throws RecognitionException {
EObject current = null;
@@ -7060,21 +6263,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2461:61: (iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF )
- // InternalSolverLanguage.g:2462:2: iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF
+ // InternalSolverLanguageParser.g:2428:61: (iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF )
+ // InternalSolverLanguageParser.g:2429:2: iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule());
- }
+ newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule());
pushFollow(FOLLOW_1);
iv_ruleEmptyIntervalLiteral=ruleEmptyIntervalLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleEmptyIntervalLiteral;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleEmptyIntervalLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -7092,7 +6291,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEmptyIntervalLiteral"
- // InternalSolverLanguage.g:2468:1: ruleEmptyIntervalLiteral returns [EObject current=null] : ( () otherlv_1= 'empty' ) ;
+ // InternalSolverLanguageParser.g:2435:1: ruleEmptyIntervalLiteral returns [EObject current=null] : ( () otherlv_1= Empty ) ;
public final EObject ruleEmptyIntervalLiteral() throws RecognitionException {
EObject current = null;
@@ -7102,42 +6301,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2474:2: ( ( () otherlv_1= 'empty' ) )
- // InternalSolverLanguage.g:2475:2: ( () otherlv_1= 'empty' )
+ // InternalSolverLanguageParser.g:2441:2: ( ( () otherlv_1= Empty ) )
+ // InternalSolverLanguageParser.g:2442:2: ( () otherlv_1= Empty )
{
- // InternalSolverLanguage.g:2475:2: ( () otherlv_1= 'empty' )
- // InternalSolverLanguage.g:2476:3: () otherlv_1= 'empty'
+ // InternalSolverLanguageParser.g:2442:2: ( () otherlv_1= Empty )
+ // InternalSolverLanguageParser.g:2443:3: () otherlv_1= Empty
{
- // InternalSolverLanguage.g:2476:3: ()
- // InternalSolverLanguage.g:2477:4:
+ // InternalSolverLanguageParser.g:2443:3: ()
+ // InternalSolverLanguageParser.g:2444:4:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0(),
+ current);
+
}
- otherlv_1=(Token)match(input,40,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,Empty,FOLLOW_2);
- newLeafNode(otherlv_1, grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -7152,7 +6345,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringLiteral"
- // InternalSolverLanguage.g:2491:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
+ // InternalSolverLanguageParser.g:2458:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
public final EObject entryRuleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -7160,21 +6353,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2491:54: (iv_ruleStringLiteral= ruleStringLiteral EOF )
- // InternalSolverLanguage.g:2492:2: iv_ruleStringLiteral= ruleStringLiteral EOF
+ // InternalSolverLanguageParser.g:2458:54: (iv_ruleStringLiteral= ruleStringLiteral EOF )
+ // InternalSolverLanguageParser.g:2459:2: iv_ruleStringLiteral= ruleStringLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStringLiteralRule());
- }
+ newCompositeNode(grammarAccess.getStringLiteralRule());
pushFollow(FOLLOW_1);
iv_ruleStringLiteral=ruleStringLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleStringLiteral;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleStringLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -7192,7 +6381,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringLiteral"
- // InternalSolverLanguage.g:2498:1: ruleStringLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ;
+ // InternalSolverLanguageParser.g:2465:1: ruleStringLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ;
public final EObject ruleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -7202,33 +6391,29 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2504:2: ( ( (lv_value_0_0= RULE_STRING ) ) )
- // InternalSolverLanguage.g:2505:2: ( (lv_value_0_0= RULE_STRING ) )
+ // InternalSolverLanguageParser.g:2471:2: ( ( (lv_value_0_0= RULE_STRING ) ) )
+ // InternalSolverLanguageParser.g:2472:2: ( (lv_value_0_0= RULE_STRING ) )
{
- // InternalSolverLanguage.g:2505:2: ( (lv_value_0_0= RULE_STRING ) )
- // InternalSolverLanguage.g:2506:3: (lv_value_0_0= RULE_STRING )
+ // InternalSolverLanguageParser.g:2472:2: ( (lv_value_0_0= RULE_STRING ) )
+ // InternalSolverLanguageParser.g:2473:3: (lv_value_0_0= RULE_STRING )
{
- // InternalSolverLanguage.g:2506:3: (lv_value_0_0= RULE_STRING )
- // InternalSolverLanguage.g:2507:4: lv_value_0_0= RULE_STRING
+ // InternalSolverLanguageParser.g:2473:3: (lv_value_0_0= RULE_STRING )
+ // InternalSolverLanguageParser.g:2474:4: lv_value_0_0= RULE_STRING
{
- lv_value_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_value_0_0=(Token)match(input,RULE_STRING,FOLLOW_2);
- newLeafNode(lv_value_0_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_value_0_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getStringLiteralRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.STRING");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getStringLiteralRule());
+ }
+ setWithLastConsumed(
+ current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.STRING");
+
}
@@ -7238,11 +6423,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -7257,7 +6440,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleClassDefinition"
- // InternalSolverLanguage.g:2526:1: entryRuleClassDefinition returns [EObject current=null] : iv_ruleClassDefinition= ruleClassDefinition EOF ;
+ // InternalSolverLanguageParser.g:2493:1: entryRuleClassDefinition returns [EObject current=null] : iv_ruleClassDefinition= ruleClassDefinition EOF ;
public final EObject entryRuleClassDefinition() throws RecognitionException {
EObject current = null;
@@ -7265,21 +6448,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2526:56: (iv_ruleClassDefinition= ruleClassDefinition EOF )
- // InternalSolverLanguage.g:2527:2: iv_ruleClassDefinition= ruleClassDefinition EOF
+ // InternalSolverLanguageParser.g:2493:56: (iv_ruleClassDefinition= ruleClassDefinition EOF )
+ // InternalSolverLanguageParser.g:2494:2: iv_ruleClassDefinition= ruleClassDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getClassDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getClassDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleClassDefinition=ruleClassDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleClassDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleClassDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -7297,7 +6476,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleClassDefinition"
- // InternalSolverLanguage.g:2533:1: ruleClassDefinition returns [EObject current=null] : ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_7= '{' ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= '}' ) ;
+ // InternalSolverLanguageParser.g:2500:1: ruleClassDefinition returns [EObject current=null] : ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ;
public final EObject ruleClassDefinition() throws RecognitionException {
EObject current = null;
@@ -7315,40 +6494,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2539:2: ( ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_7= '{' ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= '}' ) )
- // InternalSolverLanguage.g:2540:2: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_7= '{' ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= '}' )
+ // InternalSolverLanguageParser.g:2506:2: ( ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) )
+ // InternalSolverLanguageParser.g:2507:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket )
{
- // InternalSolverLanguage.g:2540:2: ( ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_7= '{' ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= '}' )
- // InternalSolverLanguage.g:2541:3: ( (lv_abstract_0_0= 'abstract' ) )? otherlv_1= 'class' ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_7= '{' ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= '}'
+ // InternalSolverLanguageParser.g:2507:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket )
+ // InternalSolverLanguageParser.g:2508:3: ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket
{
- // InternalSolverLanguage.g:2541:3: ( (lv_abstract_0_0= 'abstract' ) )?
- int alt27=2;
- int LA27_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2508:3: ( (lv_abstract_0_0= Abstract ) )?
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA27_0==41) ) {
- alt27=1;
+ if ( (LA26_0==Abstract) ) {
+ alt26=1;
}
- switch (alt27) {
+ switch (alt26) {
case 1 :
- // InternalSolverLanguage.g:2542:4: (lv_abstract_0_0= 'abstract' )
+ // InternalSolverLanguageParser.g:2509:4: (lv_abstract_0_0= Abstract )
{
- // InternalSolverLanguage.g:2542:4: (lv_abstract_0_0= 'abstract' )
- // InternalSolverLanguage.g:2543:5: lv_abstract_0_0= 'abstract'
+ // InternalSolverLanguageParser.g:2509:4: (lv_abstract_0_0= Abstract )
+ // InternalSolverLanguageParser.g:2510:5: lv_abstract_0_0= Abstract
{
- lv_abstract_0_0=(Token)match(input,41,FOLLOW_39); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_abstract_0_0=(Token)match(input,Abstract,FOLLOW_37);
- newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
- setWithLastConsumed(current, "abstract", true, "abstract");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+ setWithLastConsumed(current, "abstract", true, "abstract");
+
}
@@ -7358,142 +6533,120 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,42,FOLLOW_40); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,Class,FOLLOW_38);
- newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
-
- }
- // InternalSolverLanguage.g:2559:3: ( (lv_name_2_0= RULE_ID ) )
- // InternalSolverLanguage.g:2560:4: (lv_name_2_0= RULE_ID )
+ newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1());
+
+ // InternalSolverLanguageParser.g:2526:3: ( (lv_name_2_0= RULE_ID ) )
+ // InternalSolverLanguageParser.g:2527:4: (lv_name_2_0= RULE_ID )
{
- // InternalSolverLanguage.g:2560:4: (lv_name_2_0= RULE_ID )
- // InternalSolverLanguage.g:2561:5: lv_name_2_0= RULE_ID
+ // InternalSolverLanguageParser.g:2527:4: (lv_name_2_0= RULE_ID )
+ // InternalSolverLanguageParser.g:2528:5: lv_name_2_0= RULE_ID
{
- lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_41); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_39);
- newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "org.eclipse.xtext.common.Terminals.ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_2_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- // InternalSolverLanguage.g:2577:3: (otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* )?
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2544:3: (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )?
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA29_0==43) ) {
- alt29=1;
+ if ( (LA28_0==Extends) ) {
+ alt28=1;
}
- switch (alt29) {
+ switch (alt28) {
case 1 :
- // InternalSolverLanguage.g:2578:4: otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )*
+ // InternalSolverLanguageParser.g:2545:4: otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )*
{
- otherlv_3=(Token)match(input,43,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,Extends,FOLLOW_8);
- newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
-
- }
- // InternalSolverLanguage.g:2582:4: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2583:5: ( ruleQualifiedName )
+ newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0());
+
+ // InternalSolverLanguageParser.g:2549:4: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2550:5: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2583:5: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2584:6: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2550:5: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2551:6: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
-
- }
- pushFollow(FOLLOW_42);
+ newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0());
+
+ pushFollow(FOLLOW_40);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:2598:4: (otherlv_5= ',' ( ( ruleQualifiedName ) ) )*
- loop28:
+ // InternalSolverLanguageParser.g:2565:4: (otherlv_5= Comma ( ( ruleQualifiedName ) ) )*
+ loop27:
do {
- int alt28=2;
- int LA28_0 = input.LA(1);
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- if ( (LA28_0==28) ) {
- alt28=1;
+ if ( (LA27_0==Comma) ) {
+ alt27=1;
}
- switch (alt28) {
+ switch (alt27) {
case 1 :
- // InternalSolverLanguage.g:2599:5: otherlv_5= ',' ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2566:5: otherlv_5= Comma ( ( ruleQualifiedName ) )
{
- otherlv_5=(Token)match(input,28,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,Comma,FOLLOW_8);
- newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
-
- }
- // InternalSolverLanguage.g:2603:5: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2604:6: ( ruleQualifiedName )
+ newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0());
+
+ // InternalSolverLanguageParser.g:2570:5: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2571:6: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2604:6: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2605:7: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2571:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2572:7: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getClassDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getClassDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
-
- }
- pushFollow(FOLLOW_42);
+ newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0());
+
+ pushFollow(FOLLOW_40);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
@@ -7505,7 +6658,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
default :
- break loop28;
+ break loop27;
}
} while (true);
@@ -7515,53 +6668,47 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_7=(Token)match(input,30,FOLLOW_43); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_7=(Token)match(input,LeftCurlyBracket,FOLLOW_41);
- newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
-
- }
- // InternalSolverLanguage.g:2625:3: ( (lv_members_8_0= ruleMemberDefinition ) )*
- loop30:
+ newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4());
+
+ // InternalSolverLanguageParser.g:2592:3: ( (lv_members_8_0= ruleMemberDefinition ) )*
+ loop29:
do {
- int alt30=2;
- int LA30_0 = input.LA(1);
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA30_0==RULE_ID||LA30_0==RULE_QUOTED_ID||LA30_0==44) ) {
- alt30=1;
+ if ( (LA29_0==Contains||LA29_0==RULE_QUOTED_ID||LA29_0==RULE_ID) ) {
+ alt29=1;
}
- switch (alt30) {
+ switch (alt29) {
case 1 :
- // InternalSolverLanguage.g:2626:4: (lv_members_8_0= ruleMemberDefinition )
+ // InternalSolverLanguageParser.g:2593:4: (lv_members_8_0= ruleMemberDefinition )
{
- // InternalSolverLanguage.g:2626:4: (lv_members_8_0= ruleMemberDefinition )
- // InternalSolverLanguage.g:2627:5: lv_members_8_0= ruleMemberDefinition
+ // InternalSolverLanguageParser.g:2593:4: (lv_members_8_0= ruleMemberDefinition )
+ // InternalSolverLanguageParser.g:2594:5: lv_members_8_0= ruleMemberDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
-
- }
- pushFollow(FOLLOW_43);
+ newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0());
+
+ pushFollow(FOLLOW_41);
lv_members_8_0=ruleMemberDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getClassDefinitionRule());
- }
- add(
- current,
- "members",
- lv_members_8_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getClassDefinitionRule());
+ }
+ add(
+ current,
+ "members",
+ lv_members_8_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition");
+ afterParserOrEnumRuleCall();
+
}
@@ -7570,27 +6717,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
break;
default :
- break loop30;
+ break loop29;
}
} while (true);
- otherlv_9=(Token)match(input,31,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_9=(Token)match(input,RightCurlyBracket,FOLLOW_2);
- newLeafNode(otherlv_9, grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
-
- }
+ newLeafNode(otherlv_9, grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -7605,7 +6748,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleMemberDefinition"
- // InternalSolverLanguage.g:2652:1: entryRuleMemberDefinition returns [EObject current=null] : iv_ruleMemberDefinition= ruleMemberDefinition EOF ;
+ // InternalSolverLanguageParser.g:2619:1: entryRuleMemberDefinition returns [EObject current=null] : iv_ruleMemberDefinition= ruleMemberDefinition EOF ;
public final EObject entryRuleMemberDefinition() throws RecognitionException {
EObject current = null;
@@ -7613,21 +6756,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2652:57: (iv_ruleMemberDefinition= ruleMemberDefinition EOF )
- // InternalSolverLanguage.g:2653:2: iv_ruleMemberDefinition= ruleMemberDefinition EOF
+ // InternalSolverLanguageParser.g:2619:57: (iv_ruleMemberDefinition= ruleMemberDefinition EOF )
+ // InternalSolverLanguageParser.g:2620:2: iv_ruleMemberDefinition= ruleMemberDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMemberDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getMemberDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleMemberDefinition=ruleMemberDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleMemberDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleMemberDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -7645,7 +6784,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMemberDefinition"
- // InternalSolverLanguage.g:2659:1: ruleMemberDefinition returns [EObject current=null] : ( ( (lv_containment_0_0= 'contains' ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= 'opposite' ( ( ruleQualifiedName ) ) )? (otherlv_6= ';' )? ) ;
+ // InternalSolverLanguageParser.g:2626:1: ruleMemberDefinition returns [EObject current=null] : ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ;
public final EObject ruleMemberDefinition() throws RecognitionException {
EObject current = null;
@@ -7660,40 +6799,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2665:2: ( ( ( (lv_containment_0_0= 'contains' ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= 'opposite' ( ( ruleQualifiedName ) ) )? (otherlv_6= ';' )? ) )
- // InternalSolverLanguage.g:2666:2: ( ( (lv_containment_0_0= 'contains' ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= 'opposite' ( ( ruleQualifiedName ) ) )? (otherlv_6= ';' )? )
+ // InternalSolverLanguageParser.g:2632:2: ( ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) )
+ // InternalSolverLanguageParser.g:2633:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? )
{
- // InternalSolverLanguage.g:2666:2: ( ( (lv_containment_0_0= 'contains' ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= 'opposite' ( ( ruleQualifiedName ) ) )? (otherlv_6= ';' )? )
- // InternalSolverLanguage.g:2667:3: ( (lv_containment_0_0= 'contains' ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= 'opposite' ( ( ruleQualifiedName ) ) )? (otherlv_6= ';' )?
+ // InternalSolverLanguageParser.g:2633:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? )
+ // InternalSolverLanguageParser.g:2634:3: ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )?
{
- // InternalSolverLanguage.g:2667:3: ( (lv_containment_0_0= 'contains' ) )?
- int alt31=2;
- int LA31_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2634:3: ( (lv_containment_0_0= Contains ) )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
- if ( (LA31_0==44) ) {
- alt31=1;
+ if ( (LA30_0==Contains) ) {
+ alt30=1;
}
- switch (alt31) {
+ switch (alt30) {
case 1 :
- // InternalSolverLanguage.g:2668:4: (lv_containment_0_0= 'contains' )
+ // InternalSolverLanguageParser.g:2635:4: (lv_containment_0_0= Contains )
{
- // InternalSolverLanguage.g:2668:4: (lv_containment_0_0= 'contains' )
- // InternalSolverLanguage.g:2669:5: lv_containment_0_0= 'contains'
+ // InternalSolverLanguageParser.g:2635:4: (lv_containment_0_0= Contains )
+ // InternalSolverLanguageParser.g:2636:5: lv_containment_0_0= Contains
{
- lv_containment_0_0=(Token)match(input,44,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_containment_0_0=(Token)match(input,Contains,FOLLOW_8);
- newLeafNode(lv_containment_0_0, grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_containment_0_0, grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
- setWithLastConsumed(current, "containment", true, "contains");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+ setWithLastConsumed(current, "containment", true, "contains");
+
}
@@ -7703,77 +6838,67 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2681:3: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2682:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2648:3: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2649:4: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2682:4: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2683:5: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2649:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2650:5: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
-
- }
- pushFollow(FOLLOW_44);
+ newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+
+ pushFollow(FOLLOW_42);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:2697:3: ( (lv_multiplicity_2_0= ruleMultiplicity ) )?
- int alt32=2;
- int LA32_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2664:3: ( (lv_multiplicity_2_0= ruleMultiplicity ) )?
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA32_0==36) ) {
- alt32=1;
+ if ( (LA31_0==LeftSquareBracket) ) {
+ alt31=1;
}
- switch (alt32) {
+ switch (alt31) {
case 1 :
- // InternalSolverLanguage.g:2698:4: (lv_multiplicity_2_0= ruleMultiplicity )
+ // InternalSolverLanguageParser.g:2665:4: (lv_multiplicity_2_0= ruleMultiplicity )
{
- // InternalSolverLanguage.g:2698:4: (lv_multiplicity_2_0= ruleMultiplicity )
- // InternalSolverLanguage.g:2699:5: lv_multiplicity_2_0= ruleMultiplicity
+ // InternalSolverLanguageParser.g:2665:4: (lv_multiplicity_2_0= ruleMultiplicity )
+ // InternalSolverLanguageParser.g:2666:5: lv_multiplicity_2_0= ruleMultiplicity
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
-
- }
- pushFollow(FOLLOW_40);
+ newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_38);
lv_multiplicity_2_0=ruleMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMemberDefinitionRule());
- }
- set(
- current,
- "multiplicity",
- lv_multiplicity_2_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMemberDefinitionRule());
+ }
+ set(
+ current,
+ "multiplicity",
+ lv_multiplicity_2_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity");
+ afterParserOrEnumRuleCall();
+
}
@@ -7783,81 +6908,69 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2716:3: ( (lv_name_3_0= RULE_ID ) )
- // InternalSolverLanguage.g:2717:4: (lv_name_3_0= RULE_ID )
+ // InternalSolverLanguageParser.g:2683:3: ( (lv_name_3_0= RULE_ID ) )
+ // InternalSolverLanguageParser.g:2684:4: (lv_name_3_0= RULE_ID )
{
- // InternalSolverLanguage.g:2717:4: (lv_name_3_0= RULE_ID )
- // InternalSolverLanguage.g:2718:5: lv_name_3_0= RULE_ID
+ // InternalSolverLanguageParser.g:2684:4: (lv_name_3_0= RULE_ID )
+ // InternalSolverLanguageParser.g:2685:5: lv_name_3_0= RULE_ID
{
- lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_45); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_43);
- newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_3_0,
- "org.eclipse.xtext.common.Terminals.ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_3_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- // InternalSolverLanguage.g:2734:3: (otherlv_4= 'opposite' ( ( ruleQualifiedName ) ) )?
- int alt33=2;
- int LA33_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2701:3: (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )?
+ int alt32=2;
+ int LA32_0 = input.LA(1);
- if ( (LA33_0==45) ) {
- alt33=1;
+ if ( (LA32_0==Opposite) ) {
+ alt32=1;
}
- switch (alt33) {
+ switch (alt32) {
case 1 :
- // InternalSolverLanguage.g:2735:4: otherlv_4= 'opposite' ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2702:4: otherlv_4= Opposite ( ( ruleQualifiedName ) )
{
- otherlv_4=(Token)match(input,45,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,Opposite,FOLLOW_8);
- newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
-
- }
- // InternalSolverLanguage.g:2739:4: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:2740:5: ( ruleQualifiedName )
+ newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0());
+
+ // InternalSolverLanguageParser.g:2706:4: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2707:5: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:2740:5: ( ruleQualifiedName )
- // InternalSolverLanguage.g:2741:6: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2707:5: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2708:6: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getMemberDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getMemberDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
-
- }
+ newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0());
+
pushFollow(FOLLOW_18);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
@@ -7870,23 +6983,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- // InternalSolverLanguage.g:2756:3: (otherlv_6= ';' )?
- int alt34=2;
- int LA34_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2723:3: (otherlv_6= Semicolon )?
+ int alt33=2;
+ int LA33_0 = input.LA(1);
- if ( (LA34_0==26) ) {
- alt34=1;
+ if ( (LA33_0==Semicolon) ) {
+ alt33=1;
}
- switch (alt34) {
+ switch (alt33) {
case 1 :
- // InternalSolverLanguage.g:2757:4: otherlv_6= ';'
+ // InternalSolverLanguageParser.g:2724:4: otherlv_6= Semicolon
{
- otherlv_6=(Token)match(input,26,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_6=(Token)match(input,Semicolon,FOLLOW_2);
- newLeafNode(otherlv_6, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
-
- }
+ newLeafNode(otherlv_6, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
+
}
break;
@@ -7899,11 +7010,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -7918,7 +7027,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleMultiplicity"
- // InternalSolverLanguage.g:2766:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:2733:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ;
public final EObject entryRuleMultiplicity() throws RecognitionException {
EObject current = null;
@@ -7926,21 +7035,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2766:53: (iv_ruleMultiplicity= ruleMultiplicity EOF )
- // InternalSolverLanguage.g:2767:2: iv_ruleMultiplicity= ruleMultiplicity EOF
+ // InternalSolverLanguageParser.g:2733:53: (iv_ruleMultiplicity= ruleMultiplicity EOF )
+ // InternalSolverLanguageParser.g:2734:2: iv_ruleMultiplicity= ruleMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicityRule());
- }
+ newCompositeNode(grammarAccess.getMultiplicityRule());
pushFollow(FOLLOW_1);
iv_ruleMultiplicity=ruleMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleMultiplicity;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleMultiplicity;
+ match(input,EOF,FOLLOW_2);
}
@@ -7958,7 +7063,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMultiplicity"
- // InternalSolverLanguage.g:2773:1: ruleMultiplicity returns [EObject current=null] : (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ;
+ // InternalSolverLanguageParser.g:2740:1: ruleMultiplicity returns [EObject current=null] : (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ;
public final EObject ruleMultiplicity() throws RecognitionException {
EObject current = null;
@@ -7973,124 +7078,109 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2779:2: ( (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) )
- // InternalSolverLanguage.g:2780:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity )
+ // InternalSolverLanguageParser.g:2746:2: ( (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) )
+ // InternalSolverLanguageParser.g:2747:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity )
{
- // InternalSolverLanguage.g:2780:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity )
- int alt35=3;
- int LA35_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:2747:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity )
+ int alt34=3;
+ int LA34_0 = input.LA(1);
- if ( (LA35_0==36) ) {
+ if ( (LA34_0==LeftSquareBracket) ) {
switch ( input.LA(2) ) {
case RULE_INT:
{
- int LA35_2 = input.LA(3);
+ int LA34_2 = input.LA(3);
- if ( (LA35_2==38) ) {
- alt35=2;
+ if ( (LA34_2==FullStopFullStop) ) {
+ alt34=3;
}
- else if ( (LA35_2==37) ) {
- alt35=3;
+ else if ( (LA34_2==RightSquareBracket) ) {
+ alt34=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 35, 2, input);
+ new NoViableAltException("", 34, 2, input);
throw nvae;
}
}
break;
- case 35:
+ case Asterisk:
{
- alt35=2;
+ alt34=2;
}
break;
- case 38:
+ case RightSquareBracket:
{
- alt35=1;
+ alt34=1;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 35, 1, input);
+ new NoViableAltException("", 34, 1, input);
throw nvae;
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 35, 0, input);
+ new NoViableAltException("", 34, 0, input);
throw nvae;
}
- switch (alt35) {
+ switch (alt34) {
case 1 :
- // InternalSolverLanguage.g:2781:3: this_ManyMultiplicity_0= ruleManyMultiplicity
+ // InternalSolverLanguageParser.g:2748:3: this_ManyMultiplicity_0= ruleManyMultiplicity
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_ManyMultiplicity_0=ruleManyMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ManyMultiplicity_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ManyMultiplicity_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:2790:3: this_ExactMultiplicity_1= ruleExactMultiplicity
+ // InternalSolverLanguageParser.g:2757:3: this_ExactMultiplicity_1= ruleExactMultiplicity
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
+
pushFollow(FOLLOW_2);
this_ExactMultiplicity_1=ruleExactMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ExactMultiplicity_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ExactMultiplicity_1;
+ afterParserOrEnumRuleCall();
+
}
break;
case 3 :
- // InternalSolverLanguage.g:2799:3: this_BoundedMultiplicity_2= ruleBoundedMultiplicity
+ // InternalSolverLanguageParser.g:2766:3: this_BoundedMultiplicity_2= ruleBoundedMultiplicity
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
-
- }
+ newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2());
+
pushFollow(FOLLOW_2);
this_BoundedMultiplicity_2=ruleBoundedMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_BoundedMultiplicity_2;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_BoundedMultiplicity_2;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -8100,11 +7190,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -8119,7 +7207,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleManyMultiplicity"
- // InternalSolverLanguage.g:2811:1: entryRuleManyMultiplicity returns [EObject current=null] : iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:2778:1: entryRuleManyMultiplicity returns [EObject current=null] : iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ;
public final EObject entryRuleManyMultiplicity() throws RecognitionException {
EObject current = null;
@@ -8127,21 +7215,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2811:57: (iv_ruleManyMultiplicity= ruleManyMultiplicity EOF )
- // InternalSolverLanguage.g:2812:2: iv_ruleManyMultiplicity= ruleManyMultiplicity EOF
+ // InternalSolverLanguageParser.g:2778:57: (iv_ruleManyMultiplicity= ruleManyMultiplicity EOF )
+ // InternalSolverLanguageParser.g:2779:2: iv_ruleManyMultiplicity= ruleManyMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getManyMultiplicityRule());
- }
+ newCompositeNode(grammarAccess.getManyMultiplicityRule());
pushFollow(FOLLOW_1);
iv_ruleManyMultiplicity=ruleManyMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleManyMultiplicity;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleManyMultiplicity;
+ match(input,EOF,FOLLOW_2);
}
@@ -8159,7 +7243,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleManyMultiplicity"
- // InternalSolverLanguage.g:2818:1: ruleManyMultiplicity returns [EObject current=null] : ( () otherlv_1= '[' otherlv_2= ']' ) ;
+ // InternalSolverLanguageParser.g:2785:1: ruleManyMultiplicity returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ;
public final EObject ruleManyMultiplicity() throws RecognitionException {
EObject current = null;
@@ -8170,48 +7254,40 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2824:2: ( ( () otherlv_1= '[' otherlv_2= ']' ) )
- // InternalSolverLanguage.g:2825:2: ( () otherlv_1= '[' otherlv_2= ']' )
+ // InternalSolverLanguageParser.g:2791:2: ( ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:2792:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket )
{
- // InternalSolverLanguage.g:2825:2: ( () otherlv_1= '[' otherlv_2= ']' )
- // InternalSolverLanguage.g:2826:3: () otherlv_1= '[' otherlv_2= ']'
+ // InternalSolverLanguageParser.g:2792:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket )
+ // InternalSolverLanguageParser.g:2793:3: () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket
{
- // InternalSolverLanguage.g:2826:3: ()
- // InternalSolverLanguage.g:2827:4:
+ // InternalSolverLanguageParser.g:2793:3: ()
+ // InternalSolverLanguageParser.g:2794:4:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0(),
+ current);
+
}
- otherlv_1=(Token)match(input,36,FOLLOW_38); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_36);
- newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
-
- }
- otherlv_2=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1());
+
+ otherlv_2=(Token)match(input,RightSquareBracket,FOLLOW_2);
- newLeafNode(otherlv_2, grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
-
- }
+ newLeafNode(otherlv_2, grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -8226,7 +7302,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExactMultiplicity"
- // InternalSolverLanguage.g:2845:1: entryRuleExactMultiplicity returns [EObject current=null] : iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:2812:1: entryRuleExactMultiplicity returns [EObject current=null] : iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ;
public final EObject entryRuleExactMultiplicity() throws RecognitionException {
EObject current = null;
@@ -8234,21 +7310,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2845:58: (iv_ruleExactMultiplicity= ruleExactMultiplicity EOF )
- // InternalSolverLanguage.g:2846:2: iv_ruleExactMultiplicity= ruleExactMultiplicity EOF
+ // InternalSolverLanguageParser.g:2812:58: (iv_ruleExactMultiplicity= ruleExactMultiplicity EOF )
+ // InternalSolverLanguageParser.g:2813:2: iv_ruleExactMultiplicity= ruleExactMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExactMultiplicityRule());
- }
+ newCompositeNode(grammarAccess.getExactMultiplicityRule());
pushFollow(FOLLOW_1);
iv_ruleExactMultiplicity=ruleExactMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExactMultiplicity;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExactMultiplicity;
+ match(input,EOF,FOLLOW_2);
}
@@ -8266,7 +7338,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExactMultiplicity"
- // InternalSolverLanguage.g:2852:1: ruleExactMultiplicity returns [EObject current=null] : (otherlv_0= '[' ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= ']' ) ;
+ // InternalSolverLanguageParser.g:2819:1: ruleExactMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ;
public final EObject ruleExactMultiplicity() throws RecognitionException {
EObject current = null;
@@ -8279,70 +7351,60 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2858:2: ( (otherlv_0= '[' ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= ']' ) )
- // InternalSolverLanguage.g:2859:2: (otherlv_0= '[' ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= ']' )
+ // InternalSolverLanguageParser.g:2825:2: ( (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:2826:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket )
{
- // InternalSolverLanguage.g:2859:2: (otherlv_0= '[' ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= ']' )
- // InternalSolverLanguage.g:2860:3: otherlv_0= '[' ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= ']'
+ // InternalSolverLanguageParser.g:2826:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket )
+ // InternalSolverLanguageParser.g:2827:3: otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket
{
- otherlv_0=(Token)match(input,36,FOLLOW_46); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_44);
- newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
-
- }
- // InternalSolverLanguage.g:2864:3: ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) )
- // InternalSolverLanguage.g:2865:4: (lv_multiplicity_1_0= ruleUpperMultiplicty )
+ newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0());
+
+ // InternalSolverLanguageParser.g:2831:3: ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) )
+ // InternalSolverLanguageParser.g:2832:4: (lv_multiplicity_1_0= ruleUpperMultiplicty )
{
- // InternalSolverLanguage.g:2865:4: (lv_multiplicity_1_0= ruleUpperMultiplicty )
- // InternalSolverLanguage.g:2866:5: lv_multiplicity_1_0= ruleUpperMultiplicty
+ // InternalSolverLanguageParser.g:2832:4: (lv_multiplicity_1_0= ruleUpperMultiplicty )
+ // InternalSolverLanguageParser.g:2833:5: lv_multiplicity_1_0= ruleUpperMultiplicty
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_38);
+ newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_36);
lv_multiplicity_1_0=ruleUpperMultiplicty();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getExactMultiplicityRule());
- }
- set(
- current,
- "multiplicity",
- lv_multiplicity_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExactMultiplicityRule());
+ }
+ set(
+ current,
+ "multiplicity",
+ lv_multiplicity_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,RightSquareBracket,FOLLOW_2);
- newLeafNode(otherlv_2, grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
-
- }
+ newLeafNode(otherlv_2, grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -8357,7 +7419,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBoundedMultiplicity"
- // InternalSolverLanguage.g:2891:1: entryRuleBoundedMultiplicity returns [EObject current=null] : iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ;
+ // InternalSolverLanguageParser.g:2858:1: entryRuleBoundedMultiplicity returns [EObject current=null] : iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ;
public final EObject entryRuleBoundedMultiplicity() throws RecognitionException {
EObject current = null;
@@ -8365,21 +7427,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2891:60: (iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF )
- // InternalSolverLanguage.g:2892:2: iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF
+ // InternalSolverLanguageParser.g:2858:60: (iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF )
+ // InternalSolverLanguageParser.g:2859:2: iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getBoundedMultiplicityRule());
- }
+ newCompositeNode(grammarAccess.getBoundedMultiplicityRule());
pushFollow(FOLLOW_1);
iv_ruleBoundedMultiplicity=ruleBoundedMultiplicity();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleBoundedMultiplicity;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleBoundedMultiplicity;
+ match(input,EOF,FOLLOW_2);
}
@@ -8397,7 +7455,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBoundedMultiplicity"
- // InternalSolverLanguage.g:2898:1: ruleBoundedMultiplicity returns [EObject current=null] : (otherlv_0= '[' ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= ']' ) ;
+ // InternalSolverLanguageParser.g:2865:1: ruleBoundedMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ;
public final EObject ruleBoundedMultiplicity() throws RecognitionException {
EObject current = null;
@@ -8412,106 +7470,90 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2904:2: ( (otherlv_0= '[' ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= ']' ) )
- // InternalSolverLanguage.g:2905:2: (otherlv_0= '[' ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= ']' )
+ // InternalSolverLanguageParser.g:2871:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) )
+ // InternalSolverLanguageParser.g:2872:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket )
{
- // InternalSolverLanguage.g:2905:2: (otherlv_0= '[' ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= ']' )
- // InternalSolverLanguage.g:2906:3: otherlv_0= '[' ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '..' ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= ']'
+ // InternalSolverLanguageParser.g:2872:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket )
+ // InternalSolverLanguageParser.g:2873:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket
{
- otherlv_0=(Token)match(input,36,FOLLOW_47); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_45);
- newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
-
- }
- // InternalSolverLanguage.g:2910:3: ( (lv_lowerBound_1_0= RULE_INT ) )
- // InternalSolverLanguage.g:2911:4: (lv_lowerBound_1_0= RULE_INT )
+ newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0());
+
+ // InternalSolverLanguageParser.g:2877:3: ( (lv_lowerBound_1_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:2878:4: (lv_lowerBound_1_0= RULE_INT )
{
- // InternalSolverLanguage.g:2911:4: (lv_lowerBound_1_0= RULE_INT )
- // InternalSolverLanguage.g:2912:5: lv_lowerBound_1_0= RULE_INT
+ // InternalSolverLanguageParser.g:2878:4: (lv_lowerBound_1_0= RULE_INT )
+ // InternalSolverLanguageParser.g:2879:5: lv_lowerBound_1_0= RULE_INT
{
- lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_37); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_35);
- newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedMultiplicityRule());
- }
- setWithLastConsumed(
- current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedMultiplicityRule());
+ }
+ setWithLastConsumed(
+ current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
}
- otherlv_2=(Token)match(input,37,FOLLOW_46); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,FullStopFullStop,FOLLOW_44);
- newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
-
- }
- // InternalSolverLanguage.g:2932:3: ( (lv_upperBound_3_0= ruleUpperMultiplicty ) )
- // InternalSolverLanguage.g:2933:4: (lv_upperBound_3_0= ruleUpperMultiplicty )
+ newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2());
+
+ // InternalSolverLanguageParser.g:2899:3: ( (lv_upperBound_3_0= ruleUpperMultiplicty ) )
+ // InternalSolverLanguageParser.g:2900:4: (lv_upperBound_3_0= ruleUpperMultiplicty )
{
- // InternalSolverLanguage.g:2933:4: (lv_upperBound_3_0= ruleUpperMultiplicty )
- // InternalSolverLanguage.g:2934:5: lv_upperBound_3_0= ruleUpperMultiplicty
+ // InternalSolverLanguageParser.g:2900:4: (lv_upperBound_3_0= ruleUpperMultiplicty )
+ // InternalSolverLanguageParser.g:2901:5: lv_upperBound_3_0= ruleUpperMultiplicty
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
-
- }
- pushFollow(FOLLOW_38);
+ newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_36);
lv_upperBound_3_0=ruleUpperMultiplicty();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getBoundedMultiplicityRule());
- }
- set(
- current,
- "upperBound",
- lv_upperBound_3_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getBoundedMultiplicityRule());
+ }
+ set(
+ current,
+ "upperBound",
+ lv_upperBound_3_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_4=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,RightSquareBracket,FOLLOW_2);
- newLeafNode(otherlv_4, grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
-
- }
+ newLeafNode(otherlv_4, grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -8526,7 +7568,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleScopeDefinition"
- // InternalSolverLanguage.g:2959:1: entryRuleScopeDefinition returns [EObject current=null] : iv_ruleScopeDefinition= ruleScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:2926:1: entryRuleScopeDefinition returns [EObject current=null] : iv_ruleScopeDefinition= ruleScopeDefinition EOF ;
public final EObject entryRuleScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -8534,21 +7576,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:2959:56: (iv_ruleScopeDefinition= ruleScopeDefinition EOF )
- // InternalSolverLanguage.g:2960:2: iv_ruleScopeDefinition= ruleScopeDefinition EOF
+ // InternalSolverLanguageParser.g:2926:56: (iv_ruleScopeDefinition= ruleScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:2927:2: iv_ruleScopeDefinition= ruleScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getScopeDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getScopeDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleScopeDefinition=ruleScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleScopeDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleScopeDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -8566,7 +7604,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleScopeDefinition"
- // InternalSolverLanguage.g:2966:1: ruleScopeDefinition returns [EObject current=null] : (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ;
+ // InternalSolverLanguageParser.g:2933:1: ruleScopeDefinition returns [EObject current=null] : (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ;
public final EObject ruleScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -8581,76 +7619,64 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:2972:2: ( (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) )
- // InternalSolverLanguage.g:2973:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )
+ // InternalSolverLanguageParser.g:2939:2: ( (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) )
+ // InternalSolverLanguageParser.g:2940:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )
{
- // InternalSolverLanguage.g:2973:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )
- int alt36=3;
- alt36 = dfa36.predict(input);
- switch (alt36) {
+ // InternalSolverLanguageParser.g:2940:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )
+ int alt35=3;
+ alt35 = dfa35.predict(input);
+ switch (alt35) {
case 1 :
- // InternalSolverLanguage.g:2974:3: this_ExactScopeDefinition_0= ruleExactScopeDefinition
+ // InternalSolverLanguageParser.g:2941:3: this_ExactScopeDefinition_0= ruleExactScopeDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
-
- }
+ newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0());
+
pushFollow(FOLLOW_2);
this_ExactScopeDefinition_0=ruleExactScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_ExactScopeDefinition_0;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_ExactScopeDefinition_0;
+ afterParserOrEnumRuleCall();
+
}
break;
case 2 :
- // InternalSolverLanguage.g:2983:3: this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition
+ // InternalSolverLanguageParser.g:2950:3: this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
-
- }
+ newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1());
+
pushFollow(FOLLOW_2);
this_BoundedScopeDefinition_1=ruleBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_BoundedScopeDefinition_1;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_BoundedScopeDefinition_1;
+ afterParserOrEnumRuleCall();
+
}
break;
case 3 :
- // InternalSolverLanguage.g:2992:3: this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition
+ // InternalSolverLanguageParser.g:2959:3: this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
-
- }
+ newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2());
+
pushFollow(FOLLOW_2);
this_LowerBoundedScopeDefinition_2=ruleLowerBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current = this_LowerBoundedScopeDefinition_2;
- afterParserOrEnumRuleCall();
-
- }
+
+ current = this_LowerBoundedScopeDefinition_2;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -8660,11 +7686,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -8679,7 +7703,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleExactScopeDefinition"
- // InternalSolverLanguage.g:3004:1: entryRuleExactScopeDefinition returns [EObject current=null] : iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:2971:1: entryRuleExactScopeDefinition returns [EObject current=null] : iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ;
public final EObject entryRuleExactScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -8687,21 +7711,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:3004:61: (iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF )
- // InternalSolverLanguage.g:3005:2: iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF
+ // InternalSolverLanguageParser.g:2971:61: (iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:2972:2: iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getExactScopeDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getExactScopeDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleExactScopeDefinition=ruleExactScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleExactScopeDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleExactScopeDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -8719,7 +7739,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExactScopeDefinition"
- // InternalSolverLanguage.g:3011:1: ruleExactScopeDefinition returns [EObject current=null] : (otherlv_0= 'scope' ( ( ruleQualifiedName ) ) otherlv_2= '==' ( (lv_exactScope_3_0= RULE_INT ) ) ) ;
+ // InternalSolverLanguageParser.g:2978:1: ruleExactScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ;
public final EObject ruleExactScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -8731,82 +7751,68 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3017:2: ( (otherlv_0= 'scope' ( ( ruleQualifiedName ) ) otherlv_2= '==' ( (lv_exactScope_3_0= RULE_INT ) ) ) )
- // InternalSolverLanguage.g:3018:2: (otherlv_0= 'scope' ( ( ruleQualifiedName ) ) otherlv_2= '==' ( (lv_exactScope_3_0= RULE_INT ) ) )
+ // InternalSolverLanguageParser.g:2984:2: ( (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) )
+ // InternalSolverLanguageParser.g:2985:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) )
{
- // InternalSolverLanguage.g:3018:2: (otherlv_0= 'scope' ( ( ruleQualifiedName ) ) otherlv_2= '==' ( (lv_exactScope_3_0= RULE_INT ) ) )
- // InternalSolverLanguage.g:3019:3: otherlv_0= 'scope' ( ( ruleQualifiedName ) ) otherlv_2= '==' ( (lv_exactScope_3_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:2985:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) )
+ // InternalSolverLanguageParser.g:2986:3: otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) )
{
- otherlv_0=(Token)match(input,46,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Scope,FOLLOW_8);
- newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
-
- }
- // InternalSolverLanguage.g:3023:3: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:3024:4: ( ruleQualifiedName )
+ newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0());
+
+ // InternalSolverLanguageParser.g:2990:3: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:2991:4: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:3024:4: ( ruleQualifiedName )
- // InternalSolverLanguage.g:3025:5: ruleQualifiedName
+ // InternalSolverLanguageParser.g:2991:4: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:2992:5: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
-
- }
- pushFollow(FOLLOW_48);
+ newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0());
+
+ pushFollow(FOLLOW_46);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,47,FOLLOW_47); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,EqualsSignEqualsSign,FOLLOW_45);
- newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
-
- }
- // InternalSolverLanguage.g:3043:3: ( (lv_exactScope_3_0= RULE_INT ) )
- // InternalSolverLanguage.g:3044:4: (lv_exactScope_3_0= RULE_INT )
+ newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2());
+
+ // InternalSolverLanguageParser.g:3010:3: ( (lv_exactScope_3_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3011:4: (lv_exactScope_3_0= RULE_INT )
{
- // InternalSolverLanguage.g:3044:4: (lv_exactScope_3_0= RULE_INT )
- // InternalSolverLanguage.g:3045:5: lv_exactScope_3_0= RULE_INT
+ // InternalSolverLanguageParser.g:3011:4: (lv_exactScope_3_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3012:5: lv_exactScope_3_0= RULE_INT
{
- lv_exactScope_3_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_exactScope_3_0=(Token)match(input,RULE_INT,FOLLOW_2);
- newLeafNode(lv_exactScope_3_0, grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_exactScope_3_0, grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "exactScope",
- lv_exactScope_3_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getExactScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "exactScope",
+ lv_exactScope_3_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -8819,11 +7825,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -8838,7 +7842,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBoundedScopeDefinition"
- // InternalSolverLanguage.g:3065:1: entryRuleBoundedScopeDefinition returns [EObject current=null] : iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:3032:1: entryRuleBoundedScopeDefinition returns [EObject current=null] : iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ;
public final EObject entryRuleBoundedScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -8846,21 +7850,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:3065:63: (iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF )
- // InternalSolverLanguage.g:3066:2: iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF
+ // InternalSolverLanguageParser.g:3032:63: (iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:3033:2: iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleBoundedScopeDefinition=ruleBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleBoundedScopeDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleBoundedScopeDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -8878,7 +7878,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBoundedScopeDefinition"
- // InternalSolverLanguage.g:3072:1: ruleBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= 'scope' ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) otherlv_11= '.' ) ;
+ // InternalSolverLanguageParser.g:3039:1: ruleBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ;
public final EObject ruleBoundedScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -8891,179 +7891,156 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
Token otherlv_7=null;
Token otherlv_9=null;
Token lv_lowerBound_10_0=null;
- Token otherlv_11=null;
enterRule();
try {
- // InternalSolverLanguage.g:3078:2: ( (otherlv_0= 'scope' ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) otherlv_11= '.' ) )
- // InternalSolverLanguage.g:3079:2: (otherlv_0= 'scope' ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) otherlv_11= '.' )
+ // InternalSolverLanguageParser.g:3045:2: ( (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) )
+ // InternalSolverLanguageParser.g:3046:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) )
{
- // InternalSolverLanguage.g:3079:2: (otherlv_0= 'scope' ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) otherlv_11= '.' )
- // InternalSolverLanguage.g:3080:3: otherlv_0= 'scope' ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) otherlv_11= '.'
+ // InternalSolverLanguageParser.g:3046:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) )
+ // InternalSolverLanguageParser.g:3047:3: otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) )
{
- otherlv_0=(Token)match(input,46,FOLLOW_49); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Scope,FOLLOW_47);
- newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
-
- }
- // InternalSolverLanguage.g:3084:3: ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) )
- int alt39=2;
- int LA39_0 = input.LA(1);
+ newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0());
+
+ // InternalSolverLanguageParser.g:3051:3: ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) )
+ int alt38=2;
+ int LA38_0 = input.LA(1);
- if ( (LA39_0==RULE_INT) ) {
- int LA39_1 = input.LA(2);
+ if ( (LA38_0==RULE_INT) ) {
+ int LA38_1 = input.LA(2);
- if ( (LA39_1==49) ) {
- alt39=2;
+ if ( (LA38_1==GreaterThanSignEqualsSign) ) {
+ alt38=2;
}
- else if ( (LA39_1==48) ) {
- alt39=1;
+ else if ( (LA38_1==LessThanSignEqualsSign) ) {
+ alt38=1;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 39, 1, input);
+ new NoViableAltException("", 38, 1, input);
throw nvae;
}
}
- else if ( (LA39_0==RULE_ID||LA39_0==RULE_QUOTED_ID) ) {
- alt39=1;
+ else if ( (LA38_0==RULE_QUOTED_ID||LA38_0==RULE_ID) ) {
+ alt38=1;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 39, 0, input);
+ new NoViableAltException("", 38, 0, input);
throw nvae;
}
- switch (alt39) {
+ switch (alt38) {
case 1 :
- // InternalSolverLanguage.g:3085:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) )
+ // InternalSolverLanguageParser.g:3052:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) )
{
- // InternalSolverLanguage.g:3085:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) ) )
- // InternalSolverLanguage.g:3086:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )? ( ( ruleQualifiedName ) ) otherlv_4= '<=' ( (lv_upperBound_5_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3052:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) )
+ // InternalSolverLanguageParser.g:3053:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) )
{
- // InternalSolverLanguage.g:3086:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' )?
- int alt37=2;
- int LA37_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3053:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )?
+ int alt36=2;
+ int LA36_0 = input.LA(1);
- if ( (LA37_0==RULE_INT) ) {
- alt37=1;
+ if ( (LA36_0==RULE_INT) ) {
+ alt36=1;
}
- switch (alt37) {
+ switch (alt36) {
case 1 :
- // InternalSolverLanguage.g:3087:6: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<='
+ // InternalSolverLanguageParser.g:3054:6: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign
{
- // InternalSolverLanguage.g:3087:6: ( (lv_lowerBound_1_0= RULE_INT ) )
- // InternalSolverLanguage.g:3088:7: (lv_lowerBound_1_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3054:6: ( (lv_lowerBound_1_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3055:7: (lv_lowerBound_1_0= RULE_INT )
{
- // InternalSolverLanguage.g:3088:7: (lv_lowerBound_1_0= RULE_INT )
- // InternalSolverLanguage.g:3089:8: lv_lowerBound_1_0= RULE_INT
+ // InternalSolverLanguageParser.g:3055:7: (lv_lowerBound_1_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3056:8: lv_lowerBound_1_0= RULE_INT
{
- lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_50); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_48);
- newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
}
- otherlv_2=(Token)match(input,48,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,LessThanSignEqualsSign,FOLLOW_8);
- newLeafNode(otherlv_2, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
-
- }
+ newLeafNode(otherlv_2, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1());
+
}
break;
}
- // InternalSolverLanguage.g:3110:5: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:3111:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:3077:5: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:3078:6: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:3111:6: ( ruleQualifiedName )
- // InternalSolverLanguage.g:3112:7: ruleQualifiedName
+ // InternalSolverLanguageParser.g:3078:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:3079:7: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
-
- }
- pushFollow(FOLLOW_50);
+ newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0());
+
+ pushFollow(FOLLOW_48);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_4=(Token)match(input,48,FOLLOW_47); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,LessThanSignEqualsSign,FOLLOW_45);
- newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
-
- }
- // InternalSolverLanguage.g:3130:5: ( (lv_upperBound_5_0= RULE_INT ) )
- // InternalSolverLanguage.g:3131:6: (lv_upperBound_5_0= RULE_INT )
+ newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2());
+
+ // InternalSolverLanguageParser.g:3097:5: ( (lv_upperBound_5_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3098:6: (lv_upperBound_5_0= RULE_INT )
{
- // InternalSolverLanguage.g:3131:6: (lv_upperBound_5_0= RULE_INT )
- // InternalSolverLanguage.g:3132:7: lv_upperBound_5_0= RULE_INT
+ // InternalSolverLanguageParser.g:3098:6: (lv_upperBound_5_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3099:7: lv_upperBound_5_0= RULE_INT
{
- lv_upperBound_5_0=(Token)match(input,RULE_INT,FOLLOW_12); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_upperBound_5_0=(Token)match(input,RULE_INT,FOLLOW_2);
- newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "upperBound",
- lv_upperBound_5_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "upperBound",
+ lv_upperBound_5_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -9077,122 +8054,104 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3150:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? )
+ // InternalSolverLanguageParser.g:3117:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? )
{
- // InternalSolverLanguage.g:3150:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )? )
- // InternalSolverLanguage.g:3151:5: ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= '>=' ( ( ruleQualifiedName ) ) (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )?
+ // InternalSolverLanguageParser.g:3117:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? )
+ // InternalSolverLanguageParser.g:3118:5: ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )?
{
- // InternalSolverLanguage.g:3151:5: ( (lv_upperBound_6_0= RULE_INT ) )
- // InternalSolverLanguage.g:3152:6: (lv_upperBound_6_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3118:5: ( (lv_upperBound_6_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3119:6: (lv_upperBound_6_0= RULE_INT )
{
- // InternalSolverLanguage.g:3152:6: (lv_upperBound_6_0= RULE_INT )
- // InternalSolverLanguage.g:3153:7: lv_upperBound_6_0= RULE_INT
+ // InternalSolverLanguageParser.g:3119:6: (lv_upperBound_6_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3120:7: lv_upperBound_6_0= RULE_INT
{
- lv_upperBound_6_0=(Token)match(input,RULE_INT,FOLLOW_51); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_upperBound_6_0=(Token)match(input,RULE_INT,FOLLOW_49);
- newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "upperBound",
- lv_upperBound_6_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "upperBound",
+ lv_upperBound_6_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
}
- otherlv_7=(Token)match(input,49,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_7=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_8);
- newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
-
- }
- // InternalSolverLanguage.g:3173:5: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:3174:6: ( ruleQualifiedName )
+ newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
+
+ // InternalSolverLanguageParser.g:3140:5: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:3141:6: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:3174:6: ( ruleQualifiedName )
- // InternalSolverLanguage.g:3175:7: ruleQualifiedName
+ // InternalSolverLanguageParser.g:3141:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:3142:7: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
-
- }
- pushFollow(FOLLOW_52);
+ newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0());
+
+ pushFollow(FOLLOW_50);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:3189:5: (otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) ) )?
- int alt38=2;
- int LA38_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3156:5: (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )?
+ int alt37=2;
+ int LA37_0 = input.LA(1);
- if ( (LA38_0==49) ) {
- alt38=1;
+ if ( (LA37_0==GreaterThanSignEqualsSign) ) {
+ alt37=1;
}
- switch (alt38) {
+ switch (alt37) {
case 1 :
- // InternalSolverLanguage.g:3190:6: otherlv_9= '>=' ( (lv_lowerBound_10_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3157:6: otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) )
{
- otherlv_9=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_9=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_45);
- newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
-
- }
- // InternalSolverLanguage.g:3194:6: ( (lv_lowerBound_10_0= RULE_INT ) )
- // InternalSolverLanguage.g:3195:7: (lv_lowerBound_10_0= RULE_INT )
+ newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0());
+
+ // InternalSolverLanguageParser.g:3161:6: ( (lv_lowerBound_10_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3162:7: (lv_lowerBound_10_0= RULE_INT )
{
- // InternalSolverLanguage.g:3195:7: (lv_lowerBound_10_0= RULE_INT )
- // InternalSolverLanguage.g:3196:8: lv_lowerBound_10_0= RULE_INT
+ // InternalSolverLanguageParser.g:3162:7: (lv_lowerBound_10_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3163:8: lv_lowerBound_10_0= RULE_INT
{
- lv_lowerBound_10_0=(Token)match(input,RULE_INT,FOLLOW_12); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_lowerBound_10_0=(Token)match(input,RULE_INT,FOLLOW_2);
- newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "lowerBound",
- lv_lowerBound_10_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "lowerBound",
+ lv_lowerBound_10_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -9214,23 +8173,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_11=(Token)match(input,22,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- newLeafNode(otherlv_11, grammarAccess.getBoundedScopeDefinitionAccess().getFullStopKeyword_2());
-
- }
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -9245,7 +8196,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLowerBoundedScopeDefinition"
- // InternalSolverLanguage.g:3223:1: entryRuleLowerBoundedScopeDefinition returns [EObject current=null] : iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ;
+ // InternalSolverLanguageParser.g:3186:1: entryRuleLowerBoundedScopeDefinition returns [EObject current=null] : iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ;
public final EObject entryRuleLowerBoundedScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -9253,21 +8204,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:3223:68: (iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF )
- // InternalSolverLanguage.g:3224:2: iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF
+ // InternalSolverLanguageParser.g:3186:68: (iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF )
+ // InternalSolverLanguageParser.g:3187:2: iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleLowerBoundedScopeDefinition=ruleLowerBoundedScopeDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleLowerBoundedScopeDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleLowerBoundedScopeDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -9285,7 +8232,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLowerBoundedScopeDefinition"
- // InternalSolverLanguage.g:3230:1: ruleLowerBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= 'scope' ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) otherlv_7= '.' ) ;
+ // InternalSolverLanguageParser.g:3193:1: ruleLowerBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ;
public final EObject ruleLowerBoundedScopeDefinition() throws RecognitionException {
EObject current = null;
@@ -9294,112 +8241,96 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
Token otherlv_2=null;
Token otherlv_5=null;
Token lv_lowerBound_6_0=null;
- Token otherlv_7=null;
enterRule();
try {
- // InternalSolverLanguage.g:3236:2: ( (otherlv_0= 'scope' ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) otherlv_7= '.' ) )
- // InternalSolverLanguage.g:3237:2: (otherlv_0= 'scope' ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) otherlv_7= '.' )
+ // InternalSolverLanguageParser.g:3199:2: ( (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) )
+ // InternalSolverLanguageParser.g:3200:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) )
{
- // InternalSolverLanguage.g:3237:2: (otherlv_0= 'scope' ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) otherlv_7= '.' )
- // InternalSolverLanguage.g:3238:3: otherlv_0= 'scope' ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) otherlv_7= '.'
+ // InternalSolverLanguageParser.g:3200:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) )
+ // InternalSolverLanguageParser.g:3201:3: otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) )
{
- otherlv_0=(Token)match(input,46,FOLLOW_49); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,Scope,FOLLOW_47);
- newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
-
- }
- // InternalSolverLanguage.g:3242:3: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) ) )
- int alt40=2;
- int LA40_0 = input.LA(1);
+ newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0());
+
+ // InternalSolverLanguageParser.g:3205:3: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) )
+ int alt39=2;
+ int LA39_0 = input.LA(1);
- if ( (LA40_0==RULE_INT) ) {
- alt40=1;
+ if ( (LA39_0==RULE_INT) ) {
+ alt39=1;
}
- else if ( (LA40_0==RULE_ID||LA40_0==RULE_QUOTED_ID) ) {
- alt40=2;
+ else if ( (LA39_0==RULE_QUOTED_ID||LA39_0==RULE_ID) ) {
+ alt39=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 40, 0, input);
+ new NoViableAltException("", 39, 0, input);
throw nvae;
}
- switch (alt40) {
+ switch (alt39) {
case 1 :
- // InternalSolverLanguage.g:3243:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:3206:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) )
{
- // InternalSolverLanguage.g:3243:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) ) )
- // InternalSolverLanguage.g:3244:5: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= '<=' ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:3206:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) )
+ // InternalSolverLanguageParser.g:3207:5: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) )
{
- // InternalSolverLanguage.g:3244:5: ( (lv_lowerBound_1_0= RULE_INT ) )
- // InternalSolverLanguage.g:3245:6: (lv_lowerBound_1_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3207:5: ( (lv_lowerBound_1_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3208:6: (lv_lowerBound_1_0= RULE_INT )
{
- // InternalSolverLanguage.g:3245:6: (lv_lowerBound_1_0= RULE_INT )
- // InternalSolverLanguage.g:3246:7: lv_lowerBound_1_0= RULE_INT
+ // InternalSolverLanguageParser.g:3208:6: (lv_lowerBound_1_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3209:7: lv_lowerBound_1_0= RULE_INT
{
- lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_50); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_48);
- newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "lowerBound",
- lv_lowerBound_1_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "lowerBound",
+ lv_lowerBound_1_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
}
- otherlv_2=(Token)match(input,48,FOLLOW_35); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,LessThanSignEqualsSign,FOLLOW_8);
- newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
-
- }
- // InternalSolverLanguage.g:3266:5: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:3267:6: ( ruleQualifiedName )
+ newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1());
+
+ // InternalSolverLanguageParser.g:3229:5: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:3230:6: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:3267:6: ( ruleQualifiedName )
- // InternalSolverLanguage.g:3268:7: ruleQualifiedName
+ // InternalSolverLanguageParser.g:3230:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:3231:7: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
-
- }
- pushFollow(FOLLOW_12);
+ newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0());
+
+ pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
@@ -9413,75 +8344,63 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3284:4: ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) )
+ // InternalSolverLanguageParser.g:3247:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) )
{
- // InternalSolverLanguage.g:3284:4: ( ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) ) )
- // InternalSolverLanguage.g:3285:5: ( ( ruleQualifiedName ) ) otherlv_5= '>=' ( (lv_lowerBound_6_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3247:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) )
+ // InternalSolverLanguageParser.g:3248:5: ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) )
{
- // InternalSolverLanguage.g:3285:5: ( ( ruleQualifiedName ) )
- // InternalSolverLanguage.g:3286:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:3248:5: ( ( ruleQualifiedName ) )
+ // InternalSolverLanguageParser.g:3249:6: ( ruleQualifiedName )
{
- // InternalSolverLanguage.g:3286:6: ( ruleQualifiedName )
- // InternalSolverLanguage.g:3287:7: ruleQualifiedName
+ // InternalSolverLanguageParser.g:3249:6: ( ruleQualifiedName )
+ // InternalSolverLanguageParser.g:3250:7: ruleQualifiedName
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
-
- }
- if ( state.backtracking==0 ) {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+
- newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
-
- }
- pushFollow(FOLLOW_51);
+ newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0());
+
+ pushFollow(FOLLOW_49);
ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- afterParserOrEnumRuleCall();
-
- }
+
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_5=(Token)match(input,49,FOLLOW_47); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_45);
- newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
-
- }
- // InternalSolverLanguage.g:3305:5: ( (lv_lowerBound_6_0= RULE_INT ) )
- // InternalSolverLanguage.g:3306:6: (lv_lowerBound_6_0= RULE_INT )
+ newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1());
+
+ // InternalSolverLanguageParser.g:3268:5: ( (lv_lowerBound_6_0= RULE_INT ) )
+ // InternalSolverLanguageParser.g:3269:6: (lv_lowerBound_6_0= RULE_INT )
{
- // InternalSolverLanguage.g:3306:6: (lv_lowerBound_6_0= RULE_INT )
- // InternalSolverLanguage.g:3307:7: lv_lowerBound_6_0= RULE_INT
+ // InternalSolverLanguageParser.g:3269:6: (lv_lowerBound_6_0= RULE_INT )
+ // InternalSolverLanguageParser.g:3270:7: lv_lowerBound_6_0= RULE_INT
{
- lv_lowerBound_6_0=(Token)match(input,RULE_INT,FOLLOW_12); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_lowerBound_6_0=(Token)match(input,RULE_INT,FOLLOW_2);
- newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "lowerBound",
- lv_lowerBound_6_0,
- "org.eclipse.xtext.common.Terminals.INT");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule());
+ }
+ setWithLastConsumed(
+ current,
+ "lowerBound",
+ lv_lowerBound_6_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -9497,23 +8416,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- otherlv_7=(Token)match(input,22,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- newLeafNode(otherlv_7, grammarAccess.getLowerBoundedScopeDefinitionAccess().getFullStopKeyword_2());
-
- }
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -9528,7 +8439,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleObjectiveDefinition"
- // InternalSolverLanguage.g:3333:1: entryRuleObjectiveDefinition returns [EObject current=null] : iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ;
+ // InternalSolverLanguageParser.g:3292:1: entryRuleObjectiveDefinition returns [EObject current=null] : iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ;
public final EObject entryRuleObjectiveDefinition() throws RecognitionException {
EObject current = null;
@@ -9536,21 +8447,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:3333:60: (iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF )
- // InternalSolverLanguage.g:3334:2: iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF
+ // InternalSolverLanguageParser.g:3292:60: (iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF )
+ // InternalSolverLanguageParser.g:3293:2: iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getObjectiveDefinitionRule());
- }
+ newCompositeNode(grammarAccess.getObjectiveDefinitionRule());
pushFollow(FOLLOW_1);
iv_ruleObjectiveDefinition=ruleObjectiveDefinition();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleObjectiveDefinition;
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleObjectiveDefinition;
+ match(input,EOF,FOLLOW_2);
}
@@ -9568,7 +8475,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleObjectiveDefinition"
- // InternalSolverLanguage.g:3340:1: ruleObjectiveDefinition returns [EObject current=null] : ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ;
+ // InternalSolverLanguageParser.g:3299:1: ruleObjectiveDefinition returns [EObject current=null] : ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ;
public final EObject ruleObjectiveDefinition() throws RecognitionException {
EObject current = null;
@@ -9581,76 +8488,68 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3346:2: ( ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) )
- // InternalSolverLanguage.g:3347:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:3305:2: ( ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) )
+ // InternalSolverLanguageParser.g:3306:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) )
{
- // InternalSolverLanguage.g:3347:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) )
- // InternalSolverLanguage.g:3348:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:3306:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) )
+ // InternalSolverLanguageParser.g:3307:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) )
{
- // InternalSolverLanguage.g:3348:3: ( (lv_kind_0_0= ruleObjectiveKind ) )
- // InternalSolverLanguage.g:3349:4: (lv_kind_0_0= ruleObjectiveKind )
+ // InternalSolverLanguageParser.g:3307:3: ( (lv_kind_0_0= ruleObjectiveKind ) )
+ // InternalSolverLanguageParser.g:3308:4: (lv_kind_0_0= ruleObjectiveKind )
{
- // InternalSolverLanguage.g:3349:4: (lv_kind_0_0= ruleObjectiveKind )
- // InternalSolverLanguage.g:3350:5: lv_kind_0_0= ruleObjectiveKind
+ // InternalSolverLanguageParser.g:3308:4: (lv_kind_0_0= ruleObjectiveKind )
+ // InternalSolverLanguageParser.g:3309:5: lv_kind_0_0= ruleObjectiveKind
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
-
- }
+ newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0());
+
pushFollow(FOLLOW_6);
lv_kind_0_0=ruleObjectiveKind();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
- }
- set(
- current,
- "kind",
- lv_kind_0_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveKind");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
+ }
+ set(
+ current,
+ "kind",
+ lv_kind_0_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveKind");
+ afterParserOrEnumRuleCall();
+
}
}
- // InternalSolverLanguage.g:3367:3: ( (lv_objective_1_0= ruleExpression ) )
- // InternalSolverLanguage.g:3368:4: (lv_objective_1_0= ruleExpression )
+ // InternalSolverLanguageParser.g:3326:3: ( (lv_objective_1_0= ruleExpression ) )
+ // InternalSolverLanguageParser.g:3327:4: (lv_objective_1_0= ruleExpression )
{
- // InternalSolverLanguage.g:3368:4: (lv_objective_1_0= ruleExpression )
- // InternalSolverLanguage.g:3369:5: lv_objective_1_0= ruleExpression
+ // InternalSolverLanguageParser.g:3327:4: (lv_objective_1_0= ruleExpression )
+ // InternalSolverLanguageParser.g:3328:5: lv_objective_1_0= ruleExpression
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
-
- }
+ newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0());
+
pushFollow(FOLLOW_2);
lv_objective_1_0=ruleExpression();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
- }
- set(
- current,
- "objective",
- lv_objective_1_0,
- "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule());
+ }
+ set(
+ current,
+ "objective",
+ lv_objective_1_0,
+ "org.eclipse.viatra.solver.language.SolverLanguage.Expression");
+ afterParserOrEnumRuleCall();
+
}
@@ -9663,11 +8562,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -9682,7 +8579,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleUpperMultiplicty"
- // InternalSolverLanguage.g:3390:1: entryRuleUpperMultiplicty returns [String current=null] : iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ;
+ // InternalSolverLanguageParser.g:3349:1: entryRuleUpperMultiplicty returns [String current=null] : iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ;
public final String entryRuleUpperMultiplicty() throws RecognitionException {
String current = null;
@@ -9690,21 +8587,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
try {
- // InternalSolverLanguage.g:3390:56: (iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF )
- // InternalSolverLanguage.g:3391:2: iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF
+ // InternalSolverLanguageParser.g:3349:56: (iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF )
+ // InternalSolverLanguageParser.g:3350:2: iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getUpperMultiplictyRule());
- }
+ newCompositeNode(grammarAccess.getUpperMultiplictyRule());
pushFollow(FOLLOW_1);
iv_ruleUpperMultiplicty=ruleUpperMultiplicty();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleUpperMultiplicty.getText();
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleUpperMultiplicty.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -9722,7 +8615,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleUpperMultiplicty"
- // InternalSolverLanguage.g:3397:1: ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= '*' ) ;
+ // InternalSolverLanguageParser.g:3356:1: ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= Asterisk ) ;
public final AntlrDatatypeRuleToken ruleUpperMultiplicty() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -9733,54 +8626,47 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3403:2: ( (this_INT_0= RULE_INT | kw= '*' ) )
- // InternalSolverLanguage.g:3404:2: (this_INT_0= RULE_INT | kw= '*' )
+ // InternalSolverLanguageParser.g:3362:2: ( (this_INT_0= RULE_INT | kw= Asterisk ) )
+ // InternalSolverLanguageParser.g:3363:2: (this_INT_0= RULE_INT | kw= Asterisk )
{
- // InternalSolverLanguage.g:3404:2: (this_INT_0= RULE_INT | kw= '*' )
- int alt41=2;
- int LA41_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3363:2: (this_INT_0= RULE_INT | kw= Asterisk )
+ int alt40=2;
+ int LA40_0 = input.LA(1);
- if ( (LA41_0==RULE_INT) ) {
- alt41=1;
+ if ( (LA40_0==RULE_INT) ) {
+ alt40=1;
}
- else if ( (LA41_0==35) ) {
- alt41=2;
+ else if ( (LA40_0==Asterisk) ) {
+ alt40=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 41, 0, input);
+ new NoViableAltException("", 40, 0, input);
throw nvae;
}
- switch (alt41) {
+ switch (alt40) {
case 1 :
- // InternalSolverLanguage.g:3405:3: this_INT_0= RULE_INT
+ // InternalSolverLanguageParser.g:3364:3: this_INT_0= RULE_INT
{
- this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2);
- current.merge(this_INT_0);
-
- }
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_0);
+
- newLeafNode(this_INT_0, grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
-
- }
+ newLeafNode(this_INT_0, grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0());
+
}
break;
case 2 :
- // InternalSolverLanguage.g:3413:3: kw= '*'
+ // InternalSolverLanguageParser.g:3372:3: kw= Asterisk
{
- kw=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,Asterisk,FOLLOW_2);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1());
+
}
break;
@@ -9790,11 +8676,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -9809,7 +8693,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleReal"
- // InternalSolverLanguage.g:3422:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
+ // InternalSolverLanguageParser.g:3381:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
public final String entryRuleReal() throws RecognitionException {
String current = null;
@@ -9820,21 +8704,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalSolverLanguage.g:3424:2: (iv_ruleReal= ruleReal EOF )
- // InternalSolverLanguage.g:3425:2: iv_ruleReal= ruleReal EOF
+ // InternalSolverLanguageParser.g:3383:2: (iv_ruleReal= ruleReal EOF )
+ // InternalSolverLanguageParser.g:3384:2: iv_ruleReal= ruleReal EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRealRule());
- }
+ newCompositeNode(grammarAccess.getRealRule());
pushFollow(FOLLOW_1);
iv_ruleReal=ruleReal();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleReal.getText();
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleReal.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -9855,7 +8735,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleReal"
- // InternalSolverLanguage.g:3434:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) ;
+ // InternalSolverLanguageParser.g:3393:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ;
public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -9868,52 +8748,42 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalSolverLanguage.g:3441:2: ( (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) )
- // InternalSolverLanguage.g:3442:2: (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? )
+ // InternalSolverLanguageParser.g:3400:2: ( (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) )
+ // InternalSolverLanguageParser.g:3401:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? )
{
- // InternalSolverLanguage.g:3442:2: (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? )
- // InternalSolverLanguage.g:3443:3: this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )?
+ // InternalSolverLanguageParser.g:3401:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? )
+ // InternalSolverLanguageParser.g:3402:3: this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )?
{
- this_INT_0=(Token)match(input,RULE_INT,FOLLOW_53); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_0=(Token)match(input,RULE_INT,FOLLOW_51);
- current.merge(this_INT_0);
-
- }
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_0);
+
- newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
-
- }
- // InternalSolverLanguage.g:3450:3: (kw= '.' this_INT_2= RULE_INT )?
- int alt42=2;
- int LA42_0 = input.LA(1);
+ newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0());
+
+ // InternalSolverLanguageParser.g:3409:3: (kw= FullStop this_INT_2= RULE_INT )?
+ int alt41=2;
+ int LA41_0 = input.LA(1);
- if ( (LA42_0==22) ) {
- alt42=1;
+ if ( (LA41_0==FullStop) ) {
+ alt41=1;
}
- switch (alt42) {
+ switch (alt41) {
case 1 :
- // InternalSolverLanguage.g:3451:4: kw= '.' this_INT_2= RULE_INT
+ // InternalSolverLanguageParser.g:3410:4: kw= FullStop this_INT_2= RULE_INT
{
- kw=(Token)match(input,22,FOLLOW_47); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,FullStop,FOLLOW_45);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0());
-
- }
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0());
+
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2);
- current.merge(this_INT_2);
-
- }
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_2);
+
- newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
-
- }
+ newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1());
+
}
break;
@@ -9926,11 +8796,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -9948,7 +8816,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleQualifiedName"
- // InternalSolverLanguage.g:3471:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
+ // InternalSolverLanguageParser.g:3430:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
@@ -9959,21 +8827,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalSolverLanguage.g:3473:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
- // InternalSolverLanguage.g:3474:2: iv_ruleQualifiedName= ruleQualifiedName EOF
+ // InternalSolverLanguageParser.g:3432:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
+ // InternalSolverLanguageParser.g:3433:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getQualifiedNameRule());
- }
+ newCompositeNode(grammarAccess.getQualifiedNameRule());
pushFollow(FOLLOW_1);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleQualifiedName.getText();
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ current =iv_ruleQualifiedName.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -9994,7 +8858,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleQualifiedName"
- // InternalSolverLanguage.g:3483:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ;
+ // InternalSolverLanguageParser.g:3442:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ;
public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -10008,89 +8872,72 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalSolverLanguage.g:3490:2: ( ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) )
- // InternalSolverLanguage.g:3491:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID )
+ // InternalSolverLanguageParser.g:3449:2: ( ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) )
+ // InternalSolverLanguageParser.g:3450:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID )
{
- // InternalSolverLanguage.g:3491:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID )
- int alt44=2;
- int LA44_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3450:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID )
+ int alt43=2;
+ int LA43_0 = input.LA(1);
- if ( (LA44_0==RULE_ID) ) {
- alt44=1;
+ if ( (LA43_0==RULE_ID) ) {
+ alt43=1;
}
- else if ( (LA44_0==RULE_QUOTED_ID) ) {
- alt44=2;
+ else if ( (LA43_0==RULE_QUOTED_ID) ) {
+ alt43=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 44, 0, input);
+ new NoViableAltException("", 43, 0, input);
throw nvae;
}
- switch (alt44) {
+ switch (alt43) {
case 1 :
- // InternalSolverLanguage.g:3492:3: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // InternalSolverLanguageParser.g:3451:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* )
{
- // InternalSolverLanguage.g:3492:3: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- // InternalSolverLanguage.g:3493:4: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ // InternalSolverLanguageParser.g:3451:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* )
+ // InternalSolverLanguageParser.g:3452:4: this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )*
{
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_53); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_51);
- current.merge(this_ID_0);
-
- }
- if ( state.backtracking==0 ) {
+ current.merge(this_ID_0);
+
- newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
-
- }
- // InternalSolverLanguage.g:3500:4: (kw= '.' this_ID_2= RULE_ID )*
- loop43:
+ newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0());
+
+ // InternalSolverLanguageParser.g:3459:4: (kw= FullStop this_ID_2= RULE_ID )*
+ loop42:
do {
- int alt43=2;
- int LA43_0 = input.LA(1);
-
- if ( (LA43_0==22) ) {
- int LA43_2 = input.LA(2);
-
- if ( (LA43_2==RULE_ID) ) {
- alt43=1;
- }
-
+ int alt42=2;
+ int LA42_0 = input.LA(1);
+ if ( (LA42_0==FullStop) ) {
+ alt42=1;
}
- switch (alt43) {
+ switch (alt42) {
case 1 :
- // InternalSolverLanguage.g:3501:5: kw= '.' this_ID_2= RULE_ID
+ // InternalSolverLanguageParser.g:3460:5: kw= FullStop this_ID_2= RULE_ID
{
- kw=(Token)match(input,22,FOLLOW_40); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,FullStop,FOLLOW_38);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
-
- }
- this_ID_2=(Token)match(input,RULE_ID,FOLLOW_53); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0());
+
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_51);
- current.merge(this_ID_2);
-
- }
- if ( state.backtracking==0 ) {
+ current.merge(this_ID_2);
+
- newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
-
- }
+ newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1());
+
}
break;
default :
- break loop43;
+ break loop42;
}
} while (true);
@@ -10101,19 +8948,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3516:3: this_QUOTED_ID_3= RULE_QUOTED_ID
+ // InternalSolverLanguageParser.g:3475:3: this_QUOTED_ID_3= RULE_QUOTED_ID
{
- this_QUOTED_ID_3=(Token)match(input,RULE_QUOTED_ID,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_QUOTED_ID_3=(Token)match(input,RULE_QUOTED_ID,FOLLOW_2);
- current.merge(this_QUOTED_ID_3);
-
- }
- if ( state.backtracking==0 ) {
+ current.merge(this_QUOTED_ID_3);
+
- newLeafNode(this_QUOTED_ID_3, grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
-
- }
+ newLeafNode(this_QUOTED_ID_3, grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1());
+
}
break;
@@ -10123,11 +8966,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10145,7 +8986,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMetricType"
- // InternalSolverLanguage.g:3530:1: ruleMetricType returns [Enumerator current=null] : ( (enumLiteral_0= 'int' ) | (enumLiteral_1= 'real' ) ) ;
+ // InternalSolverLanguageParser.g:3489:1: ruleMetricType returns [Enumerator current=null] : ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) ) ;
public final Enumerator ruleMetricType() throws RecognitionException {
Enumerator current = null;
@@ -10156,40 +8997,37 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3536:2: ( ( (enumLiteral_0= 'int' ) | (enumLiteral_1= 'real' ) ) )
- // InternalSolverLanguage.g:3537:2: ( (enumLiteral_0= 'int' ) | (enumLiteral_1= 'real' ) )
+ // InternalSolverLanguageParser.g:3495:2: ( ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) ) )
+ // InternalSolverLanguageParser.g:3496:2: ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) )
{
- // InternalSolverLanguage.g:3537:2: ( (enumLiteral_0= 'int' ) | (enumLiteral_1= 'real' ) )
- int alt45=2;
- int LA45_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3496:2: ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) )
+ int alt44=2;
+ int LA44_0 = input.LA(1);
- if ( (LA45_0==50) ) {
- alt45=1;
+ if ( (LA44_0==Int) ) {
+ alt44=1;
}
- else if ( (LA45_0==51) ) {
- alt45=2;
+ else if ( (LA44_0==Real) ) {
+ alt44=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 45, 0, input);
+ new NoViableAltException("", 44, 0, input);
throw nvae;
}
- switch (alt45) {
+ switch (alt44) {
case 1 :
- // InternalSolverLanguage.g:3538:3: (enumLiteral_0= 'int' )
+ // InternalSolverLanguageParser.g:3497:3: (enumLiteral_0= Int )
{
- // InternalSolverLanguage.g:3538:3: (enumLiteral_0= 'int' )
- // InternalSolverLanguage.g:3539:4: enumLiteral_0= 'int'
+ // InternalSolverLanguageParser.g:3497:3: (enumLiteral_0= Int )
+ // InternalSolverLanguageParser.g:3498:4: enumLiteral_0= Int
{
- enumLiteral_0=(Token)match(input,50,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,Int,FOLLOW_2);
- current = grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0());
+
}
@@ -10197,18 +9035,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3546:3: (enumLiteral_1= 'real' )
+ // InternalSolverLanguageParser.g:3505:3: (enumLiteral_1= Real )
{
- // InternalSolverLanguage.g:3546:3: (enumLiteral_1= 'real' )
- // InternalSolverLanguage.g:3547:4: enumLiteral_1= 'real'
+ // InternalSolverLanguageParser.g:3505:3: (enumLiteral_1= Real )
+ // InternalSolverLanguageParser.g:3506:4: enumLiteral_1= Real
{
- enumLiteral_1=(Token)match(input,51,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,Real,FOLLOW_2);
- current = grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1());
+
}
@@ -10221,11 +9057,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10240,7 +9074,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleComparisonOperator"
- // InternalSolverLanguage.g:3557:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '==' ) | (enumLiteral_1= '!=' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '<=' ) | (enumLiteral_4= '>' ) | (enumLiteral_5= '>=' ) | (enumLiteral_6= 'in' ) ) ;
+ // InternalSolverLanguageParser.g:3516:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ;
public final Enumerator ruleComparisonOperator() throws RecognitionException {
Enumerator current = null;
@@ -10256,69 +9090,66 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3563:2: ( ( (enumLiteral_0= '==' ) | (enumLiteral_1= '!=' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '<=' ) | (enumLiteral_4= '>' ) | (enumLiteral_5= '>=' ) | (enumLiteral_6= 'in' ) ) )
- // InternalSolverLanguage.g:3564:2: ( (enumLiteral_0= '==' ) | (enumLiteral_1= '!=' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '<=' ) | (enumLiteral_4= '>' ) | (enumLiteral_5= '>=' ) | (enumLiteral_6= 'in' ) )
+ // InternalSolverLanguageParser.g:3522:2: ( ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) )
+ // InternalSolverLanguageParser.g:3523:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) )
{
- // InternalSolverLanguage.g:3564:2: ( (enumLiteral_0= '==' ) | (enumLiteral_1= '!=' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '<=' ) | (enumLiteral_4= '>' ) | (enumLiteral_5= '>=' ) | (enumLiteral_6= 'in' ) )
- int alt46=7;
+ // InternalSolverLanguageParser.g:3523:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) )
+ int alt45=7;
switch ( input.LA(1) ) {
- case 47:
+ case EqualsSignEqualsSign:
{
- alt46=1;
+ alt45=1;
}
break;
- case 52:
+ case ExclamationMarkEqualsSign:
{
- alt46=2;
+ alt45=2;
}
break;
- case 53:
+ case LessThanSign:
{
- alt46=3;
+ alt45=3;
}
break;
- case 48:
+ case LessThanSignEqualsSign:
{
- alt46=4;
+ alt45=4;
}
break;
- case 54:
+ case GreaterThanSign:
{
- alt46=5;
+ alt45=5;
}
break;
- case 49:
+ case GreaterThanSignEqualsSign:
{
- alt46=6;
+ alt45=6;
}
break;
- case 55:
+ case In:
{
- alt46=7;
+ alt45=7;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 46, 0, input);
+ new NoViableAltException("", 45, 0, input);
throw nvae;
}
- switch (alt46) {
+ switch (alt45) {
case 1 :
- // InternalSolverLanguage.g:3565:3: (enumLiteral_0= '==' )
+ // InternalSolverLanguageParser.g:3524:3: (enumLiteral_0= EqualsSignEqualsSign )
{
- // InternalSolverLanguage.g:3565:3: (enumLiteral_0= '==' )
- // InternalSolverLanguage.g:3566:4: enumLiteral_0= '=='
+ // InternalSolverLanguageParser.g:3524:3: (enumLiteral_0= EqualsSignEqualsSign )
+ // InternalSolverLanguageParser.g:3525:4: enumLiteral_0= EqualsSignEqualsSign
{
- enumLiteral_0=(Token)match(input,47,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,EqualsSignEqualsSign,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0());
+
}
@@ -10326,18 +9157,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3573:3: (enumLiteral_1= '!=' )
+ // InternalSolverLanguageParser.g:3532:3: (enumLiteral_1= ExclamationMarkEqualsSign )
{
- // InternalSolverLanguage.g:3573:3: (enumLiteral_1= '!=' )
- // InternalSolverLanguage.g:3574:4: enumLiteral_1= '!='
+ // InternalSolverLanguageParser.g:3532:3: (enumLiteral_1= ExclamationMarkEqualsSign )
+ // InternalSolverLanguageParser.g:3533:4: enumLiteral_1= ExclamationMarkEqualsSign
{
- enumLiteral_1=(Token)match(input,52,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,ExclamationMarkEqualsSign,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1());
+
}
@@ -10345,18 +9174,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:3581:3: (enumLiteral_2= '<' )
+ // InternalSolverLanguageParser.g:3540:3: (enumLiteral_2= LessThanSign )
{
- // InternalSolverLanguage.g:3581:3: (enumLiteral_2= '<' )
- // InternalSolverLanguage.g:3582:4: enumLiteral_2= '<'
+ // InternalSolverLanguageParser.g:3540:3: (enumLiteral_2= LessThanSign )
+ // InternalSolverLanguageParser.g:3541:4: enumLiteral_2= LessThanSign
{
- enumLiteral_2=(Token)match(input,53,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_2=(Token)match(input,LessThanSign,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2());
+
}
@@ -10364,18 +9191,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalSolverLanguage.g:3589:3: (enumLiteral_3= '<=' )
+ // InternalSolverLanguageParser.g:3548:3: (enumLiteral_3= LessThanSignEqualsSign )
{
- // InternalSolverLanguage.g:3589:3: (enumLiteral_3= '<=' )
- // InternalSolverLanguage.g:3590:4: enumLiteral_3= '<='
+ // InternalSolverLanguageParser.g:3548:3: (enumLiteral_3= LessThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:3549:4: enumLiteral_3= LessThanSignEqualsSign
{
- enumLiteral_3=(Token)match(input,48,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_3=(Token)match(input,LessThanSignEqualsSign,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3());
+
}
@@ -10383,18 +9208,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalSolverLanguage.g:3597:3: (enumLiteral_4= '>' )
+ // InternalSolverLanguageParser.g:3556:3: (enumLiteral_4= GreaterThanSign )
{
- // InternalSolverLanguage.g:3597:3: (enumLiteral_4= '>' )
- // InternalSolverLanguage.g:3598:4: enumLiteral_4= '>'
+ // InternalSolverLanguageParser.g:3556:3: (enumLiteral_4= GreaterThanSign )
+ // InternalSolverLanguageParser.g:3557:4: enumLiteral_4= GreaterThanSign
{
- enumLiteral_4=(Token)match(input,54,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_4=(Token)match(input,GreaterThanSign,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4());
+
}
@@ -10402,18 +9225,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalSolverLanguage.g:3605:3: (enumLiteral_5= '>=' )
+ // InternalSolverLanguageParser.g:3564:3: (enumLiteral_5= GreaterThanSignEqualsSign )
{
- // InternalSolverLanguage.g:3605:3: (enumLiteral_5= '>=' )
- // InternalSolverLanguage.g:3606:4: enumLiteral_5= '>='
+ // InternalSolverLanguageParser.g:3564:3: (enumLiteral_5= GreaterThanSignEqualsSign )
+ // InternalSolverLanguageParser.g:3565:4: enumLiteral_5= GreaterThanSignEqualsSign
{
- enumLiteral_5=(Token)match(input,49,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5());
+
}
@@ -10421,18 +9242,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 7 :
- // InternalSolverLanguage.g:3613:3: (enumLiteral_6= 'in' )
+ // InternalSolverLanguageParser.g:3572:3: (enumLiteral_6= In )
{
- // InternalSolverLanguage.g:3613:3: (enumLiteral_6= 'in' )
- // InternalSolverLanguage.g:3614:4: enumLiteral_6= 'in'
+ // InternalSolverLanguageParser.g:3572:3: (enumLiteral_6= In )
+ // InternalSolverLanguageParser.g:3573:4: enumLiteral_6= In
{
- enumLiteral_6=(Token)match(input,55,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_6=(Token)match(input,In,FOLLOW_2);
- current = grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
-
- }
+ current = grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6());
+
}
@@ -10445,11 +9264,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10464,7 +9281,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAdditiveBinaryOperator"
- // InternalSolverLanguage.g:3624:1: ruleAdditiveBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) ) ;
+ // InternalSolverLanguageParser.g:3583:1: ruleAdditiveBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ;
public final Enumerator ruleAdditiveBinaryOperator() throws RecognitionException {
Enumerator current = null;
@@ -10475,40 +9292,37 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3630:2: ( ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) ) )
- // InternalSolverLanguage.g:3631:2: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) )
+ // InternalSolverLanguageParser.g:3589:2: ( ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) )
+ // InternalSolverLanguageParser.g:3590:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) )
{
- // InternalSolverLanguage.g:3631:2: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) )
- int alt47=2;
- int LA47_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3590:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) )
+ int alt46=2;
+ int LA46_0 = input.LA(1);
- if ( (LA47_0==56) ) {
- alt47=1;
+ if ( (LA46_0==PlusSign) ) {
+ alt46=1;
}
- else if ( (LA47_0==57) ) {
- alt47=2;
+ else if ( (LA46_0==HyphenMinus) ) {
+ alt46=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 47, 0, input);
+ new NoViableAltException("", 46, 0, input);
throw nvae;
}
- switch (alt47) {
+ switch (alt46) {
case 1 :
- // InternalSolverLanguage.g:3632:3: (enumLiteral_0= '+' )
+ // InternalSolverLanguageParser.g:3591:3: (enumLiteral_0= PlusSign )
{
- // InternalSolverLanguage.g:3632:3: (enumLiteral_0= '+' )
- // InternalSolverLanguage.g:3633:4: enumLiteral_0= '+'
+ // InternalSolverLanguageParser.g:3591:3: (enumLiteral_0= PlusSign )
+ // InternalSolverLanguageParser.g:3592:4: enumLiteral_0= PlusSign
{
- enumLiteral_0=(Token)match(input,56,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,PlusSign,FOLLOW_2);
- current = grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0());
+
}
@@ -10516,18 +9330,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3640:3: (enumLiteral_1= '-' )
+ // InternalSolverLanguageParser.g:3599:3: (enumLiteral_1= HyphenMinus )
{
- // InternalSolverLanguage.g:3640:3: (enumLiteral_1= '-' )
- // InternalSolverLanguage.g:3641:4: enumLiteral_1= '-'
+ // InternalSolverLanguageParser.g:3599:3: (enumLiteral_1= HyphenMinus )
+ // InternalSolverLanguageParser.g:3600:4: enumLiteral_1= HyphenMinus
{
- enumLiteral_1=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,HyphenMinus,FOLLOW_2);
- current = grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1());
+
}
@@ -10540,11 +9352,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10559,7 +9369,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleMultiplicativeBinaryOperator"
- // InternalSolverLanguage.g:3651:1: ruleMultiplicativeBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= '*' ) | (enumLiteral_1= '/' ) ) ;
+ // InternalSolverLanguageParser.g:3610:1: ruleMultiplicativeBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ;
public final Enumerator ruleMultiplicativeBinaryOperator() throws RecognitionException {
Enumerator current = null;
@@ -10570,40 +9380,37 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3657:2: ( ( (enumLiteral_0= '*' ) | (enumLiteral_1= '/' ) ) )
- // InternalSolverLanguage.g:3658:2: ( (enumLiteral_0= '*' ) | (enumLiteral_1= '/' ) )
+ // InternalSolverLanguageParser.g:3616:2: ( ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) )
+ // InternalSolverLanguageParser.g:3617:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) )
{
- // InternalSolverLanguage.g:3658:2: ( (enumLiteral_0= '*' ) | (enumLiteral_1= '/' ) )
- int alt48=2;
- int LA48_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3617:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) )
+ int alt47=2;
+ int LA47_0 = input.LA(1);
- if ( (LA48_0==35) ) {
- alt48=1;
+ if ( (LA47_0==Asterisk) ) {
+ alt47=1;
}
- else if ( (LA48_0==58) ) {
- alt48=2;
+ else if ( (LA47_0==Solidus) ) {
+ alt47=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 48, 0, input);
+ new NoViableAltException("", 47, 0, input);
throw nvae;
}
- switch (alt48) {
+ switch (alt47) {
case 1 :
- // InternalSolverLanguage.g:3659:3: (enumLiteral_0= '*' )
+ // InternalSolverLanguageParser.g:3618:3: (enumLiteral_0= Asterisk )
{
- // InternalSolverLanguage.g:3659:3: (enumLiteral_0= '*' )
- // InternalSolverLanguage.g:3660:4: enumLiteral_0= '*'
+ // InternalSolverLanguageParser.g:3618:3: (enumLiteral_0= Asterisk )
+ // InternalSolverLanguageParser.g:3619:4: enumLiteral_0= Asterisk
{
- enumLiteral_0=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,Asterisk,FOLLOW_2);
- current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0());
+
}
@@ -10611,18 +9418,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3667:3: (enumLiteral_1= '/' )
+ // InternalSolverLanguageParser.g:3626:3: (enumLiteral_1= Solidus )
{
- // InternalSolverLanguage.g:3667:3: (enumLiteral_1= '/' )
- // InternalSolverLanguage.g:3668:4: enumLiteral_1= '/'
+ // InternalSolverLanguageParser.g:3626:3: (enumLiteral_1= Solidus )
+ // InternalSolverLanguageParser.g:3627:4: enumLiteral_1= Solidus
{
- enumLiteral_1=(Token)match(input,58,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,Solidus,FOLLOW_2);
- current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1());
+
}
@@ -10635,11 +9440,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10654,7 +9457,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExponentialOp"
- // InternalSolverLanguage.g:3678:1: ruleExponentialOp returns [Enumerator current=null] : (enumLiteral_0= '^' ) ;
+ // InternalSolverLanguageParser.g:3637:1: ruleExponentialOp returns [Enumerator current=null] : (enumLiteral_0= CircumflexAccent ) ;
public final Enumerator ruleExponentialOp() throws RecognitionException {
Enumerator current = null;
@@ -10664,30 +9467,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3684:2: ( (enumLiteral_0= '^' ) )
- // InternalSolverLanguage.g:3685:2: (enumLiteral_0= '^' )
+ // InternalSolverLanguageParser.g:3643:2: ( (enumLiteral_0= CircumflexAccent ) )
+ // InternalSolverLanguageParser.g:3644:2: (enumLiteral_0= CircumflexAccent )
{
- // InternalSolverLanguage.g:3685:2: (enumLiteral_0= '^' )
- // InternalSolverLanguage.g:3686:3: enumLiteral_0= '^'
+ // InternalSolverLanguageParser.g:3644:2: (enumLiteral_0= CircumflexAccent )
+ // InternalSolverLanguageParser.g:3645:3: enumLiteral_0= CircumflexAccent
{
- enumLiteral_0=(Token)match(input,59,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,CircumflexAccent,FOLLOW_2);
- current = grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
-
- }
+ current = grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10702,7 +9501,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleUnaryOp"
- // InternalSolverLanguage.g:3695:1: ruleUnaryOp returns [Enumerator current=null] : ( (enumLiteral_0= '!' ) | (enumLiteral_1= '+' ) | (enumLiteral_2= '-' ) | (enumLiteral_3= 'may' ) | (enumLiteral_4= 'must' ) | (enumLiteral_5= 'current' ) ) ;
+ // InternalSolverLanguageParser.g:3654:1: ruleUnaryOp returns [Enumerator current=null] : ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ;
public final Enumerator ruleUnaryOp() throws RecognitionException {
Enumerator current = null;
@@ -10717,64 +9516,61 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3701:2: ( ( (enumLiteral_0= '!' ) | (enumLiteral_1= '+' ) | (enumLiteral_2= '-' ) | (enumLiteral_3= 'may' ) | (enumLiteral_4= 'must' ) | (enumLiteral_5= 'current' ) ) )
- // InternalSolverLanguage.g:3702:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '+' ) | (enumLiteral_2= '-' ) | (enumLiteral_3= 'may' ) | (enumLiteral_4= 'must' ) | (enumLiteral_5= 'current' ) )
+ // InternalSolverLanguageParser.g:3660:2: ( ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) )
+ // InternalSolverLanguageParser.g:3661:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) )
{
- // InternalSolverLanguage.g:3702:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '+' ) | (enumLiteral_2= '-' ) | (enumLiteral_3= 'may' ) | (enumLiteral_4= 'must' ) | (enumLiteral_5= 'current' ) )
- int alt49=6;
+ // InternalSolverLanguageParser.g:3661:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) )
+ int alt48=6;
switch ( input.LA(1) ) {
- case 60:
+ case ExclamationMark:
{
- alt49=1;
+ alt48=1;
}
break;
- case 56:
+ case PlusSign:
{
- alt49=2;
+ alt48=2;
}
break;
- case 57:
+ case HyphenMinus:
{
- alt49=3;
+ alt48=3;
}
break;
- case 61:
+ case May:
{
- alt49=4;
+ alt48=4;
}
break;
- case 62:
+ case Must:
{
- alt49=5;
+ alt48=5;
}
break;
- case 63:
+ case Current:
{
- alt49=6;
+ alt48=6;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 49, 0, input);
+ new NoViableAltException("", 48, 0, input);
throw nvae;
}
- switch (alt49) {
+ switch (alt48) {
case 1 :
- // InternalSolverLanguage.g:3703:3: (enumLiteral_0= '!' )
+ // InternalSolverLanguageParser.g:3662:3: (enumLiteral_0= ExclamationMark )
{
- // InternalSolverLanguage.g:3703:3: (enumLiteral_0= '!' )
- // InternalSolverLanguage.g:3704:4: enumLiteral_0= '!'
+ // InternalSolverLanguageParser.g:3662:3: (enumLiteral_0= ExclamationMark )
+ // InternalSolverLanguageParser.g:3663:4: enumLiteral_0= ExclamationMark
{
- enumLiteral_0=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,ExclamationMark,FOLLOW_2);
- current = grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0());
+
}
@@ -10782,18 +9578,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3711:3: (enumLiteral_1= '+' )
+ // InternalSolverLanguageParser.g:3670:3: (enumLiteral_1= PlusSign )
{
- // InternalSolverLanguage.g:3711:3: (enumLiteral_1= '+' )
- // InternalSolverLanguage.g:3712:4: enumLiteral_1= '+'
+ // InternalSolverLanguageParser.g:3670:3: (enumLiteral_1= PlusSign )
+ // InternalSolverLanguageParser.g:3671:4: enumLiteral_1= PlusSign
{
- enumLiteral_1=(Token)match(input,56,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,PlusSign,FOLLOW_2);
- current = grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1());
+
}
@@ -10801,18 +9595,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:3719:3: (enumLiteral_2= '-' )
+ // InternalSolverLanguageParser.g:3678:3: (enumLiteral_2= HyphenMinus )
{
- // InternalSolverLanguage.g:3719:3: (enumLiteral_2= '-' )
- // InternalSolverLanguage.g:3720:4: enumLiteral_2= '-'
+ // InternalSolverLanguageParser.g:3678:3: (enumLiteral_2= HyphenMinus )
+ // InternalSolverLanguageParser.g:3679:4: enumLiteral_2= HyphenMinus
{
- enumLiteral_2=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_2=(Token)match(input,HyphenMinus,FOLLOW_2);
- current = grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
-
- }
+ current = grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2());
+
}
@@ -10820,18 +9612,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalSolverLanguage.g:3727:3: (enumLiteral_3= 'may' )
+ // InternalSolverLanguageParser.g:3686:3: (enumLiteral_3= May )
{
- // InternalSolverLanguage.g:3727:3: (enumLiteral_3= 'may' )
- // InternalSolverLanguage.g:3728:4: enumLiteral_3= 'may'
+ // InternalSolverLanguageParser.g:3686:3: (enumLiteral_3= May )
+ // InternalSolverLanguageParser.g:3687:4: enumLiteral_3= May
{
- enumLiteral_3=(Token)match(input,61,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_3=(Token)match(input,May,FOLLOW_2);
- current = grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
-
- }
+ current = grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3());
+
}
@@ -10839,18 +9629,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalSolverLanguage.g:3735:3: (enumLiteral_4= 'must' )
+ // InternalSolverLanguageParser.g:3694:3: (enumLiteral_4= Must )
{
- // InternalSolverLanguage.g:3735:3: (enumLiteral_4= 'must' )
- // InternalSolverLanguage.g:3736:4: enumLiteral_4= 'must'
+ // InternalSolverLanguageParser.g:3694:3: (enumLiteral_4= Must )
+ // InternalSolverLanguageParser.g:3695:4: enumLiteral_4= Must
{
- enumLiteral_4=(Token)match(input,62,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_4=(Token)match(input,Must,FOLLOW_2);
- current = grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
-
- }
+ current = grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4());
+
}
@@ -10858,18 +9646,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalSolverLanguage.g:3743:3: (enumLiteral_5= 'current' )
+ // InternalSolverLanguageParser.g:3702:3: (enumLiteral_5= Current )
{
- // InternalSolverLanguage.g:3743:3: (enumLiteral_5= 'current' )
- // InternalSolverLanguage.g:3744:4: enumLiteral_5= 'current'
+ // InternalSolverLanguageParser.g:3702:3: (enumLiteral_5= Current )
+ // InternalSolverLanguageParser.g:3703:4: enumLiteral_5= Current
{
- enumLiteral_5=(Token)match(input,63,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_5=(Token)match(input,Current,FOLLOW_2);
- current = grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
-
- }
+ current = grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5());
+
}
@@ -10882,11 +9668,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -10901,7 +9685,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAggregationOp"
- // InternalSolverLanguage.g:3754:1: ruleAggregationOp returns [Enumerator current=null] : ( (enumLiteral_0= 'only' ) | (enumLiteral_1= 'sum' ) | (enumLiteral_2= 'prod' ) | (enumLiteral_3= 'avg' ) | (enumLiteral_4= 'min' ) | (enumLiteral_5= 'max' ) ) ;
+ // InternalSolverLanguageParser.g:3713:1: ruleAggregationOp returns [Enumerator current=null] : ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) ) ;
public final Enumerator ruleAggregationOp() throws RecognitionException {
Enumerator current = null;
@@ -10916,64 +9700,61 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3760:2: ( ( (enumLiteral_0= 'only' ) | (enumLiteral_1= 'sum' ) | (enumLiteral_2= 'prod' ) | (enumLiteral_3= 'avg' ) | (enumLiteral_4= 'min' ) | (enumLiteral_5= 'max' ) ) )
- // InternalSolverLanguage.g:3761:2: ( (enumLiteral_0= 'only' ) | (enumLiteral_1= 'sum' ) | (enumLiteral_2= 'prod' ) | (enumLiteral_3= 'avg' ) | (enumLiteral_4= 'min' ) | (enumLiteral_5= 'max' ) )
+ // InternalSolverLanguageParser.g:3719:2: ( ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) ) )
+ // InternalSolverLanguageParser.g:3720:2: ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) )
{
- // InternalSolverLanguage.g:3761:2: ( (enumLiteral_0= 'only' ) | (enumLiteral_1= 'sum' ) | (enumLiteral_2= 'prod' ) | (enumLiteral_3= 'avg' ) | (enumLiteral_4= 'min' ) | (enumLiteral_5= 'max' ) )
- int alt50=6;
+ // InternalSolverLanguageParser.g:3720:2: ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) )
+ int alt49=6;
switch ( input.LA(1) ) {
- case 64:
+ case Only:
{
- alt50=1;
+ alt49=1;
}
break;
- case 65:
+ case Sum:
{
- alt50=2;
+ alt49=2;
}
break;
- case 66:
+ case Prod:
{
- alt50=3;
+ alt49=3;
}
break;
- case 67:
+ case Avg:
{
- alt50=4;
+ alt49=4;
}
break;
- case 68:
+ case Min:
{
- alt50=5;
+ alt49=5;
}
break;
- case 69:
+ case Max:
{
- alt50=6;
+ alt49=6;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 50, 0, input);
+ new NoViableAltException("", 49, 0, input);
throw nvae;
}
- switch (alt50) {
+ switch (alt49) {
case 1 :
- // InternalSolverLanguage.g:3762:3: (enumLiteral_0= 'only' )
+ // InternalSolverLanguageParser.g:3721:3: (enumLiteral_0= Only )
{
- // InternalSolverLanguage.g:3762:3: (enumLiteral_0= 'only' )
- // InternalSolverLanguage.g:3763:4: enumLiteral_0= 'only'
+ // InternalSolverLanguageParser.g:3721:3: (enumLiteral_0= Only )
+ // InternalSolverLanguageParser.g:3722:4: enumLiteral_0= Only
{
- enumLiteral_0=(Token)match(input,64,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,Only,FOLLOW_2);
- current = grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0());
+
}
@@ -10981,18 +9762,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3770:3: (enumLiteral_1= 'sum' )
+ // InternalSolverLanguageParser.g:3729:3: (enumLiteral_1= Sum )
{
- // InternalSolverLanguage.g:3770:3: (enumLiteral_1= 'sum' )
- // InternalSolverLanguage.g:3771:4: enumLiteral_1= 'sum'
+ // InternalSolverLanguageParser.g:3729:3: (enumLiteral_1= Sum )
+ // InternalSolverLanguageParser.g:3730:4: enumLiteral_1= Sum
{
- enumLiteral_1=(Token)match(input,65,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,Sum,FOLLOW_2);
- current = grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1());
+
}
@@ -11000,18 +9779,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:3778:3: (enumLiteral_2= 'prod' )
+ // InternalSolverLanguageParser.g:3737:3: (enumLiteral_2= Prod )
{
- // InternalSolverLanguage.g:3778:3: (enumLiteral_2= 'prod' )
- // InternalSolverLanguage.g:3779:4: enumLiteral_2= 'prod'
+ // InternalSolverLanguageParser.g:3737:3: (enumLiteral_2= Prod )
+ // InternalSolverLanguageParser.g:3738:4: enumLiteral_2= Prod
{
- enumLiteral_2=(Token)match(input,66,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_2=(Token)match(input,Prod,FOLLOW_2);
- current = grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
-
- }
+ current = grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2());
+
}
@@ -11019,18 +9796,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalSolverLanguage.g:3786:3: (enumLiteral_3= 'avg' )
+ // InternalSolverLanguageParser.g:3745:3: (enumLiteral_3= Avg )
{
- // InternalSolverLanguage.g:3786:3: (enumLiteral_3= 'avg' )
- // InternalSolverLanguage.g:3787:4: enumLiteral_3= 'avg'
+ // InternalSolverLanguageParser.g:3745:3: (enumLiteral_3= Avg )
+ // InternalSolverLanguageParser.g:3746:4: enumLiteral_3= Avg
{
- enumLiteral_3=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_3=(Token)match(input,Avg,FOLLOW_2);
- current = grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
-
- }
+ current = grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3());
+
}
@@ -11038,18 +9813,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // InternalSolverLanguage.g:3794:3: (enumLiteral_4= 'min' )
+ // InternalSolverLanguageParser.g:3753:3: (enumLiteral_4= Min )
{
- // InternalSolverLanguage.g:3794:3: (enumLiteral_4= 'min' )
- // InternalSolverLanguage.g:3795:4: enumLiteral_4= 'min'
+ // InternalSolverLanguageParser.g:3753:3: (enumLiteral_4= Min )
+ // InternalSolverLanguageParser.g:3754:4: enumLiteral_4= Min
{
- enumLiteral_4=(Token)match(input,68,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_4=(Token)match(input,Min,FOLLOW_2);
- current = grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
-
- }
+ current = grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4());
+
}
@@ -11057,18 +9830,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // InternalSolverLanguage.g:3802:3: (enumLiteral_5= 'max' )
+ // InternalSolverLanguageParser.g:3761:3: (enumLiteral_5= Max )
{
- // InternalSolverLanguage.g:3802:3: (enumLiteral_5= 'max' )
- // InternalSolverLanguage.g:3803:4: enumLiteral_5= 'max'
+ // InternalSolverLanguageParser.g:3761:3: (enumLiteral_5= Max )
+ // InternalSolverLanguageParser.g:3762:4: enumLiteral_5= Max
{
- enumLiteral_5=(Token)match(input,69,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_5=(Token)match(input,Max,FOLLOW_2);
- current = grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
-
- }
+ current = grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5());
+
}
@@ -11081,11 +9852,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -11100,7 +9869,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLogicValue"
- // InternalSolverLanguage.g:3813:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) | (enumLiteral_3= 'error' ) ) ;
+ // InternalSolverLanguageParser.g:3772:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ;
public final Enumerator ruleLogicValue() throws RecognitionException {
Enumerator current = null;
@@ -11113,54 +9882,51 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3819:2: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) | (enumLiteral_3= 'error' ) ) )
- // InternalSolverLanguage.g:3820:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) | (enumLiteral_3= 'error' ) )
+ // InternalSolverLanguageParser.g:3778:2: ( ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) )
+ // InternalSolverLanguageParser.g:3779:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) )
{
- // InternalSolverLanguage.g:3820:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) | (enumLiteral_3= 'error' ) )
- int alt51=4;
+ // InternalSolverLanguageParser.g:3779:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) )
+ int alt50=4;
switch ( input.LA(1) ) {
- case 70:
+ case True:
{
- alt51=1;
+ alt50=1;
}
break;
- case 71:
+ case False:
{
- alt51=2;
+ alt50=2;
}
break;
- case 72:
+ case Unknown:
{
- alt51=3;
+ alt50=3;
}
break;
- case 19:
+ case Error:
{
- alt51=4;
+ alt50=4;
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 51, 0, input);
+ new NoViableAltException("", 50, 0, input);
throw nvae;
}
- switch (alt51) {
+ switch (alt50) {
case 1 :
- // InternalSolverLanguage.g:3821:3: (enumLiteral_0= 'true' )
+ // InternalSolverLanguageParser.g:3780:3: (enumLiteral_0= True )
{
- // InternalSolverLanguage.g:3821:3: (enumLiteral_0= 'true' )
- // InternalSolverLanguage.g:3822:4: enumLiteral_0= 'true'
+ // InternalSolverLanguageParser.g:3780:3: (enumLiteral_0= True )
+ // InternalSolverLanguageParser.g:3781:4: enumLiteral_0= True
{
- enumLiteral_0=(Token)match(input,70,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,True,FOLLOW_2);
- current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
+
}
@@ -11168,18 +9934,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3829:3: (enumLiteral_1= 'false' )
+ // InternalSolverLanguageParser.g:3788:3: (enumLiteral_1= False )
{
- // InternalSolverLanguage.g:3829:3: (enumLiteral_1= 'false' )
- // InternalSolverLanguage.g:3830:4: enumLiteral_1= 'false'
+ // InternalSolverLanguageParser.g:3788:3: (enumLiteral_1= False )
+ // InternalSolverLanguageParser.g:3789:4: enumLiteral_1= False
{
- enumLiteral_1=(Token)match(input,71,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,False,FOLLOW_2);
- current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
+
}
@@ -11187,18 +9951,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalSolverLanguage.g:3837:3: (enumLiteral_2= 'unknown' )
+ // InternalSolverLanguageParser.g:3796:3: (enumLiteral_2= Unknown )
{
- // InternalSolverLanguage.g:3837:3: (enumLiteral_2= 'unknown' )
- // InternalSolverLanguage.g:3838:4: enumLiteral_2= 'unknown'
+ // InternalSolverLanguageParser.g:3796:3: (enumLiteral_2= Unknown )
+ // InternalSolverLanguageParser.g:3797:4: enumLiteral_2= Unknown
{
- enumLiteral_2=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_2=(Token)match(input,Unknown,FOLLOW_2);
- current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
-
- }
+ current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
+
}
@@ -11206,18 +9968,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalSolverLanguage.g:3845:3: (enumLiteral_3= 'error' )
+ // InternalSolverLanguageParser.g:3804:3: (enumLiteral_3= Error )
{
- // InternalSolverLanguage.g:3845:3: (enumLiteral_3= 'error' )
- // InternalSolverLanguage.g:3846:4: enumLiteral_3= 'error'
+ // InternalSolverLanguageParser.g:3804:3: (enumLiteral_3= Error )
+ // InternalSolverLanguageParser.g:3805:4: enumLiteral_3= Error
{
- enumLiteral_3=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_3=(Token)match(input,Error,FOLLOW_2);
- current = grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
-
- }
+ current = grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3());
+
}
@@ -11230,11 +9990,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -11249,7 +10007,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleObjectiveKind"
- // InternalSolverLanguage.g:3856:1: ruleObjectiveKind returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ;
+ // InternalSolverLanguageParser.g:3815:1: ruleObjectiveKind returns [Enumerator current=null] : ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ;
public final Enumerator ruleObjectiveKind() throws RecognitionException {
Enumerator current = null;
@@ -11260,40 +10018,37 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalSolverLanguage.g:3862:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) )
- // InternalSolverLanguage.g:3863:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
+ // InternalSolverLanguageParser.g:3821:2: ( ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) )
+ // InternalSolverLanguageParser.g:3822:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) )
{
- // InternalSolverLanguage.g:3863:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
- int alt52=2;
- int LA52_0 = input.LA(1);
+ // InternalSolverLanguageParser.g:3822:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) )
+ int alt51=2;
+ int LA51_0 = input.LA(1);
- if ( (LA52_0==73) ) {
- alt52=1;
+ if ( (LA51_0==Minimize) ) {
+ alt51=1;
}
- else if ( (LA52_0==74) ) {
- alt52=2;
+ else if ( (LA51_0==Maximize) ) {
+ alt51=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 52, 0, input);
+ new NoViableAltException("", 51, 0, input);
throw nvae;
}
- switch (alt52) {
+ switch (alt51) {
case 1 :
- // InternalSolverLanguage.g:3864:3: (enumLiteral_0= 'minimize' )
+ // InternalSolverLanguageParser.g:3823:3: (enumLiteral_0= Minimize )
{
- // InternalSolverLanguage.g:3864:3: (enumLiteral_0= 'minimize' )
- // InternalSolverLanguage.g:3865:4: enumLiteral_0= 'minimize'
+ // InternalSolverLanguageParser.g:3823:3: (enumLiteral_0= Minimize )
+ // InternalSolverLanguageParser.g:3824:4: enumLiteral_0= Minimize
{
- enumLiteral_0=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,Minimize,FOLLOW_2);
- current = grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0());
+
}
@@ -11301,18 +10056,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalSolverLanguage.g:3872:3: (enumLiteral_1= 'maximize' )
+ // InternalSolverLanguageParser.g:3831:3: (enumLiteral_1= Maximize )
{
- // InternalSolverLanguage.g:3872:3: (enumLiteral_1= 'maximize' )
- // InternalSolverLanguage.g:3873:4: enumLiteral_1= 'maximize'
+ // InternalSolverLanguageParser.g:3831:3: (enumLiteral_1= Maximize )
+ // InternalSolverLanguageParser.g:3832:4: enumLiteral_1= Maximize
{
- enumLiteral_1=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,Maximize,FOLLOW_2);
- current = grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1());
+
}
@@ -11325,11 +10078,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
+ leaveRule();
- }
}
catch (RecognitionException re) {
@@ -11346,20 +10097,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
protected DFA2 dfa2 = new DFA2(this);
- protected DFA25 dfa25 = new DFA25(this);
- protected DFA36 dfa36 = new DFA36(this);
+ protected DFA20 dfa20 = new DFA20(this);
+ protected DFA24 dfa24 = new DFA24(this);
+ protected DFA35 dfa35 = new DFA35(this);
static final String dfa_1s = "\15\uffff";
- static final String dfa_2s = "\1\7\1\uffff\1\4\2\uffff\1\10\7\uffff";
- static final String dfa_3s = "\1\112\1\uffff\1\73\2\uffff\1\63\7\uffff";
- static final String dfa_4s = "\1\uffff\1\1\1\uffff\1\2\1\4\1\uffff\1\6\1\10\1\11\1\12\1\3\1\7\1\5";
+ static final String dfa_2s = "\1\5\1\uffff\1\5\2\uffff\1\36\7\uffff";
+ static final String dfa_3s = "\1\123\1\uffff\1\122\2\uffff\1\122\7\uffff";
+ static final String dfa_4s = "\1\uffff\1\1\1\uffff\1\2\1\4\1\uffff\1\6\1\10\1\11\1\12\1\3\1\5\1\7";
static final String dfa_5s = "\15\uffff}>";
static final String[] dfa_6s = {
- "\4\1\7\uffff\1\3\1\2\1\4\1\5\1\uffff\1\1\5\uffff\1\1\3\uffff\1\1\2\uffff\1\1\2\uffff\2\1\2\7\3\uffff\1\10\3\uffff\2\6\4\uffff\2\1\2\uffff\15\1\2\11",
+ "\1\3\1\7\1\uffff\2\11\3\uffff\1\1\1\4\1\uffff\1\1\1\uffff\1\5\1\7\2\1\1\2\1\1\1\10\2\uffff\3\1\1\6\1\uffff\1\1\5\uffff\2\1\1\6\4\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\2\1\4\uffff\2\1",
"",
- "\1\1\3\uffff\1\3\1\uffff\1\3\4\uffff\3\1\1\3\7\uffff\3\1\4\uffff\1\12\1\uffff\1\1\13\uffff\3\1\2\uffff\10\1",
+ "\1\3\47\uffff\2\1\1\uffff\4\1\3\uffff\1\1\1\uffff\1\12\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\3\3\uffff\1\1\1\3",
"",
"",
- "\1\14\1\uffff\1\14\47\uffff\2\13",
+ "\1\14\11\uffff\1\14\44\uffff\1\13\4\uffff\1\13",
"",
"",
"",
@@ -11390,26 +10142,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
this.transition = dfa_6;
}
public String getDescription() {
- return "116:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition )";
+ return "109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition )";
}
}
static final String dfa_7s = "\12\uffff";
- static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\11\1\3\1\uffff";
- static final String dfa_9s = "\1\7\2\10\2\uffff\1\10\1\uffff\1\7\1\10\1\uffff";
- static final String dfa_10s = "\1\110\2\73\2\uffff\1\10\1\uffff\1\110\1\73\1\uffff";
- static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\2\uffff\1\4";
+ static final String dfa_8s = "\1\uffff\2\10\6\uffff\1\10";
+ static final String dfa_9s = "\1\20\2\32\3\uffff\1\122\2\uffff\1\32";
+ static final String dfa_10s = "\1\123\2\121\3\uffff\1\122\2\uffff\1\121";
+ static final String dfa_11s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\2\1\1\1\uffff";
static final String dfa_12s = "\12\uffff}>";
static final String[] dfa_13s = {
- "\1\3\1\1\1\3\1\2\10\uffff\1\3\11\uffff\1\3\3\uffff\1\3\1\uffff\1\4\1\3\2\uffff\2\3\17\uffff\2\3\2\uffff\15\3",
- "\1\6\1\uffff\1\6\13\uffff\1\5\5\uffff\1\3\4\uffff\2\3\1\7\13\uffff\3\3\2\uffff\10\3",
- "\1\6\1\uffff\1\6\21\uffff\1\3\4\uffff\2\3\1\7\13\uffff\3\3\2\uffff\10\3",
+ "\1\4\4\uffff\3\4\10\uffff\1\4\6\uffff\1\4\21\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4",
+ "\1\10\4\uffff\1\10\15\uffff\7\10\3\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10",
+ "\1\10\4\uffff\1\10\15\uffff\7\10\3\uffff\1\10\1\uffff\1\7\5\10\1\uffff\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10",
"",
"",
- "\1\10",
"",
- "\4\3\10\uffff\1\3\10\uffff\1\11\1\3\3\uffff\1\3\1\11\1\uffff\1\3\2\uffff\2\3\17\uffff\2\3\2\uffff\15\3",
- "\1\6\1\uffff\1\6\13\uffff\1\5\5\uffff\1\3\4\uffff\2\3\1\7\13\uffff\3\3\2\uffff\10\3",
- ""
+ "\1\11",
+ "",
+ "",
+ "\1\10\4\uffff\1\10\15\uffff\7\10\3\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10"
};
static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s);
@@ -11420,11 +10172,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s);
- class DFA25 extends DFA {
+ class DFA20 extends DFA {
- public DFA25(BaseRecognizer recognizer) {
+ public DFA20(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 25;
+ this.decisionNumber = 20;
this.eot = dfa_7;
this.eof = dfa_8;
this.min = dfa_9;
@@ -11434,112 +10186,149 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser {
this.transition = dfa_13;
}
public String getDescription() {
- return "1998:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )";
+ return "1716:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )";
+ }
+ }
+ static final String dfa_14s = "\1\uffff\2\3\3\uffff\1\11\1\uffff\1\3\1\uffff";
+ static final String dfa_15s = "\1\15\2\55\2\uffff\1\122\1\15\1\uffff\1\55\1\uffff";
+ static final String dfa_16s = "\1\123\2\122\2\uffff\1\122\1\123\1\uffff\1\122\1\uffff";
+ static final String dfa_17s = "\3\uffff\1\1\1\2\2\uffff\1\3\1\uffff\1\4";
+ static final String[] dfa_18s = {
+ "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3",
+ "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7",
+ "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7",
+ "",
+ "",
+ "\1\10",
+ "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3",
+ "",
+ "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7",
+ ""
+ };
+ static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s);
+ static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s);
+ static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s);
+ static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s);
+ static final short[][] dfa_18 = unpackEncodedStringArray(dfa_18s);
+
+ class DFA24 extends DFA {
+
+ public DFA24(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 24;
+ this.eot = dfa_7;
+ this.eof = dfa_14;
+ this.min = dfa_15;
+ this.max = dfa_16;
+ this.accept = dfa_17;
+ this.special = dfa_12;
+ this.transition = dfa_18;
+ }
+ public String getDescription() {
+ return "1965:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )";
}
}
- static final String dfa_14s = "\17\uffff";
- static final String dfa_15s = "\15\uffff\1\11\1\uffff";
- static final String dfa_16s = "\1\56\1\10\1\60\1\26\1\57\1\10\1\uffff\1\10\2\uffff\3\26\1\4\1\26";
- static final String dfa_17s = "\1\56\1\12\3\61\1\12\1\uffff\1\10\2\uffff\2\60\1\61\1\10\1\60";
- static final String dfa_18s = "\6\uffff\1\2\1\uffff\1\1\1\3\5\uffff";
- static final String dfa_19s = "\17\uffff}>";
- static final String[] dfa_20s = {
+ static final String dfa_19s = "\17\uffff";
+ static final String dfa_20s = "\12\uffff\2\10\2\uffff\1\10";
+ static final String dfa_21s = "\1\30\1\115\3\61\1\115\1\uffff\1\122\2\uffff\3\61\1\122\1\61";
+ static final String dfa_22s = "\1\30\1\123\1\63\1\77\1\63\1\122\1\uffff\1\122\2\uffff\2\121\1\77\1\122\1\121";
+ static final String dfa_23s = "\6\uffff\1\2\1\uffff\1\3\1\1\5\uffff";
+ static final String dfa_24s = "\17\uffff}>";
+ static final String[] dfa_25s = {
"\1\1",
- "\1\3\1\2\1\4",
- "\1\5\1\6",
- "\1\7\30\uffff\1\10\1\6\1\11",
- "\1\10\1\6\1\11",
- "\1\12\1\uffff\1\13",
+ "\1\4\4\uffff\1\3\1\2",
+ "\1\5\1\uffff\1\6",
+ "\1\6\1\11\1\10\13\uffff\1\7",
+ "\1\6\1\11\1\10",
+ "\1\13\4\uffff\1\12",
"",
"\1\14",
"",
"",
- "\1\15\31\uffff\1\6",
- "\1\11\31\uffff\1\6",
- "\1\7\30\uffff\1\10\1\6\1\11",
- "\1\11\3\uffff\1\16",
- "\1\15\31\uffff\1\6"
+ "\1\6\15\uffff\1\15\21\uffff\1\10",
+ "\1\6\37\uffff\1\10",
+ "\1\6\1\11\1\10\13\uffff\1\7",
+ "\1\16",
+ "\1\6\15\uffff\1\15\21\uffff\1\10"
};
- static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s);
- static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s);
- static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s);
- static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s);
- static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s);
static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s);
- static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s);
+ static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s);
+ static final char[] dfa_21 = DFA.unpackEncodedStringToUnsignedChars(dfa_21s);
+ static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s);
+ static final short[] dfa_23 = DFA.unpackEncodedString(dfa_23s);
+ static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s);
+ static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s);
- class DFA36 extends DFA {
+ class DFA35 extends DFA {
- public DFA36(BaseRecognizer recognizer) {
+ public DFA35(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 36;
- this.eot = dfa_14;
- this.eof = dfa_15;
- this.min = dfa_16;
- this.max = dfa_17;
- this.accept = dfa_18;
- this.special = dfa_19;
- this.transition = dfa_20;
+ this.decisionNumber = 35;
+ this.eot = dfa_19;
+ this.eof = dfa_20;
+ this.min = dfa_21;
+ this.max = dfa_22;
+ this.accept = dfa_23;
+ this.special = dfa_24;
+ this.transition = dfa_25;
}
public String getDescription() {
- return "2973:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )";
+ return "2940:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )";
}
}
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_3 = new BitSet(new long[]{0xF30C479220BC0782L,0x00000000000007FFL});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000038002L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0xF300019220880780L,0x00000000000001FFL});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000080500L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000000000C0500L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000400000L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x000C000000000000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000001000000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x000000000C000002L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000002L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000008000000L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00F3800000000002L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0300000000000002L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0400000800000002L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0800000000000002L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000019220080780L,0x00000000000001FFL});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000080000000L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000200000002L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000400000000L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000200000060L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0xF300019E20880780L,0x00000000000001FFL});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000410000000L});
- public static final BitSet FOLLOW_34 = new BitSet(new long[]{0xF300019A20880780L,0x00000000000001FFL});
- public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000500L});
- public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000100L});
- public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000080040000000L});
- public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000050000000L});
- public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000100080000500L});
- public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000001000000100L});
- public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000200004000002L});
- public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000800000200L});
- public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000200L});
- public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000800000000000L});
- public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000000000700L});
- public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0001000000000000L});
- public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0002000000000000L});
- public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0002000000400000L});
- public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000400002L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x53401FC179FD6362L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0001000000000002L,0x0000000000000012L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x53401EC138F12000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000400000L,0x0000000000042000L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0000000000042000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000020L,0x0000000000042000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0001000000000000L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0200000000000000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000010040000000L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000080000000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000400000000002L,0x0000000000000004L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000004L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000400000000000L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x2000000000000002L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x008E200000000002L,0x0000000000000028L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x5000000000000002L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0800000000000002L,0x0000000000000001L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000100L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x02001AC130F10000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0400000000000000L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0200000000000000L,0x0000000000018000L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x5F401EC138F12000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x2400000000000000L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x5B401EC138F12000L,0x00000000000C3040L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0800000000000000L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000800000000000L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000080000L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000008000L,0x0000000000000200L});
+ public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x2000000000000000L,0x0000000000000200L});
+ public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000080L,0x0000000000042800L});
+ public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040040L});
+ public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000402L,0x0000000000000004L});
+ public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0800000000000000L,0x0000000000080000L});
+ public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L});
+ public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0004000000000000L});
+ public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000000L,0x00000000000C2000L});
+ public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0002000000000000L});
+ public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0008000000000000L});
+ public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0008000000000002L});
+ public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x8000000000000002L});
}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens
new file mode 100644
index 00000000..81343db5
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens
@@ -0,0 +1,83 @@
+'!'=56
+'!='=45
+'('=57
+')'=58
+'*'=59
+'+'=60
+','=61
+'-'=62
+'->'=46
+'.'=63
+'..'=47
+'/'=64
+':'=65
+':-'=48
+';'=66
+'<'=67
+'<='=49
+'='=68
+'=='=50
+'>'=69
+'>='=51
+'ADD'=33
+'DIV'=34
+'EQ'=52
+'GREATER'=11
+'GREATER_EQ'=4
+'IN'=53
+'LESS'=25
+'LESS_EQ'=12
+'MUL'=35
+'NOT_EQ'=17
+'POW'=36
+'SUB'=37
+'['=70
+']'=71
+'^'=72
+'abstract'=6
+'avg'=38
+'class'=19
+'contains'=7
+'count'=20
+'current'=13
+'default'=14
+'else'=26
+'empty'=21
+'error'=22
+'extends'=15
+'extern'=18
+'false'=23
+'functional'=5
+'if'=54
+'in'=55
+'inf'=39
+'int'=40
+'max'=41
+'maximize'=8
+'may'=42
+'min'=43
+'minimize'=9
+'must'=27
+'only'=28
+'opposite'=10
+'prod'=29
+'real'=30
+'scope'=24
+'sum'=44
+'then'=31
+'true'=32
+'unknown'=16
+'{'=73
+'|'=74
+'}'=75
+RULE_ANY_OTHER=86
+RULE_FULL_STOP=81
+RULE_ID=82
+RULE_INT=83
+RULE_ML_COMMENT=84
+RULE_QUOTED_ID=77
+RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80
+RULE_SL_COMMENT=78
+RULE_STRING=76
+RULE_TRANSITIVE_CLOSURE=79
+RULE_WS=85
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g
new file mode 100644
index 00000000..1a29e53b
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g
@@ -0,0 +1,178 @@
+/*
+ * generated by Xtext 2.21.0
+ */
+lexer grammar InternalSolverLanguageLexer;
+
+@header {
+package org.eclipse.viatra.solver.language.parser.antlr.lexer;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.parser.antlr.Lexer;
+}
+
+GREATER_EQ : 'GREATER_EQ';
+
+Functional : 'functional';
+
+Abstract : 'abstract';
+
+Contains : 'contains';
+
+Maximize : 'maximize';
+
+Minimize : 'minimize';
+
+Opposite : 'opposite';
+
+GREATER : 'GREATER';
+
+LESS_EQ : 'LESS_EQ';
+
+Current : 'current';
+
+Default : 'default';
+
+Extends : 'extends';
+
+Unknown : 'unknown';
+
+NOT_EQ : 'NOT_EQ';
+
+Extern : 'extern';
+
+Class : 'class';
+
+Count : 'count';
+
+Empty : 'empty';
+
+Error : 'error';
+
+False : 'false';
+
+Scope : 'scope';
+
+LESS : 'LESS';
+
+Else : 'else';
+
+Must : 'must';
+
+Only : 'only';
+
+Prod : 'prod';
+
+Real : 'real';
+
+Then : 'then';
+
+True : 'true';
+
+ADD : 'ADD';
+
+DIV : 'DIV';
+
+MUL : 'MUL';
+
+POW : 'POW';
+
+SUB : 'SUB';
+
+Avg : 'avg';
+
+Inf : 'inf';
+
+Int : 'int';
+
+Max : 'max';
+
+May : 'may';
+
+Min : 'min';
+
+Sum : 'sum';
+
+ExclamationMarkEqualsSign : '!=';
+
+HyphenMinusGreaterThanSign : '->';
+
+FullStopFullStop : '..';
+
+ColonHyphenMinus : ':-';
+
+LessThanSignEqualsSign : '<=';
+
+EqualsSignEqualsSign : '==';
+
+GreaterThanSignEqualsSign : '>=';
+
+EQ : 'EQ';
+
+IN : 'IN';
+
+If : 'if';
+
+In : 'in';
+
+ExclamationMark : '!';
+
+LeftParenthesis : '(';
+
+RightParenthesis : ')';
+
+Asterisk : '*';
+
+PlusSign : '+';
+
+Comma : ',';
+
+HyphenMinus : '-';
+
+FullStop : '.';
+
+Solidus : '/';
+
+Colon : ':';
+
+Semicolon : ';';
+
+LessThanSign : '<';
+
+EqualsSign : '=';
+
+GreaterThanSign : '>';
+
+LeftSquareBracket : '[';
+
+RightSquareBracket : ']';
+
+CircumflexAccent : '^';
+
+LeftCurlyBracket : '{';
+
+VerticalLine : '|';
+
+RightCurlyBracket : '}';
+
+RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"';
+
+RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\'';
+
+RULE_SL_COMMENT : ('%'|'//') ~(('\n'|'\r'))* ('\r'? '\n')?;
+
+fragment RULE_TRANSITIVE_CLOSURE : ;
+
+fragment RULE_REFLEXIVE_TRANSITIVE_CLOSURE : ;
+
+fragment RULE_FULL_STOP : ;
+
+RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
+
+RULE_INT : ('0'..'9')+;
+
+RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
+
+RULE_WS : (' '|'\t'|'\r'|'\n')+;
+
+RULE_ANY_OTHER : .;
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java
new file mode 100644
index 00000000..b46f86fc
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java
@@ -0,0 +1,3208 @@
+package org.eclipse.viatra.solver.language.parser.antlr.lexer;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.parser.antlr.Lexer;
+
+
+import org.antlr.runtime.*;
+import java.util.Stack;
+import java.util.List;
+import java.util.ArrayList;
+
+@SuppressWarnings("all")
+public class InternalSolverLanguageLexer extends Lexer {
+ public static final int ADD=33;
+ public static final int True=32;
+ public static final int GREATER_EQ=4;
+ public static final int Count=20;
+ public static final int False=23;
+ public static final int Must=27;
+ public static final int LessThanSign=67;
+ public static final int LeftParenthesis=57;
+ public static final int Unknown=16;
+ public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80;
+ public static final int FullStopFullStop=47;
+ public static final int Real=30;
+ public static final int Then=31;
+ public static final int Extends=15;
+ public static final int RightSquareBracket=71;
+ public static final int ExclamationMark=56;
+ public static final int Opposite=10;
+ public static final int SUB=37;
+ public static final int GreaterThanSign=69;
+ public static final int NOT_EQ=17;
+ public static final int RULE_ID=82;
+ public static final int MUL=35;
+ public static final int IN=53;
+ public static final int RULE_QUOTED_ID=77;
+ public static final int RightParenthesis=58;
+ public static final int Sum=44;
+ public static final int EQ=52;
+ public static final int GreaterThanSignEqualsSign=51;
+ public static final int Functional=5;
+ public static final int EqualsSignEqualsSign=50;
+ public static final int Avg=38;
+ public static final int Min=43;
+ public static final int VerticalLine=74;
+ public static final int PlusSign=60;
+ public static final int RULE_INT=83;
+ public static final int Contains=7;
+ public static final int RULE_ML_COMMENT=84;
+ public static final int POW=36;
+ public static final int RULE_TRANSITIVE_CLOSURE=79;
+ public static final int Class=19;
+ public static final int LESS=25;
+ public static final int LeftSquareBracket=70;
+ public static final int RULE_FULL_STOP=81;
+ public static final int Current=13;
+ public static final int If=54;
+ public static final int Inf=39;
+ public static final int LESS_EQ=12;
+ public static final int May=42;
+ public static final int Max=41;
+ public static final int In=55;
+ public static final int RULE_STRING=76;
+ public static final int Int=40;
+ public static final int Extern=18;
+ public static final int RULE_SL_COMMENT=78;
+ public static final int Prod=29;
+ public static final int Comma=61;
+ public static final int EqualsSign=68;
+ public static final int Empty=21;
+ public static final int HyphenMinus=62;
+ public static final int Maximize=8;
+ public static final int LessThanSignEqualsSign=49;
+ public static final int Solidus=64;
+ public static final int Colon=65;
+ public static final int RightCurlyBracket=75;
+ public static final int EOF=-1;
+ public static final int Asterisk=59;
+ public static final int FullStop=63;
+ public static final int RULE_WS=85;
+ public static final int Abstract=6;
+ public static final int Minimize=9;
+ public static final int GREATER=11;
+ public static final int LeftCurlyBracket=73;
+ public static final int Error=22;
+ public static final int Only=28;
+ public static final int RULE_ANY_OTHER=86;
+ public static final int Default=14;
+ public static final int ColonHyphenMinus=48;
+ public static final int CircumflexAccent=72;
+ public static final int DIV=34;
+ public static final int Semicolon=66;
+ public static final int Scope=24;
+ public static final int Else=26;
+ public static final int ExclamationMarkEqualsSign=45;
+ public static final int HyphenMinusGreaterThanSign=46;
+
+ // delegates
+ // delegators
+
+ public InternalSolverLanguageLexer() {;}
+ public InternalSolverLanguageLexer(CharStream input) {
+ this(input, new RecognizerSharedState());
+ }
+ public InternalSolverLanguageLexer(CharStream input, RecognizerSharedState state) {
+ super(input,state);
+
+ }
+ public String getGrammarFileName() { return "InternalSolverLanguageLexer.g"; }
+
+ // $ANTLR start "GREATER_EQ"
+ public final void mGREATER_EQ() throws RecognitionException {
+ try {
+ int _type = GREATER_EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:14:12: ( 'GREATER_EQ' )
+ // InternalSolverLanguageLexer.g:14:14: 'GREATER_EQ'
+ {
+ match("GREATER_EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GREATER_EQ"
+
+ // $ANTLR start "Functional"
+ public final void mFunctional() throws RecognitionException {
+ try {
+ int _type = Functional;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:16:12: ( 'functional' )
+ // InternalSolverLanguageLexer.g:16:14: 'functional'
+ {
+ match("functional");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Functional"
+
+ // $ANTLR start "Abstract"
+ public final void mAbstract() throws RecognitionException {
+ try {
+ int _type = Abstract;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:18:10: ( 'abstract' )
+ // InternalSolverLanguageLexer.g:18:12: 'abstract'
+ {
+ match("abstract");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Abstract"
+
+ // $ANTLR start "Contains"
+ public final void mContains() throws RecognitionException {
+ try {
+ int _type = Contains;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:20:10: ( 'contains' )
+ // InternalSolverLanguageLexer.g:20:12: 'contains'
+ {
+ match("contains");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Contains"
+
+ // $ANTLR start "Maximize"
+ public final void mMaximize() throws RecognitionException {
+ try {
+ int _type = Maximize;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:22:10: ( 'maximize' )
+ // InternalSolverLanguageLexer.g:22:12: 'maximize'
+ {
+ match("maximize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Maximize"
+
+ // $ANTLR start "Minimize"
+ public final void mMinimize() throws RecognitionException {
+ try {
+ int _type = Minimize;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:24:10: ( 'minimize' )
+ // InternalSolverLanguageLexer.g:24:12: 'minimize'
+ {
+ match("minimize");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Minimize"
+
+ // $ANTLR start "Opposite"
+ public final void mOpposite() throws RecognitionException {
+ try {
+ int _type = Opposite;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:26:10: ( 'opposite' )
+ // InternalSolverLanguageLexer.g:26:12: 'opposite'
+ {
+ match("opposite");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Opposite"
+
+ // $ANTLR start "GREATER"
+ public final void mGREATER() throws RecognitionException {
+ try {
+ int _type = GREATER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:28:9: ( 'GREATER' )
+ // InternalSolverLanguageLexer.g:28:11: 'GREATER'
+ {
+ match("GREATER");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GREATER"
+
+ // $ANTLR start "LESS_EQ"
+ public final void mLESS_EQ() throws RecognitionException {
+ try {
+ int _type = LESS_EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:30:9: ( 'LESS_EQ' )
+ // InternalSolverLanguageLexer.g:30:11: 'LESS_EQ'
+ {
+ match("LESS_EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LESS_EQ"
+
+ // $ANTLR start "Current"
+ public final void mCurrent() throws RecognitionException {
+ try {
+ int _type = Current;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:32:9: ( 'current' )
+ // InternalSolverLanguageLexer.g:32:11: 'current'
+ {
+ match("current");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Current"
+
+ // $ANTLR start "Default"
+ public final void mDefault() throws RecognitionException {
+ try {
+ int _type = Default;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:34:9: ( 'default' )
+ // InternalSolverLanguageLexer.g:34:11: 'default'
+ {
+ match("default");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Default"
+
+ // $ANTLR start "Extends"
+ public final void mExtends() throws RecognitionException {
+ try {
+ int _type = Extends;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:36:9: ( 'extends' )
+ // InternalSolverLanguageLexer.g:36:11: 'extends'
+ {
+ match("extends");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Extends"
+
+ // $ANTLR start "Unknown"
+ public final void mUnknown() throws RecognitionException {
+ try {
+ int _type = Unknown;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:38:9: ( 'unknown' )
+ // InternalSolverLanguageLexer.g:38:11: 'unknown'
+ {
+ match("unknown");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Unknown"
+
+ // $ANTLR start "NOT_EQ"
+ public final void mNOT_EQ() throws RecognitionException {
+ try {
+ int _type = NOT_EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:40:8: ( 'NOT_EQ' )
+ // InternalSolverLanguageLexer.g:40:10: 'NOT_EQ'
+ {
+ match("NOT_EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "NOT_EQ"
+
+ // $ANTLR start "Extern"
+ public final void mExtern() throws RecognitionException {
+ try {
+ int _type = Extern;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:42:8: ( 'extern' )
+ // InternalSolverLanguageLexer.g:42:10: 'extern'
+ {
+ match("extern");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Extern"
+
+ // $ANTLR start "Class"
+ public final void mClass() throws RecognitionException {
+ try {
+ int _type = Class;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:44:7: ( 'class' )
+ // InternalSolverLanguageLexer.g:44:9: 'class'
+ {
+ match("class");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Class"
+
+ // $ANTLR start "Count"
+ public final void mCount() throws RecognitionException {
+ try {
+ int _type = Count;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:46:7: ( 'count' )
+ // InternalSolverLanguageLexer.g:46:9: 'count'
+ {
+ match("count");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Count"
+
+ // $ANTLR start "Empty"
+ public final void mEmpty() throws RecognitionException {
+ try {
+ int _type = Empty;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:48:7: ( 'empty' )
+ // InternalSolverLanguageLexer.g:48:9: 'empty'
+ {
+ match("empty");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Empty"
+
+ // $ANTLR start "Error"
+ public final void mError() throws RecognitionException {
+ try {
+ int _type = Error;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:50:7: ( 'error' )
+ // InternalSolverLanguageLexer.g:50:9: 'error'
+ {
+ match("error");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Error"
+
+ // $ANTLR start "False"
+ public final void mFalse() throws RecognitionException {
+ try {
+ int _type = False;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:52:7: ( 'false' )
+ // InternalSolverLanguageLexer.g:52:9: 'false'
+ {
+ match("false");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "False"
+
+ // $ANTLR start "Scope"
+ public final void mScope() throws RecognitionException {
+ try {
+ int _type = Scope;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:54:7: ( 'scope' )
+ // InternalSolverLanguageLexer.g:54:9: 'scope'
+ {
+ match("scope");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Scope"
+
+ // $ANTLR start "LESS"
+ public final void mLESS() throws RecognitionException {
+ try {
+ int _type = LESS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:56:6: ( 'LESS' )
+ // InternalSolverLanguageLexer.g:56:8: 'LESS'
+ {
+ match("LESS");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LESS"
+
+ // $ANTLR start "Else"
+ public final void mElse() throws RecognitionException {
+ try {
+ int _type = Else;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:58:6: ( 'else' )
+ // InternalSolverLanguageLexer.g:58:8: 'else'
+ {
+ match("else");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Else"
+
+ // $ANTLR start "Must"
+ public final void mMust() throws RecognitionException {
+ try {
+ int _type = Must;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:60:6: ( 'must' )
+ // InternalSolverLanguageLexer.g:60:8: 'must'
+ {
+ match("must");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Must"
+
+ // $ANTLR start "Only"
+ public final void mOnly() throws RecognitionException {
+ try {
+ int _type = Only;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:62:6: ( 'only' )
+ // InternalSolverLanguageLexer.g:62:8: 'only'
+ {
+ match("only");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Only"
+
+ // $ANTLR start "Prod"
+ public final void mProd() throws RecognitionException {
+ try {
+ int _type = Prod;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:64:6: ( 'prod' )
+ // InternalSolverLanguageLexer.g:64:8: 'prod'
+ {
+ match("prod");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Prod"
+
+ // $ANTLR start "Real"
+ public final void mReal() throws RecognitionException {
+ try {
+ int _type = Real;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:66:6: ( 'real' )
+ // InternalSolverLanguageLexer.g:66:8: 'real'
+ {
+ match("real");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Real"
+
+ // $ANTLR start "Then"
+ public final void mThen() throws RecognitionException {
+ try {
+ int _type = Then;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:68:6: ( 'then' )
+ // InternalSolverLanguageLexer.g:68:8: 'then'
+ {
+ match("then");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Then"
+
+ // $ANTLR start "True"
+ public final void mTrue() throws RecognitionException {
+ try {
+ int _type = True;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:70:6: ( 'true' )
+ // InternalSolverLanguageLexer.g:70:8: 'true'
+ {
+ match("true");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "True"
+
+ // $ANTLR start "ADD"
+ public final void mADD() throws RecognitionException {
+ try {
+ int _type = ADD;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:72:5: ( 'ADD' )
+ // InternalSolverLanguageLexer.g:72:7: 'ADD'
+ {
+ match("ADD");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ADD"
+
+ // $ANTLR start "DIV"
+ public final void mDIV() throws RecognitionException {
+ try {
+ int _type = DIV;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:74:5: ( 'DIV' )
+ // InternalSolverLanguageLexer.g:74:7: 'DIV'
+ {
+ match("DIV");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "DIV"
+
+ // $ANTLR start "MUL"
+ public final void mMUL() throws RecognitionException {
+ try {
+ int _type = MUL;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:76:5: ( 'MUL' )
+ // InternalSolverLanguageLexer.g:76:7: 'MUL'
+ {
+ match("MUL");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "MUL"
+
+ // $ANTLR start "POW"
+ public final void mPOW() throws RecognitionException {
+ try {
+ int _type = POW;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:78:5: ( 'POW' )
+ // InternalSolverLanguageLexer.g:78:7: 'POW'
+ {
+ match("POW");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "POW"
+
+ // $ANTLR start "SUB"
+ public final void mSUB() throws RecognitionException {
+ try {
+ int _type = SUB;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:80:5: ( 'SUB' )
+ // InternalSolverLanguageLexer.g:80:7: 'SUB'
+ {
+ match("SUB");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "SUB"
+
+ // $ANTLR start "Avg"
+ public final void mAvg() throws RecognitionException {
+ try {
+ int _type = Avg;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:82:5: ( 'avg' )
+ // InternalSolverLanguageLexer.g:82:7: 'avg'
+ {
+ match("avg");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Avg"
+
+ // $ANTLR start "Inf"
+ public final void mInf() throws RecognitionException {
+ try {
+ int _type = Inf;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:84:5: ( 'inf' )
+ // InternalSolverLanguageLexer.g:84:7: 'inf'
+ {
+ match("inf");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Inf"
+
+ // $ANTLR start "Int"
+ public final void mInt() throws RecognitionException {
+ try {
+ int _type = Int;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:86:5: ( 'int' )
+ // InternalSolverLanguageLexer.g:86:7: 'int'
+ {
+ match("int");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Int"
+
+ // $ANTLR start "Max"
+ public final void mMax() throws RecognitionException {
+ try {
+ int _type = Max;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:88:5: ( 'max' )
+ // InternalSolverLanguageLexer.g:88:7: 'max'
+ {
+ match("max");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Max"
+
+ // $ANTLR start "May"
+ public final void mMay() throws RecognitionException {
+ try {
+ int _type = May;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:90:5: ( 'may' )
+ // InternalSolverLanguageLexer.g:90:7: 'may'
+ {
+ match("may");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "May"
+
+ // $ANTLR start "Min"
+ public final void mMin() throws RecognitionException {
+ try {
+ int _type = Min;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:92:5: ( 'min' )
+ // InternalSolverLanguageLexer.g:92:7: 'min'
+ {
+ match("min");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Min"
+
+ // $ANTLR start "Sum"
+ public final void mSum() throws RecognitionException {
+ try {
+ int _type = Sum;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:94:5: ( 'sum' )
+ // InternalSolverLanguageLexer.g:94:7: 'sum'
+ {
+ match("sum");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Sum"
+
+ // $ANTLR start "ExclamationMarkEqualsSign"
+ public final void mExclamationMarkEqualsSign() throws RecognitionException {
+ try {
+ int _type = ExclamationMarkEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:96:27: ( '!=' )
+ // InternalSolverLanguageLexer.g:96:29: '!='
+ {
+ match("!=");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ExclamationMarkEqualsSign"
+
+ // $ANTLR start "HyphenMinusGreaterThanSign"
+ public final void mHyphenMinusGreaterThanSign() throws RecognitionException {
+ try {
+ int _type = HyphenMinusGreaterThanSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:98:28: ( '->' )
+ // InternalSolverLanguageLexer.g:98:30: '->'
+ {
+ match("->");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "HyphenMinusGreaterThanSign"
+
+ // $ANTLR start "FullStopFullStop"
+ public final void mFullStopFullStop() throws RecognitionException {
+ try {
+ int _type = FullStopFullStop;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:100:18: ( '..' )
+ // InternalSolverLanguageLexer.g:100:20: '..'
+ {
+ match("..");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "FullStopFullStop"
+
+ // $ANTLR start "ColonHyphenMinus"
+ public final void mColonHyphenMinus() throws RecognitionException {
+ try {
+ int _type = ColonHyphenMinus;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:102:18: ( ':-' )
+ // InternalSolverLanguageLexer.g:102:20: ':-'
+ {
+ match(":-");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ColonHyphenMinus"
+
+ // $ANTLR start "LessThanSignEqualsSign"
+ public final void mLessThanSignEqualsSign() throws RecognitionException {
+ try {
+ int _type = LessThanSignEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:104:24: ( '<=' )
+ // InternalSolverLanguageLexer.g:104:26: '<='
+ {
+ match("<=");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LessThanSignEqualsSign"
+
+ // $ANTLR start "EqualsSignEqualsSign"
+ public final void mEqualsSignEqualsSign() throws RecognitionException {
+ try {
+ int _type = EqualsSignEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:106:22: ( '==' )
+ // InternalSolverLanguageLexer.g:106:24: '=='
+ {
+ match("==");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "EqualsSignEqualsSign"
+
+ // $ANTLR start "GreaterThanSignEqualsSign"
+ public final void mGreaterThanSignEqualsSign() throws RecognitionException {
+ try {
+ int _type = GreaterThanSignEqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:108:27: ( '>=' )
+ // InternalSolverLanguageLexer.g:108:29: '>='
+ {
+ match(">=");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GreaterThanSignEqualsSign"
+
+ // $ANTLR start "EQ"
+ public final void mEQ() throws RecognitionException {
+ try {
+ int _type = EQ;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:110:4: ( 'EQ' )
+ // InternalSolverLanguageLexer.g:110:6: 'EQ'
+ {
+ match("EQ");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "EQ"
+
+ // $ANTLR start "IN"
+ public final void mIN() throws RecognitionException {
+ try {
+ int _type = IN;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:112:4: ( 'IN' )
+ // InternalSolverLanguageLexer.g:112:6: 'IN'
+ {
+ match("IN");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "IN"
+
+ // $ANTLR start "If"
+ public final void mIf() throws RecognitionException {
+ try {
+ int _type = If;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:114:4: ( 'if' )
+ // InternalSolverLanguageLexer.g:114:6: 'if'
+ {
+ match("if");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "If"
+
+ // $ANTLR start "In"
+ public final void mIn() throws RecognitionException {
+ try {
+ int _type = In;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:116:4: ( 'in' )
+ // InternalSolverLanguageLexer.g:116:6: 'in'
+ {
+ match("in");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "In"
+
+ // $ANTLR start "ExclamationMark"
+ public final void mExclamationMark() throws RecognitionException {
+ try {
+ int _type = ExclamationMark;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:118:17: ( '!' )
+ // InternalSolverLanguageLexer.g:118:19: '!'
+ {
+ match('!');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "ExclamationMark"
+
+ // $ANTLR start "LeftParenthesis"
+ public final void mLeftParenthesis() throws RecognitionException {
+ try {
+ int _type = LeftParenthesis;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:120:17: ( '(' )
+ // InternalSolverLanguageLexer.g:120:19: '('
+ {
+ match('(');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LeftParenthesis"
+
+ // $ANTLR start "RightParenthesis"
+ public final void mRightParenthesis() throws RecognitionException {
+ try {
+ int _type = RightParenthesis;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:122:18: ( ')' )
+ // InternalSolverLanguageLexer.g:122:20: ')'
+ {
+ match(')');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RightParenthesis"
+
+ // $ANTLR start "Asterisk"
+ public final void mAsterisk() throws RecognitionException {
+ try {
+ int _type = Asterisk;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:124:10: ( '*' )
+ // InternalSolverLanguageLexer.g:124:12: '*'
+ {
+ match('*');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Asterisk"
+
+ // $ANTLR start "PlusSign"
+ public final void mPlusSign() throws RecognitionException {
+ try {
+ int _type = PlusSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:126:10: ( '+' )
+ // InternalSolverLanguageLexer.g:126:12: '+'
+ {
+ match('+');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "PlusSign"
+
+ // $ANTLR start "Comma"
+ public final void mComma() throws RecognitionException {
+ try {
+ int _type = Comma;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:128:7: ( ',' )
+ // InternalSolverLanguageLexer.g:128:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Comma"
+
+ // $ANTLR start "HyphenMinus"
+ public final void mHyphenMinus() throws RecognitionException {
+ try {
+ int _type = HyphenMinus;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:130:13: ( '-' )
+ // InternalSolverLanguageLexer.g:130:15: '-'
+ {
+ match('-');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "HyphenMinus"
+
+ // $ANTLR start "FullStop"
+ public final void mFullStop() throws RecognitionException {
+ try {
+ int _type = FullStop;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:132:10: ( '.' )
+ // InternalSolverLanguageLexer.g:132:12: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "FullStop"
+
+ // $ANTLR start "Solidus"
+ public final void mSolidus() throws RecognitionException {
+ try {
+ int _type = Solidus;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:134:9: ( '/' )
+ // InternalSolverLanguageLexer.g:134:11: '/'
+ {
+ match('/');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Solidus"
+
+ // $ANTLR start "Colon"
+ public final void mColon() throws RecognitionException {
+ try {
+ int _type = Colon;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:136:7: ( ':' )
+ // InternalSolverLanguageLexer.g:136:9: ':'
+ {
+ match(':');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Colon"
+
+ // $ANTLR start "Semicolon"
+ public final void mSemicolon() throws RecognitionException {
+ try {
+ int _type = Semicolon;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:138:11: ( ';' )
+ // InternalSolverLanguageLexer.g:138:13: ';'
+ {
+ match(';');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "Semicolon"
+
+ // $ANTLR start "LessThanSign"
+ public final void mLessThanSign() throws RecognitionException {
+ try {
+ int _type = LessThanSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:140:14: ( '<' )
+ // InternalSolverLanguageLexer.g:140:16: '<'
+ {
+ match('<');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LessThanSign"
+
+ // $ANTLR start "EqualsSign"
+ public final void mEqualsSign() throws RecognitionException {
+ try {
+ int _type = EqualsSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:142:12: ( '=' )
+ // InternalSolverLanguageLexer.g:142:14: '='
+ {
+ match('=');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "EqualsSign"
+
+ // $ANTLR start "GreaterThanSign"
+ public final void mGreaterThanSign() throws RecognitionException {
+ try {
+ int _type = GreaterThanSign;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:144:17: ( '>' )
+ // InternalSolverLanguageLexer.g:144:19: '>'
+ {
+ match('>');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "GreaterThanSign"
+
+ // $ANTLR start "LeftSquareBracket"
+ public final void mLeftSquareBracket() throws RecognitionException {
+ try {
+ int _type = LeftSquareBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:146:19: ( '[' )
+ // InternalSolverLanguageLexer.g:146:21: '['
+ {
+ match('[');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LeftSquareBracket"
+
+ // $ANTLR start "RightSquareBracket"
+ public final void mRightSquareBracket() throws RecognitionException {
+ try {
+ int _type = RightSquareBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:148:20: ( ']' )
+ // InternalSolverLanguageLexer.g:148:22: ']'
+ {
+ match(']');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RightSquareBracket"
+
+ // $ANTLR start "CircumflexAccent"
+ public final void mCircumflexAccent() throws RecognitionException {
+ try {
+ int _type = CircumflexAccent;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:150:18: ( '^' )
+ // InternalSolverLanguageLexer.g:150:20: '^'
+ {
+ match('^');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "CircumflexAccent"
+
+ // $ANTLR start "LeftCurlyBracket"
+ public final void mLeftCurlyBracket() throws RecognitionException {
+ try {
+ int _type = LeftCurlyBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:152:18: ( '{' )
+ // InternalSolverLanguageLexer.g:152:20: '{'
+ {
+ match('{');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "LeftCurlyBracket"
+
+ // $ANTLR start "VerticalLine"
+ public final void mVerticalLine() throws RecognitionException {
+ try {
+ int _type = VerticalLine;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:154:14: ( '|' )
+ // InternalSolverLanguageLexer.g:154:16: '|'
+ {
+ match('|');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "VerticalLine"
+
+ // $ANTLR start "RightCurlyBracket"
+ public final void mRightCurlyBracket() throws RecognitionException {
+ try {
+ int _type = RightCurlyBracket;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:156:19: ( '}' )
+ // InternalSolverLanguageLexer.g:156:21: '}'
+ {
+ match('}');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RightCurlyBracket"
+
+ // $ANTLR start "RULE_STRING"
+ public final void mRULE_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:158:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalSolverLanguageLexer.g:158:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ {
+ match('\"');
+ // InternalSolverLanguageLexer.g:158:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop1:
+ do {
+ int alt1=3;
+ int LA1_0 = input.LA(1);
+
+ if ( (LA1_0=='\\') ) {
+ alt1=1;
+ }
+ else if ( ((LA1_0>='\u0000' && LA1_0<='!')||(LA1_0>='#' && LA1_0<='[')||(LA1_0>=']' && LA1_0<='\uFFFF')) ) {
+ alt1=2;
+ }
+
+
+ switch (alt1) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:158:20: '\\\\' .
+ {
+ match('\\');
+ matchAny();
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:158:27: ~ ( ( '\\\\' | '\"' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop1;
+ }
+ } while (true);
+
+ match('\"');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_STRING"
+
+ // $ANTLR start "RULE_QUOTED_ID"
+ public final void mRULE_QUOTED_ID() throws RecognitionException {
+ try {
+ int _type = RULE_QUOTED_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:160:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalSolverLanguageLexer.g:160:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ {
+ match('\'');
+ // InternalSolverLanguageLexer.g:160:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
+ loop2:
+ do {
+ int alt2=3;
+ int LA2_0 = input.LA(1);
+
+ if ( (LA2_0=='\\') ) {
+ alt2=1;
+ }
+ else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) {
+ alt2=2;
+ }
+
+
+ switch (alt2) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:160:24: '\\\\' .
+ {
+ match('\\');
+ matchAny();
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:160:31: ~ ( ( '\\\\' | '\\'' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop2;
+ }
+ } while (true);
+
+ match('\'');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_QUOTED_ID"
+
+ // $ANTLR start "RULE_SL_COMMENT"
+ public final void mRULE_SL_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_SL_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:162:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ {
+ // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' )
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( (LA3_0=='%') ) {
+ alt3=1;
+ }
+ else if ( (LA3_0=='/') ) {
+ alt3=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 3, 0, input);
+
+ throw nvae;
+ }
+ switch (alt3) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:20: '%'
+ {
+ match('%');
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:162:24: '//'
+ {
+ match("//");
+
+
+ }
+ break;
+
+ }
+
+ // InternalSolverLanguageLexer.g:162:30: (~ ( ( '\\n' | '\\r' ) ) )*
+ loop4:
+ do {
+ int alt4=2;
+ int LA4_0 = input.LA(1);
+
+ if ( ((LA4_0>='\u0000' && LA4_0<='\t')||(LA4_0>='\u000B' && LA4_0<='\f')||(LA4_0>='\u000E' && LA4_0<='\uFFFF')) ) {
+ alt4=1;
+ }
+
+
+ switch (alt4) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:30: ~ ( ( '\\n' | '\\r' ) )
+ {
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop4;
+ }
+ } while (true);
+
+ // InternalSolverLanguageLexer.g:162:46: ( ( '\\r' )? '\\n' )?
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0=='\n'||LA6_0=='\r') ) {
+ alt6=1;
+ }
+ switch (alt6) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:47: ( '\\r' )? '\\n'
+ {
+ // InternalSolverLanguageLexer.g:162:47: ( '\\r' )?
+ int alt5=2;
+ int LA5_0 = input.LA(1);
+
+ if ( (LA5_0=='\r') ) {
+ alt5=1;
+ }
+ switch (alt5) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:162:47: '\\r'
+ {
+ match('\r');
+
+ }
+ break;
+
+ }
+
+ match('\n');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_SL_COMMENT"
+
+ // $ANTLR start "RULE_TRANSITIVE_CLOSURE"
+ public final void mRULE_TRANSITIVE_CLOSURE() throws RecognitionException {
+ try {
+ // InternalSolverLanguageLexer.g:164:34: ()
+ // InternalSolverLanguageLexer.g:164:36:
+ {
+ }
+
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_TRANSITIVE_CLOSURE"
+
+ // $ANTLR start "RULE_REFLEXIVE_TRANSITIVE_CLOSURE"
+ public final void mRULE_REFLEXIVE_TRANSITIVE_CLOSURE() throws RecognitionException {
+ try {
+ // InternalSolverLanguageLexer.g:166:44: ()
+ // InternalSolverLanguageLexer.g:166:46:
+ {
+ }
+
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_REFLEXIVE_TRANSITIVE_CLOSURE"
+
+ // $ANTLR start "RULE_FULL_STOP"
+ public final void mRULE_FULL_STOP() throws RecognitionException {
+ try {
+ // InternalSolverLanguageLexer.g:168:25: ()
+ // InternalSolverLanguageLexer.g:168:27:
+ {
+ }
+
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_FULL_STOP"
+
+ // $ANTLR start "RULE_ID"
+ public final void mRULE_ID() throws RecognitionException {
+ try {
+ int _type = RULE_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:170:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalSolverLanguageLexer.g:170:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ {
+ // InternalSolverLanguageLexer.g:170:11: ( '^' )?
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( (LA7_0=='^') ) {
+ alt7=1;
+ }
+ switch (alt7) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:170:11: '^'
+ {
+ match('^');
+
+ }
+ break;
+
+ }
+
+ if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+ // InternalSolverLanguageLexer.g:170:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {
+ alt8=1;
+ }
+
+
+ switch (alt8) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:
+ {
+ if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ID"
+
+ // $ANTLR start "RULE_INT"
+ public final void mRULE_INT() throws RecognitionException {
+ try {
+ int _type = RULE_INT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:172:10: ( ( '0' .. '9' )+ )
+ // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+
+ {
+ // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+
+ int cnt9=0;
+ loop9:
+ do {
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+
+ if ( ((LA9_0>='0' && LA9_0<='9')) ) {
+ alt9=1;
+ }
+
+
+ switch (alt9) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:172:13: '0' .. '9'
+ {
+ matchRange('0','9');
+
+ }
+ break;
+
+ default :
+ if ( cnt9 >= 1 ) break loop9;
+ EarlyExitException eee =
+ new EarlyExitException(9, input);
+ throw eee;
+ }
+ cnt9++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_INT"
+
+ // $ANTLR start "RULE_ML_COMMENT"
+ public final void mRULE_ML_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_ML_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:174:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalSolverLanguageLexer.g:174:19: '/*' ( options {greedy=false; } : . )* '*/'
+ {
+ match("/*");
+
+ // InternalSolverLanguageLexer.g:174:24: ( options {greedy=false; } : . )*
+ loop10:
+ do {
+ int alt10=2;
+ int LA10_0 = input.LA(1);
+
+ if ( (LA10_0=='*') ) {
+ int LA10_1 = input.LA(2);
+
+ if ( (LA10_1=='/') ) {
+ alt10=2;
+ }
+ else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) {
+ alt10=1;
+ }
+
+
+ }
+ else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) {
+ alt10=1;
+ }
+
+
+ switch (alt10) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:174:52: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default :
+ break loop10;
+ }
+ } while (true);
+
+ match("*/");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ML_COMMENT"
+
+ // $ANTLR start "RULE_WS"
+ public final void mRULE_WS() throws RecognitionException {
+ try {
+ int _type = RULE_WS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:176:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ {
+ // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt11=0;
+ loop11:
+ do {
+ int alt11=2;
+ int LA11_0 = input.LA(1);
+
+ if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {
+ alt11=1;
+ }
+
+
+ switch (alt11) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:
+ {
+ if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+
+ }
+ break;
+
+ default :
+ if ( cnt11 >= 1 ) break loop11;
+ EarlyExitException eee =
+ new EarlyExitException(11, input);
+ throw eee;
+ }
+ cnt11++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_WS"
+
+ // $ANTLR start "RULE_ANY_OTHER"
+ public final void mRULE_ANY_OTHER() throws RecognitionException {
+ try {
+ int _type = RULE_ANY_OTHER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalSolverLanguageLexer.g:178:16: ( . )
+ // InternalSolverLanguageLexer.g:178:18: .
+ {
+ matchAny();
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "RULE_ANY_OTHER"
+
+ public void mTokens() throws RecognitionException {
+ // InternalSolverLanguageLexer.g:1:8: ( GREATER_EQ | Functional | Abstract | Contains | Maximize | Minimize | Opposite | GREATER | LESS_EQ | Current | Default | Extends | Unknown | NOT_EQ | Extern | Class | Count | Empty | Error | False | Scope | LESS | Else | Must | Only | Prod | Real | Then | True | ADD | DIV | MUL | POW | SUB | Avg | Inf | Int | Max | May | Min | Sum | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | GreaterThanSignEqualsSign | EQ | IN | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt12=80;
+ alt12 = dfa12.predict(input);
+ switch (alt12) {
+ case 1 :
+ // InternalSolverLanguageLexer.g:1:10: GREATER_EQ
+ {
+ mGREATER_EQ();
+
+ }
+ break;
+ case 2 :
+ // InternalSolverLanguageLexer.g:1:21: Functional
+ {
+ mFunctional();
+
+ }
+ break;
+ case 3 :
+ // InternalSolverLanguageLexer.g:1:32: Abstract
+ {
+ mAbstract();
+
+ }
+ break;
+ case 4 :
+ // InternalSolverLanguageLexer.g:1:41: Contains
+ {
+ mContains();
+
+ }
+ break;
+ case 5 :
+ // InternalSolverLanguageLexer.g:1:50: Maximize
+ {
+ mMaximize();
+
+ }
+ break;
+ case 6 :
+ // InternalSolverLanguageLexer.g:1:59: Minimize
+ {
+ mMinimize();
+
+ }
+ break;
+ case 7 :
+ // InternalSolverLanguageLexer.g:1:68: Opposite
+ {
+ mOpposite();
+
+ }
+ break;
+ case 8 :
+ // InternalSolverLanguageLexer.g:1:77: GREATER
+ {
+ mGREATER();
+
+ }
+ break;
+ case 9 :
+ // InternalSolverLanguageLexer.g:1:85: LESS_EQ
+ {
+ mLESS_EQ();
+
+ }
+ break;
+ case 10 :
+ // InternalSolverLanguageLexer.g:1:93: Current
+ {
+ mCurrent();
+
+ }
+ break;
+ case 11 :
+ // InternalSolverLanguageLexer.g:1:101: Default
+ {
+ mDefault();
+
+ }
+ break;
+ case 12 :
+ // InternalSolverLanguageLexer.g:1:109: Extends
+ {
+ mExtends();
+
+ }
+ break;
+ case 13 :
+ // InternalSolverLanguageLexer.g:1:117: Unknown
+ {
+ mUnknown();
+
+ }
+ break;
+ case 14 :
+ // InternalSolverLanguageLexer.g:1:125: NOT_EQ
+ {
+ mNOT_EQ();
+
+ }
+ break;
+ case 15 :
+ // InternalSolverLanguageLexer.g:1:132: Extern
+ {
+ mExtern();
+
+ }
+ break;
+ case 16 :
+ // InternalSolverLanguageLexer.g:1:139: Class
+ {
+ mClass();
+
+ }
+ break;
+ case 17 :
+ // InternalSolverLanguageLexer.g:1:145: Count
+ {
+ mCount();
+
+ }
+ break;
+ case 18 :
+ // InternalSolverLanguageLexer.g:1:151: Empty
+ {
+ mEmpty();
+
+ }
+ break;
+ case 19 :
+ // InternalSolverLanguageLexer.g:1:157: Error
+ {
+ mError();
+
+ }
+ break;
+ case 20 :
+ // InternalSolverLanguageLexer.g:1:163: False
+ {
+ mFalse();
+
+ }
+ break;
+ case 21 :
+ // InternalSolverLanguageLexer.g:1:169: Scope
+ {
+ mScope();
+
+ }
+ break;
+ case 22 :
+ // InternalSolverLanguageLexer.g:1:175: LESS
+ {
+ mLESS();
+
+ }
+ break;
+ case 23 :
+ // InternalSolverLanguageLexer.g:1:180: Else
+ {
+ mElse();
+
+ }
+ break;
+ case 24 :
+ // InternalSolverLanguageLexer.g:1:185: Must
+ {
+ mMust();
+
+ }
+ break;
+ case 25 :
+ // InternalSolverLanguageLexer.g:1:190: Only
+ {
+ mOnly();
+
+ }
+ break;
+ case 26 :
+ // InternalSolverLanguageLexer.g:1:195: Prod
+ {
+ mProd();
+
+ }
+ break;
+ case 27 :
+ // InternalSolverLanguageLexer.g:1:200: Real
+ {
+ mReal();
+
+ }
+ break;
+ case 28 :
+ // InternalSolverLanguageLexer.g:1:205: Then
+ {
+ mThen();
+
+ }
+ break;
+ case 29 :
+ // InternalSolverLanguageLexer.g:1:210: True
+ {
+ mTrue();
+
+ }
+ break;
+ case 30 :
+ // InternalSolverLanguageLexer.g:1:215: ADD
+ {
+ mADD();
+
+ }
+ break;
+ case 31 :
+ // InternalSolverLanguageLexer.g:1:219: DIV
+ {
+ mDIV();
+
+ }
+ break;
+ case 32 :
+ // InternalSolverLanguageLexer.g:1:223: MUL
+ {
+ mMUL();
+
+ }
+ break;
+ case 33 :
+ // InternalSolverLanguageLexer.g:1:227: POW
+ {
+ mPOW();
+
+ }
+ break;
+ case 34 :
+ // InternalSolverLanguageLexer.g:1:231: SUB
+ {
+ mSUB();
+
+ }
+ break;
+ case 35 :
+ // InternalSolverLanguageLexer.g:1:235: Avg
+ {
+ mAvg();
+
+ }
+ break;
+ case 36 :
+ // InternalSolverLanguageLexer.g:1:239: Inf
+ {
+ mInf();
+
+ }
+ break;
+ case 37 :
+ // InternalSolverLanguageLexer.g:1:243: Int
+ {
+ mInt();
+
+ }
+ break;
+ case 38 :
+ // InternalSolverLanguageLexer.g:1:247: Max
+ {
+ mMax();
+
+ }
+ break;
+ case 39 :
+ // InternalSolverLanguageLexer.g:1:251: May
+ {
+ mMay();
+
+ }
+ break;
+ case 40 :
+ // InternalSolverLanguageLexer.g:1:255: Min
+ {
+ mMin();
+
+ }
+ break;
+ case 41 :
+ // InternalSolverLanguageLexer.g:1:259: Sum
+ {
+ mSum();
+
+ }
+ break;
+ case 42 :
+ // InternalSolverLanguageLexer.g:1:263: ExclamationMarkEqualsSign
+ {
+ mExclamationMarkEqualsSign();
+
+ }
+ break;
+ case 43 :
+ // InternalSolverLanguageLexer.g:1:289: HyphenMinusGreaterThanSign
+ {
+ mHyphenMinusGreaterThanSign();
+
+ }
+ break;
+ case 44 :
+ // InternalSolverLanguageLexer.g:1:316: FullStopFullStop
+ {
+ mFullStopFullStop();
+
+ }
+ break;
+ case 45 :
+ // InternalSolverLanguageLexer.g:1:333: ColonHyphenMinus
+ {
+ mColonHyphenMinus();
+
+ }
+ break;
+ case 46 :
+ // InternalSolverLanguageLexer.g:1:350: LessThanSignEqualsSign
+ {
+ mLessThanSignEqualsSign();
+
+ }
+ break;
+ case 47 :
+ // InternalSolverLanguageLexer.g:1:373: EqualsSignEqualsSign
+ {
+ mEqualsSignEqualsSign();
+
+ }
+ break;
+ case 48 :
+ // InternalSolverLanguageLexer.g:1:394: GreaterThanSignEqualsSign
+ {
+ mGreaterThanSignEqualsSign();
+
+ }
+ break;
+ case 49 :
+ // InternalSolverLanguageLexer.g:1:420: EQ
+ {
+ mEQ();
+
+ }
+ break;
+ case 50 :
+ // InternalSolverLanguageLexer.g:1:423: IN
+ {
+ mIN();
+
+ }
+ break;
+ case 51 :
+ // InternalSolverLanguageLexer.g:1:426: If
+ {
+ mIf();
+
+ }
+ break;
+ case 52 :
+ // InternalSolverLanguageLexer.g:1:429: In
+ {
+ mIn();
+
+ }
+ break;
+ case 53 :
+ // InternalSolverLanguageLexer.g:1:432: ExclamationMark
+ {
+ mExclamationMark();
+
+ }
+ break;
+ case 54 :
+ // InternalSolverLanguageLexer.g:1:448: LeftParenthesis
+ {
+ mLeftParenthesis();
+
+ }
+ break;
+ case 55 :
+ // InternalSolverLanguageLexer.g:1:464: RightParenthesis
+ {
+ mRightParenthesis();
+
+ }
+ break;
+ case 56 :
+ // InternalSolverLanguageLexer.g:1:481: Asterisk
+ {
+ mAsterisk();
+
+ }
+ break;
+ case 57 :
+ // InternalSolverLanguageLexer.g:1:490: PlusSign
+ {
+ mPlusSign();
+
+ }
+ break;
+ case 58 :
+ // InternalSolverLanguageLexer.g:1:499: Comma
+ {
+ mComma();
+
+ }
+ break;
+ case 59 :
+ // InternalSolverLanguageLexer.g:1:505: HyphenMinus
+ {
+ mHyphenMinus();
+
+ }
+ break;
+ case 60 :
+ // InternalSolverLanguageLexer.g:1:517: FullStop
+ {
+ mFullStop();
+
+ }
+ break;
+ case 61 :
+ // InternalSolverLanguageLexer.g:1:526: Solidus
+ {
+ mSolidus();
+
+ }
+ break;
+ case 62 :
+ // InternalSolverLanguageLexer.g:1:534: Colon
+ {
+ mColon();
+
+ }
+ break;
+ case 63 :
+ // InternalSolverLanguageLexer.g:1:540: Semicolon
+ {
+ mSemicolon();
+
+ }
+ break;
+ case 64 :
+ // InternalSolverLanguageLexer.g:1:550: LessThanSign
+ {
+ mLessThanSign();
+
+ }
+ break;
+ case 65 :
+ // InternalSolverLanguageLexer.g:1:563: EqualsSign
+ {
+ mEqualsSign();
+
+ }
+ break;
+ case 66 :
+ // InternalSolverLanguageLexer.g:1:574: GreaterThanSign
+ {
+ mGreaterThanSign();
+
+ }
+ break;
+ case 67 :
+ // InternalSolverLanguageLexer.g:1:590: LeftSquareBracket
+ {
+ mLeftSquareBracket();
+
+ }
+ break;
+ case 68 :
+ // InternalSolverLanguageLexer.g:1:608: RightSquareBracket
+ {
+ mRightSquareBracket();
+
+ }
+ break;
+ case 69 :
+ // InternalSolverLanguageLexer.g:1:627: CircumflexAccent
+ {
+ mCircumflexAccent();
+
+ }
+ break;
+ case 70 :
+ // InternalSolverLanguageLexer.g:1:644: LeftCurlyBracket
+ {
+ mLeftCurlyBracket();
+
+ }
+ break;
+ case 71 :
+ // InternalSolverLanguageLexer.g:1:661: VerticalLine
+ {
+ mVerticalLine();
+
+ }
+ break;
+ case 72 :
+ // InternalSolverLanguageLexer.g:1:674: RightCurlyBracket
+ {
+ mRightCurlyBracket();
+
+ }
+ break;
+ case 73 :
+ // InternalSolverLanguageLexer.g:1:692: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 74 :
+ // InternalSolverLanguageLexer.g:1:704: RULE_QUOTED_ID
+ {
+ mRULE_QUOTED_ID();
+
+ }
+ break;
+ case 75 :
+ // InternalSolverLanguageLexer.g:1:719: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 76 :
+ // InternalSolverLanguageLexer.g:1:735: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 77 :
+ // InternalSolverLanguageLexer.g:1:743: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 78 :
+ // InternalSolverLanguageLexer.g:1:752: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 79 :
+ // InternalSolverLanguageLexer.g:1:768: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 80 :
+ // InternalSolverLanguageLexer.g:1:776: RULE_ANY_OTHER
+ {
+ mRULE_ANY_OTHER();
+
+ }
+ break;
+
+ }
+
+ }
+
+
+ protected DFA12 dfa12 = new DFA12(this);
+ static final String DFA12_eotS =
+ "\1\uffff\25\64\1\127\1\131\1\133\1\135\1\137\1\141\1\143\2\64\5\uffff\1\155\3\uffff\1\161\3\uffff\2\62\5\uffff\1\64\1\uffff\37\64\1\u009d\1\u009e\16\uffff\1\u009f\1\u00a0\23\uffff\4\64\1\u00a5\4\64\1\u00ab\1\u00ac\1\u00ae\14\64\1\u00bb\4\64\1\u00c0\1\u00c1\1\u00c2\1\u00c3\1\u00c4\1\u00c5\1\u00c6\4\uffff\4\64\1\uffff\5\64\2\uffff\1\64\1\uffff\1\u00d1\1\64\1\u00d3\1\u00d5\4\64\1\u00db\3\64\1\uffff\1\u00df\1\u00e0\1\u00e1\1\u00e2\7\uffff\2\64\1\u00e5\2\64\1\u00e8\1\64\1\u00ea\2\64\1\uffff\1\64\1\uffff\1\64\1\uffff\3\64\1\u00f2\1\u00f3\1\uffff\2\64\1\u00f6\4\uffff\2\64\1\uffff\2\64\1\uffff\1\64\1\uffff\6\64\1\u0102\2\uffff\1\64\1\u0104\1\uffff\1\u0106\3\64\1\u010a\3\64\1\u010e\1\u010f\1\u0110\1\uffff\1\u0111\1\uffff\1\64\1\uffff\1\64\1\u0114\1\u0115\1\uffff\1\u0116\1\u0117\1\u0118\4\uffff\2\64\5\uffff\1\u011b\1\u011c\2\uffff";
+ static final String DFA12_eofS =
+ "\u011d\uffff";
+ static final String DFA12_minS =
+ "\1\0\1\122\1\141\1\142\1\154\1\141\1\156\1\105\1\145\1\154\1\156\1\117\1\143\1\162\1\145\1\150\1\104\1\111\1\125\1\117\1\125\1\146\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\156\1\162\1\141\1\170\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\60\16\uffff\2\60\23\uffff\1\101\1\143\1\163\1\164\1\60\1\164\1\156\1\162\1\163\3\60\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\60\1\144\1\154\1\156\1\145\7\60\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\60\1\163\2\60\1\165\1\156\1\171\1\162\1\60\1\157\1\105\1\145\1\uffff\4\60\7\uffff\1\105\1\151\1\60\1\141\1\151\1\60\1\156\1\60\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\60\1\uffff\1\167\1\121\1\60\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\60\2\uffff\1\156\1\60\1\uffff\1\60\1\156\1\164\1\163\1\60\3\145\3\60\1\uffff\1\60\1\uffff\1\105\1\uffff\1\141\2\60\1\uffff\3\60\4\uffff\1\121\1\154\5\uffff\2\60\2\uffff";
+ static final String DFA12_maxS =
+ "\1\uffff\1\122\1\165\1\166\2\165\1\160\1\105\1\145\1\170\1\156\1\117\1\165\1\162\1\145\1\162\1\104\1\111\1\125\1\117\1\125\1\156\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\165\1\162\1\141\1\171\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\172\16\uffff\2\172\23\uffff\1\101\1\143\1\163\1\164\1\172\1\164\1\156\1\162\1\163\3\172\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\172\1\144\1\154\1\156\1\145\7\172\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\172\1\163\2\172\1\165\1\162\1\171\1\162\1\172\1\157\1\105\1\145\1\uffff\4\172\7\uffff\1\105\1\151\1\172\1\141\1\151\1\172\1\156\1\172\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\172\1\uffff\1\167\1\121\1\172\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\172\2\uffff\1\156\1\172\1\uffff\1\172\1\156\1\164\1\163\1\172\3\145\3\172\1\uffff\1\172\1\uffff\1\105\1\uffff\1\141\2\172\1\uffff\3\172\4\uffff\1\121\1\154\5\uffff\2\172\2\uffff";
+ static final String DFA12_acceptS =
+ "\37\uffff\1\66\1\67\1\70\1\71\1\72\1\uffff\1\77\1\103\1\104\1\uffff\1\106\1\107\1\110\2\uffff\1\113\1\114\1\115\1\117\1\120\1\uffff\1\114\41\uffff\1\52\1\65\1\53\1\73\1\54\1\74\1\55\1\76\1\56\1\100\1\57\1\101\1\60\1\102\2\uffff\1\66\1\67\1\70\1\71\1\72\1\113\1\116\1\75\1\77\1\103\1\104\1\105\1\106\1\107\1\110\1\111\1\112\1\115\1\117\44\uffff\1\64\1\63\1\61\1\62\4\uffff\1\43\5\uffff\1\46\1\47\1\uffff\1\50\14\uffff\1\51\4\uffff\1\36\1\37\1\40\1\41\1\42\1\44\1\45\12\uffff\1\30\1\uffff\1\31\1\uffff\1\26\5\uffff\1\27\3\uffff\1\32\1\33\1\34\1\35\2\uffff\1\24\2\uffff\1\21\1\uffff\1\20\7\uffff\1\22\1\23\2\uffff\1\25\13\uffff\1\17\1\uffff\1\16\1\uffff\1\10\3\uffff\1\12\3\uffff\1\11\1\13\1\14\1\15\2\uffff\1\3\1\4\1\5\1\6\1\7\2\uffff\1\1\1\2";
+ static final String DFA12_specialS =
+ "\1\1\53\uffff\1\0\1\2\u00ef\uffff}>";
+ static final String[] DFA12_transitionS = {
+ "\11\62\2\61\2\62\1\61\22\62\1\61\1\26\1\54\2\62\1\56\1\62\1\55\1\37\1\40\1\41\1\42\1\43\1\27\1\30\1\44\12\60\1\31\1\45\1\32\1\33\1\34\2\62\1\20\2\57\1\21\1\35\1\57\1\1\1\57\1\36\2\57\1\7\1\22\1\13\1\57\1\23\2\57\1\24\7\57\1\46\1\62\1\47\1\50\1\57\1\62\1\3\1\57\1\4\1\10\1\11\1\2\2\57\1\25\3\57\1\5\1\57\1\6\1\15\1\57\1\16\1\14\1\17\1\12\5\57\1\51\1\52\1\53\uff82\62",
+ "\1\63",
+ "\1\66\23\uffff\1\65",
+ "\1\67\23\uffff\1\70",
+ "\1\73\2\uffff\1\71\5\uffff\1\72",
+ "\1\74\7\uffff\1\75\13\uffff\1\76",
+ "\1\100\1\uffff\1\77",
+ "\1\101",
+ "\1\102",
+ "\1\106\1\104\4\uffff\1\105\5\uffff\1\103",
+ "\1\107",
+ "\1\110",
+ "\1\111\21\uffff\1\112",
+ "\1\113",
+ "\1\114",
+ "\1\115\11\uffff\1\116",
+ "\1\117",
+ "\1\120",
+ "\1\121",
+ "\1\122",
+ "\1\123",
+ "\1\125\7\uffff\1\124",
+ "\1\126",
+ "\1\130",
+ "\1\132",
+ "\1\134",
+ "\1\136",
+ "\1\140",
+ "\1\142",
+ "\1\144",
+ "\1\145",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\154\4\uffff\1\153",
+ "",
+ "",
+ "",
+ "\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "\0\165",
+ "\0\166",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\171",
+ "",
+ "\1\172",
+ "\1\173",
+ "\1\174",
+ "\1\175",
+ "\1\176\6\uffff\1\177",
+ "\1\u0080",
+ "\1\u0081",
+ "\1\u0082\1\u0083",
+ "\1\u0084",
+ "\1\u0085",
+ "\1\u0086",
+ "\1\u0087",
+ "\1\u0088",
+ "\1\u0089",
+ "\1\u008a",
+ "\1\u008b",
+ "\1\u008c",
+ "\1\u008d",
+ "\1\u008e",
+ "\1\u008f",
+ "\1\u0090",
+ "\1\u0091",
+ "\1\u0092",
+ "\1\u0093",
+ "\1\u0094",
+ "\1\u0095",
+ "\1\u0096",
+ "\1\u0097",
+ "\1\u0098",
+ "\1\u0099",
+ "\1\u009a",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\5\64\1\u009b\15\64\1\u009c\6\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00a1",
+ "\1\u00a2",
+ "\1\u00a3",
+ "\1\u00a4",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00a6",
+ "\1\u00a7",
+ "\1\u00a8",
+ "\1\u00a9",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00aa\21\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00ad\21\64",
+ "\1\u00af",
+ "\1\u00b0",
+ "\1\u00b1",
+ "\1\u00b2",
+ "\1\u00b3",
+ "\1\u00b4",
+ "\1\u00b5",
+ "\1\u00b6",
+ "\1\u00b7",
+ "\1\u00b8",
+ "\1\u00b9",
+ "\1\u00ba",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00bc",
+ "\1\u00bd",
+ "\1\u00be",
+ "\1\u00bf",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00c7",
+ "\1\u00c8",
+ "\1\u00c9",
+ "\1\u00ca",
+ "",
+ "\1\u00cb",
+ "\1\u00cc",
+ "\1\u00cd",
+ "\1\u00ce",
+ "\1\u00cf",
+ "",
+ "",
+ "\1\u00d0",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00d2",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\u00d4\1\uffff\32\64",
+ "\1\u00d6",
+ "\1\u00d7\3\uffff\1\u00d8",
+ "\1\u00d9",
+ "\1\u00da",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00dc",
+ "\1\u00dd",
+ "\1\u00de",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00e3",
+ "\1\u00e4",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00e6",
+ "\1\u00e7",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00e9",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u00eb",
+ "\1\u00ec",
+ "",
+ "\1\u00ed",
+ "",
+ "\1\u00ee",
+ "",
+ "\1\u00ef",
+ "\1\u00f0",
+ "\1\u00f1",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\1\u00f4",
+ "\1\u00f5",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "\1\u00f7",
+ "\1\u00f8",
+ "",
+ "\1\u00f9",
+ "\1\u00fa",
+ "",
+ "\1\u00fb",
+ "",
+ "\1\u00fc",
+ "\1\u00fd",
+ "\1\u00fe",
+ "\1\u00ff",
+ "\1\u0100",
+ "\1\u0101",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "\1\u0103",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\u0105\1\uffff\32\64",
+ "\1\u0107",
+ "\1\u0108",
+ "\1\u0109",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\1\u010b",
+ "\1\u010c",
+ "\1\u010d",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\1\u0112",
+ "",
+ "\1\u0113",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ "",
+ "",
+ "",
+ "\1\u0119",
+ "\1\u011a",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64",
+ "",
+ ""
+ };
+
+ static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
+ static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
+ static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
+ static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
+ static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
+ static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
+ static final short[][] DFA12_transition;
+
+ static {
+ int numStates = DFA12_transitionS.length;
+ DFA12_transition = new short[numStates][];
+ for (int i=0; i='\u0000' && LA12_44<='\uFFFF')) ) {s = 117;}
+
+ else s = 50;
+
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA12_0 = input.LA(1);
+
+ s = -1;
+ if ( (LA12_0=='G') ) {s = 1;}
+
+ else if ( (LA12_0=='f') ) {s = 2;}
+
+ else if ( (LA12_0=='a') ) {s = 3;}
+
+ else if ( (LA12_0=='c') ) {s = 4;}
+
+ else if ( (LA12_0=='m') ) {s = 5;}
+
+ else if ( (LA12_0=='o') ) {s = 6;}
+
+ else if ( (LA12_0=='L') ) {s = 7;}
+
+ else if ( (LA12_0=='d') ) {s = 8;}
+
+ else if ( (LA12_0=='e') ) {s = 9;}
+
+ else if ( (LA12_0=='u') ) {s = 10;}
+
+ else if ( (LA12_0=='N') ) {s = 11;}
+
+ else if ( (LA12_0=='s') ) {s = 12;}
+
+ else if ( (LA12_0=='p') ) {s = 13;}
+
+ else if ( (LA12_0=='r') ) {s = 14;}
+
+ else if ( (LA12_0=='t') ) {s = 15;}
+
+ else if ( (LA12_0=='A') ) {s = 16;}
+
+ else if ( (LA12_0=='D') ) {s = 17;}
+
+ else if ( (LA12_0=='M') ) {s = 18;}
+
+ else if ( (LA12_0=='P') ) {s = 19;}
+
+ else if ( (LA12_0=='S') ) {s = 20;}
+
+ else if ( (LA12_0=='i') ) {s = 21;}
+
+ else if ( (LA12_0=='!') ) {s = 22;}
+
+ else if ( (LA12_0=='-') ) {s = 23;}
+
+ else if ( (LA12_0=='.') ) {s = 24;}
+
+ else if ( (LA12_0==':') ) {s = 25;}
+
+ else if ( (LA12_0=='<') ) {s = 26;}
+
+ else if ( (LA12_0=='=') ) {s = 27;}
+
+ else if ( (LA12_0=='>') ) {s = 28;}
+
+ else if ( (LA12_0=='E') ) {s = 29;}
+
+ else if ( (LA12_0=='I') ) {s = 30;}
+
+ else if ( (LA12_0=='(') ) {s = 31;}
+
+ else if ( (LA12_0==')') ) {s = 32;}
+
+ else if ( (LA12_0=='*') ) {s = 33;}
+
+ else if ( (LA12_0=='+') ) {s = 34;}
+
+ else if ( (LA12_0==',') ) {s = 35;}
+
+ else if ( (LA12_0=='/') ) {s = 36;}
+
+ else if ( (LA12_0==';') ) {s = 37;}
+
+ else if ( (LA12_0=='[') ) {s = 38;}
+
+ else if ( (LA12_0==']') ) {s = 39;}
+
+ else if ( (LA12_0=='^') ) {s = 40;}
+
+ else if ( (LA12_0=='{') ) {s = 41;}
+
+ else if ( (LA12_0=='|') ) {s = 42;}
+
+ else if ( (LA12_0=='}') ) {s = 43;}
+
+ else if ( (LA12_0=='\"') ) {s = 44;}
+
+ else if ( (LA12_0=='\'') ) {s = 45;}
+
+ else if ( (LA12_0=='%') ) {s = 46;}
+
+ else if ( ((LA12_0>='B' && LA12_0<='C')||LA12_0=='F'||LA12_0=='H'||(LA12_0>='J' && LA12_0<='K')||LA12_0=='O'||(LA12_0>='Q' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='n'||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 47;}
+
+ else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 48;}
+
+ else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 49;}
+
+ else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='$')||LA12_0=='&'||(LA12_0>='?' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 50;}
+
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA12_45 = input.LA(1);
+
+ s = -1;
+ if ( ((LA12_45>='\u0000' && LA12_45<='\uFFFF')) ) {s = 118;}
+
+ else s = 50;
+
+ if ( s>=0 ) return s;
+ break;
+ }
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 12, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens
new file mode 100644
index 00000000..133cc9d6
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens
@@ -0,0 +1,83 @@
+ADD=33
+Abstract=6
+Asterisk=59
+Avg=38
+CircumflexAccent=72
+Class=19
+Colon=65
+ColonHyphenMinus=48
+Comma=61
+Contains=7
+Count=20
+Current=13
+DIV=34
+Default=14
+EQ=52
+Else=26
+Empty=21
+EqualsSign=68
+EqualsSignEqualsSign=50
+Error=22
+ExclamationMark=56
+ExclamationMarkEqualsSign=45
+Extends=15
+Extern=18
+False=23
+FullStop=63
+FullStopFullStop=47
+Functional=5
+GREATER=11
+GREATER_EQ=4
+GreaterThanSign=69
+GreaterThanSignEqualsSign=51
+HyphenMinus=62
+HyphenMinusGreaterThanSign=46
+IN=53
+If=54
+In=55
+Inf=39
+Int=40
+LESS=25
+LESS_EQ=12
+LeftCurlyBracket=73
+LeftParenthesis=57
+LeftSquareBracket=70
+LessThanSign=67
+LessThanSignEqualsSign=49
+MUL=35
+Max=41
+Maximize=8
+May=42
+Min=43
+Minimize=9
+Must=27
+NOT_EQ=17
+Only=28
+Opposite=10
+POW=36
+PlusSign=60
+Prod=29
+RULE_ANY_OTHER=86
+RULE_FULL_STOP=81
+RULE_ID=82
+RULE_INT=83
+RULE_ML_COMMENT=84
+RULE_QUOTED_ID=77
+RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80
+RULE_SL_COMMENT=78
+RULE_STRING=76
+RULE_TRANSITIVE_CLOSURE=79
+RULE_WS=85
+Real=30
+RightCurlyBracket=75
+RightParenthesis=58
+RightSquareBracket=71
+SUB=37
+Scope=24
+Semicolon=66
+Solidus=64
+Sum=44
+Then=31
+True=32
+Unknown=16
+VerticalLine=74
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java
index fc204c16..5cb73796 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java
@@ -16,6 +16,7 @@ import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity;
import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition;
import org.eclipse.viatra.solver.language.solverLanguage.Call;
import org.eclipse.viatra.solver.language.solverLanguage.Case;
+import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition;
import org.eclipse.viatra.solver.language.solverLanguage.Comparison;
import org.eclipse.viatra.solver.language.solverLanguage.Conjunction;
import org.eclipse.viatra.solver.language.solverLanguage.Count;
@@ -43,7 +44,6 @@ import org.eclipse.viatra.solver.language.solverLanguage.Problem;
import org.eclipse.viatra.solver.language.solverLanguage.Reference;
import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage;
import org.eclipse.viatra.solver.language.solverLanguage.StarArgument;
-import org.eclipse.viatra.solver.language.solverLanguage.Statement;
import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral;
import org.eclipse.viatra.solver.language.solverLanguage.Switch;
import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument;
@@ -91,34 +91,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
sequence_BoundedScopeDefinition(context, (BoundedScopeDefinition) semanticObject);
return;
case SolverLanguagePackage.CALL:
- if (action == grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()
- || action == grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()
- || action == grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()
- || rule == grammarAccess.getExpressionRule()
- || rule == grammarAccess.getDisjunctiveExpressionRule()
- || action == grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()
- || action == grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()
- || rule == grammarAccess.getConjunctiveExpressionRule()
- || action == grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()
- || rule == grammarAccess.getComparisonExpressionRule()
- || action == grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()
- || rule == grammarAccess.getAdditiveExpressionRule()
- || action == grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()
- || rule == grammarAccess.getMultiplicativeExpressionRule()
- || action == grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()
- || rule == grammarAccess.getExponentialExpressionRule()
- || action == grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()
- || rule == grammarAccess.getUnaryExpressionRule()
- || rule == grammarAccess.getAggregationExpressionRule()
- || rule == grammarAccess.getAtomicExpressionRule()) {
- sequence_AtomicExpression(context, (Call) semanticObject);
- return;
- }
- else if (rule == grammarAccess.getCallRule()) {
- sequence_Call(context, (Call) semanticObject);
- return;
- }
- else break;
+ sequence_Call(context, (Call) semanticObject);
+ return;
case SolverLanguagePackage.CASE:
if (rule == grammarAccess.getCaseRule()) {
sequence_Case(context, (Case) semanticObject);
@@ -129,6 +103,9 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
return;
}
else break;
+ case SolverLanguagePackage.CLASS_DEFINITION:
+ sequence_ClassDefinition(context, (ClassDefinition) semanticObject);
+ return;
case SolverLanguagePackage.COMPARISON:
sequence_ComparisonExpression(context, (Comparison) semanticObject);
return;
@@ -229,9 +206,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
case SolverLanguagePackage.STAR_ARGUMENT:
sequence_StarArgument(context, (StarArgument) semanticObject);
return;
- case SolverLanguagePackage.STATEMENT:
- sequence_ClassDefinition(context, (Statement) semanticObject);
- return;
case SolverLanguagePackage.STRING_LITERAL:
sequence_StringLiteral(context, (StringLiteral) semanticObject);
return;
@@ -428,46 +402,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
}
- /**
- * Contexts:
- * AssertionOrDefinition.Assertion_1_0_0 returns Call
- * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Call
- * AssertionOrDefinition.MetricDefinition_1_2_0 returns Call
- * Expression returns Call
- * DisjunctiveExpression returns Call
- * DisjunctiveExpression.Disjunction_1_0_0 returns Call
- * DisjunctiveExpression.Case_1_1_0 returns Call
- * ConjunctiveExpression returns Call
- * ConjunctiveExpression.Conjunction_1_0 returns Call
- * ComparisonExpression returns Call
- * ComparisonExpression.Comparison_1_0 returns Call
- * AdditiveExpression returns Call
- * AdditiveExpression.BinaryExpression_1_0 returns Call
- * MultiplicativeExpression returns Call
- * MultiplicativeExpression.BinaryExpression_1_0 returns Call
- * ExponentialExpression returns Call
- * ExponentialExpression.BinaryExpression_1_0 returns Call
- * UnaryExpression returns Call
- * AggregationExpression returns Call
- * AtomicExpression returns Call
- *
- * Constraint:
- * (functor=AtomicExpression_Call_0_1_0 argumentList=ArgumentList)
- */
- protected void sequence_AtomicExpression(ISerializationContext context, Call semanticObject) {
- if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CALL__FUNCTOR) == ValueTransient.YES)
- errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CALL__FUNCTOR));
- if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CALL__ARGUMENT_LIST) == ValueTransient.YES)
- errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CALL__ARGUMENT_LIST));
- }
- SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
- feeder.accept(grammarAccess.getAtomicExpressionAccess().getCallFunctorAction_0_1_0(), semanticObject.getFunctor());
- feeder.accept(grammarAccess.getAtomicExpressionAccess().getArgumentListArgumentListParserRuleCall_0_1_1_0(), semanticObject.getArgumentList());
- feeder.finish();
- }
-
-
/**
* Contexts:
* Multiplicity returns BoundedMultiplicity
@@ -506,10 +440,34 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
/**
* Contexts:
+ * AssertionOrDefinition.Assertion_1_0_0 returns Call
+ * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Call
+ * AssertionOrDefinition.MetricDefinition_1_2_0 returns Call
+ * Expression returns Call
+ * DisjunctiveExpression returns Call
+ * DisjunctiveExpression.Disjunction_1_0_0 returns Call
+ * DisjunctiveExpression.Case_1_1_0 returns Call
+ * ConjunctiveExpression returns Call
+ * ConjunctiveExpression.Conjunction_1_0 returns Call
+ * ComparisonExpression returns Call
+ * ComparisonExpression.Comparison_1_0 returns Call
+ * AdditiveExpression returns Call
+ * AdditiveExpression.BinaryExpression_1_0 returns Call
+ * MultiplicativeExpression returns Call
+ * MultiplicativeExpression.BinaryExpression_1_0 returns Call
+ * ExponentialExpression returns Call
+ * ExponentialExpression.BinaryExpression_1_0 returns Call
+ * UnaryExpression returns Call
+ * AggregationExpression returns Call
+ * AtomicExpression returns Call
* Call returns Call
*
* Constraint:
- * (functor=Reference (transitiveClosure?=STAR | reflexiveTransitiveClosure?=PLUS)? argumentList=ArgumentList)
+ * (
+ * functor=Reference
+ * (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?
+ * argumentList=ArgumentList
+ * )
*/
protected void sequence_Call(ISerializationContext context, Call semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -539,8 +497,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
/**
* Contexts:
- * Statement returns Statement
- * ClassDefinition returns Statement
+ * Statement returns ClassDefinition
+ * ClassDefinition returns ClassDefinition
*
* Constraint:
* (
@@ -550,7 +508,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* members+=MemberDefinition*
* )
*/
- protected void sequence_ClassDefinition(ISerializationContext context, Statement semanticObject) {
+ protected void sequence_ClassDefinition(ISerializationContext context, ClassDefinition semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
@@ -1252,7 +1210,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS
* UnaryExpression returns Reference
* AggregationExpression returns Reference
* AtomicExpression returns Reference
- * AtomicExpression.Call_0_1_0 returns Reference
* Reference returns Reference
*
* Constraint:
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java
index 861f2125..1fa1a820 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java
@@ -20,58 +20,46 @@ import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer {
protected SolverLanguageGrammarAccess grammarAccess;
- protected AbstractElementAlias match_AtomicExpression_LeftParenthesisKeyword_3_0_a;
- protected AbstractElementAlias match_AtomicExpression_LeftParenthesisKeyword_3_0_p;
+ protected AbstractElementAlias match_AtomicExpression_LeftParenthesisKeyword_4_0_a;
+ protected AbstractElementAlias match_AtomicExpression_LeftParenthesisKeyword_4_0_p;
protected AbstractElementAlias match_MemberDefinition_SemicolonKeyword_5_q;
@Inject
protected void init(IGrammarAccess access) {
grammarAccess = (SolverLanguageGrammarAccess) access;
- match_AtomicExpression_LeftParenthesisKeyword_3_0_a = new TokenAlias(true, true, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0());
- match_AtomicExpression_LeftParenthesisKeyword_3_0_p = new TokenAlias(true, false, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_3_0());
+ match_AtomicExpression_LeftParenthesisKeyword_4_0_a = new TokenAlias(true, true, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0());
+ match_AtomicExpression_LeftParenthesisKeyword_4_0_p = new TokenAlias(true, false, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0());
match_MemberDefinition_SemicolonKeyword_5_q = new TokenAlias(false, true, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5());
}
@Override
protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) {
- if (ruleCall.getRule() == grammarAccess.getDOTRule())
- return getDOTToken(semanticObject, ruleCall, node);
- else if (ruleCall.getRule() == grammarAccess.getPLUSRule())
- return getPLUSToken(semanticObject, ruleCall, node);
- else if (ruleCall.getRule() == grammarAccess.getSTARRule())
- return getSTARToken(semanticObject, ruleCall, node);
+ if (ruleCall.getRule() == grammarAccess.getFULL_STOPRule())
+ return getFULL_STOPToken(semanticObject, ruleCall, node);
+ else if (ruleCall.getRule() == grammarAccess.getREFLEXIVE_TRANSITIVE_CLOSURERule())
+ return getREFLEXIVE_TRANSITIVE_CLOSUREToken(semanticObject, ruleCall, node);
+ else if (ruleCall.getRule() == grammarAccess.getTRANSITIVE_CLOSURERule())
+ return getTRANSITIVE_CLOSUREToken(semanticObject, ruleCall, node);
return "";
}
/**
- * terminal DOT:
- * "synthetic::dot";
+ * Synthetic terminal rule. The concrete syntax is to be specified by clients.
+ * Defaults to the empty string.
*/
- protected String getDOTToken(EObject semanticObject, RuleCall ruleCall, INode node) {
- if (node != null)
- return getTokenText(node);
- return "synthetic::dot";
- }
+ protected String getFULL_STOPToken(EObject semanticObject, RuleCall ruleCall, INode node) { return ""; }
/**
- * terminal PLUS:
- * "synthetic::plus";
+ * Synthetic terminal rule. The concrete syntax is to be specified by clients.
+ * Defaults to the empty string.
*/
- protected String getPLUSToken(EObject semanticObject, RuleCall ruleCall, INode node) {
- if (node != null)
- return getTokenText(node);
- return "synthetic::plus";
- }
+ protected String getREFLEXIVE_TRANSITIVE_CLOSUREToken(EObject semanticObject, RuleCall ruleCall, INode node) { return ""; }
/**
- * terminal STAR:
- * "synthetic::star";
+ * Synthetic terminal rule. The concrete syntax is to be specified by clients.
+ * Defaults to the empty string.
*/
- protected String getSTARToken(EObject semanticObject, RuleCall ruleCall, INode node) {
- if (node != null)
- return getTokenText(node);
- return "synthetic::star";
- }
+ protected String getTRANSITIVE_CLOSUREToken(EObject semanticObject, RuleCall ruleCall, INode node) { return ""; }
@Override
protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
@@ -79,10 +67,10 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer
List transitionNodes = collectNodes(fromNode, toNode);
for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
List syntaxNodes = getNodesFor(transitionNodes, syntax);
- if (match_AtomicExpression_LeftParenthesisKeyword_3_0_a.equals(syntax))
- emit_AtomicExpression_LeftParenthesisKeyword_3_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
- else if (match_AtomicExpression_LeftParenthesisKeyword_3_0_p.equals(syntax))
- emit_AtomicExpression_LeftParenthesisKeyword_3_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
+ if (match_AtomicExpression_LeftParenthesisKeyword_4_0_a.equals(syntax))
+ emit_AtomicExpression_LeftParenthesisKeyword_4_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if (match_AtomicExpression_LeftParenthesisKeyword_4_0_p.equals(syntax))
+ emit_AtomicExpression_LeftParenthesisKeyword_4_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
else if (match_MemberDefinition_SemicolonKeyword_5_q.equals(syntax))
emit_MemberDefinition_SemicolonKeyword_5_q(semanticObject, getLastNavigableState(), syntaxNodes);
else acceptNodes(getLastNavigableState(), syntaxNodes);
@@ -99,6 +87,7 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer
* (rule start) (ambiguity) 'empty' (rule start)
* (rule start) (ambiguity) 'if' condition=Expression
* (rule start) (ambiguity) 'inf' (rule start)
+ * (rule start) (ambiguity) functor=Reference
* (rule start) (ambiguity) op=AggregationOp
* (rule start) (ambiguity) op=UnaryOp
* (rule start) (ambiguity) referred=[NamedElement|QualifiedName]
@@ -106,13 +95,12 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer
* (rule start) (ambiguity) value=Real
* (rule start) (ambiguity) value=STRING
* (rule start) (ambiguity) {BinaryExpression.left=}
- * (rule start) (ambiguity) {Call.functor=}
* (rule start) (ambiguity) {Comparison.left=}
* (rule start) (ambiguity) {Conjunction.children+=}
* (rule start) (ambiguity) {Disjunction.children+=}
* (rule start) (ambiguity) {Switch.cases+=}
*/
- protected void emit_AtomicExpression_LeftParenthesisKeyword_3_0_a(EObject semanticObject, ISynNavigable transition, List nodes) {
+ protected void emit_AtomicExpression_LeftParenthesisKeyword_4_0_a(EObject semanticObject, ISynNavigable transition, List nodes) {
acceptNodes(transition, nodes);
}
@@ -131,7 +119,7 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer
* (rule start) (ambiguity) {Disjunction.children+=}
* (rule start) (ambiguity) {Switch.cases+=}
*/
- protected void emit_AtomicExpression_LeftParenthesisKeyword_3_0_p(EObject semanticObject, ISynNavigable transition, List nodes) {
+ protected void emit_AtomicExpression_LeftParenthesisKeyword_4_0_p(EObject semanticObject, ISynNavigable transition, List nodes) {
acceptNodes(transition, nodes);
}
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java
index 7064938f..0252938a 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java
@@ -56,17 +56,17 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cClassDefinitionParserRuleCall_0_7 = (RuleCall)cAlternatives_0.eContents().get(7);
private final RuleCall cScopeDefinitionParserRuleCall_0_8 = (RuleCall)cAlternatives_0.eContents().get(8);
private final RuleCall cObjectiveDefinitionParserRuleCall_0_9 = (RuleCall)cAlternatives_0.eContents().get(9);
- private final RuleCall cDOTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
+ private final RuleCall cFULL_STOPTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
//Statement:
// (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition |
// ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition |
- // ObjectiveDefinition) DOT;
+ // ObjectiveDefinition) FULL_STOP;
@Override public ParserRule getRule() { return rule; }
//(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition |
//ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition |
- //ObjectiveDefinition) DOT
+ //ObjectiveDefinition) FULL_STOP
public Group getGroup() { return cGroup; }
//(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition |
@@ -104,8 +104,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//ObjectiveDefinition
public RuleCall getObjectiveDefinitionParserRuleCall_0_9() { return cObjectiveDefinitionParserRuleCall_0_9; }
- //DOT
- public RuleCall getDOTTerminalRuleCall_1() { return cDOTTerminalRuleCall_1; }
+ //FULL_STOP
+ public RuleCall getFULL_STOPTerminalRuleCall_1() { return cFULL_STOPTerminalRuleCall_1; }
}
public class AssertionOrDefinitionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AssertionOrDefinition");
@@ -344,13 +344,12 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cHeadAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cHeadCallParserRuleCall_1_0 = (RuleCall)cHeadAssignment_1.eContents().get(0);
- private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
//ExternPredicateDefinition:
- // "extern" head=Call ".";
+ // "extern" head=Call;
@Override public ParserRule getRule() { return rule; }
- //"extern" head=Call "."
+ //"extern" head=Call
public Group getGroup() { return cGroup; }
//"extern"
@@ -361,9 +360,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//Call
public RuleCall getHeadCallParserRuleCall_1_0() { return cHeadCallParserRuleCall_1_0; }
-
- //"."
- public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
}
public class MetricDefinitionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.MetricDefinition");
@@ -956,61 +952,45 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
public class AtomicExpressionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AtomicExpression");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
- private final RuleCall cReferenceParserRuleCall_0_0 = (RuleCall)cGroup_0.eContents().get(0);
- private final Group cGroup_0_1 = (Group)cGroup_0.eContents().get(1);
- private final Action cCallFunctorAction_0_1_0 = (Action)cGroup_0_1.eContents().get(0);
- private final Assignment cArgumentListAssignment_0_1_1 = (Assignment)cGroup_0_1.eContents().get(1);
- private final RuleCall cArgumentListArgumentListParserRuleCall_0_1_1_0 = (RuleCall)cArgumentListAssignment_0_1_1.eContents().get(0);
- private final RuleCall cIntervalParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
- private final RuleCall cLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
- private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3);
- private final Keyword cLeftParenthesisKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
- private final RuleCall cExpressionParserRuleCall_3_1 = (RuleCall)cGroup_3.eContents().get(1);
- private final Keyword cRightParenthesisKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
+ private final RuleCall cReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cCallParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cIntervalParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+ private final RuleCall cLiteralParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
+ private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4);
+ private final Keyword cLeftParenthesisKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0);
+ private final RuleCall cExpressionParserRuleCall_4_1 = (RuleCall)cGroup_4.eContents().get(1);
+ private final Keyword cRightParenthesisKeyword_4_2 = (Keyword)cGroup_4.eContents().get(2);
//AtomicExpression Expression:
- // Reference ({Call.functor=current} -> argumentList=ArgumentList)? | Interval | Literal | "(" Expression ")";
+ // Reference | Call | Interval | Literal | "(" Expression ")";
@Override public ParserRule getRule() { return rule; }
- //Reference ({Call.functor=current} -> argumentList=ArgumentList)? | Interval | Literal | "(" Expression ")"
+ //Reference | Call | Interval | Literal | "(" Expression ")"
public Alternatives getAlternatives() { return cAlternatives; }
- //Reference ({Call.functor=current} -> argumentList=ArgumentList)?
- public Group getGroup_0() { return cGroup_0; }
-
//Reference
- public RuleCall getReferenceParserRuleCall_0_0() { return cReferenceParserRuleCall_0_0; }
-
- //({Call.functor=current} -> argumentList=ArgumentList)?
- public Group getGroup_0_1() { return cGroup_0_1; }
+ public RuleCall getReferenceParserRuleCall_0() { return cReferenceParserRuleCall_0; }
- //{Call.functor=current}
- public Action getCallFunctorAction_0_1_0() { return cCallFunctorAction_0_1_0; }
-
- //-> argumentList=ArgumentList
- public Assignment getArgumentListAssignment_0_1_1() { return cArgumentListAssignment_0_1_1; }
-
- //ArgumentList
- public RuleCall getArgumentListArgumentListParserRuleCall_0_1_1_0() { return cArgumentListArgumentListParserRuleCall_0_1_1_0; }
+ //Call
+ public RuleCall getCallParserRuleCall_1() { return cCallParserRuleCall_1; }
//Interval
- public RuleCall getIntervalParserRuleCall_1() { return cIntervalParserRuleCall_1; }
+ public RuleCall getIntervalParserRuleCall_2() { return cIntervalParserRuleCall_2; }
//Literal
- public RuleCall getLiteralParserRuleCall_2() { return cLiteralParserRuleCall_2; }
+ public RuleCall getLiteralParserRuleCall_3() { return cLiteralParserRuleCall_3; }
//"(" Expression ")"
- public Group getGroup_3() { return cGroup_3; }
+ public Group getGroup_4() { return cGroup_4; }
//"("
- public Keyword getLeftParenthesisKeyword_3_0() { return cLeftParenthesisKeyword_3_0; }
+ public Keyword getLeftParenthesisKeyword_4_0() { return cLeftParenthesisKeyword_4_0; }
//Expression
- public RuleCall getExpressionParserRuleCall_3_1() { return cExpressionParserRuleCall_3_1; }
+ public RuleCall getExpressionParserRuleCall_4_1() { return cExpressionParserRuleCall_4_1; }
//")"
- public Keyword getRightParenthesisKeyword_3_2() { return cRightParenthesisKeyword_3_2; }
+ public Keyword getRightParenthesisKeyword_4_2() { return cRightParenthesisKeyword_4_2; }
}
public class CallElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Call");
@@ -1019,17 +999,19 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cFunctorReferenceParserRuleCall_0_0 = (RuleCall)cFunctorAssignment_0.eContents().get(0);
private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
private final Assignment cTransitiveClosureAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0);
- private final RuleCall cTransitiveClosureSTARTerminalRuleCall_1_0_0 = (RuleCall)cTransitiveClosureAssignment_1_0.eContents().get(0);
+ private final RuleCall cTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0 = (RuleCall)cTransitiveClosureAssignment_1_0.eContents().get(0);
private final Assignment cReflexiveTransitiveClosureAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1);
- private final RuleCall cReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0 = (RuleCall)cReflexiveTransitiveClosureAssignment_1_1.eContents().get(0);
+ private final RuleCall cReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0 = (RuleCall)cReflexiveTransitiveClosureAssignment_1_1.eContents().get(0);
private final Assignment cArgumentListAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cArgumentListArgumentListParserRuleCall_2_0 = (RuleCall)cArgumentListAssignment_2.eContents().get(0);
//Call:
- // functor=Reference (transitiveClosure?=STAR | reflexiveTransitiveClosure?=PLUS)? argumentList=ArgumentList;
+ // functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?
+ // argumentList=ArgumentList;
@Override public ParserRule getRule() { return rule; }
- //functor=Reference (transitiveClosure?=STAR | reflexiveTransitiveClosure?=PLUS)? argumentList=ArgumentList
+ //functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?
+ //argumentList=ArgumentList
public Group getGroup() { return cGroup; }
//functor=Reference
@@ -1038,20 +1020,20 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//Reference
public RuleCall getFunctorReferenceParserRuleCall_0_0() { return cFunctorReferenceParserRuleCall_0_0; }
- //(transitiveClosure?=STAR | reflexiveTransitiveClosure?=PLUS)?
+ //(transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?
public Alternatives getAlternatives_1() { return cAlternatives_1; }
- //transitiveClosure?=STAR
+ //transitiveClosure?=TRANSITIVE_CLOSURE
public Assignment getTransitiveClosureAssignment_1_0() { return cTransitiveClosureAssignment_1_0; }
- //STAR
- public RuleCall getTransitiveClosureSTARTerminalRuleCall_1_0_0() { return cTransitiveClosureSTARTerminalRuleCall_1_0_0; }
+ //TRANSITIVE_CLOSURE
+ public RuleCall getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0() { return cTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0; }
- //reflexiveTransitiveClosure?=PLUS
+ //reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE
public Assignment getReflexiveTransitiveClosureAssignment_1_1() { return cReflexiveTransitiveClosureAssignment_1_1; }
- //PLUS
- public RuleCall getReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0() { return cReflexiveTransitiveClosurePLUSTerminalRuleCall_1_1_0; }
+ //REFLEXIVE_TRANSITIVE_CLOSURE
+ public RuleCall getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0() { return cReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0; }
//argumentList=ArgumentList
public Assignment getArgumentListAssignment_2() { return cArgumentListAssignment_2; }
@@ -1428,7 +1410,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cMembersMemberDefinitionParserRuleCall_5_0 = (RuleCall)cMembersAssignment_5.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
- //ClassDefinition Statement:
+ //ClassDefinition:
// abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] (","
// superclasses+=[NamedElement|QualifiedName])*)?
// "{" members+=MemberDefinition* "}";
@@ -1769,15 +1751,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cGreaterThanSignEqualsSignKeyword_1_1_3_0 = (Keyword)cGroup_1_1_3.eContents().get(0);
private final Assignment cLowerBoundAssignment_1_1_3_1 = (Assignment)cGroup_1_1_3.eContents().get(1);
private final RuleCall cLowerBoundINTTerminalRuleCall_1_1_3_1_0 = (RuleCall)cLowerBoundAssignment_1_1_3_1.eContents().get(0);
- private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
//BoundedScopeDefinition:
// "scope" ((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">="
- // type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?) ".";
+ // type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?);
@Override public ParserRule getRule() { return rule; }
//"scope" ((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">="
- //type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?) "."
+ //type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?)
public Group getGroup() { return cGroup; }
//"scope"
@@ -1852,9 +1833,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//INT
public RuleCall getLowerBoundINTTerminalRuleCall_1_1_3_1_0() { return cLowerBoundINTTerminalRuleCall_1_1_3_1_0; }
-
- //"."
- public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
}
public class LowerBoundedScopeDefinitionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LowerBoundedScopeDefinition");
@@ -1875,15 +1853,13 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cGreaterThanSignEqualsSignKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1);
private final Assignment cLowerBoundAssignment_1_1_2 = (Assignment)cGroup_1_1.eContents().get(2);
private final RuleCall cLowerBoundINTTerminalRuleCall_1_1_2_0 = (RuleCall)cLowerBoundAssignment_1_1_2.eContents().get(0);
- private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
//LowerBoundedScopeDefinition:
// "scope" (lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">="
- // lowerBound=INT) ".";
+ // lowerBound=INT);
@Override public ParserRule getRule() { return rule; }
//"scope" (lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">=" lowerBound=INT)
- //"."
public Group getGroup() { return cGroup; }
//"scope"
@@ -1933,9 +1909,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//INT
public RuleCall getLowerBoundINTTerminalRuleCall_1_1_2_0() { return cLowerBoundINTTerminalRuleCall_1_1_2_0; }
-
- //"."
- public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
}
public class ObjectiveDefinitionElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveDefinition");
@@ -2584,9 +2557,10 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final QualifiedNameElements pQualifiedName;
private final TerminalRule tSTRING;
private final TerminalRule tQUOTED_ID;
- private final TerminalRule tPLUS;
- private final TerminalRule tSTAR;
- private final TerminalRule tDOT;
+ private final TerminalRule tSL_COMMENT;
+ private final TerminalRule tTRANSITIVE_CLOSURE;
+ private final TerminalRule tREFLEXIVE_TRANSITIVE_CLOSURE;
+ private final TerminalRule tFULL_STOP;
private final NamedElementElements pNamedElement;
private final Grammar grammar;
@@ -2662,9 +2636,10 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
this.pQualifiedName = new QualifiedNameElements();
this.tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.STRING");
this.tQUOTED_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QUOTED_ID");
- this.tPLUS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.PLUS");
- this.tSTAR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.STAR");
- this.tDOT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.DOT");
+ this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.SL_COMMENT");
+ this.tTRANSITIVE_CLOSURE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE");
+ this.tREFLEXIVE_TRANSITIVE_CLOSURE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE");
+ this.tFULL_STOP = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.FULL_STOP");
this.pNamedElement = new NamedElementElements();
}
@@ -2708,7 +2683,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//Statement:
// (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition |
// ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition |
- // ObjectiveDefinition) DOT;
+ // ObjectiveDefinition) FULL_STOP;
public StatementElements getStatementAccess() {
return pStatement;
}
@@ -2759,7 +2734,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//ExternPredicateDefinition:
- // "extern" head=Call ".";
+ // "extern" head=Call;
public ExternPredicateDefinitionElements getExternPredicateDefinitionAccess() {
return pExternPredicateDefinition;
}
@@ -3000,7 +2975,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//AtomicExpression Expression:
- // Reference ({Call.functor=current} -> argumentList=ArgumentList)? | Interval | Literal | "(" Expression ")";
+ // Reference | Call | Interval | Literal | "(" Expression ")";
public AtomicExpressionElements getAtomicExpressionAccess() {
return pAtomicExpression;
}
@@ -3010,7 +2985,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
}
//Call:
- // functor=Reference (transitiveClosure?=STAR | reflexiveTransitiveClosure?=PLUS)? argumentList=ArgumentList;
+ // functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?
+ // argumentList=ArgumentList;
public CallElements getCallAccess() {
return pCall;
}
@@ -3169,7 +3145,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
return getStringLiteralAccess().getRule();
}
- //ClassDefinition Statement:
+ //ClassDefinition:
// abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] (","
// superclasses+=[NamedElement|QualifiedName])*)?
// "{" members+=MemberDefinition* "}";
@@ -3254,7 +3230,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//BoundedScopeDefinition:
// "scope" ((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">="
- // type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?) ".";
+ // type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?);
public BoundedScopeDefinitionElements getBoundedScopeDefinitionAccess() {
return pBoundedScopeDefinition;
}
@@ -3265,7 +3241,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
//LowerBoundedScopeDefinition:
// "scope" (lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">="
- // lowerBound=INT) ".";
+ // lowerBound=INT);
public LowerBoundedScopeDefinitionElements getLowerBoundedScopeDefinitionAccess() {
return pLowerBoundedScopeDefinition;
}
@@ -3337,22 +3313,29 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
return tQUOTED_ID;
}
- //terminal PLUS:
- // "synthetic::plus";
- public TerminalRule getPLUSRule() {
- return tPLUS;
+ //@Override
+ //terminal SL_COMMENT:
+ // ('%' | '//') !('\n' | '\r')* ('\r'? '\n')?;
+ public TerminalRule getSL_COMMENTRule() {
+ return tSL_COMMENT;
+ }
+
+ //terminal TRANSITIVE_CLOSURE:
+ // "synthetic:TRANSITIVE_CLOSURE";
+ public TerminalRule getTRANSITIVE_CLOSURERule() {
+ return tTRANSITIVE_CLOSURE;
}
- //terminal STAR:
- // "synthetic::star";
- public TerminalRule getSTARRule() {
- return tSTAR;
+ //terminal REFLEXIVE_TRANSITIVE_CLOSURE:
+ // "synthetic:REFLEXIVE_TRANSITIVE_CLOSURE";
+ public TerminalRule getREFLEXIVE_TRANSITIVE_CLOSURERule() {
+ return tREFLEXIVE_TRANSITIVE_CLOSURE;
}
- //terminal DOT:
- // "synthetic::dot";
- public TerminalRule getDOTRule() {
- return tDOT;
+ //terminal FULL_STOP:
+ // "synthetic:FULL_STOP";
+ public TerminalRule getFULL_STOPRule() {
+ return tFULL_STOP;
}
//NamedElement:
@@ -3383,12 +3366,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder {
return gaTerminals.getML_COMMENTRule();
}
- //terminal SL_COMMENT:
- // '//' !('\n' | '\r')* ('\r'? '\n')?;
- public TerminalRule getSL_COMMENTRule() {
- return gaTerminals.getSL_COMMENTRule();
- }
-
//terminal WS:
// ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java
index 538ac75c..70f7d15e 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java
@@ -14,9 +14,9 @@ package org.eclipse.viatra.solver.language.solverLanguage;
*
*
* - {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}
*
*
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall()
@@ -47,28 +47,6 @@ public interface Call extends Expression
*/
void setFunctor(Reference value);
- /**
- * Returns the value of the 'Argument List' containment reference.
- *
- *
- * @return the value of the 'Argument List' containment reference.
- * @see #setArgumentList(ArgumentList)
- * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList()
- * @model containment="true"
- * @generated
- */
- ArgumentList getArgumentList();
-
- /**
- * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}' containment reference.
- *
- *
- * @param value the new value of the 'Argument List' containment reference.
- * @see #getArgumentList()
- * @generated
- */
- void setArgumentList(ArgumentList value);
-
/**
* Returns the value of the 'Transitive Closure' attribute.
*
@@ -113,4 +91,26 @@ public interface Call extends Expression
*/
void setReflexiveTransitiveClosure(boolean value);
+ /**
+ * Returns the value of the 'Argument List' containment reference.
+ *
+ *
+ * @return the value of the 'Argument List' containment reference.
+ * @see #setArgumentList(ArgumentList)
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList()
+ * @model containment="true"
+ * @generated
+ */
+ ArgumentList getArgumentList();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}' containment reference.
+ *
+ *
+ * @param value the new value of the 'Argument List' containment reference.
+ * @see #getArgumentList()
+ * @generated
+ */
+ void setArgumentList(ArgumentList value);
+
} // Call
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java
new file mode 100644
index 00000000..9db15bfe
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java
@@ -0,0 +1,97 @@
+/**
+ * generated by Xtext 2.21.0
+ */
+package org.eclipse.viatra.solver.language.solverLanguage;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ *
+ * A representation of the model object 'Class Definition'.
+ *
+ *
+ *
+ * The following features are supported:
+ *
+ *
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}
+ *
+ *
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition()
+ * @model
+ * @generated
+ */
+public interface ClassDefinition extends Statement
+{
+ /**
+ * Returns the value of the 'Abstract' attribute.
+ *
+ *
+ * @return the value of the 'Abstract' attribute.
+ * @see #setAbstract(boolean)
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Abstract()
+ * @model
+ * @generated
+ */
+ boolean isAbstract();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}' attribute.
+ *
+ *
+ * @param value the new value of the 'Abstract' attribute.
+ * @see #isAbstract()
+ * @generated
+ */
+ void setAbstract(boolean value);
+
+ /**
+ * Returns the value of the 'Name' attribute.
+ *
+ *
+ * @return the value of the 'Name' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}' attribute.
+ *
+ *
+ * @param value the new value of the 'Name' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the 'Superclasses' reference list.
+ * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}.
+ *
+ *
+ * @return the value of the 'Superclasses' reference list.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Superclasses()
+ * @model
+ * @generated
+ */
+ EList getSuperclasses();
+
+ /**
+ * Returns the value of the 'Members' containment reference list.
+ * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition}.
+ *
+ *
+ * @return the value of the 'Members' containment reference list.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Members()
+ * @model containment="true"
+ * @generated
+ */
+ EList getMembers();
+
+} // ClassDefinition
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java
index cf5c8e62..f6e293b9 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java
@@ -275,6 +275,15 @@ public interface SolverLanguageFactory extends EFactory
*/
StringLiteral createStringLiteral();
+ /**
+ * Returns a new object of class 'Class Definition'.
+ *
+ *
+ * @return a new object of class 'Class Definition'.
+ * @generated
+ */
+ ClassDefinition createClassDefinition();
+
/**
* Returns a new object of class 'Member Definition'.
*
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java
index d34acdb8..ac9279c3 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java
@@ -97,1624 +97,588 @@ public interface SolverLanguagePackage extends EPackage
int STATEMENT = 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The number of structural features of the 'Statement' class.
*
*
* @generated
* @ordered
*/
- int STATEMENT__ABSTRACT = 0;
+ int STATEMENT_FEATURE_COUNT = 0;
/**
- * The feature id for the 'Name' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition()
* @generated
- * @ordered
*/
- int STATEMENT__NAME = 1;
+ int PREDICATE_DEFINITION = 2;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Head' containment reference.
*
*
* @generated
* @ordered
*/
- int STATEMENT__SUPERCLASSES = 2;
+ int PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Members' containment reference list.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int STATEMENT__MEMBERS = 3;
+ int PREDICATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1;
/**
- * The number of structural features of the 'Statement' class.
+ * The feature id for the 'Functional' attribute.
*
*
* @generated
* @ordered
*/
- int STATEMENT_FEATURE_COUNT = 4;
+ int PREDICATE_DEFINITION__FUNCTIONAL = STATEMENT_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class.
+ * The feature id for the 'Error' attribute.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition()
* @generated
+ * @ordered
*/
- int PREDICATE_DEFINITION = 2;
+ int PREDICATE_DEFINITION__ERROR = STATEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the 'Abstract' attribute.
+ * The number of structural features of the 'Predicate Definition' class.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4;
/**
- * The feature id for the 'Name' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition()
* @generated
- * @ordered
*/
- int PREDICATE_DEFINITION__NAME = STATEMENT__NAME;
+ int UNNAMED_ERROR_PREDIATE_DEFINITION = 3;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Argument List' containment reference.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Members' containment reference list.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Head' containment reference.
+ * The number of structural features of the 'Unnamed Error Prediate Definition' class.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
+ int UNNAMED_ERROR_PREDIATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Body' containment reference.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition()
* @generated
- * @ordered
*/
- int PREDICATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1;
+ int DEFAULT_DEFINITION = 4;
/**
- * The feature id for the 'Functional' attribute.
+ * The feature id for the 'Head' containment reference.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION__FUNCTIONAL = STATEMENT_FEATURE_COUNT + 2;
+ int DEFAULT_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Error' attribute.
+ * The feature id for the 'Range' containment reference.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION__ERROR = STATEMENT_FEATURE_COUNT + 3;
+ int DEFAULT_DEFINITION__RANGE = STATEMENT_FEATURE_COUNT + 1;
/**
- * The number of structural features of the 'Predicate Definition' class.
+ * The number of structural features of the 'Default Definition' class.
*
*
* @generated
* @ordered
*/
- int PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4;
+ int DEFAULT_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition()
* @generated
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION = 3;
+ int EXTERN_PREDICATE_DEFINITION = 5;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Head' containment reference.
*
*
* @generated
* @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int EXTERN_PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The number of structural features of the 'Extern Predicate Definition' class.
*
*
* @generated
* @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION__NAME = STATEMENT__NAME;
+ int EXTERN_PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition()
* @generated
- * @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int METRIC_DEFINITION = 6;
/**
- * The feature id for the 'Members' containment reference list.
+ * The feature id for the 'Head' containment reference.
*
*
* @generated
* @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Argument List' containment reference.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0;
+ int METRIC_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Body' containment reference.
+ * The feature id for the 'Type' attribute.
*
*
* @generated
* @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1;
+ int METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 2;
/**
- * The number of structural features of the 'Unnamed Error Prediate Definition' class.
+ * The number of structural features of the 'Metric Definition' class.
*
*
* @generated
* @ordered
*/
- int UNNAMED_ERROR_PREDIATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
+ int METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition()
* @generated
*/
- int DEFAULT_DEFINITION = 4;
+ int EXTERN_METRIC_DEFINITION = 7;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Type' attribute.
*
*
* @generated
* @ordered
*/
- int DEFAULT_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int EXTERN_METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Head' containment reference.
*
*
* @generated
* @ordered
*/
- int DEFAULT_DEFINITION__NAME = STATEMENT__NAME;
+ int EXTERN_METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Extern Metric Definition' class.
*
*
* @generated
* @ordered
*/
- int DEFAULT_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int EXTERN_METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression()
* @generated
- * @ordered
*/
- int DEFAULT_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int EXPRESSION = 8;
/**
- * The feature id for the 'Head' containment reference.
+ * The number of structural features of the 'Expression' class.
*
*
* @generated
* @ordered
*/
- int DEFAULT_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
+ int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Range' containment reference.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse()
* @generated
- * @ordered
*/
- int DEFAULT_DEFINITION__RANGE = STATEMENT_FEATURE_COUNT + 1;
+ int IF_ELSE = 9;
/**
- * The number of structural features of the 'Default Definition' class.
+ * The feature id for the 'Condition' containment reference.
*
*
* @generated
* @ordered
*/
- int DEFAULT_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
+ int IF_ELSE__CONDITION = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class.
+ * The feature id for the 'Then' containment reference.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition()
* @generated
+ * @ordered
*/
- int EXTERN_PREDICATE_DEFINITION = 5;
+ int IF_ELSE__THEN = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Else' containment reference.
*
*
* @generated
* @ordered
*/
- int EXTERN_PREDICATE_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int IF_ELSE__ELSE = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Name' attribute.
+ * The number of structural features of the 'If Else' class.
*
*
* @generated
* @ordered
*/
- int EXTERN_PREDICATE_DEFINITION__NAME = STATEMENT__NAME;
+ int IF_ELSE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase()
* @generated
- * @ordered
*/
- int EXTERN_PREDICATE_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int CASE = 10;
/**
- * The feature id for the 'Members' containment reference list.
+ * The feature id for the 'Condition' containment reference.
*
*
* @generated
* @ordered
*/
- int EXTERN_PREDICATE_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Head' containment reference.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int EXTERN_PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
+ int CASE__BODY = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The number of structural features of the 'Extern Predicate Definition' class.
+ * The number of structural features of the 'Case' class.
*
*
* @generated
* @ordered
*/
- int EXTERN_PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1;
+ int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl Count}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCount()
* @generated
*/
- int METRIC_DEFINITION = 6;
+ int COUNT = 11;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int METRIC_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int COUNT__BODY = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The number of structural features of the 'Count' class.
*
*
* @generated
* @ordered
*/
- int METRIC_DEFINITION__NAME = STATEMENT__NAME;
+ int COUNT_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation()
* @generated
- * @ordered
*/
- int METRIC_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int AGGREGATION = 12;
/**
- * The feature id for the 'Members' containment reference list.
+ * The feature id for the 'Op' attribute.
*
*
* @generated
* @ordered
*/
- int METRIC_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int AGGREGATION__OP = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Head' containment reference.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0;
+ int AGGREGATION__BODY = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Body' containment reference.
+ * The feature id for the 'Condition' containment reference.
*
*
* @generated
* @ordered
*/
- int METRIC_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1;
+ int AGGREGATION__CONDITION = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Type' attribute.
+ * The number of structural features of the 'Aggregation' class.
*
*
* @generated
* @ordered
*/
- int METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 2;
+ int AGGREGATION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
/**
- * The number of structural features of the 'Metric Definition' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall()
* @generated
- * @ordered
*/
- int METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3;
+ int CALL = 13;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class.
+ * The feature id for the 'Functor' containment reference.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition()
* @generated
+ * @ordered
*/
- int EXTERN_METRIC_DEFINITION = 7;
+ int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Transitive Closure' attribute.
*
*
* @generated
* @ordered
*/
- int EXTERN_METRIC_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int CALL__TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Reflexive Transitive Closure' attribute.
*
*
* @generated
* @ordered
*/
- int EXTERN_METRIC_DEFINITION__NAME = STATEMENT__NAME;
+ int CALL__REFLEXIVE_TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Argument List' containment reference.
*
*
* @generated
* @ordered
*/
- int EXTERN_METRIC_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 3;
/**
- * The feature id for the 'Members' containment reference list.
+ * The number of structural features of the 'Call' class.
*
*
* @generated
* @ordered
*/
- int EXTERN_METRIC_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4;
/**
- * The feature id for the 'Type' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList()
* @generated
- * @ordered
*/
- int EXTERN_METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0;
+ int ARGUMENT_LIST = 14;
/**
- * The feature id for the 'Head' containment reference.
+ * The feature id for the 'Arguments' containment reference list.
*
*
* @generated
* @ordered
*/
- int EXTERN_METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 1;
+ int ARGUMENT_LIST__ARGUMENTS = 0;
/**
- * The number of structural features of the 'Extern Metric Definition' class.
+ * The number of structural features of the 'Argument List' class.
*
*
* @generated
* @ordered
*/
- int EXTERN_METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
+ int ARGUMENT_LIST_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument()
* @generated
*/
- int EXPRESSION = 8;
+ int ARGUMENT = 15;
/**
- * The feature id for the 'Abstract' attribute.
+ * The number of structural features of the 'Argument' class.
*
*
* @generated
* @ordered
*/
- int EXPRESSION__ABSTRACT = STATEMENT__ABSTRACT;
+ int ARGUMENT_FEATURE_COUNT = 0;
/**
- * The feature id for the 'Name' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument()
* @generated
- * @ordered
*/
- int EXPRESSION__NAME = STATEMENT__NAME;
+ int EXPRESSION_ARGUMENT = 16;
/**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int EXPRESSION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int EXPRESSION__MEMBERS = STATEMENT__MEMBERS;
-
- /**
- * The number of structural features of the 'Expression' class.
- *
- *
- * @generated
- * @ordered
- */
- int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse()
- * @generated
- */
- int IF_ELSE = 9;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Condition' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__CONDITION = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Then' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__THEN = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the 'Else' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE__ELSE = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the 'If Else' class.
- *
- *
- * @generated
- * @ordered
- */
- int IF_ELSE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase()
- * @generated
- */
- int CASE = 10;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CASE__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CASE__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CASE__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CASE__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Condition' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Body' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int CASE__BODY = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Case' class.
- *
- *
- * @generated
- * @ordered
- */
- int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl Count}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCount()
- * @generated
- */
- int COUNT = 11;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int COUNT__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int COUNT__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int COUNT__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int COUNT__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Body' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int COUNT__BODY = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Count' class.
- *
- *
- * @generated
- * @ordered
- */
- int COUNT_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation()
- * @generated
- */
- int AGGREGATION = 12;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Op' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__OP = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Body' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__BODY = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the 'Condition' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION__CONDITION = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the 'Aggregation' class.
- *
- *
- * @generated
- * @ordered
- */
- int AGGREGATION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall()
- * @generated
- */
- int CALL = 13;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Functor' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Argument List' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the 'Transitive Closure' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the 'Reflexive Transitive Closure' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CALL__REFLEXIVE_TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the 'Call' class.
- *
- *
- * @generated
- * @ordered
- */
- int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList()
- * @generated
- */
- int ARGUMENT_LIST = 14;
-
- /**
- * The feature id for the 'Arguments' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int ARGUMENT_LIST__ARGUMENTS = 0;
-
- /**
- * The number of structural features of the 'Argument List' class.
- *
- *
- * @generated
- * @ordered
- */
- int ARGUMENT_LIST_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument()
- * @generated
- */
- int ARGUMENT = 15;
-
- /**
- * The number of structural features of the 'Argument' class.
- *
- *
- * @generated
- * @ordered
- */
- int ARGUMENT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument()
- * @generated
- */
- int EXPRESSION_ARGUMENT = 16;
-
- /**
- * The feature id for the 'Body' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int EXPRESSION_ARGUMENT__BODY = ARGUMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Expression Argument' class.
- *
- *
- * @generated
- * @ordered
- */
- int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument()
- * @generated
- */
- int STAR_ARGUMENT = 17;
-
- /**
- * The number of structural features of the 'Star Argument' class.
- *
- *
- * @generated
- * @ordered
- */
- int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument()
- * @generated
- */
- int TYPED_ARGUMENT = 18;
-
- /**
- * The feature id for the 'Type' reference.
- *
- *
- * @generated
- * @ordered
- */
- int TYPED_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Variable' reference.
- *
- *
- * @generated
- * @ordered
- */
- int TYPED_ARGUMENT__VARIABLE = ARGUMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Typed Argument' class.
- *
- *
- * @generated
- * @ordered
- */
- int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument()
- * @generated
- */
- int TYPED_STAR_ARGUMENT = 19;
-
- /**
- * The feature id for the 'Type' reference.
- *
- *
- * @generated
- * @ordered
- */
- int TYPED_STAR_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Typed Star Argument' class.
- *
- *
- * @generated
- * @ordered
- */
- int TYPED_STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference()
- * @generated
- */
- int REFERENCE = 20;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Referred' reference.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE__REFERRED = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Reference' class.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval()
- * @generated
- */
- int INTERVAL = 21;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The feature id for the 'Lower Bound' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Upper Bound' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Interval' class.
- *
- *
- * @generated
- * @ordered
- */
- int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral()
- * @generated
- */
- int LITERAL = 22;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int LITERAL__ABSTRACT = EXPRESSION__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int LITERAL__NAME = EXPRESSION__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int LITERAL__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int LITERAL__MEMBERS = EXPRESSION__MEMBERS;
-
- /**
- * The number of structural features of the 'Literal' class.
- *
- *
- * @generated
- * @ordered
- */
- int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral()
- * @generated
- */
- int LOGIC_LITERAL = 23;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int LOGIC_LITERAL__ABSTRACT = LITERAL__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int LOGIC_LITERAL__NAME = LITERAL__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int LOGIC_LITERAL__SUPERCLASSES = LITERAL__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int LOGIC_LITERAL__MEMBERS = LITERAL__MEMBERS;
-
- /**
- * The feature id for the 'Value' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Logic Literal' class.
- *
- *
- * @generated
- * @ordered
- */
- int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral()
- * @generated
- */
- int NUMERIC_LITERAL = 24;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int NUMERIC_LITERAL__ABSTRACT = LITERAL__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int NUMERIC_LITERAL__NAME = LITERAL__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int NUMERIC_LITERAL__SUPERCLASSES = LITERAL__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int NUMERIC_LITERAL__MEMBERS = LITERAL__MEMBERS;
-
- /**
- * The feature id for the 'Value' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int NUMERIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Numeric Literal' class.
- *
- *
- * @generated
- * @ordered
- */
- int NUMERIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral()
- * @generated
- */
- int INFINITY_LITERAL = 25;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int INFINITY_LITERAL__ABSTRACT = LITERAL__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int INFINITY_LITERAL__NAME = LITERAL__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int INFINITY_LITERAL__SUPERCLASSES = LITERAL__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int INFINITY_LITERAL__MEMBERS = LITERAL__MEMBERS;
-
- /**
- * The number of structural features of the 'Infinity Literal' class.
- *
- *
- * @generated
- * @ordered
- */
- int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral()
- * @generated
- */
- int EMPTY_INTERVAL_LITERAL = 26;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int EMPTY_INTERVAL_LITERAL__ABSTRACT = LITERAL__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int EMPTY_INTERVAL_LITERAL__NAME = LITERAL__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int EMPTY_INTERVAL_LITERAL__SUPERCLASSES = LITERAL__SUPERCLASSES;
-
- /**
- * The feature id for the 'Members' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int EMPTY_INTERVAL_LITERAL__MEMBERS = LITERAL__MEMBERS;
-
- /**
- * The number of structural features of the 'Empty Interval Literal' class.
- *
- *
- * @generated
- * @ordered
- */
- int EMPTY_INTERVAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral()
- * @generated
- */
- int STRING_LITERAL = 27;
-
- /**
- * The feature id for the 'Abstract' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int STRING_LITERAL__ABSTRACT = LITERAL__ABSTRACT;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int STRING_LITERAL__NAME = LITERAL__NAME;
-
- /**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int STRING_LITERAL__SUPERCLASSES = LITERAL__SUPERCLASSES;
+ int EXPRESSION_ARGUMENT__BODY = ARGUMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Members' containment reference list.
+ * The number of structural features of the 'Expression Argument' class.
*
*
* @generated
* @ordered
*/
- int STRING_LITERAL__MEMBERS = LITERAL__MEMBERS;
+ int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Value' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument()
* @generated
- * @ordered
*/
- int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0;
+ int STAR_ARGUMENT = 17;
/**
- * The number of structural features of the 'String Literal' class.
+ * The number of structural features of the 'Star Argument' class.
*
*
* @generated
* @ordered
*/
- int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition()
- * @generated
- */
- int MEMBER_DEFINITION = 28;
+ int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Containment' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument()
* @generated
- * @ordered
*/
- int MEMBER_DEFINITION__CONTAINMENT = 0;
+ int TYPED_ARGUMENT = 18;
/**
* The feature id for the 'Type' reference.
@@ -1723,375 +687,269 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int MEMBER_DEFINITION__TYPE = 1;
-
- /**
- * The feature id for the 'Multiplicity' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int MEMBER_DEFINITION__MULTIPLICITY = 2;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int MEMBER_DEFINITION__NAME = 3;
-
- /**
- * The feature id for the 'Opposite' reference.
- *
- *
- * @generated
- * @ordered
- */
- int MEMBER_DEFINITION__OPPOSITE = 4;
-
- /**
- * The number of structural features of the 'Member Definition' class.
- *
- *
- * @generated
- * @ordered
- */
- int MEMBER_DEFINITION_FEATURE_COUNT = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity()
- * @generated
- */
- int MULTIPLICITY = 29;
-
- /**
- * The number of structural features of the 'Multiplicity' class.
- *
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity()
- * @generated
- */
- int MANY_MULTIPLICITY = 30;
-
- /**
- * The number of structural features of the 'Many Multiplicity' class.
- *
- *
- * @generated
- * @ordered
- */
- int MANY_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity()
- * @generated
- */
- int EXACT_MULTIPLICITY = 31;
+ int TYPED_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Multiplicity' attribute.
+ * The feature id for the 'Variable' reference.
*
*
* @generated
* @ordered
*/
- int EXACT_MULTIPLICITY__MULTIPLICITY = MULTIPLICITY_FEATURE_COUNT + 0;
+ int TYPED_ARGUMENT__VARIABLE = ARGUMENT_FEATURE_COUNT + 1;
/**
- * The number of structural features of the 'Exact Multiplicity' class.
+ * The number of structural features of the 'Typed Argument' class.
*
*
* @generated
* @ordered
*/
- int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity()
- * @generated
- */
- int BOUNDED_MULTIPLICITY = 32;
+ int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Lower Bound' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument()
* @generated
- * @ordered
*/
- int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0;
+ int TYPED_STAR_ARGUMENT = 19;
/**
- * The feature id for the 'Upper Bound' attribute.
+ * The feature id for the 'Type' reference.
*
*
* @generated
* @ordered
*/
- int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1;
+ int TYPED_STAR_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Bounded Multiplicity' class.
+ * The number of structural features of the 'Typed Star Argument' class.
*
*
* @generated
* @ordered
*/
- int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition()
- * @generated
- */
- int SCOPE_DEFINITION = 33;
+ int TYPED_STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference()
* @generated
- * @ordered
*/
- int SCOPE_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int REFERENCE = 20;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Referred' reference.
*
*
* @generated
* @ordered
*/
- int SCOPE_DEFINITION__NAME = STATEMENT__NAME;
+ int REFERENCE__REFERRED = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Reference' class.
*
*
* @generated
* @ordered
*/
- int SCOPE_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval()
* @generated
- * @ordered
*/
- int SCOPE_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int INTERVAL = 21;
/**
- * The feature id for the 'Type' reference.
+ * The feature id for the 'Lower Bound' containment reference.
*
*
* @generated
* @ordered
*/
- int SCOPE_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0;
+ int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Scope Definition' class.
+ * The feature id for the 'Upper Bound' containment reference.
*
*
* @generated
* @ordered
*/
- int SCOPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition()
- * @generated
- */
- int EXACT_SCOPE_DEFINITION = 34;
+ int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The number of structural features of the 'Interval' class.
*
*
* @generated
* @ordered
*/
- int EXACT_SCOPE_DEFINITION__ABSTRACT = SCOPE_DEFINITION__ABSTRACT;
+ int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Name' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral()
* @generated
- * @ordered
*/
- int EXACT_SCOPE_DEFINITION__NAME = SCOPE_DEFINITION__NAME;
+ int LITERAL = 22;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Literal' class.
*
*
* @generated
* @ordered
*/
- int EXACT_SCOPE_DEFINITION__SUPERCLASSES = SCOPE_DEFINITION__SUPERCLASSES;
+ int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral()
* @generated
- * @ordered
*/
- int EXACT_SCOPE_DEFINITION__MEMBERS = SCOPE_DEFINITION__MEMBERS;
+ int LOGIC_LITERAL = 23;
/**
- * The feature id for the 'Type' reference.
+ * The feature id for the 'Value' attribute.
*
*
* @generated
* @ordered
*/
- int EXACT_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE;
+ int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Exact Scope' attribute.
+ * The number of structural features of the 'Logic Literal' class.
*
*
* @generated
* @ordered
*/
- int EXACT_SCOPE_DEFINITION__EXACT_SCOPE = SCOPE_DEFINITION_FEATURE_COUNT + 0;
+ int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1;
/**
- * The number of structural features of the 'Exact Scope Definition' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral()
* @generated
- * @ordered
*/
- int EXACT_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1;
+ int NUMERIC_LITERAL = 24;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class.
+ * The feature id for the 'Value' attribute.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition()
* @generated
+ * @ordered
*/
- int BOUNDED_SCOPE_DEFINITION = 35;
+ int NUMERIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Abstract' attribute.
+ * The number of structural features of the 'Numeric Literal' class.
*
*
* @generated
* @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__ABSTRACT = SCOPE_DEFINITION__ABSTRACT;
+ int NUMERIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Name' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral()
* @generated
- * @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__NAME = SCOPE_DEFINITION__NAME;
+ int INFINITY_LITERAL = 25;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Infinity Literal' class.
*
*
* @generated
* @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__SUPERCLASSES = SCOPE_DEFINITION__SUPERCLASSES;
+ int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral()
* @generated
- * @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__MEMBERS = SCOPE_DEFINITION__MEMBERS;
+ int EMPTY_INTERVAL_LITERAL = 26;
/**
- * The feature id for the 'Type' reference.
+ * The number of structural features of the 'Empty Interval Literal' class.
*
*
* @generated
* @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE;
+ int EMPTY_INTERVAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Lower Bound' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral()
* @generated
- * @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0;
+ int STRING_LITERAL = 27;
/**
- * The feature id for the 'Upper Bound' attribute.
+ * The feature id for the 'Value' attribute.
*
*
* @generated
* @ordered
*/
- int BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 1;
+ int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Bounded Scope Definition' class.
+ * The number of structural features of the 'String Literal' class.
*
*
* @generated
* @ordered
*/
- int BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 2;
+ int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition()
* @generated
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION = 36;
+ int CLASS_DEFINITION = 28;
/**
* The feature id for the 'Abstract' attribute.
@@ -2100,7 +958,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION__ABSTRACT = SCOPE_DEFINITION__ABSTRACT;
+ int CLASS_DEFINITION__ABSTRACT = STATEMENT_FEATURE_COUNT + 0;
/**
* The feature id for the 'Name' attribute.
@@ -2109,7 +967,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION__NAME = SCOPE_DEFINITION__NAME;
+ int CLASS_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1;
/**
* The feature id for the 'Superclasses' reference list.
@@ -2118,7 +976,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION__SUPERCLASSES = SCOPE_DEFINITION__SUPERCLASSES;
+ int CLASS_DEFINITION__SUPERCLASSES = STATEMENT_FEATURE_COUNT + 2;
/**
* The feature id for the 'Members' containment reference list.
@@ -2127,53 +985,53 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION__MEMBERS = SCOPE_DEFINITION__MEMBERS;
+ int CLASS_DEFINITION__MEMBERS = STATEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the 'Type' reference.
+ * The number of structural features of the 'Class Definition' class.
*
*
* @generated
* @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE;
+ int CLASS_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4;
/**
- * The feature id for the 'Lower Bound' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition()
* @generated
- * @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0;
+ int MEMBER_DEFINITION = 29;
/**
- * The number of structural features of the 'Lower Bounded Scope Definition' class.
+ * The feature id for the 'Containment' attribute.
*
*
* @generated
* @ordered
*/
- int LOWER_BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1;
+ int MEMBER_DEFINITION__CONTAINMENT = 0;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class.
+ * The feature id for the 'Type' reference.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition()
* @generated
+ * @ordered
*/
- int OBJECTIVE_DEFINITION = 37;
+ int MEMBER_DEFINITION__TYPE = 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Multiplicity' containment reference.
*
*
* @generated
* @ordered
*/
- int OBJECTIVE_DEFINITION__ABSTRACT = STATEMENT__ABSTRACT;
+ int MEMBER_DEFINITION__MULTIPLICITY = 2;
/**
* The feature id for the 'Name' attribute.
@@ -2182,473 +1040,472 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int OBJECTIVE_DEFINITION__NAME = STATEMENT__NAME;
+ int MEMBER_DEFINITION__NAME = 3;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Opposite' reference.
*
*
* @generated
* @ordered
*/
- int OBJECTIVE_DEFINITION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int MEMBER_DEFINITION__OPPOSITE = 4;
/**
- * The feature id for the 'Members' containment reference list.
+ * The number of structural features of the 'Member Definition' class.
*
*
* @generated
* @ordered
*/
- int OBJECTIVE_DEFINITION__MEMBERS = STATEMENT__MEMBERS;
+ int MEMBER_DEFINITION_FEATURE_COUNT = 5;
/**
- * The feature id for the 'Kind' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity()
* @generated
- * @ordered
*/
- int OBJECTIVE_DEFINITION__KIND = STATEMENT_FEATURE_COUNT + 0;
+ int MULTIPLICITY = 30;
/**
- * The feature id for the 'Objective' containment reference.
+ * The number of structural features of the 'Multiplicity' class.
*
*
* @generated
* @ordered
*/
- int OBJECTIVE_DEFINITION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1;
+ int MULTIPLICITY_FEATURE_COUNT = 0;
/**
- * The number of structural features of the 'Objective Definition' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity()
* @generated
- * @ordered
*/
- int OBJECTIVE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
+ int MANY_MULTIPLICITY = 31;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class.
+ * The number of structural features of the 'Many Multiplicity' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement()
* @generated
+ * @ordered
*/
- int NAMED_ELEMENT = 38;
+ int MANY_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity()
* @generated
- * @ordered
*/
- int NAMED_ELEMENT__NAME = 0;
+ int EXACT_MULTIPLICITY = 32;
/**
- * The number of structural features of the 'Named Element' class.
+ * The feature id for the 'Multiplicity' attribute.
*
*
* @generated
* @ordered
*/
- int NAMED_ELEMENT_FEATURE_COUNT = 1;
+ int EXACT_MULTIPLICITY__MULTIPLICITY = MULTIPLICITY_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl Assertion}' class.
+ * The number of structural features of the 'Exact Multiplicity' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAssertion()
* @generated
+ * @ordered
*/
- int ASSERTION = 39;
+ int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity()
* @generated
- * @ordered
*/
- int ASSERTION__ABSTRACT = STATEMENT__ABSTRACT;
+ int BOUNDED_MULTIPLICITY = 33;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Lower Bound' attribute.
*
*
* @generated
* @ordered
*/
- int ASSERTION__NAME = STATEMENT__NAME;
+ int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Upper Bound' attribute.
*
*
* @generated
* @ordered
*/
- int ASSERTION__SUPERCLASSES = STATEMENT__SUPERCLASSES;
+ int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Members' containment reference list.
+ * The number of structural features of the 'Bounded Multiplicity' class.
*
*
* @generated
* @ordered
*/
- int ASSERTION__MEMBERS = STATEMENT__MEMBERS;
+ int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Body' containment reference.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition()
* @generated
- * @ordered
*/
- int ASSERTION__BODY = STATEMENT_FEATURE_COUNT + 0;
+ int SCOPE_DEFINITION = 34;
/**
- * The feature id for the 'Range' containment reference.
+ * The feature id for the 'Type' reference.
*
*
* @generated
* @ordered
*/
- int ASSERTION__RANGE = STATEMENT_FEATURE_COUNT + 1;
+ int SCOPE_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Assertion' class.
+ * The number of structural features of the 'Scope Definition' class.
*
*
* @generated
* @ordered
*/
- int ASSERTION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
+ int SCOPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition()
* @generated
*/
- int DISJUNCTION = 40;
+ int EXACT_SCOPE_DEFINITION = 35;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Type' reference.
*
*
* @generated
* @ordered
*/
- int DISJUNCTION__ABSTRACT = EXPRESSION__ABSTRACT;
+ int EXACT_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Exact Scope' attribute.
*
*
* @generated
* @ordered
*/
- int DISJUNCTION__NAME = EXPRESSION__NAME;
+ int EXACT_SCOPE_DEFINITION__EXACT_SCOPE = SCOPE_DEFINITION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Exact Scope Definition' class.
*
*
* @generated
* @ordered
*/
- int DISJUNCTION__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
+ int EXACT_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition()
* @generated
- * @ordered
*/
- int DISJUNCTION__MEMBERS = EXPRESSION__MEMBERS;
+ int BOUNDED_SCOPE_DEFINITION = 36;
/**
- * The feature id for the 'Children' containment reference list.
+ * The feature id for the 'Type' reference.
*
*
* @generated
* @ordered
*/
- int DISJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0;
+ int BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE;
/**
- * The number of structural features of the 'Disjunction' class.
+ * The feature id for the 'Lower Bound' attribute.
*
*
* @generated
* @ordered
*/
- int DISJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class.
- *
- *
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch()
- * @generated
- */
- int SWITCH = 41;
+ int BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Upper Bound' attribute.
*
*
* @generated
* @ordered
*/
- int SWITCH__ABSTRACT = EXPRESSION__ABSTRACT;
+ int BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Name' attribute.
+ * The number of structural features of the 'Bounded Scope Definition' class.
*
*
* @generated
* @ordered
*/
- int SWITCH__NAME = EXPRESSION__NAME;
+ int BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition()
* @generated
- * @ordered
*/
- int SWITCH__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
+ int LOWER_BOUNDED_SCOPE_DEFINITION = 37;
/**
- * The feature id for the 'Members' containment reference list.
+ * The feature id for the 'Type' reference.
*
*
* @generated
* @ordered
*/
- int SWITCH__MEMBERS = EXPRESSION__MEMBERS;
+ int LOWER_BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE;
/**
- * The feature id for the 'Cases' containment reference list.
+ * The feature id for the 'Lower Bound' attribute.
*
*
* @generated
* @ordered
*/
- int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0;
+ int LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Switch' class.
+ * The number of structural features of the 'Lower Bounded Scope Definition' class.
*
*
* @generated
* @ordered
*/
- int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
+ int LOWER_BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition()
* @generated
*/
- int CONJUNCTION = 42;
+ int OBJECTIVE_DEFINITION = 38;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Kind' attribute.
*
*
* @generated
* @ordered
*/
- int CONJUNCTION__ABSTRACT = EXPRESSION__ABSTRACT;
+ int OBJECTIVE_DEFINITION__KIND = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Objective' containment reference.
*
*
* @generated
* @ordered
*/
- int CONJUNCTION__NAME = EXPRESSION__NAME;
+ int OBJECTIVE_DEFINITION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Objective Definition' class.
*
*
* @generated
* @ordered
*/
- int CONJUNCTION__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
+ int OBJECTIVE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement()
* @generated
- * @ordered
*/
- int CONJUNCTION__MEMBERS = EXPRESSION__MEMBERS;
+ int NAMED_ELEMENT = 39;
/**
- * The feature id for the 'Children' containment reference list.
+ * The feature id for the 'Name' attribute.
*
*
* @generated
* @ordered
*/
- int CONJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0;
+ int NAMED_ELEMENT__NAME = 0;
/**
- * The number of structural features of the 'Conjunction' class.
+ * The number of structural features of the 'Named Element' class.
*
*
* @generated
* @ordered
*/
- int CONJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
+ int NAMED_ELEMENT_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl Assertion}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAssertion()
* @generated
*/
- int COMPARISON = 43;
+ int ASSERTION = 40;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Body' containment reference.
*
*
* @generated
* @ordered
*/
- int COMPARISON__ABSTRACT = EXPRESSION__ABSTRACT;
+ int ASSERTION__BODY = STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Range' containment reference.
*
*
* @generated
* @ordered
*/
- int COMPARISON__NAME = EXPRESSION__NAME;
+ int ASSERTION__RANGE = STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Assertion' class.
*
*
* @generated
* @ordered
*/
- int COMPARISON__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
+ int ASSERTION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction()
* @generated
- * @ordered
*/
- int COMPARISON__MEMBERS = EXPRESSION__MEMBERS;
+ int DISJUNCTION = 41;
/**
- * The feature id for the 'Left' containment reference.
+ * The feature id for the 'Children' containment reference list.
*
*
* @generated
* @ordered
*/
- int COMPARISON__LEFT = EXPRESSION_FEATURE_COUNT + 0;
+ int DISJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Op' attribute.
+ * The number of structural features of the 'Disjunction' class.
*
*
* @generated
* @ordered
*/
- int COMPARISON__OP = EXPRESSION_FEATURE_COUNT + 1;
+ int DISJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Right' containment reference.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch()
* @generated
- * @ordered
*/
- int COMPARISON__RIGHT = EXPRESSION_FEATURE_COUNT + 2;
+ int SWITCH = 42;
/**
- * The number of structural features of the 'Comparison' class.
+ * The feature id for the 'Cases' containment reference list.
*
*
* @generated
* @ordered
*/
- int COMPARISON_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
+ int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class.
+ * The number of structural features of the 'Switch' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression()
* @generated
+ * @ordered
*/
- int BINARY_EXPRESSION = 44;
+ int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Abstract' attribute.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction()
* @generated
- * @ordered
*/
- int BINARY_EXPRESSION__ABSTRACT = EXPRESSION__ABSTRACT;
+ int CONJUNCTION = 43;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Children' containment reference list.
*
*
* @generated
* @ordered
*/
- int BINARY_EXPRESSION__NAME = EXPRESSION__NAME;
+ int CONJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The number of structural features of the 'Conjunction' class.
*
*
* @generated
* @ordered
*/
- int BINARY_EXPRESSION__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
+ int CONJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Members' containment reference list.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class.
*
*
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison()
* @generated
- * @ordered
*/
- int BINARY_EXPRESSION__MEMBERS = EXPRESSION__MEMBERS;
+ int COMPARISON = 44;
/**
* The feature id for the 'Left' containment reference.
@@ -2657,7 +1514,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0;
+ int COMPARISON__LEFT = EXPRESSION_FEATURE_COUNT + 0;
/**
* The feature id for the 'Op' attribute.
@@ -2666,7 +1523,7 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1;
+ int COMPARISON__OP = EXPRESSION_FEATURE_COUNT + 1;
/**
* The feature id for the 'Right' containment reference.
@@ -2675,62 +1532,72 @@ public interface SolverLanguagePackage extends EPackage
* @generated
* @ordered
*/
- int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2;
+ int COMPARISON__RIGHT = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The number of structural features of the 'Binary Expression' class.
+ * The number of structural features of the 'Comparison' class.
*
*
* @generated
* @ordered
*/
- int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
+ int COMPARISON_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class.
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class.
*
*
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl
- * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression()
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression()
* @generated
*/
- int UNARY_EXPRESSION = 45;
+ int BINARY_EXPRESSION = 45;
/**
- * The feature id for the 'Abstract' attribute.
+ * The feature id for the 'Left' containment reference.
*
*
* @generated
* @ordered
*/
- int UNARY_EXPRESSION__ABSTRACT = EXPRESSION__ABSTRACT;
+ int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Name' attribute.
+ * The feature id for the 'Op' attribute.
*
*
* @generated
* @ordered
*/
- int UNARY_EXPRESSION__NAME = EXPRESSION__NAME;
+ int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Superclasses' reference list.
+ * The feature id for the 'Right' containment reference.
*
*
* @generated
* @ordered
*/
- int UNARY_EXPRESSION__SUPERCLASSES = EXPRESSION__SUPERCLASSES;
+ int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2;
/**
- * The feature id for the 'Members' containment reference list.
+ * The number of structural features of the 'Binary Expression' class.
*
*
* @generated
* @ordered
*/
- int UNARY_EXPRESSION__MEMBERS = EXPRESSION__MEMBERS;
+ int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class.
+ *
+ *
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression()
+ * @generated
+ */
+ int UNARY_EXPRESSION = 46;
/**
* The feature id for the 'Op' attribute.
@@ -2767,7 +1634,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricType()
* @generated
*/
- int METRIC_TYPE = 46;
+ int METRIC_TYPE = 47;
/**
* The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum.
@@ -2777,7 +1644,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator()
* @generated
*/
- int BINARY_OPERATOR = 47;
+ int BINARY_OPERATOR = 48;
/**
* The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum.
@@ -2787,7 +1654,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp()
* @generated
*/
- int UNARY_OP = 48;
+ int UNARY_OP = 49;
/**
* The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOp Aggregation Op}' enum.
@@ -2797,7 +1664,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregationOp()
* @generated
*/
- int AGGREGATION_OP = 49;
+ int AGGREGATION_OP = 50;
/**
* The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum.
@@ -2807,7 +1674,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue()
* @generated
*/
- int LOGIC_VALUE = 50;
+ int LOGIC_VALUE = 51;
/**
* The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum.
@@ -2817,7 +1684,7 @@ public interface SolverLanguagePackage extends EPackage
* @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind()
* @generated
*/
- int OBJECTIVE_KIND = 51;
+ int OBJECTIVE_KIND = 52;
/**
@@ -2851,50 +1718,6 @@ public interface SolverLanguagePackage extends EPackage
*/
EClass getStatement();
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement#isAbstract Abstract}'.
- *
- *
- * @return the meta object for the attribute 'Abstract'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Statement#isAbstract()
- * @see #getStatement()
- * @generated
- */
- EAttribute getStatement_Abstract();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getName Name}'.
- *
- *
- * @return the meta object for the attribute 'Name'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Statement#getName()
- * @see #getStatement()
- * @generated
- */
- EAttribute getStatement_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getSuperclasses Superclasses}'.
- *
- *
- * @return the meta object for the reference list 'Superclasses'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Statement#getSuperclasses()
- * @see #getStatement()
- * @generated
- */
- EReference getStatement_Superclasses();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getMembers Members}'.
- *
- *
- * @return the meta object for the containment reference list 'Members'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Statement#getMembers()
- * @see #getStatement()
- * @generated
- */
- EReference getStatement_Members();
-
/**
* Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'.
*
@@ -3279,17 +2102,6 @@ public interface SolverLanguagePackage extends EPackage
*/
EReference getCall_Functor();
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}'.
- *
- *
- * @return the meta object for the containment reference 'Argument List'.
- * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList()
- * @see #getCall()
- * @generated
- */
- EReference getCall_ArgumentList();
-
/**
* Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}'.
*
@@ -3312,6 +2124,17 @@ public interface SolverLanguagePackage extends EPackage
*/
EAttribute getCall_ReflexiveTransitiveClosure();
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}'.
+ *
+ *
+ * @return the meta object for the containment reference 'Argument List'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList()
+ * @see #getCall()
+ * @generated
+ */
+ EReference getCall_ArgumentList();
+
/**
* Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'.
*
@@ -3573,6 +2396,60 @@ public interface SolverLanguagePackage extends EPackage
*/
EAttribute getStringLiteral_Value();
+ /**
+ * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'.
+ *
+ *
+ * @return the meta object for class 'Class Definition'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition
+ * @generated
+ */
+ EClass getClassDefinition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}'.
+ *
+ *
+ * @return the meta object for the attribute 'Abstract'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract()
+ * @see #getClassDefinition()
+ * @generated
+ */
+ EAttribute getClassDefinition_Abstract();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Name'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName()
+ * @see #getClassDefinition()
+ * @generated
+ */
+ EAttribute getClassDefinition_Name();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}'.
+ *
+ *
+ * @return the meta object for the reference list 'Superclasses'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses()
+ * @see #getClassDefinition()
+ * @generated
+ */
+ EReference getClassDefinition_Superclasses();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}'.
+ *
+ *
+ * @return the meta object for the containment reference list 'Members'.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers()
+ * @see #getClassDefinition()
+ * @generated
+ */
+ EReference getClassDefinition_Members();
+
/**
* Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'.
*
@@ -4183,38 +3060,6 @@ public interface SolverLanguagePackage extends EPackage
*/
EClass STATEMENT = eINSTANCE.getStatement();
- /**
- * The meta object literal for the 'Abstract' attribute feature.
- *
- *
- * @generated
- */
- EAttribute STATEMENT__ABSTRACT = eINSTANCE.getStatement_Abstract();
-
- /**
- * The meta object literal for the 'Name' attribute feature.
- *
- *
- * @generated
- */
- EAttribute STATEMENT__NAME = eINSTANCE.getStatement_Name();
-
- /**
- * The meta object literal for the 'Superclasses' reference list feature.
- *
- *
- * @generated
- */
- EReference STATEMENT__SUPERCLASSES = eINSTANCE.getStatement_Superclasses();
-
- /**
- * The meta object literal for the 'Members' containment reference list feature.
- *
- *
- * @generated
- */
- EReference STATEMENT__MEMBERS = eINSTANCE.getStatement_Members();
-
/**
* The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class.
*
@@ -4528,28 +3373,28 @@ public interface SolverLanguagePackage extends EPackage
EReference CALL__FUNCTOR = eINSTANCE.getCall_Functor();
/**
- * The meta object literal for the 'Argument List' containment reference feature.
+ * The meta object literal for the 'Transitive Closure' attribute feature.
*
*
* @generated
*/
- EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList();
+ EAttribute CALL__TRANSITIVE_CLOSURE = eINSTANCE.getCall_TransitiveClosure();
/**
- * The meta object literal for the 'Transitive Closure' attribute feature.
+ * The meta object literal for the 'Reflexive Transitive Closure' attribute feature.
*
*
* @generated
*/
- EAttribute CALL__TRANSITIVE_CLOSURE = eINSTANCE.getCall_TransitiveClosure();
+ EAttribute CALL__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE.getCall_ReflexiveTransitiveClosure();
/**
- * The meta object literal for the 'Reflexive Transitive Closure' attribute feature.
+ * The meta object literal for the 'Argument List' containment reference feature.
*
*
* @generated
*/
- EAttribute CALL__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE.getCall_ReflexiveTransitiveClosure();
+ EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList();
/**
* The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class.
@@ -4779,6 +3624,48 @@ public interface SolverLanguagePackage extends EPackage
*/
EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value();
+ /**
+ * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class.
+ *
+ *
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl
+ * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition()
+ * @generated
+ */
+ EClass CLASS_DEFINITION = eINSTANCE.getClassDefinition();
+
+ /**
+ * The meta object literal for the 'Abstract' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute CLASS_DEFINITION__ABSTRACT = eINSTANCE.getClassDefinition_Abstract();
+
+ /**
+ * The meta object literal for the 'Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute CLASS_DEFINITION__NAME = eINSTANCE.getClassDefinition_Name();
+
+ /**
+ * The meta object literal for the 'Superclasses' reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference CLASS_DEFINITION__SUPERCLASSES = eINSTANCE.getClassDefinition_Superclasses();
+
+ /**
+ * The meta object literal for the 'Members' containment reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference CLASS_DEFINITION__MEMBERS = eINSTANCE.getClassDefinition_Members();
+
/**
* The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class.
*
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java
index 9c3be9d6..7c8d208f 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java
@@ -3,8 +3,6 @@
*/
package org.eclipse.viatra.solver.language.solverLanguage;
-import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EObject;
/**
@@ -12,15 +10,6 @@ import org.eclipse.emf.ecore.EObject;
* A representation of the model object 'Statement'.
*
*
- *
- * The following features are supported:
- *
- *
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.Statement#isAbstract Abstract}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getName Name}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getSuperclasses Superclasses}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getMembers Members}
- *
*
* @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement()
* @model
@@ -28,72 +17,4 @@ import org.eclipse.emf.ecore.EObject;
*/
public interface Statement extends EObject
{
- /**
- * Returns the value of the 'Abstract' attribute.
- *
- *
- * @return the value of the 'Abstract' attribute.
- * @see #setAbstract(boolean)
- * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement_Abstract()
- * @model
- * @generated
- */
- boolean isAbstract();
-
- /**
- * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement#isAbstract Abstract}' attribute.
- *
- *
- * @param value the new value of the 'Abstract' attribute.
- * @see #isAbstract()
- * @generated
- */
- void setAbstract(boolean value);
-
- /**
- * Returns the value of the 'Name' attribute.
- *
- *
- * @return the value of the 'Name' attribute.
- * @see #setName(String)
- * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement#getName Name}' attribute.
- *
- *
- * @param value the new value of the 'Name' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the 'Superclasses' reference list.
- * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}.
- *
- *
- * @return the value of the 'Superclasses' reference list.
- * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement_Superclasses()
- * @model
- * @generated
- */
- EList getSuperclasses();
-
- /**
- * Returns the value of the 'Members' containment reference list.
- * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition}.
- *
- *
- * @return the value of the 'Members' containment reference list.
- * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement_Members()
- * @model containment="true"
- * @generated
- */
- EList getMembers();
-
} // Statement
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java
index fde31be5..01712ad3 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java
@@ -25,9 +25,9 @@ import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage;
*
*
* - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getFunctor Functor}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList Argument List}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isTransitiveClosure Transitive Closure}
* - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isReflexiveTransitiveClosure Reflexive Transitive Closure}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList Argument List}
*
*
* @generated
@@ -44,16 +44,6 @@ public class CallImpl extends ExpressionImpl implements Call
*/
protected Reference functor;
- /**
- * The cached value of the '{@link #getArgumentList() Argument List}' containment reference.
- *
- *
- * @see #getArgumentList()
- * @generated
- * @ordered
- */
- protected ArgumentList argumentList;
-
/**
* The default value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute.
*
@@ -94,6 +84,16 @@ public class CallImpl extends ExpressionImpl implements Call
*/
protected boolean reflexiveTransitiveClosure = REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getArgumentList() Argument List}' containment reference.
+ *
+ *
+ * @see #getArgumentList()
+ * @generated
+ * @ordered
+ */
+ protected ArgumentList argumentList;
+
/**
*
*
@@ -171,9 +171,9 @@ public class CallImpl extends ExpressionImpl implements Call
* @generated
*/
@Override
- public ArgumentList getArgumentList()
+ public boolean isTransitiveClosure()
{
- return argumentList;
+ return transitiveClosure;
}
/**
@@ -181,16 +181,13 @@ public class CallImpl extends ExpressionImpl implements Call
*
* @generated
*/
- public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs)
+ @Override
+ public void setTransitiveClosure(boolean newTransitiveClosure)
{
- ArgumentList oldArgumentList = argumentList;
- argumentList = newArgumentList;
+ boolean oldTransitiveClosure = transitiveClosure;
+ transitiveClosure = newTransitiveClosure;
if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure));
}
/**
@@ -199,20 +196,9 @@ public class CallImpl extends ExpressionImpl implements Call
* @generated
*/
@Override
- public void setArgumentList(ArgumentList newArgumentList)
+ public boolean isReflexiveTransitiveClosure()
{
- if (newArgumentList != argumentList)
- {
- NotificationChain msgs = null;
- if (argumentList != null)
- msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs);
- if (newArgumentList != null)
- msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs);
- msgs = basicSetArgumentList(newArgumentList, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, newArgumentList, newArgumentList));
+ return reflexiveTransitiveClosure;
}
/**
@@ -221,9 +207,12 @@ public class CallImpl extends ExpressionImpl implements Call
* @generated
*/
@Override
- public boolean isTransitiveClosure()
+ public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure)
{
- return transitiveClosure;
+ boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure;
+ reflexiveTransitiveClosure = newReflexiveTransitiveClosure;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, reflexiveTransitiveClosure));
}
/**
@@ -232,12 +221,9 @@ public class CallImpl extends ExpressionImpl implements Call
* @generated
*/
@Override
- public void setTransitiveClosure(boolean newTransitiveClosure)
+ public ArgumentList getArgumentList()
{
- boolean oldTransitiveClosure = transitiveClosure;
- transitiveClosure = newTransitiveClosure;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure));
+ return argumentList;
}
/**
@@ -245,10 +231,16 @@ public class CallImpl extends ExpressionImpl implements Call
*
* @generated
*/
- @Override
- public boolean isReflexiveTransitiveClosure()
+ public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs)
{
- return reflexiveTransitiveClosure;
+ ArgumentList oldArgumentList = argumentList;
+ argumentList = newArgumentList;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
}
/**
@@ -257,12 +249,20 @@ public class CallImpl extends ExpressionImpl implements Call
* @generated
*/
@Override
- public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure)
+ public void setArgumentList(ArgumentList newArgumentList)
{
- boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure;
- reflexiveTransitiveClosure = newReflexiveTransitiveClosure;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, reflexiveTransitiveClosure));
+ if (newArgumentList != argumentList)
+ {
+ NotificationChain msgs = null;
+ if (argumentList != null)
+ msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs);
+ if (newArgumentList != null)
+ msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs);
+ msgs = basicSetArgumentList(newArgumentList, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, newArgumentList, newArgumentList));
}
/**
@@ -295,12 +295,12 @@ public class CallImpl extends ExpressionImpl implements Call
{
case SolverLanguagePackage.CALL__FUNCTOR:
return getFunctor();
- case SolverLanguagePackage.CALL__ARGUMENT_LIST:
- return getArgumentList();
case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE:
return isTransitiveClosure();
case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE:
return isReflexiveTransitiveClosure();
+ case SolverLanguagePackage.CALL__ARGUMENT_LIST:
+ return getArgumentList();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -318,15 +318,15 @@ public class CallImpl extends ExpressionImpl implements Call
case SolverLanguagePackage.CALL__FUNCTOR:
setFunctor((Reference)newValue);
return;
- case SolverLanguagePackage.CALL__ARGUMENT_LIST:
- setArgumentList((ArgumentList)newValue);
- return;
case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE:
setTransitiveClosure((Boolean)newValue);
return;
case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE:
setReflexiveTransitiveClosure((Boolean)newValue);
return;
+ case SolverLanguagePackage.CALL__ARGUMENT_LIST:
+ setArgumentList((ArgumentList)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -344,15 +344,15 @@ public class CallImpl extends ExpressionImpl implements Call
case SolverLanguagePackage.CALL__FUNCTOR:
setFunctor((Reference)null);
return;
- case SolverLanguagePackage.CALL__ARGUMENT_LIST:
- setArgumentList((ArgumentList)null);
- return;
case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE:
setTransitiveClosure(TRANSITIVE_CLOSURE_EDEFAULT);
return;
case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE:
setReflexiveTransitiveClosure(REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT);
return;
+ case SolverLanguagePackage.CALL__ARGUMENT_LIST:
+ setArgumentList((ArgumentList)null);
+ return;
}
super.eUnset(featureID);
}
@@ -369,12 +369,12 @@ public class CallImpl extends ExpressionImpl implements Call
{
case SolverLanguagePackage.CALL__FUNCTOR:
return functor != null;
- case SolverLanguagePackage.CALL__ARGUMENT_LIST:
- return argumentList != null;
case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE:
return transitiveClosure != TRANSITIVE_CLOSURE_EDEFAULT;
case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE:
return reflexiveTransitiveClosure != REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT;
+ case SolverLanguagePackage.CALL__ARGUMENT_LIST:
+ return argumentList != null;
}
return super.eIsSet(featureID);
}
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java
new file mode 100644
index 00000000..f0a81764
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java
@@ -0,0 +1,340 @@
+/**
+ * generated by Xtext 2.21.0
+ */
+package org.eclipse.viatra.solver.language.solverLanguage.impl;
+
+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.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition;
+import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition;
+import org.eclipse.viatra.solver.language.solverLanguage.NamedElement;
+import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage;
+
+/**
+ *
+ * An implementation of the model object 'Class Definition'.
+ *
+ *
+ * The following features are implemented:
+ *
+ *
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#isAbstract Abstract}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getName Name}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getSuperclasses Superclasses}
+ * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getMembers Members}
+ *
+ *
+ * @generated
+ */
+public class ClassDefinitionImpl extends StatementImpl implements ClassDefinition
+{
+ /**
+ * The default value of the '{@link #isAbstract() Abstract}' attribute.
+ *
+ *
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ABSTRACT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAbstract() Abstract}' attribute.
+ *
+ *
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected boolean abstract_ = ABSTRACT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getSuperclasses() Superclasses}' reference list.
+ *
+ *
+ * @see #getSuperclasses()
+ * @generated
+ * @ordered
+ */
+ protected EList superclasses;
+
+ /**
+ * The cached value of the '{@link #getMembers() Members}' containment reference list.
+ *
+ *
+ * @see #getMembers()
+ * @generated
+ * @ordered
+ */
+ protected EList members;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected ClassDefinitionImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return SolverLanguagePackage.Literals.CLASS_DEFINITION;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean isAbstract()
+ {
+ return abstract_;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setAbstract(boolean newAbstract)
+ {
+ boolean oldAbstract = abstract_;
+ abstract_ = newAbstract;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT, oldAbstract, abstract_));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__NAME, oldName, name));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EList getSuperclasses()
+ {
+ if (superclasses == null)
+ {
+ superclasses = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES);
+ }
+ return superclasses;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EList getMembers()
+ {
+ if (members == null)
+ {
+ members = new EObjectContainmentEList(MemberDefinition.class, this, SolverLanguagePackage.CLASS_DEFINITION__MEMBERS);
+ }
+ return members;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS:
+ return ((InternalEList>)getMembers()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT:
+ return isAbstract();
+ case SolverLanguagePackage.CLASS_DEFINITION__NAME:
+ return getName();
+ case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES:
+ return getSuperclasses();
+ case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS:
+ return getMembers();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT:
+ setAbstract((Boolean)newValue);
+ return;
+ case SolverLanguagePackage.CLASS_DEFINITION__NAME:
+ setName((String)newValue);
+ return;
+ case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES:
+ getSuperclasses().clear();
+ getSuperclasses().addAll((Collection extends NamedElement>)newValue);
+ return;
+ case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS:
+ getMembers().clear();
+ getMembers().addAll((Collection extends MemberDefinition>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT:
+ setAbstract(ABSTRACT_EDEFAULT);
+ return;
+ case SolverLanguagePackage.CLASS_DEFINITION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES:
+ getSuperclasses().clear();
+ return;
+ case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS:
+ getMembers().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT:
+ return abstract_ != ABSTRACT_EDEFAULT;
+ case SolverLanguagePackage.CLASS_DEFINITION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES:
+ return superclasses != null && !superclasses.isEmpty();
+ case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS:
+ return members != null && !members.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (abstract: ");
+ result.append(abstract_);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ClassDefinitionImpl
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java
index 8a5976c2..509d7568 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java
@@ -94,6 +94,7 @@ public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLan
case SolverLanguagePackage.INFINITY_LITERAL: return createInfinityLiteral();
case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: return createEmptyIntervalLiteral();
case SolverLanguagePackage.STRING_LITERAL: return createStringLiteral();
+ case SolverLanguagePackage.CLASS_DEFINITION: return createClassDefinition();
case SolverLanguagePackage.MEMBER_DEFINITION: return createMemberDefinition();
case SolverLanguagePackage.MULTIPLICITY: return createMultiplicity();
case SolverLanguagePackage.MANY_MULTIPLICITY: return createManyMultiplicity();
@@ -507,6 +508,18 @@ public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLan
return stringLiteral;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ClassDefinition createClassDefinition()
+ {
+ ClassDefinitionImpl classDefinition = new ClassDefinitionImpl();
+ return classDefinition;
+ }
+
/**
*
*
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java
index 393a2545..39f811b9 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java
@@ -22,6 +22,7 @@ import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity;
import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition;
import org.eclipse.viatra.solver.language.solverLanguage.Call;
import org.eclipse.viatra.solver.language.solverLanguage.Case;
+import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition;
import org.eclipse.viatra.solver.language.solverLanguage.Comparison;
import org.eclipse.viatra.solver.language.solverLanguage.Conjunction;
import org.eclipse.viatra.solver.language.solverLanguage.Count;
@@ -270,6 +271,13 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
*/
private EClass stringLiteralEClass = null;
+ /**
+ *
+ *
+ * @generated
+ */
+ private EClass classDefinitionEClass = null;
+
/**
*
*
@@ -534,50 +542,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
return statementEClass;
}
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getStatement_Abstract()
- {
- return (EAttribute)statementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getStatement_Name()
- {
- return (EAttribute)statementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getStatement_Superclasses()
- {
- return (EReference)statementEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getStatement_Members()
- {
- return (EReference)statementEClass.getEStructuralFeatures().get(3);
- }
-
/**
*
*
@@ -980,9 +944,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EReference getCall_ArgumentList()
+ public EAttribute getCall_TransitiveClosure()
{
- return (EReference)callEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)callEClass.getEStructuralFeatures().get(1);
}
/**
@@ -991,7 +955,7 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EAttribute getCall_TransitiveClosure()
+ public EAttribute getCall_ReflexiveTransitiveClosure()
{
return (EAttribute)callEClass.getEStructuralFeatures().get(2);
}
@@ -1002,9 +966,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
* @generated
*/
@Override
- public EAttribute getCall_ReflexiveTransitiveClosure()
+ public EReference getCall_ArgumentList()
{
- return (EAttribute)callEClass.getEStructuralFeatures().get(3);
+ return (EReference)callEClass.getEStructuralFeatures().get(3);
}
/**
@@ -1282,6 +1246,61 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0);
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EClass getClassDefinition()
+ {
+ return classDefinitionEClass;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getClassDefinition_Abstract()
+ {
+ return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EAttribute getClassDefinition_Name()
+ {
+ return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EReference getClassDefinition_Superclasses()
+ {
+ return (EReference)classDefinitionEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public EReference getClassDefinition_Members()
+ {
+ return (EReference)classDefinitionEClass.getEStructuralFeatures().get(3);
+ }
+
/**
*
*
@@ -1900,10 +1919,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
createEReference(problemEClass, PROBLEM__STATEMENTS);
statementEClass = createEClass(STATEMENT);
- createEAttribute(statementEClass, STATEMENT__ABSTRACT);
- createEAttribute(statementEClass, STATEMENT__NAME);
- createEReference(statementEClass, STATEMENT__SUPERCLASSES);
- createEReference(statementEClass, STATEMENT__MEMBERS);
predicateDefinitionEClass = createEClass(PREDICATE_DEFINITION);
createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__HEAD);
@@ -1952,9 +1967,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
callEClass = createEClass(CALL);
createEReference(callEClass, CALL__FUNCTOR);
- createEReference(callEClass, CALL__ARGUMENT_LIST);
createEAttribute(callEClass, CALL__TRANSITIVE_CLOSURE);
createEAttribute(callEClass, CALL__REFLEXIVE_TRANSITIVE_CLOSURE);
+ createEReference(callEClass, CALL__ARGUMENT_LIST);
argumentListEClass = createEClass(ARGUMENT_LIST);
createEReference(argumentListEClass, ARGUMENT_LIST__ARGUMENTS);
@@ -1995,6 +2010,12 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
stringLiteralEClass = createEClass(STRING_LITERAL);
createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE);
+ classDefinitionEClass = createEClass(CLASS_DEFINITION);
+ createEAttribute(classDefinitionEClass, CLASS_DEFINITION__ABSTRACT);
+ createEAttribute(classDefinitionEClass, CLASS_DEFINITION__NAME);
+ createEReference(classDefinitionEClass, CLASS_DEFINITION__SUPERCLASSES);
+ createEReference(classDefinitionEClass, CLASS_DEFINITION__MEMBERS);
+
memberDefinitionEClass = createEClass(MEMBER_DEFINITION);
createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__CONTAINMENT);
createEReference(memberDefinitionEClass, MEMBER_DEFINITION__TYPE);
@@ -2122,6 +2143,7 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
infinityLiteralEClass.getESuperTypes().add(this.getLiteral());
emptyIntervalLiteralEClass.getESuperTypes().add(this.getLiteral());
stringLiteralEClass.getESuperTypes().add(this.getLiteral());
+ classDefinitionEClass.getESuperTypes().add(this.getStatement());
manyMultiplicityEClass.getESuperTypes().add(this.getMultiplicity());
exactMultiplicityEClass.getESuperTypes().add(this.getMultiplicity());
boundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity());
@@ -2143,10 +2165,6 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
initEReference(getProblem_Statements(), this.getStatement(), null, "statements", null, 0, -1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(statementEClass, Statement.class, "Statement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStatement_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, Statement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStatement_Name(), ecorePackage.getEString(), "name", null, 0, 1, Statement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getStatement_Superclasses(), this.getNamedElement(), null, "superclasses", null, 0, -1, Statement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getStatement_Members(), this.getMemberDefinition(), null, "members", null, 0, -1, Statement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(predicateDefinitionEClass, PredicateDefinition.class, "PredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getPredicateDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -2195,9 +2213,9 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getCall_Functor(), this.getReference(), null, "functor", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getCall_TransitiveClosure(), ecorePackage.getEBoolean(), "transitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getCall_ReflexiveTransitiveClosure(), ecorePackage.getEBoolean(), "reflexiveTransitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(argumentListEClass, ArgumentList.class, "ArgumentList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getArgumentList_Arguments(), this.getArgument(), null, "arguments", null, 0, -1, ArgumentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -2238,6 +2256,12 @@ public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLan
initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(classDefinitionEClass, ClassDefinition.class, "ClassDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getClassDefinition_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getClassDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getClassDefinition_Superclasses(), this.getNamedElement(), null, "superclasses", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getClassDefinition_Members(), this.getMemberDefinition(), null, "members", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
initEClass(memberDefinitionEClass, MemberDefinition.class, "MemberDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMemberDefinition_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMemberDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java
index dbd697ec..d349d1a4 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java
@@ -3,25 +3,10 @@
*/
package org.eclipse.viatra.solver.language.solverLanguage.impl;
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition;
-import org.eclipse.viatra.solver.language.solverLanguage.NamedElement;
import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage;
import org.eclipse.viatra.solver.language.solverLanguage.Statement;
@@ -29,80 +14,11 @@ import org.eclipse.viatra.solver.language.solverLanguage.Statement;
*
* An implementation of the model object 'Statement'.
*
- *
- * The following features are implemented:
- *
- *
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl#isAbstract Abstract}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl#getName Name}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl#getSuperclasses Superclasses}
- * - {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl#getMembers Members}
- *
*
* @generated
*/
public class StatementImpl extends MinimalEObjectImpl.Container implements Statement
{
- /**
- * The default value of the '{@link #isAbstract() Abstract}' attribute.
- *
- *
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected static final boolean ABSTRACT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isAbstract() Abstract}' attribute.
- *
- *
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected boolean abstract_ = ABSTRACT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSuperclasses() Superclasses}' reference list.
- *
- *
- * @see #getSuperclasses()
- * @generated
- * @ordered
- */
- protected EList superclasses;
-
- /**
- * The cached value of the '{@link #getMembers() Members}' containment reference list.
- *
- *
- * @see #getMembers()
- * @generated
- * @ordered
- */
- protected EList members;
-
/**
*
*
@@ -124,218 +40,4 @@ public class StatementImpl extends MinimalEObjectImpl.Container implements State
return SolverLanguagePackage.Literals.STATEMENT;
}
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean isAbstract()
- {
- return abstract_;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setAbstract(boolean newAbstract)
- {
- boolean oldAbstract = abstract_;
- abstract_ = newAbstract;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.STATEMENT__ABSTRACT, oldAbstract, abstract_));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName()
- {
- return name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.STATEMENT__NAME, oldName, name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getSuperclasses()
- {
- if (superclasses == null)
- {
- superclasses = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.STATEMENT__SUPERCLASSES);
- }
- return superclasses;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getMembers()
- {
- if (members == null)
- {
- members = new EObjectContainmentEList(MemberDefinition.class, this, SolverLanguagePackage.STATEMENT__MEMBERS);
- }
- return members;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case SolverLanguagePackage.STATEMENT__MEMBERS:
- return ((InternalEList>)getMembers()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case SolverLanguagePackage.STATEMENT__ABSTRACT:
- return isAbstract();
- case SolverLanguagePackage.STATEMENT__NAME:
- return getName();
- case SolverLanguagePackage.STATEMENT__SUPERCLASSES:
- return getSuperclasses();
- case SolverLanguagePackage.STATEMENT__MEMBERS:
- return getMembers();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case SolverLanguagePackage.STATEMENT__ABSTRACT:
- setAbstract((Boolean)newValue);
- return;
- case SolverLanguagePackage.STATEMENT__NAME:
- setName((String)newValue);
- return;
- case SolverLanguagePackage.STATEMENT__SUPERCLASSES:
- getSuperclasses().clear();
- getSuperclasses().addAll((Collection extends NamedElement>)newValue);
- return;
- case SolverLanguagePackage.STATEMENT__MEMBERS:
- getMembers().clear();
- getMembers().addAll((Collection extends MemberDefinition>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case SolverLanguagePackage.STATEMENT__ABSTRACT:
- setAbstract(ABSTRACT_EDEFAULT);
- return;
- case SolverLanguagePackage.STATEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case SolverLanguagePackage.STATEMENT__SUPERCLASSES:
- getSuperclasses().clear();
- return;
- case SolverLanguagePackage.STATEMENT__MEMBERS:
- getMembers().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case SolverLanguagePackage.STATEMENT__ABSTRACT:
- return abstract_ != ABSTRACT_EDEFAULT;
- case SolverLanguagePackage.STATEMENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case SolverLanguagePackage.STATEMENT__SUPERCLASSES:
- return superclasses != null && !superclasses.isEmpty();
- case SolverLanguagePackage.STATEMENT__MEMBERS:
- return members != null && !members.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (abstract: ");
- result.append(abstract_);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
} //StatementImpl
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java
index e46d6779..37b20718 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java
@@ -216,6 +216,11 @@ public class SolverLanguageAdapterFactory extends AdapterFactoryImpl
return createStringLiteralAdapter();
}
@Override
+ public Adapter caseClassDefinition(ClassDefinition object)
+ {
+ return createClassDefinitionAdapter();
+ }
+ @Override
public Adapter caseMemberDefinition(MemberDefinition object)
{
return createMemberDefinitionAdapter();
@@ -747,6 +752,21 @@ public class SolverLanguageAdapterFactory extends AdapterFactoryImpl
return null;
}
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition
+ * @generated
+ */
+ public Adapter createClassDefinitionAdapter()
+ {
+ return null;
+ }
+
/**
* Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'.
*
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java
index f64b6bc0..79a98ff7 100644
--- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java
+++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java
@@ -311,6 +311,14 @@ public class SolverLanguageSwitch extends Switch
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case SolverLanguagePackage.CLASS_DEFINITION:
+ {
+ ClassDefinition classDefinition = (ClassDefinition)theEObject;
+ T result = caseClassDefinition(classDefinition);
+ if (result == null) result = caseStatement(classDefinition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case SolverLanguagePackage.MEMBER_DEFINITION:
{
MemberDefinition memberDefinition = (MemberDefinition)theEObject;
@@ -913,6 +921,22 @@ public class SolverLanguageSwitch extends Switch
return null;
}
+ /**
+ * Returns the result of interpreting the object as an instance of 'Class Definition'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Class Definition'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClassDefinition(ClassDefinition object)
+ {
+ return null;
+ }
+
/**
* Returns the result of interpreting the object as an instance of 'Member Definition'.
*
diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext
index 5abeb891..1306b626 100644
--- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext
+++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext
@@ -9,7 +9,7 @@ Statement:
(
AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | ExternPredicateDefinition |
MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition | ObjectiveDefinition
- ) DOT;
+ ) FULL_STOP;
AssertionOrDefinition returns Statement:
Expression (
@@ -28,7 +28,7 @@ DefaultDefinition:
"default" head=Call ":" range=Expression;
ExternPredicateDefinition:
- "extern" head=Call ".";
+ "extern" head=Call;
enum MetricType:
INT="int" | REAL="real";
@@ -103,10 +103,10 @@ Aggregation:
op=AggregationOp "{" body=Expression "|" condition=Expression "}";
AtomicExpression returns Expression:
- Reference ({Call.functor=current} -> argumentList=ArgumentList)? | Interval | Literal | "(" Expression ")";
+ Reference | Call | Interval | Literal | "(" Expression ")";
Call:
- functor=Reference (transitiveClosure?=STAR | reflexiveTransitiveClosure?=PLUS)? argumentList=ArgumentList;
+ functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? argumentList=ArgumentList;
ArgumentList:
{ArgumentList} "(" (arguments+=Argument ("," arguments+=Argument)*)? ")";
@@ -153,7 +153,7 @@ EmptyIntervalLiteral:
StringLiteral:
value=STRING;
-ClassDefinition returns Statement:
+ClassDefinition:
abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] ("," superclasses+=[NamedElement|QualifiedName])*)?
"{" members+=MemberDefinition* "}";
@@ -182,13 +182,13 @@ BoundedScopeDefinition:
"scope" (
(lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT |
upperBound=INT ">=" type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?
- ) ".";
+ );
LowerBoundedScopeDefinition:
"scope" (
lowerBound=INT "<=" type=[NamedElement|QualifiedName] |
type=[NamedElement|QualifiedName] ">=" lowerBound=INT
- ) ".";
+ );
enum ObjectiveKind:
MINIMIZE="minimize" | MAXIMIZE="maximize";
@@ -209,17 +209,21 @@ QualifiedName hidden():
terminal STRING returns ecore::EString:
'"' ( '\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\'|'"') )* '"';
-terminal QUOTED_ID returns ecore::EString:
+terminal QUOTED_ID:
'\'' ( '\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\'|'\'') )* '\'';
-terminal PLUS:
- "synthetic::plus";
+@Override
+terminal SL_COMMENT:
+ ('%' | '//') !('\n'|'\r')* ('\r'? '\n')?;
+
+terminal TRANSITIVE_CLOSURE:
+ "synthetic:TRANSITIVE_CLOSURE";
-terminal STAR:
- "synthetic::star";
+terminal REFLEXIVE_TRANSITIVE_CLOSURE:
+ "synthetic:REFLEXIVE_TRANSITIVE_CLOSURE";
-terminal DOT:
- "synthetic::dot";
+terminal FULL_STOP:
+ "synthetic:FULL_STOP";
NamedElement:
name=QualifiedName;
diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend
index 343bc48a..e882626b 100644
--- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend
+++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguageRuntimeModule.xtend
@@ -3,9 +3,21 @@
*/
package org.eclipse.viatra.solver.language
+import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageTokenDefInjectingParser
+import org.eclipse.viatra.solver.language.serializer.SolverLanguageSyntheticTokenSyntacticSequencer
/**
* Use this class to register components to be used at runtime / without the Equinox extension registry.
*/
class SolverLanguageRuntimeModule extends AbstractSolverLanguageRuntimeModule {
+
+ override bindIParser() {
+ SolverLanguageTokenDefInjectingParser
+ }
+
+
+ override bindISyntacticSequencer() {
+ SolverLanguageSyntheticTokenSyntacticSequencer
+ }
+
}
diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.xtend b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.xtend
new file mode 100644
index 00000000..87efd2b3
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.xtend
@@ -0,0 +1,16 @@
+package org.eclipse.viatra.solver.language.parser.antlr
+
+import com.google.inject.Inject
+import org.antlr.runtime.CharStream
+import org.eclipse.xtext.parser.antlr.ITokenDefProvider
+
+class SolverLanguageTokenDefInjectingParser extends SolverLanguageParser {
+ @Inject ITokenDefProvider tokenDefProvider
+
+ override protected createLexer(CharStream stream) {
+ val tokenSource = super.createLexer(stream) as SolverLanguageTokenSource
+ tokenSource.initializeTokenDefsFrom(tokenDefProvider)
+ tokenSource
+ }
+
+}
diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java
new file mode 100644
index 00000000..4c1dacd5
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java
@@ -0,0 +1,122 @@
+/*
+ * generated by Xtext 2.21.0
+ */
+package org.eclipse.viatra.solver.language.parser.antlr;
+
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_FULL_STOP;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_ID;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_INT;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_ML_COMMENT;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_QUOTED_ID;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_REFLEXIVE_TRANSITIVE_CLOSURE;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_SL_COMMENT;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_TRANSITIVE_CLOSURE;
+import static org.eclipse.viatra.solver.language.parser.antlr.internal.InternalSolverLanguageParser.RULE_WS;
+
+import java.util.Map;
+
+import org.antlr.runtime.Token;
+import org.antlr.runtime.TokenSource;
+import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
+import org.eclipse.xtext.parser.antlr.TokenAcceptor;
+
+public class SolverLanguageTokenSource implements TokenSource {
+ private TokenSource delegate;
+
+ private final TokenAcceptor acceptor = new TokenAcceptor();
+
+ private int lastTokenId = -1;
+ private int plusTokenId = -1;
+ private int starTokenId = -1;
+ private int dotTokenId = -1;
+ private int openParenTokenId = -1;
+
+ public SolverLanguageTokenSource(TokenSource delegate) {
+ this.delegate = delegate;
+ }
+
+ @Override
+ public String getSourceName() {
+ return "[SolverLanguageSyntheticTokenTokenSource] " + delegate.getSourceName();
+ }
+
+ @Override
+ public Token nextToken() {
+ Token token = internalNextToken();
+ lastTokenId = token.getType();
+ return token;
+ }
+
+ protected Token internalNextToken() {
+ if (acceptor.hasNext()) {
+ return acceptor.next();
+ }
+ Token token = delegate.nextToken();
+ int type = token.getType();
+ if (type == plusTokenId) {
+ if ((lastTokenId == RULE_ID || lastTokenId == RULE_QUOTED_ID)
+ && peekUntilVisible().getType() == openParenTokenId) {
+ token.setType(RULE_TRANSITIVE_CLOSURE);
+ }
+ } else if (type == starTokenId) {
+ if ((lastTokenId == RULE_ID || lastTokenId == RULE_QUOTED_ID)
+ && peekUntilVisible().getType() == openParenTokenId) {
+ token.setType(RULE_REFLEXIVE_TRANSITIVE_CLOSURE);
+ }
+ } else if (type == dotTokenId) {
+ if ((lastTokenId != RULE_ID && lastTokenId != RULE_INT) || peekToken().getType() != lastTokenId) {
+ token.setType(RULE_FULL_STOP);
+ }
+ }
+ return token;
+ }
+
+ protected Token peekUntilVisible() {
+ Token followingToken = null;
+ do {
+ followingToken = peekToken();
+ } while (isHidden(followingToken.getType()));
+ return followingToken;
+ }
+
+ protected Token peekToken() {
+ Token followingToken = delegate.nextToken();
+ acceptor.accept(followingToken);
+ return followingToken;
+ }
+
+ protected boolean isHidden(int tokenType) {
+ return tokenType == RULE_WS || tokenType == RULE_SL_COMMENT || tokenType == RULE_ML_COMMENT;
+ }
+
+ public void initializeTokenDefsFrom(ITokenDefProvider provider) {
+ for (Map.Entry entry : provider.getTokenDefMap().entrySet()) {
+ switch (entry.getValue()) {
+ case "'+'":
+ plusTokenId = entry.getKey();
+ break;
+ case "'*'":
+ starTokenId = entry.getKey();
+ break;
+ case "'.'":
+ dotTokenId = entry.getKey();
+ break;
+ case "'('":
+ openParenTokenId = entry.getKey();
+ break;
+ }
+ }
+ if (plusTokenId == -1) {
+ throw new IllegalStateException("Token '+' was not found");
+ }
+ if (starTokenId == -1) {
+ throw new IllegalStateException("Token '*' was not found");
+ }
+ if (dotTokenId == -1) {
+ throw new IllegalStateException("Token '.' was not found");
+ }
+ if (openParenTokenId == -1) {
+ throw new IllegalStateException("Token '(' was not found");
+ }
+ }
+}
diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.xtend b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.xtend
new file mode 100644
index 00000000..587ea27b
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.xtend
@@ -0,0 +1,21 @@
+package org.eclipse.viatra.solver.language.serializer
+
+import org.eclipse.emf.ecore.EObject
+import org.eclipse.xtext.RuleCall
+import org.eclipse.xtext.nodemodel.INode
+
+class SolverLanguageSyntheticTokenSyntacticSequencer extends SolverLanguageSyntacticSequencer {
+
+ override protected getTRANSITIVE_CLOSUREToken(EObject semanticObject, RuleCall ruleCall, INode node) {
+ "+"
+ }
+
+ override protected getREFLEXIVE_TRANSITIVE_CLOSUREToken(EObject semanticObject, RuleCall ruleCall, INode node) {
+ "*"
+ }
+
+ override protected getFULL_STOPToken(EObject semanticObject, RuleCall ruleCall, INode node) {
+ "."
+ }
+
+}
\ No newline at end of file
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin
new file mode 100644
index 00000000..d833165e
Binary files /dev/null and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore
new file mode 100644
index 00000000..9cf14147
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore
@@ -0,0 +1,7 @@
+/.SolverLangaugeSyntheticTokenParser.java._trace
+/.SolverLanguageSyntheticTokenTokenSource.java._trace
+/.LastTokenState.java._trace
+/.SolverLangusgeSyntheticTokenParser.java._trace
+/.SolverLanguageSyntheticTokenParser.java._trace
+/.SolverLanguageTokenSource.java._trace
+/.SolverLanguageTokenDefInjectingParser.java._trace
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java
new file mode 100644
index 00000000..12c92733
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenDefInjectingParser.java
@@ -0,0 +1,26 @@
+package org.eclipse.viatra.solver.language.parser.antlr;
+
+import com.google.inject.Inject;
+import org.antlr.runtime.CharStream;
+import org.antlr.runtime.TokenSource;
+import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageParser;
+import org.eclipse.viatra.solver.language.parser.antlr.SolverLanguageTokenSource;
+import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
+
+@SuppressWarnings("all")
+public class SolverLanguageTokenDefInjectingParser extends SolverLanguageParser {
+ @Inject
+ private ITokenDefProvider tokenDefProvider;
+
+ @Override
+ protected TokenSource createLexer(final CharStream stream) {
+ SolverLanguageTokenSource _xblockexpression = null;
+ {
+ TokenSource _createLexer = super.createLexer(stream);
+ final SolverLanguageTokenSource tokenSource = ((SolverLanguageTokenSource) _createLexer);
+ tokenSource.initializeTokenDefsFrom(this.tokenDefProvider);
+ _xblockexpression = tokenSource;
+ }
+ return _xblockexpression;
+ }
+}
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin
new file mode 100644
index 00000000..ff3dff94
Binary files /dev/null and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore
new file mode 100644
index 00000000..b8132d70
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore
@@ -0,0 +1 @@
+/.SolverLanguageSyntheticTokenSyntacticSequencer.java._trace
diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.java b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.java
new file mode 100644
index 00000000..af761a86
--- /dev/null
+++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntheticTokenSyntacticSequencer.java
@@ -0,0 +1,24 @@
+package org.eclipse.viatra.solver.language.serializer;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.viatra.solver.language.serializer.SolverLanguageSyntacticSequencer;
+import org.eclipse.xtext.RuleCall;
+import org.eclipse.xtext.nodemodel.INode;
+
+@SuppressWarnings("all")
+public class SolverLanguageSyntheticTokenSyntacticSequencer extends SolverLanguageSyntacticSequencer {
+ @Override
+ protected String getTRANSITIVE_CLOSUREToken(final EObject semanticObject, final RuleCall ruleCall, final INode node) {
+ return "+";
+ }
+
+ @Override
+ protected String getREFLEXIVE_TRANSITIVE_CLOSUREToken(final EObject semanticObject, final RuleCall ruleCall, final INode node) {
+ return "*";
+ }
+
+ @Override
+ protected String getFULL_STOPToken(final EObject semanticObject, final RuleCall ruleCall, final INode node) {
+ return ".";
+ }
+}
--
cgit v1.2.3-70-g09d2